================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:82 [inline] BUG: KASAN: null-ptr-deref in atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] BUG: KASAN: null-ptr-deref in refcount_read include/linux/refcount.h:170 [inline] BUG: KASAN: null-ptr-deref in __refcount_add_not_zero include/linux/refcount.h:176 [inline] BUG: KASAN: null-ptr-deref in __refcount_inc_not_zero include/linux/refcount.h:317 [inline] BUG: KASAN: null-ptr-deref in refcount_inc_not_zero include/linux/refcount.h:335 [inline] BUG: KASAN: null-ptr-deref in kref_get_unless_zero include/linux/kref.h:133 [inline] BUG: KASAN: null-ptr-deref in l2cap_chan_hold_unless_zero+0x8e/0x290 net/bluetooth/l2cap_core.c:511 Read of size 4 at addr 0000000000000008 by task syz.0.2309/13200 CPU: 1 UID: 0 PID: 13200 Comm: syz.0.2309 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 kasan_report+0x117/0x150 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x264/0x2c0 mm/kasan/generic.c:200 instrument_atomic_read include/linux/instrumented.h:82 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] refcount_read include/linux/refcount.h:170 [inline] __refcount_add_not_zero include/linux/refcount.h:176 [inline] __refcount_inc_not_zero include/linux/refcount.h:317 [inline] refcount_inc_not_zero include/linux/refcount.h:335 [inline] kref_get_unless_zero include/linux/kref.h:133 [inline] l2cap_chan_hold_unless_zero+0x8e/0x290 net/bluetooth/l2cap_core.c:511 l2cap_sock_cleanup_listen+0x84/0x750 net/bluetooth/l2cap_sock.c:1535 l2cap_sock_release+0x6a/0x230 net/bluetooth/l2cap_sock.c:1480 __sock_release net/socket.c:710 [inline] sock_close+0xad/0x220 net/socket.c:1501 __fput+0x418/0xa50 fs/file_table.c:512 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1fa/0x730 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f31bdd9de99 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff8f6a3948 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f31be027da0 RCX: 00007f31bdd9de99 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f31be027da0 R08: 0000000000000006 R09: 0000000000000000 R10: 00007f31be027cb0 R11: 0000000000000246 R12: 000000000005401a R13: 00007f31be02618c R14: 0000000000053f4a R15: 00007f31be026180 ==================================================================