WARNING in cfg80211_change_iface

8 views
Skip to first unread message

syzbot

unread,
Jan 28, 2021, 11:59:27 AM1/28/21
to da...@davemloft.net, joha...@sipsolutions.net, ku...@kernel.org, linux-...@vger.kernel.org, linux-w...@vger.kernel.org, net...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d1f3bdd4 net: dsa: rtl8366rb: standardize init jam tables
git tree: net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=14977d10d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=b5f48fca2e44a9a2
dashboard link: https://syzkaller.appspot.com/bug?extid=d2d412349f88521938aa
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+d2d412...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 28772 at net/wireless/util.c:1013 cfg80211_change_iface+0xa10/0xf30 net/wireless/util.c:1013
Modules linked in:
CPU: 1 PID: 28772 Comm: syz-executor.2 Not tainted 5.11.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:cfg80211_change_iface+0xa10/0xf30 net/wireless/util.c:1013
Code: 8d bd e8 05 00 00 be ff ff ff ff e8 2a b4 c5 00 31 ff 41 89 c6 89 c6 e8 2e 72 3d f9 45 85 f6 0f 85 b4 f6 ff ff e8 a0 6a 3d f9 <0f> 0b e9 a8 f6 ff ff e8 94 6a 3d f9 65 ff 05 7d 8e cc 77 48 c7 c0
RSP: 0018:ffffc9000116fbb8 EFLAGS: 00010216
RAX: 0000000000008319 RBX: ffff888017128000 RCX: ffffc9000d850000
RDX: 0000000000040000 RSI: ffffffff88356130 RDI: 0000000000000003
RBP: ffff888054c40000 R08: 0000000000000000 R09: ffffc9000116fc30
R10: ffffffff88356122 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fa7b69e0700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000050d1b0 CR3: 0000000063569000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cfg80211_wext_siwmode net/wireless/wext-compat.c:64 [inline]
__cfg80211_wext_siwmode+0x1bb/0x200 net/wireless/wext-compat.c:1559
ioctl_standard_call+0xcd/0x1f0 net/wireless/wext-core.c:1016
wireless_process_ioctl+0xc8/0x4c0 net/wireless/wext-core.c:954
wext_ioctl_dispatch net/wireless/wext-core.c:987 [inline]
wext_ioctl_dispatch net/wireless/wext-core.c:975 [inline]
wext_handle_ioctl+0x26b/0x280 net/wireless/wext-core.c:1048
sock_ioctl+0x410/0x6a0 net/socket.c:1109
vfs_ioctl fs/ioctl.c:48 [inline]
__do_sys_ioctl fs/ioctl.c:753 [inline]
__se_sys_ioctl fs/ioctl.c:739 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e219
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:00007fa7b69dfc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219
RDX: 0000000020000040 RSI: 0000000000008b06 RDI: 0000000000000003
RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007fff91257a9f R14: 00007fa7b69e09c0 R15: 000000000119bf8c


---
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,
Jan 28, 2021, 11:56:13 PM1/28/21
to da...@davemloft.net, johann...@intel.com, joha...@sipsolutions.net, ku...@kernel.org, linux-...@vger.kernel.org, linux-w...@vger.kernel.org, net...@vger.kernel.org, syzkall...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: d03154e8 Add linux-next specific files for 20210128
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=1243cbc8d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=6953ffb584722a1
dashboard link: https://syzkaller.appspot.com/bug?extid=d2d412349f88521938aa
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10df256f500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=166b17a4d00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d2d412...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 8420 at net/wireless/util.c:1013 cfg80211_change_iface+0xa10/0xf30 net/wireless/util.c:1013
Modules linked in:
CPU: 1 PID: 8420 Comm: syz-executor656 Not tainted 5.11.0-rc5-next-20210128-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:cfg80211_change_iface+0xa10/0xf30 net/wireless/util.c:1013
Code: 8d bd e8 05 00 00 be ff ff ff ff e8 fa 22 c6 00 31 ff 41 89 c6 89 c6 e8 be bd 37 f9 45 85 f6 0f 85 b4 f6 ff ff e8 30 b6 37 f9 <0f> 0b e9 a8 f6 ff ff e8 24 b6 37 f9 65 ff 05 8d 90 c6 77 48 c7 c0
RSP: 0018:ffffc900017bfbb8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff8880178ac000 RCX: 0000000000000000
RDX: ffff88801fa53800 RSI: ffffffff883b5f20 RDI: 0000000000000003
RBP: ffff888021c50000 R08: 0000000000000000 R09: ffffc900017bfc30
R10: ffffffff883b5f12 R11: 0000000000000002 R12: 0000000000000002
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000002295880(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcbcf59000 CR3: 0000000011147000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cfg80211_wext_siwmode net/wireless/wext-compat.c:64 [inline]
__cfg80211_wext_siwmode+0x1bb/0x200 net/wireless/wext-compat.c:1559
ioctl_standard_call+0xcd/0x1f0 net/wireless/wext-core.c:1017
wireless_process_ioctl+0xc8/0x4c0 net/wireless/wext-core.c:955
wext_ioctl_dispatch net/wireless/wext-core.c:988 [inline]
wext_ioctl_dispatch net/wireless/wext-core.c:976 [inline]
wext_handle_ioctl+0x26b/0x280 net/wireless/wext-core.c:1049
sock_ioctl+0x410/0x6a0 net/socket.c:1111
vfs_ioctl fs/ioctl.c:48 [inline]
__do_sys_ioctl fs/ioctl.c:753 [inline]
__se_sys_ioctl fs/ioctl.c:739 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x441529
Code: e8 ec 05 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 8b 0d fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd97527908 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffd97527930 RCX: 0000000000441529
RDX: 0000000020000000 RSI: 0000000000008b06 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000002200000000 R09: 0000002200000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000004

Reply all
Reply to author
Forward
0 new messages