WARNING in nl80211_connect

9 views
Skip to first unread message

syzbot

unread,
Nov 18, 2020, 8:33:23 PM11/18/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8961076e Linux 4.14.207
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16bf1cc2500000
kernel config: https://syzkaller.appspot.com/x/.config?x=44f5233cc1f5c95d
dashboard link: https://syzkaller.appspot.com/bug?extid=c407d13697b47bb51cf6
compiler: gcc (GCC) 10.1.0-syz 20200507

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+c407d1...@syzkaller.appspotmail.com

block_ioctl+0xd9/0x120 fs/block_dev.c:1893
------------[ cut here ]------------
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
WARNING: CPU: 0 PID: 17067 at net/wireless/sme.c:533 cfg80211_sme_connect net/wireless/sme.c:533 [inline]
WARNING: CPU: 0 PID: 17067 at net/wireless/sme.c:533 cfg80211_connect+0x1856/0x2120 net/wireless/sme.c:1141
Kernel panic - not syncing: panic_on_warn set ...

SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45dd27
RSP: 002b:00007fdd0e1dda28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 000000000045dd27
RDX: 0000000000000006 RSI: 0000000000004c00 RDI: 0000000000000007
RBP: 0000000000000000 R08: 00007fdd0e1ddad8 R09: 0000000000000000
R10: 00007fdd0e1ddadc R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000006 R14: 0000000000000006 R15: 0000000020000150
CPU: 0 PID: 17067 Comm: syz-executor.5 Not tainted 4.14.207-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x4b kernel/panic.c:547
report_bug+0x208/0x249 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:cfg80211_sme_connect net/wireless/sme.c:533 [inline]
RIP: 0010:cfg80211_connect+0x1856/0x2120 net/wireless/sme.c:1141
RSP: 0018:ffff888059b2f448 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff888062dd6250 RCX: ffffc9000cff9000
RDX: 0000000000000505 RSI: ffffffff86c47f76 RDI: ffffffff886b8278
RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100c5bac6a
R10: ffff888062dd6355 R11: ffff8880ac0e2640 R12: ffff888059b2f5c0
R13: ffffffff886b8140 R14: ffff888062dd6378 R15: ffff888062dd6350
nl80211_connect+0x1379/0x1cd0 net/wireless/nl80211.c:9113
genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xb5/0x100 net/socket.c:656
___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
__sys_sendmsg+0xa3/0x120 net/socket.c:2096
ISOFS: Unable to identify CD-ROM format.
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x27/0x40 net/socket.c:2103
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007f225a481c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002b040 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007fff8743a06f R14: 00007f225a4829c0 R15: 000000000118bf2c
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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.

syzbot

unread,
Nov 24, 2020, 11:48:22 AM11/24/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 0c88e405 Linux 4.19.160
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=109cde85500000
kernel config: https://syzkaller.appspot.com/x/.config?x=baf69366a17513f7
dashboard link: https://syzkaller.appspot.com/bug?extid=af247b1b23120549d0a0
compiler: gcc (GCC) 10.1.0-syz 20200507

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+af247b...@syzkaller.appspotmail.com

generic_file_write_iter+0x3f8/0x729 mm/filemap.c:3323
------------[ cut here ]------------
call_write_iter include/linux/fs.h:1821 [inline]
new_sync_write fs/read_write.c:474 [inline]
__vfs_write+0x51b/0x770 fs/read_write.c:487
vfs_write+0x1f3/0x540 fs/read_write.c:549
ksys_pwrite64 fs/read_write.c:653 [inline]
__do_sys_pwrite64 fs/read_write.c:663 [inline]
__se_sys_pwrite64 fs/read_write.c:660 [inline]
__x64_sys_pwrite64+0x1f7/0x250 fs/read_write.c:660
WARNING: CPU: 1 PID: 22741 at net/wireless/sme.c:533 cfg80211_sme_connect net/wireless/sme.c:533 [inline]
WARNING: CPU: 1 PID: 22741 at net/wireless/sme.c:533 cfg80211_connect.cold+0x47/0x6c net/wireless/sme.c:1220
Kernel panic - not syncing: panic_on_warn set ...

do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x417a17
Code: 12 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a1 18 00 00 c3 48 83 ec 08 e8 07 fa ff ff 48 89 04 24 49 89 ca b8 12 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 4d fa ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007f1b28514a20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 0000000000000032 RCX: 0000000000417a17
RDX: 0000000000000320 RSI: 0000000020015b00 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00000000200006e0 R09: 0000000000000000
R10: 0000000000690000 R11: 0000000000000293 R12: 0000000000000034
R13: 0000000000000004 R14: 0000000000000004 R15: 00000000200006c0
CPU: 1 PID: 22741 Comm: syz-executor.3 Not tainted 4.19.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
__warn.cold+0x20/0x61 kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:186
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:cfg80211_sme_connect net/wireless/sme.c:533 [inline]
RIP: 0010:cfg80211_connect.cold+0x47/0x6c net/wireless/sme.c:1220
Code: 48 c7 c7 00 f8 65 89 e8 41 84 a4 f9 0f 0b 41 bc ea ff ff ff e9 a7 d3 ff ff e8 a0 8a b9 f9 48 c7 c7 00 f8 65 89 e8 23 84 a4 f9 <0f> 0b 41 bc 8d ff ff ff e9 46 da ff ff e8 82 8a b9 f9 48 c7 c7 00
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
RSP: 0018:ffff888044f7f370 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000012454 RSI: ffffffff814fdb91 RDI: ffffed10089efe60
RBP: ffff8880556b6550 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888044f7f508
R13: ffffffff89672280 R14: ffff8880556b6578 R15: 0000000000000006
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
nl80211_connect+0x1672/0x2010 net/wireless/nl80211.c:9574
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
hid-generic 0000:0000:0000.0006: unknown main item tag 0x0
hid-generic 0000:0000:0000.0006: hidraw0: <UNKNOWN> HID v0.00 Device [syz1 ] on s�z1
__sys_sendmsg net/socket.c:2153 [inline]
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f52a857bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002b040 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007fffa9c4808f R14: 00007f52a857c9c0 R15: 000000000118bf2c

syzbot

unread,
Mar 18, 2021, 9:33:08 PM3/18/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.

syzbot

unread,
Mar 24, 2021, 12:48:16 PM3/24/21
to syzkaller...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages