• J
    HID: protect hid_debug_list · 2353f2be
    Jiri Kosina 提交于
    Accesses to hid_device->hid_debug_list are not serialized properly, which
    could result in SMP concurrency issues when HID debugfs events are accessesed
    by multiple userspace processess.
    
    Serialize all the list operations by a mutex.
    
    Spotted by Al Viro.
    Signed-off-by: NJiri Kosina <jkosina@suse.cz>
    2353f2be
hid.h 27.9 KB