IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready ================================================================== BUG: KASAN: stack-out-of-bounds in user_mode arch/x86/include/asm/ptrace.h:131 [inline] BUG: KASAN: stack-out-of-bounds in unwind_next_frame+0x10a0/0x1400 arch/x86/kernel/unwind_orc.c:410 Read of size 8 at addr ffff8880b275ee90 by task syz-executor.2/24721 CPU: 0 PID: 24721 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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_load8_noabort+0x88/0x90 mm/kasan/report.c:433 user_mode arch/x86/include/asm/ptrace.h:131 [inline] unwind_next_frame+0x10a0/0x1400 arch/x86/kernel/unwind_orc.c:410 perf_callchain_kernel+0x3fa/0x5c0 arch/x86/events/core.c:2346 get_perf_callchain+0x392/0x860 kernel/events/callchain.c:202 perf_callchain+0x165/0x1c0 kernel/events/core.c:6474 perf_prepare_sample+0x81e/0x1620 kernel/events/core.c:6501 __perf_event_output kernel/events/core.c:6616 [inline] perf_event_output_forward+0xf3/0x270 kernel/events/core.c:6634 __perf_event_overflow+0x13c/0x370 kernel/events/core.c:7907 perf_swevent_hrtimer+0x272/0x3e0 kernel/events/core.c:9261 __run_hrtimer kernel/time/hrtimer.c:1465 [inline] __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1527 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:784 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:806 [inline] RIP: 0010:lock_acquire+0x97/0x3c0 kernel/locking/lockdep.c:3903 Code: 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 eb 02 00 00 48 83 3d 50 2f a6 08 00 0f 84 75 02 00 00 9c <58> 0f 1f 44 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 44 24 08 48 RSP: 0018:ffff8880b275ed80 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3050 RBX: ffff888094d96140 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888094d969c4 RBP: ffffffff8a070900 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000023839ecc R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 kernfs_activate+0x2c/0x1d0 fs/kernfs/dir.c:1258 retint_kernel+0x2d/0x2d RIP: 0010:check_memory_region+0xb1/0x170 mm/kasan/kasan.c:268 Code: 08 48 39 d0 74 7b 48 83 38 00 74 f1 48 8d 50 08 eb 09 48 83 c0 01 48 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 5b <5d> 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 RSP: 0018:ffff8880b275eeb0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: fffffbfff140e115 RBX: 0000000041b58ab3 RCX: ffffffff88187dba RDX: fffffbfff140e115 RSI: 0000000000000008 RDI: ffffffff8a0708a0 RBP: ffffffff81c4962c R08: 0000000000000001 R09: fffffbfff140e114 R10: ffffffff88188780 R11: ffffffff89b72700 R12: ffffffff8a070900 R13: ffff888094d96140 R14: ffff888094d96140 R15: 1ffff110164ebdc6 atomic64_cmpxchg include/asm-generic/atomic-instrumented.h:63 [inline] __mutex_unlock_slowpath+0xea/0x610 kernel/locking/mutex.c:1224 kernfs_add_one+0x36a/0x4c0 fs/kernfs/dir.c:811 __kernfs_create_file+0x293/0x340 fs/kernfs/file.c:1021 sysfs_add_file_mode_ns+0x226/0x540 fs/sysfs/file.c:307 sysfs_merge_group+0x198/0x320 fs/sysfs/group.c:317 dpm_sysfs_add+0x154/0x210 drivers/base/power/sysfs.c:656 device_add+0xa43/0x16d0 drivers/base/core.c:2145 rfkill_register+0x1a5/0xae0 net/rfkill/core.c:1038 wiphy_register+0x1bb5/0x2130 net/wireless/core.c:898 ieee80211_register_hw+0x13be/0x3550 net/mac80211/main.c:1106 mac80211_hwsim_new_radio+0x1d3f/0x3c60 drivers/net/wireless/mac80211_hwsim.c:2896 hwsim_new_radio_nl+0x5c3/0x850 drivers/net/wireless/mac80211_hwsim.c:3374 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f6318092109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6316a07168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f63181a4f60 RCX: 00007f6318092109 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f63180ec0ad R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffebca53c0f R14: 00007f6316a07300 R15: 0000000000022000 The buggy address belongs to the page: page:ffffea0002c9d780 count:0 mapcount:0 mapping:0000000000000000 index:0xffff8880b275e2c0 flags: 0xfff00000000000() raw: 00fff00000000000 0000000000000000 dead000000000200 0000000000000000 raw: ffff8880b275e2c0 ffff8880b275e2c0 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880b275ed80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880b275ee00: 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 f2 00 00 >ffff8880b275ee80: 00 f2 f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 ^ ffff8880b275ef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880b275ef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ---------------- Code disassembly (best guess), 3 bytes skipped: 0: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 7: fc ff df a: 48 c1 e8 03 shr $0x3,%rax e: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) 12: 0f 85 eb 02 00 00 jne 0x303 18: 48 83 3d 50 2f a6 08 cmpq $0x0,0x8a62f50(%rip) # 0x8a62f70 1f: 00 20: 0f 84 75 02 00 00 je 0x29b 26: 9c pushfq * 27: 58 pop %rax <-- trapping instruction 28: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 2d: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 34: fc ff df 37: 48 89 44 24 08 mov %rax,0x8(%rsp) 3c: 48 rex.W