WARNING in drv_remove_interface

已查看 6 次
跳至第一个未读帖子

syzbot

未读,
2020年10月29日 09:01:232020/10/29
收件人 syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2b791501 Linux 4.14.203
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1131979c500000
kernel config: https://syzkaller.appspot.com/x/.config?x=e52bb6f2a595a463
dashboard link: https://syzkaller.appspot.com/bug?extid=d470775abbfb4ff5c588
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=161f10b8500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=165d200a500000

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

syz-executor507 uses obsolete (PF_INET,SOCK_PACKET)
wlan0: Failed check-sdata-in-driver check, flags: 0x0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7984 at net/mac80211/driver-ops.h:16 check_sdata_in_driver net/mac80211/driver-ops.h:16 [inline]
WARNING: CPU: 0 PID: 7984 at net/mac80211/driver-ops.h:16 drv_remove_interface.cold+0x4a/0x66 net/mac80211/driver-ops.c:100
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7984 Comm: syz-executor507 Not tainted 4.14.203-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:check_sdata_in_driver net/mac80211/driver-ops.h:16 [inline]
RIP: 0010:drv_remove_interface.cold+0x4a/0x66 net/mac80211/driver-ops.c:100
RSP: 0018:ffff8880964c7940 EFLAGS: 00010282
RAX: 0000000000000036 RBX: ffff8880ab834e80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bb940 RDI: ffffed1012c98f1e
RBP: ffff8880ab8343c0 R08: 0000000000000036 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882382d8be0
R13: 0000000000000000 R14: ffff8880ab8353b0 R15: 000000000000000f
ieee80211_do_stop+0xfbb/0x1db0 net/mac80211/iface.c:1069
ieee80211_stop+0x1a/0x20 net/mac80211/iface.c:1096
__dev_close_many+0x1a0/0x270 net/core/dev.c:1450
__dev_close net/core/dev.c:1462 [inline]
__dev_change_flags+0x21f/0x540 net/core/dev.c:6792
dev_change_flags+0x7e/0x130 net/core/dev.c:6860
devinet_ioctl+0xe5c/0x1520 net/ipv4/devinet.c:1089
inet_ioctl+0xf6/0x190 net/ipv4/af_inet.c:900
packet_ioctl+0xab/0x290 net/packet/af_packet.c:4187
sock_do_ioctl net/socket.c:974 [inline]
sock_ioctl+0x2cc/0x4c0 net/socket.c:1071
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
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:0x447169
RSP: 002b:00007f4fb8772d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dcc48 RCX: 0000000000447169
RDX: 0000000020001000 RSI: 0000000000008914 RDI: 0000000000000003
RBP: 00000000006dcc40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc4c
R13: 0000000000000000 R14: 000000306e616c77 R15: 0000000000000fb0
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 can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
回复全部
回复作者
转发
0 个新帖子