syzbot


WARNING in drv_remove_interface

Status: upstream: reported C repro on 2020/11/08 17:06
Reported-by: syzbot+f0815793cfb8b9ac09ca@syzkaller.appspotmail.com
First crash: 1297d, last: 981d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in drv_remove_interface C error 1 822d 1307d 0/1 upstream: reported C repro on 2020/10/29 13:01
linux-6.1 WARNING in drv_remove_interface 1 309d 309d 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 14d 1324d 0/26 upstream: reported C repro on 2020/10/12 13:21
Fix bisection attempts (13)
Created Duration User Patch Repo Result
2021/10/20 14:29 12m bisect fix linux-4.19.y error job log (0)
2021/09/20 14:03 25m bisect fix linux-4.19.y job log (0) log
2021/08/21 13:31 29m bisect fix linux-4.19.y job log (0) log
2021/07/22 13:02 28m bisect fix linux-4.19.y job log (0) log
2021/06/22 10:31 24m bisect fix linux-4.19.y job log (0) log
2021/05/22 18:25 29m bisect fix linux-4.19.y job log (0) log
2021/04/22 16:48 22m bisect fix linux-4.19.y job log (0) log
2021/03/23 16:24 23m bisect fix linux-4.19.y job log (0) log
2021/02/21 10:46 23m bisect fix linux-4.19.y job log (0) log
2021/02/18 06:02 18m bisect fix linux-4.19.y error job log (0)
2021/02/06 17:54 0m bisect fix linux-4.19.y error job log (0)
2021/01/07 17:29 24m bisect fix linux-4.19.y job log (0) log
2020/12/08 17:05 24m bisect fix linux-4.19.y job log (0) log

Sample crash report:
syz-executor120 uses obsolete (PF_INET,SOCK_PACKET)
------------[ cut here ]------------
wlan0:  Failed check-sdata-in-driver check, flags: 0x0
WARNING: CPU: 0 PID: 8121 at net/mac80211/driver-ops.h:17 check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline]
WARNING: CPU: 0 PID: 8121 at net/mac80211/driver-ops.h:17 drv_remove_interface+0x56e/0x710 net/mac80211/driver-ops.c:100
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8121 Comm: syz-executor120 Not tainted 4.19.155-syzkaller #0
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+0x1fc/0x2fe lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x61 kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:186
 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
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline]
RIP: 0010:drv_remove_interface+0x56e/0x710 net/mac80211/driver-ops.c:100
Code: 00 00 48 85 db 0f 84 f9 00 00 00 e8 8c dd af f9 48 89 dd e8 84 dd af f9 44 89 ea 48 89 ee 48 c7 c7 e0 8c 66 89 e8 bd bb 83 f9 <0f> 0b 5b 5d 41 5c 41 5d 41 5e 41 5f e9 61 dd af f9 e8 5c dd af f9
RSP: 0018:ffff8880b12975b8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff8880abb14500 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814fda81 RDI: ffffed1016252ea9
RBP: ffff8880abb14500 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8882387a8ba0
R13: 0000000000000000 R14: ffff8880abb154f8 R15: 000000000000000f
 ieee80211_do_stop+0x114e/0x1ff0 net/mac80211/iface.c:1053
 ieee80211_stop+0x1a/0x20 net/mac80211/iface.c:1080
 __dev_close_many+0x1ab/0x2e0 net/core/dev.c:1485
 __dev_close net/core/dev.c:1497 [inline]
 __dev_change_flags+0x273/0x660 net/core/dev.c:7669
 dev_change_flags+0x7e/0x140 net/core/dev.c:7740
 devinet_ioctl+0x13c9/0x1b40 net/ipv4/devinet.c:1106
 inet_ioctl+0x1ea/0x360 net/ipv4/af_inet.c:954
 packet_ioctl+0xb9/0x2b0 net/packet/af_packet.c:4149
 sock_do_ioctl+0xcb/0x2d0 net/socket.c:950
 sock_ioctl+0x2ef/0x5d0 net/socket.c:1074
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x447169
Code: e8 5c b1 02 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 6b 05 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f9a94e7bd98 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/11/08 17:05 linux-4.19.y b94de4d19498 cba33199 .config console log report syz C ci2-linux-4-19
* Struck through repros no longer work on HEAD.