aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2021-12-18 09:57:48 +0000
committerGreg Kroah-Hartman <[email protected]>2021-12-21 08:05:45 +0000
commit8c313e3bfd9adae8d5c4ba1cc696dcbc86fbf9bf (patch)
tree3ee693e1514196251499059f966dd3b8e342cd45 /net/unix/af_unix.c
parentusb: mtu3: add memory barrier before set GPD's HWO (diff)
downloadkernel-8c313e3bfd9adae8d5c4ba1cc696dcbc86fbf9bf.tar.gz
kernel-8c313e3bfd9adae8d5c4ba1cc696dcbc86fbf9bf.zip
usb: mtu3: fix list_head check warning
This is caused by uninitialization of list_head. BUG: KASAN: use-after-free in __list_del_entry_valid+0x34/0xe4 Call trace: dump_backtrace+0x0/0x298 show_stack+0x24/0x34 dump_stack+0x130/0x1a8 print_address_description+0x88/0x56c __kasan_report+0x1b8/0x2a0 kasan_report+0x14/0x20 __asan_load8+0x9c/0xa0 __list_del_entry_valid+0x34/0xe4 mtu3_req_complete+0x4c/0x300 [mtu3] mtu3_gadget_stop+0x168/0x448 [mtu3] usb_gadget_unregister_driver+0x204/0x3a0 unregister_gadget_item+0x44/0xa4 Fixes: 83374e035b62 ("usb: mtu3: add tracepoints to help debug") Cc: [email protected] Reported-by: Yuwen Ng <[email protected]> Signed-off-by: Chunfeng Yun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions