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+0x1b9/0x294 lib/dump_stack.c:113
sysfs_warn_dup.cold.3+0x1c/0x2b fs/sysfs/dir.c:30
sysfs_do_create_link_sd.isra.2+0x116/0x130 fs/sysfs/symlink.c:50
BUG: unable to handle kernel NULL pointer dereference
sysfs_do_create_link fs/sysfs/symlink.c:79 [inline]
sysfs_create_link+0x65/0xc0 fs/sysfs/symlink.c:91
device_add_class_symlinks drivers/base/core.c:1632 [inline]
device_add+0x5c9/0x16f0 drivers/base/core.c:1834
at 0000000000000000
PGD 1b00ff067
P4D 1b00ff067
wiphy_register+0x182e/0x24e0 net/wireless/core.c:813
PUD 1a880a067
PMD 0
Oops: 0010 [#1] SMP KASAN
CPU: 1 PID: 2729 Comm: syz-executor2 Not tainted 4.17.0+ #84
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010: (null)
ieee80211_register_hw+0x13cd/0x35d0 net/mac80211/main.c:1050
Code:
Bad RIP value.
RSP: 0018:ffff88019f8af590 EFLAGS: 00010246
mac80211_hwsim_new_radio+0x1da2/0x33b0 drivers/net/wireless/mac80211_hwsim.c:2772
RAX: 0000000000000000 RBX: ffff8801c871b000 RCX: 1ffffffff10ea9fd
RDX: ffff88019f8afab0 RSI: ffff8801c9355ac0 RDI: ffff8801954760c0
RBP: ffff88019f8af700 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff10033f15eb7
R13: ffff88019f8afab0 R14: ffff8801c871b012 R15: ffff8801c871b458
FS: 00007fe598df5700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000018fa3a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
hwsim_new_radio_nl+0x7b8/0xa60 drivers/net/wireless/mac80211_hwsim.c:3247
genl_family_rcv_msg+0x889/0x1120 net/netlink/genetlink.c:599
sock_poll+0x1d1/0x710 net/socket.c:1168
vfs_poll+0x77/0x2a0 fs/select.c:40
genl_rcv_msg+0xc6/0x170 net/netlink/genetlink.c:624
do_pollfd fs/select.c:848 [inline]
do_poll fs/select.c:896 [inline]
do_sys_poll+0x6fd/0x1100 fs/select.c:990
netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2448
genl_rcv+0x28/0x40 net/netlink/genetlink.c:635
netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]
netlink_unicast+0x58b/0x740 net/netlink/af_netlink.c:1336
netlink_sendmsg+0x9f0/0xfa0 net/netlink/af_netlink.c:1901
sock_sendmsg_nosec net/socket.c:645 [inline]
sock_sendmsg+0xd5/0x120 net/socket.c:655
___sys_sendmsg+0x805/0x940 net/socket.c:2161
__do_sys_poll fs/select.c:1048 [inline]
__se_sys_poll fs/select.c:1036 [inline]
__x64_sys_poll+0x189/0x510 fs/select.c:1036
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:290
__sys_sendmsg+0x115/0x270 net/socket.c:2199
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455b29
__do_sys_sendmsg net/socket.c:2208 [inline]
__se_sys_sendmsg net/socket.c:2206 [inline]
__x64_sys_sendmsg+0x78/0xb0 net/socket.c:2206
Code:
do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:290
1d
ba
fb
ff
c3
66
entry_SYSCALL_64_after_hwframe+0x49/0xbe
2e
RIP: 0033:0x455b29
0f
Code:
1f
1d
84
ba
00
fb
00
ff
00
c3
00
66
00
2e
66
0f
90
1f
48
84
89
00
f8
00
48
00
89
00
f7
00
48
66
89
90
d6
48 89
48
f8
89
48
ca
89
4d
f7
89
48
c2
89
4d
d6
89
48
c8
89
4c
ca
8b
4d
4c
89
24
c2
08
4d
0f
89
05
c8
<48>
4c
3d
8b
01
4c
f0
24
ff
08
ff
0f
0f
05
83
<48>
eb
3d
b9
01
fb
f0
ff
ff
c3
ff
66
0f
2e
83
0f
eb
1f
b9
84
fb
00
ff
00
c3
00
66
00
2e
0f
RSP: 002b:00007fe598df4c68 EFLAGS: 00000246
1f
ORIG_RAX: 0000000000000007
84
RAX: ffffffffffffffda RBX: 00007fe598df56d4 RCX: 0000000000455b29
00
RDX: 0000000000000007 RSI: 0000000000000004 RDI: 00000000200000c0
00
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
00
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
00
R13: 00000000004c05f4 R14: 00000000004cfb08 R15: 0000000000000000
Modules linked in:
RSP: 002b:00007f768f8f4c68 EFLAGS: 00000246
ORIG_RAX: 000000000000002e
Dumping ftrace buffer:
RAX: ffffffffffffffda RBX: 00007f768f8f56d4 RCX: 0000000000455b29
(ftrace buffer empty)
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000015
CR2: 0000000000000000
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
---[ end trace 7641bab1a6f11224 ]---
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c0e14 R14: 00000000004d0858 R15: 0000000000000000
RIP: 0010: (null)
Code: Bad RIP value.
RSP: 0018:ffff88019f8af590 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8801c871b000 RCX: 1ffffffff10ea9fd
RDX: ffff88019f8afab0 RSI: ffff8801c9355ac0 RDI: ffff8801954760c0
RBP: ffff88019f8af700 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff10033f15eb7
R13: ffff88019f8afab0 R14: ffff8801c871b012 R15: ffff8801c871b458
FS: 00007fe598df5700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000018fa3a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400