syzbot


WARNING in drv_remove_interface

Status: upstream: reported C repro on 2020/10/29 13:01
Reported-by: syzbot+d470775abbfb4ff5c588@syzkaller.appspotmail.com
First crash: 1334d, last: 849d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in drv_remove_interface C error 1 1008d 1324d 0/1 upstream: reported C repro on 2020/11/08 17:06
linux-6.1 WARNING in drv_remove_interface 1 336d 336d 0/3 auto-obsoleted due to no activity on 2023/11/01 10:54
upstream WARNING in drv_remove_interface wireless C done inconclusive 10 1d15h 1351d 0/27 upstream: reported C repro on 2020/10/12 13:21
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/02/14 07:32 9m retest repro linux-4.14.y report log
2022/10/03 16:30 12m retest repro linux-4.14.y report log
Fix bisection attempts (17)
Created Duration User Patch Repo Result
2022/03/29 19:17 11m bisect fix linux-4.14.y error job log (0)
2022/02/26 11:38 26m bisect fix linux-4.14.y job log (0) log
2022/01/27 10:02 26m bisect fix linux-4.14.y job log (0) log
2021/12/28 09:30 30m bisect fix linux-4.14.y job log (0) log
2021/11/28 09:01 22m bisect fix linux-4.14.y job log (0) log
2021/10/29 08:29 24m bisect fix linux-4.14.y job log (0) log
2021/09/25 20:04 22m bisect fix linux-4.14.y job log (0) log
2021/08/26 19:38 25m bisect fix linux-4.14.y job log (0) log
2021/07/27 18:26 23m bisect fix linux-4.14.y job log (0) log
2021/06/27 17:57 28m bisect fix linux-4.14.y job log (0) log
2021/05/28 17:33 24m bisect fix linux-4.14.y job log (0) log
2021/04/28 16:22 30m bisect fix linux-4.14.y job log (0) log
2021/03/29 16:00 21m bisect fix linux-4.14.y job log (0) log
2021/02/27 15:19 22m bisect fix linux-4.14.y job log (0) log
2021/01/28 14:55 23m bisect fix linux-4.14.y job log (0) log
2020/12/29 14:31 23m bisect fix linux-4.14.y job log (0) log
2020/11/28 17:11 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
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..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/29 13:00 linux-4.14.y 2b7915014161 f24824d3 .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.