================================================================== BUG: KASAN: wild-memory-access in instrument_atomic_read include/linux/instrumented.h:68 [inline] BUG: KASAN: wild-memory-access in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] BUG: KASAN: wild-memory-access in __lock_acquire+0xc94/0x2100 kernel/locking/lockdep.c:5198 Read of size 8 at addr 1fffffff8b706080 by task syz.8.1351/13926 CPU: 1 UID: 0 PID: 13926 Comm: syz.8.1351 Not tainted 6.14.0-rc7-syzkaller-00074-ga7f2e10ecd8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_report+0xe3/0x5b0 mm/kasan/report.c:524 kasan_report+0x143/0x180 mm/kasan/report.c:634 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] __lock_acquire+0xc94/0x2100 kernel/locking/lockdep.c:5198 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5851 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606 raw_spin_rq_lock kernel/sched/sched.h:1521 [inline] rq_lock kernel/sched/sched.h:1852 [inline] __schedule+0x357/0x4c90 kernel/sched/core.c:6688 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7087 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x8/0x90 kernel/kcov.c:300 Code: a9 5d 4e ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 4c 8b 04 24 <65> 48 8b 14 25 80 d6 03 00 65 8b 05 f0 f2 41 7e 25 00 01 ff 00 74 RSP: 0018:ffffc90003cd76e0 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffffffff89c72d75 RDX: ffff88802b258000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff89c72d9b R09: 1ffffffff2079f4e R10: dffffc0000000000 R11: fffffbfff2079f4f R12: ffff88807c48d3c0 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc90003cd7d10 variable_test_bit arch/x86/include/asm/bitops.h:232 [inline] arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] cpumask_test_cpu include/linux/cpumask.h:570 [inline] cpu_online include/linux/cpumask.h:1116 [inline] trace_skb_copy_datagram_iovec include/trace/events/skb.h:76 [inline] skb_copy_datagram_iter+0x8b/0x250 net/core/datagram.c:537 skb_copy_datagram_msg include/linux/skbuff.h:4144 [inline] __unix_dgram_recvmsg+0x821/0x1320 net/unix/af_unix.c:2474 sock_recvmsg_nosec+0x190/0x1d0 net/socket.c:1023 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2791 ___sys_recvmsg net/socket.c:2835 [inline] do_recvmmsg+0x426/0xab0 net/socket.c:2930 __sys_recvmmsg net/socket.c:3004 [inline] __do_sys_recvmmsg net/socket.c:3027 [inline] __se_sys_recvmmsg net/socket.c:3020 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3020 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbd6e58d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbd6f4a9038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fbd6e7a6080 RCX: 00007fbd6e58d169 RDX: 0000000000010106 RSI: 00004000000000c0 RDI: 0000000000000004 RBP: 00007fbd6e60e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbd6e7a6080 R15: 00007ffd93b44808 ================================================================== ---------------- Code disassembly (best guess): 0: a9 5d 4e ff 66 test $0x66ff4e5d,%eax 5: 2e 0f 1f 84 00 00 00 cs nopl 0x0(%rax,%rax,1) c: 00 00 e: 0f 1f 40 00 nopl 0x0(%rax) 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: f3 0f 1e fa endbr64 26: 4c 8b 04 24 mov (%rsp),%r8 * 2a: 65 48 8b 14 25 80 d6 mov %gs:0x3d680,%rdx <-- trapping instruction 31: 03 00 33: 65 8b 05 f0 f2 41 7e mov %gs:0x7e41f2f0(%rip),%eax # 0x7e41f32a 3a: 25 00 01 ff 00 and $0xff0100,%eax 3f: 74 .byte 0x74