syzbot


WARNING in drv_remove_interface

Status: auto-obsoleted due to no activity on 2023/11/01 10:54
Reported-by: syzbot+f8860595b53145f66696@syzkaller.appspotmail.com
First crash: 281d, last: 281d
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 794d 1279d 0/1 upstream: reported C repro on 2020/10/29 13:01
linux-4.19 WARNING in drv_remove_interface C error 1 953d 1269d 0/1 upstream: reported C repro on 2020/11/08 17:06
upstream WARNING in drv_remove_interface wireless C done inconclusive 7 5d04h 1296d 0/26 upstream: reported C repro on 2020/10/12 13:21

Sample crash report:
------------[ cut here ]------------
wlan1: Failed check-sdata-in-driver check, flags: 0x1
WARNING: CPU: 1 PID: 31304 at net/mac80211/driver-ops.c:98 drv_remove_interface+0x1f8/0x410 net/mac80211/driver-ops.c:98
Modules linked in:
CPU: 1 PID: 31304 Comm: syz-executor.5 Not tainted 6.1.40-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:drv_remove_interface+0x1f8/0x410 net/mac80211/driver-ops.c:98
Code: be 4e e3 f7 49 8b 87 08 09 00 00 49 81 c7 28 09 00 00 48 85 c0 4c 0f 45 f8 48 c7 c7 a0 12 fc 8b 4c 89 fe 89 ea e8 e8 58 55 f7 <0f> 0b e9 7d fe ff ff e8 ac e9 8c f7 0f 0b e9 c7 fe ff ff e8 a0 e9
RSP: 0000:ffffc90004db6900 EFLAGS: 00010246
RAX: 7a957e99b7897700 RBX: dffffc0000000000 RCX: 0000000000040000
RDX: ffffc9000d0ec000 RSI: 0000000000005c41 RDI: 0000000000005c42
RBP: 0000000000000001 R08: ffffffff81524cae R09: fffff520009b6c99
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888079c49598
R13: 1ffff1100f3892b3 R14: ffff8880768a8de0 R15: ffff888079c48000
FS:  00007f94eee2f6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb50c7eb000 CR3: 0000000039c9e000 CR4: 00000000003506e0
DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_do_stop+0x153c/0x1d50 net/mac80211/iface.c:694
 ieee80211_stop+0x410/0x480 net/mac80211/iface.c:762
 __dev_close_many+0x2db/0x3c0 net/core/dev.c:1516
 __dev_close net/core/dev.c:1528 [inline]
 __dev_change_flags+0x2fe/0x6e0 net/core/dev.c:8548
 dev_change_flags+0x87/0x190 net/core/dev.c:8621
 do_setlink+0xf5d/0x3e60 net/core/rtnetlink.c:2794
 __rtnl_newlink net/core/rtnetlink.c:3559 [inline]
 rtnl_newlink+0x16f7/0x1fa0 net/core/rtnetlink.c:3606
 rtnetlink_rcv_msg+0x776/0xf00 net/core/rtnetlink.c:6103
 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2525
 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline]
 netlink_unicast+0x7bf/0x990 net/netlink/af_netlink.c:1354
 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1903
 sock_sendmsg_nosec net/socket.c:716 [inline]
 sock_sendmsg net/socket.c:736 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2565
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f94ee07cb29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f94eee2f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f94ee19bf80 RCX: 00007f94ee07cb29
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 00007f94ee0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f94ee19bf80 R15: 00007ffc404da778
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/24 10:53 linux-6.1.y 75389113731b b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drv_remove_interface
* Struck through repros no longer work on HEAD.