can: request_module (can-proto-0) failed. ================================================================== BUG: KASAN: use-after-free in __write_once_size include/linux/compiler.h:287 [inline] BUG: KASAN: use-after-free in set_pending kernel/locking/qspinlock_paravirt.h:113 [inline] BUG: KASAN: use-after-free in pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] BUG: KASAN: use-after-free in __pv_queued_spin_lock_slowpath+0xa64/0xae0 kernel/locking/qspinlock.c:474 Write of size 1 at addr ffff88809d7723a1 by task syz-executor.0/24999 CPU: 0 PID: 24999 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_store1_noabort+0x88/0x90 mm/kasan/report.c:435 __write_once_size include/linux/compiler.h:287 [inline] set_pending kernel/locking/qspinlock_paravirt.h:113 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline] __pv_queued_spin_lock_slowpath+0xa64/0xae0 kernel/locking/qspinlock.c:474 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:679 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline] queued_spin_lock include/asm-generic/qspinlock.h:88 [inline] do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113 bpf_tcp_remove+0x427/0xa00 kernel/bpf/sockmap.c:335 bpf_tcp_close+0x12b/0x390 kernel/bpf/sockmap.c:403 inet_release+0xd7/0x1e0 net/ipv4/af_inet.c:427 __sock_release+0xcd/0x2a0 net/socket.c:599 sock_close+0x15/0x20 net/socket.c:1214 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 get_signal+0x1b64/0x1f70 kernel/signal.c:2400 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f0752f620c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f07514b3168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: 0000000000018000 RBX: 00007f0753082050 RCX: 00007f0752f620c9 RDX: ffffffffffffff60 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f0752fbdae9 R08: 0000000000000000 R09: 0000000000000f06 R10: 000000000000f401 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe36c13def R14: 00007f07514b3300 R15: 0000000000022000 Allocated by task 24999: kmem_cache_alloc_trace+0x12f/0x380 mm/slab.c:3625 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] sock_map_alloc kernel/bpf/sockmap.c:1675 [inline] sock_map_alloc+0x2b8/0x510 kernel/bpf/sockmap.c:1657 find_and_alloc_map kernel/bpf/syscall.c:130 [inline] map_create kernel/bpf/syscall.c:510 [inline] __do_sys_bpf kernel/bpf/syscall.c:2408 [inline] __se_sys_bpf+0x82a/0x3a20 kernel/bpf/syscall.c:2384 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 7742: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 The buggy address belongs to the object at ffff88809d772280 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 289 bytes inside of 512-byte region [ffff88809d772280, ffff88809d772480) The buggy address belongs to the page: page:ffffea000275dc80 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffffea0002731448 ffffea00026ad5c8 ffff88813bff0940 raw: 0000000000000000 ffff88809d772000 0000000100000006 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809d772280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88809d772300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88809d772380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88809d772400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88809d772480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================