Hello,
syzbot found the following issue on:
HEAD commit: 2c8a3fce Linux 4.14.218
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=109ba75f500000
kernel config:
https://syzkaller.appspot.com/x/.config?x=80e596b8b0902d96
dashboard link:
https://syzkaller.appspot.com/bug?extid=ec31e3d57534e4cfd33e
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+ec31e3...@syzkaller.appspotmail.com
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 0 PID: 7663 Comm: syz-executor.0 Not tainted 4.14.218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:58
register_lock_class+0x32b/0x1320 syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:768
__lock_acquire+0x167/0x3f20 syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:3378
lock_acquire+0x170/0x3f0 syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:3998
__raw_write_lock_bh syzkaller/managers/linux-4-14/kernel/./include/linux/rwlock_api_smp.h:203 [inline]
_raw_write_lock_bh+0x2f/0x40 syzkaller/managers/linux-4-14/kernel/kernel/locking/spinlock.c:320
sock_orphan syzkaller/managers/linux-4-14/kernel/./include/net/sock.h:1711 [inline]
netlink_release+0x671/0x14e0 syzkaller/managers/linux-4-14/kernel/net/netlink/af_netlink.c:723
__sock_release+0xcd/0x2b0 syzkaller/managers/linux-4-14/kernel/net/socket.c:602
sock_close+0x15/0x20 syzkaller/managers/linux-4-14/kernel/net/socket.c:1139
__fput+0x25f/0x7a0 syzkaller/managers/linux-4-14/kernel/fs/file_table.c:210
task_work_run+0x11f/0x190 syzkaller/managers/linux-4-14/kernel/kernel/task_work.c:113
tracehook_notify_resume syzkaller/managers/linux-4-14/kernel/./include/linux/tracehook.h:191 [inline]
exit_to_usermode_loop+0x1ad/0x200 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:164
prepare_exit_to_usermode syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x418e1b
RSP: 002b:00007ffea19a2590 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000418e1b
RDX: 0000000000000000 RSI: 0000001b30021f18 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b30021f20
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000056c9e0
R13: 000000000018c2c2 R14: 000000000056c9e0 R15: 000000000056c008
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 7663 Comm: syz-executor.0 Not tainted 4.14.218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888074912040 task.stack: ffff888220678000
RIP: 0010:__read_once_size syzkaller/managers/linux-4-14/kernel/./include/linux/compiler.h:183 [inline]
RIP: 0010:net_generic syzkaller/managers/linux-4-14/kernel/./include/net/netns/generic.h:45 [inline]
RIP: 0010:hwsim_net_get_wmediumd syzkaller/managers/linux-4-14/kernel/drivers/net/wireless/mac80211_hwsim.c:278 [inline]
RIP: 0010:mac80211_hwsim_netlink_notify syzkaller/managers/linux-4-14/kernel/drivers/net/wireless/mac80211_hwsim.c:3374 [inline]
RIP: 0010:mac80211_hwsim_netlink_notify+0x229/0x670 syzkaller/managers/linux-4-14/kernel/drivers/net/wireless/mac80211_hwsim.c:3363
RSP: 0018:ffff88822067fc08 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 000000000000000e RCX: 0000000000000000
RDX: 0000000000000381 RSI: 0000000000000002 RDI: 0000000000001c08
RBP: 000000000000413e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffff888074912040 R12: ffff88822067fd68
R13: 0000000000000000 R14: 000000000000413e R15: ffffffff896b2240
FS: 0000000002446400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30022000 CR3: 0000000225284000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
notifier_call_chain+0x108/0x1a0 syzkaller/managers/linux-4-14/kernel/kernel/notifier.c:93
__blocking_notifier_call_chain syzkaller/managers/linux-4-14/kernel/kernel/notifier.c:317 [inline]
__blocking_notifier_call_chain syzkaller/managers/linux-4-14/kernel/kernel/notifier.c:304 [inline]
blocking_notifier_call_chain syzkaller/managers/linux-4-14/kernel/kernel/notifier.c:328 [inline]
blocking_notifier_call_chain+0x79/0x90 syzkaller/managers/linux-4-14/kernel/kernel/notifier.c:325
netlink_release+0xcf6/0x14e0 syzkaller/managers/linux-4-14/kernel/net/netlink/af_netlink.c:756
__sock_release+0xcd/0x2b0 syzkaller/managers/linux-4-14/kernel/net/socket.c:602
sock_close+0x15/0x20 syzkaller/managers/linux-4-14/kernel/net/socket.c:1139
__fput+0x25f/0x7a0 syzkaller/managers/linux-4-14/kernel/fs/file_table.c:210
task_work_run+0x11f/0x190 syzkaller/managers/linux-4-14/kernel/kernel/task_work.c:113
tracehook_notify_resume syzkaller/managers/linux-4-14/kernel/./include/linux/tracehook.h:191 [inline]
exit_to_usermode_loop+0x1ad/0x200 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:164
prepare_exit_to_usermode syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x418e1b
RSP: 002b:00007ffea19a2590 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000418e1b
RDX: 0000000000000000 RSI: 0000001b30021f18 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b30021f20
R10: 0000000000000000 R11: 0000000000000293 R12: 000000000056c9e0
R13: 000000000018c2c2 R14: 000000000056c9e0 R15: 000000000056c008
Code: fd e8 7c 34 21 fd 84 c0 0f 84 9a 02 00 00 e8 1f 87 2f fd 49 8d bd 08 1c 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4f 03 00 00 4d 8b ad 08 1c 00 00 e8 c1 6e 20
RIP: __read_once_size syzkaller/managers/linux-4-14/kernel/./include/linux/compiler.h:183 [inline] RSP: ffff88822067fc08
RIP: net_generic syzkaller/managers/linux-4-14/kernel/./include/net/netns/generic.h:45 [inline] RSP: ffff88822067fc08
RIP: hwsim_net_get_wmediumd syzkaller/managers/linux-4-14/kernel/drivers/net/wireless/mac80211_hwsim.c:278 [inline] RSP: ffff88822067fc08
RIP: mac80211_hwsim_netlink_notify syzkaller/managers/linux-4-14/kernel/drivers/net/wireless/mac80211_hwsim.c:3374 [inline] RSP: ffff88822067fc08
RIP: mac80211_hwsim_netlink_notify+0x229/0x670 syzkaller/managers/linux-4-14/kernel/drivers/net/wireless/mac80211_hwsim.c:3363 RSP: ffff88822067fc08
---[ end trace 1fa59c330bfaedc6 ]---
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.