syzbot


WARNING in ieee80211_start_next_roc

Status: upstream: reported C repro on 2020/12/09 02:03
Reported-by: syzbot+c3a167b5615df4ccd7fb@syzkaller.appspotmail.com
First crash: 725d, last: 15h25m

Cause bisection: introduced by (bisect log) [no-op commit]:
commit 6ad8c632ee48ae099aa13704ef18a641220fe211
Author: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Date: Wed Jun 8 10:22:10 2016 +0000

  qed: Add support for query/config dcbx.

Crash: KASAN: null-ptr-deref Read (log)
Repro: C syz .config

Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in ieee80211_start_next_roc (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ieee80211_start_next_roc C error 69 4d18h 690d 0/1 upstream: reported C repro on 2021/01/09 02:54
linux-4.14 WARNING in ieee80211_start_next_roc C 1 35d 752d 0/1 upstream: reported C repro on 2020/11/08 18:11

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3694 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1bb/0x220
Modules linked in:
CPU: 0 PID: 3694 Comm: syz-executor215 Not tainted 5.19.0-syzkaller-02972-g200e340f2196 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:ieee80211_start_next_roc+0x1bb/0x220 net/mac80211/offchannel.c:401
Code: a3 c3 f7 4c 89 f7 48 89 de 48 89 c2 5b 41 5c 41 5e 41 5f 5d e9 66 a4 0d 00 e8 f1 e8 d4 f7 0f 0b e9 be fe ff ff e8 e5 e8 d4 f7 <0f> 0b e9 0a ff ff ff 48 c7 c1 84 fd 03 8e 80 e1 07 80 c1 03 38 c1
RSP: 0000:ffffc9000320f288 EFLAGS: 00010293
RAX: ffffffff89b337cb RBX: 0000000000000001 RCX: ffff88807a9b9d80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 1ffff110040b6636 R08: ffffffff89b33730 R09: ffffed1004022a55
R10: ffffed1004022a55 R11: 1ffff11004022a54 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880205b0de0 R15: 0000000000000000
FS:  00005555558e4300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f04df16bd90 CR3: 00000000267dd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_scan_cancel+0x14b/0x3c0 net/mac80211/scan.c:1301
 ieee80211_do_stop+0x161/0x1cd0 net/mac80211/iface.c:385
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1788 [inline]
 ieee80211_if_change_type+0x442/0x9f0 net/mac80211/iface.c:1826
 ieee80211_change_iface+0x58/0x430 net/mac80211/cfg.c:190
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x677/0xaf0 net/wireless/util.c:1078
 nl80211_set_interface+0x5ed/0x870 net/wireless/nl80211.c:4041
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0xfbc/0x1490 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2501
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x7e7/0x9c0 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x9b3/0xcd0 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 __sys_sendto+0x46d/0x5f0 net/socket.c:2120
 __do_sys_sendto net/socket.c:2132 [inline]
 __se_sys_sendto net/socket.c:2128 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2128
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f04df0b2ff6
Code: 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 72 c3 90 55 48 83 ec 30 44 89 4c 24 2c 4c 89
RSP: 002b:00007ffebf4af9c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007ffebf4afaa0 RCX: 00007f04df0b2ff6
RDX: 0000000000000024 RSI: 00007ffebf4afaf0 RDI: 0000000000000007
RBP: 0000000000000001 R08: 00007ffebf4af9e4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffebf4afaf0 R14: 0000000000000007 R15: 0000000000000000
 </TASK>

Crashes (390):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/08/04 23:18 upstream 200e340f2196 1c9013ac .config log report syz C WARNING in ieee80211_start_next_roc
ci-qemu-upstream 2022/07/24 11:56 upstream 4a57a8400075 22343af4 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/06/07 02:03 upstream f2906aa86338 c8857892 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/04/22 09:58 upstream 59f0c2447e25 2738b391 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/03/23 15:48 upstream 6b1f86f8e9c7 5ff41e94 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2022/03/16 21:04 upstream 56e337f2cf13 dfa9a8ed .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2021/10/18 21:55 upstream cf52ad5ff16c 0c5d9412 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2021/09/09 13:05 upstream 2d338201d531 e2776ee4 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2021/08/29 02:33 upstream 3f5ad13cb012 be2c130d .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2021/08/27 15:05 upstream 77dd11439b86 b318694d .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2021/08/20 11:19 upstream d992fe5318d8 b599f2fc .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2021/04/28 09:58 upstream 57fa2369ab17 805b5003 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2021/04/20 07:12 upstream 7af08140979a 4285c989 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2021/04/16 09:27 upstream 7e25f40eab52 c59079a6 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2021/03/07 10:53 upstream a38fd8748464 e4b4d570 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/10/22 21:47 linux-next 4d48f589d294 c0b80a55 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/25 22:08 linux-next cb71b93c2dc3 664c519c .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/18 01:22 linux-next cb71b93c2dc3 95cb00d1 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/16 17:56 linux-next cb71b93c2dc3 95cb00d1 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/10 12:55 linux-next cb71b93c2dc3 b5765a15 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/04/19 20:12 linux-next 634de1db0e9b c334415e .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2021/10/06 01:48 linux-next 29616f67fcbd 0a63fd36 .config log report syz C WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2020/12/05 01:54 upstream e87297fa080a 20366b87 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/08/12 22:02 upstream 7ebfc85e2cd7 402cd70d .config log report syz WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/05/30 11:06 upstream b00ed48bb0a7 a46af346 .config log report syz WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/11/25 10:25 upstream 08ad43d554ba 74a66371 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/11/25 07:20 upstream 08ad43d554ba 74a66371 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/11/20 10:01 upstream b6e7fdfd6f6a 5bb70014 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/11/17 10:48 upstream cc675d22e422 3a127a31 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/11/14 13:46 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/11/11 18:00 upstream 4bbf3422df78 3ead01ad .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/11/05 04:21 upstream 10d916c86eca 6d752409 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/11/03 20:50 upstream f2f32f8af2b0 6d752409 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/11/02 20:31 upstream b229b6ca5abb 08977f5d .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/11/01 18:10 upstream b229b6ca5abb edac4fd1 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/10/27 23:09 upstream b229b6ca5abb 86777b7f .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2022/10/27 12:57 upstream 98555239e4c3 86777b7f .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/10/27 02:32 upstream 98555239e4c3 86777b7f .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/10/26 02:00 upstream 4dc12f37a8e9 1984aebd .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/08/17 05:52 upstream 7ebfc85e2cd7 4e72d229 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2022/08/14 05:26 upstream 7ebfc85e2cd7 8dfcaa3d .config log report info WARNING in ieee80211_start_next_roc
ci-qemu-upstream 2022/08/12 12:31 upstream 7ebfc85e2cd7 402cd70d .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/08/12 04:03 upstream 7ebfc85e2cd7 787ed7e0 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce 2022/08/11 18:12 upstream 200e340f2196 787ed7e0 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/08/10 18:52 upstream 200e340f2196 a6201f11 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/08/06 16:10 upstream 200e340f2196 88e3a122 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/08/05 20:12 upstream 200e340f2196 e853abd9 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/08/05 13:36 upstream 200e340f2196 a65a7ce9 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/07/31 08:58 upstream 6a010258447d fef302b1 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/07/30 19:20 upstream 620725263f42 fef302b1 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/07/28 20:21 upstream 33ea1340bafe fb95c74d .config log report info WARNING in ieee80211_start_next_roc
ci-qemu-upstream 2022/07/28 00:57 upstream 4a57a8400075 fb95c74d .config log report info WARNING in ieee80211_start_next_roc
ci-qemu-upstream 2022/07/25 15:28 upstream 4a57a8400075 664c519c .config log report info WARNING in ieee80211_start_next_roc
ci-qemu-upstream 2022/07/13 12:15 upstream b047602d579b 5d921b08 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/07/13 07:09 upstream b047602d579b 5d921b08 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/07/12 15:16 upstream 5a29232d870d d91dd8ea .config log report info WARNING in ieee80211_start_next_roc
ci-qemu-upstream 2022/07/12 11:31 upstream 5a29232d870d da3d6955 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/07/10 02:17 upstream b1c428b6c368 b5765a15 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/07/08 23:11 upstream a471da3100ef b5765a15 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-smack-root 2022/07/06 21:34 upstream 9f09069cde34 bff65f44 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/07/05 17:38 upstream e35e5b6f695d bff65f44 .config log report info WARNING in ieee80211_start_next_roc
ci-qemu-upstream 2022/07/04 16:07 upstream 88084a3df167 bff65f44 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-selinux-root 2022/07/03 17:43 upstream 69cb6c6556ad 1434eec0 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-root 2022/07/03 02:37 upstream 34074da5424c 1434eec0 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-386 2022/11/25 23:47 upstream 0b1dcc2cf55a 74a66371 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-386 2022/08/16 06:45 upstream 7ebfc85e2cd7 7a7cb304 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-kasan-gce-386 2022/08/13 04:27 upstream 7ebfc85e2cd7 8dfcaa3d .config log report info WARNING in ieee80211_start_next_roc
ci-qemu-upstream-386 2022/06/09 10:03 upstream 6bfb56e93bce 0d5abf15 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-net-this-kasan-gce 2022/03/01 21:25 net 7cf5aa32e392 45a13a73 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-net-kasan-gce 2022/01/31 14:18 net-next ff58831fa02d 6b7c57fe .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/11/25 00:36 linux-next c35bd4e42885 62e26685 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/08/12 08:35 linux-next 6c8f479764eb 402cd70d .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/08/10 17:19 linux-next 6c8f479764eb a6201f11 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/29 12:19 linux-next cb71b93c2dc3 fef302b1 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/26 04:54 linux-next cb71b93c2dc3 34795c51 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/25 11:08 linux-next cb71b93c2dc3 664c519c .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/20 02:44 linux-next cb71b93c2dc3 775344bc .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/11 11:58 linux-next cb71b93c2dc3 da3d6955 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-linux-next-kasan-gce-root 2022/07/06 08:56 linux-next cb71b93c2dc3 bff65f44 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-gce-arm64 2022/11/30 10:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 4c2a66e8 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-gce-arm64 2022/11/30 00:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 05dc7993 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-gce-arm64 2022/11/29 01:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f ca9683b8 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-gce-arm64 2022/11/24 20:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 62e26685 .config log report info WARNING in ieee80211_start_next_roc
ci-upstream-gce-arm64 2022/11/20 22:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in ieee80211_start_next_roc
* Struck through repros no longer work on HEAD.