syzbot


usb-testing boot error: WARNING in __netif_set_xps_queue

Status: fixed on 2023/02/24 13:50
Subsystems: net virt
[Documentation on labels]
Reported-by: syzbot+a30f71cf20b71d5950e7@syzkaller.appspotmail.com
Fix commit: fc8695eb11f0 Revert "net: fix cpu_max_bits_warn() usage in netif_attrmask_next{,_and}"
First crash: 783d, last: 771d
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream boot error: WARNING in __netif_set_xps_queue net virt 143 780d 783d 0/28 closed as dup on 2022/10/17 20:01
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] usb-testing boot error: WARNING in __netif_set_xps_queue 1 (2) 2022/10/17 19:57

Sample crash report:
software IO TLB: mapped [mem 0x00000000bbffd000-0x00000000bfffd000] (64MB)
RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 10737418240 ms ovfl timer
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fb6d394f62, max_idle_ns: 440795316813 ns
clocksource: Switched to clocksource tsc
Initialise system trusted keyrings
workingset: timestamp_bits=40 max_order=21 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
9p: Installing v9fs 9p2000 file system support
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
io scheduler mq-deadline registered
io scheduler kyber registered
usbcore: registered new interface driver udlfb
usbcore: registered new interface driver smscufx
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: button: Power Button [PWRF]
input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
ACPI: button: Sleep Button [SLPF]
ACPI: \_SB_.LNKC: Enabled at IRQ 11
virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
ACPI: \_SB_.LNKD: Enabled at IRQ 10
virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver
ACPI: \_SB_.LNKB: Enabled at IRQ 10
virtio-pci 0000:00:06.0: virtio_pci: leaving for legacy driver
virtio-pci 0000:00:07.0: virtio_pci: leaving for legacy driver
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
00:05: ttyS2 at I/O 0x3e8 (irq = 6, base_baud = 115200) is a 16550A
00:06: ttyS3 at I/O 0x2e8 (irq = 7, base_baud = 115200) is a 16550A
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
ACPI: bus type drm_connector registered
usbcore: registered new interface driver udl
loop: module loaded
usbcore: registered new interface driver rtsx_usb
usbcore: registered new interface driver viperboard
usbcore: registered new interface driver dln2
usbcore: registered new interface driver pn533_usb
usbcore: registered new interface driver port100
usbcore: registered new interface driver nfcmrvl
scsi host0: Virtio SCSI HBA
scsi 0:0:1:0: Direct-Access     Google   PersistentDisk   1    PQ: 0 ANSI: 6
sd 0:0:1:0: Attached scsi generic sg0 type 0
Rounding down aligned max_sectors from 4294967295 to 4294967288
db_root: cannot open: /etc/target
------------[ cut here ]------------
WARNING: CPU: 1 PID: 1 at include/linux/cpumask.h:110 cpu_max_bits_warn include/linux/cpumask.h:110 [inline]
WARNING: CPU: 1 PID: 1 at include/linux/cpumask.h:110 netif_attrmask_next_and include/linux/netdevice.h:3689 [inline]
WARNING: CPU: 1 PID: 1 at include/linux/cpumask.h:110 __netif_set_xps_queue+0x8a1/0x1f50 net/core/dev.c:2592
Modules linked in:
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.0-rc1-syzkaller-00022-g8127cac0f393 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:110 [inline]
RIP: 0010:netif_attrmask_next_and include/linux/netdevice.h:3689 [inline]
RIP: 0010:__netif_set_xps_queue+0x8a1/0x1f50 net/core/dev.c:2592
Code: fc 48 c7 c2 e0 24 f8 86 be 2e 0a 00 00 48 c7 c7 80 23 f8 86 c6 05 66 80 f0 03 01 e8 e4 79 e9 00 e9 ef fd ff ff e8 df 4c 60 fc <0f> 0b e9 8e fa ff ff 8b 6c 24 38 e8 cf 4c 60 fc 49 8d 7c 24 04 48
RSP: 0000:ffffc9000001f898 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000
RDX: ffff8881002b0000 RSI: ffffffff84e67841 RDI: 0000000000000004
RBP: 0000000000000002 R08: 0000000000000004 R09: 0000000000000002
R10: 0000000000000002 R11: 0000000000052041 R12: ffff88810ebfe180
R13: 0000000000000003 R14: ffff88810ebfe198 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000007825000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 virtnet_set_affinity+0x4f0/0x750 drivers/net/virtio_net.c:2308
 init_vqs drivers/net/virtio_net.c:3581 [inline]
 init_vqs drivers/net/virtio_net.c:3567 [inline]
 virtnet_probe+0x12ae/0x33a0 drivers/net/virtio_net.c:3884
 virtio_dev_probe+0x577/0x870 drivers/virtio/virtio.c:305
 call_driver_probe drivers/base/dd.c:560 [inline]
 really_probe+0x249/0xb90 drivers/base/dd.c:639
 __driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:778
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:808
 __driver_attach+0x1d0/0x550 drivers/base/dd.c:1190
 bus_for_each_dev+0x147/0x1d0 drivers/base/bus.c:301
 bus_add_driver+0x4c9/0x640 drivers/base/bus.c:618
 driver_register+0x220/0x3a0 drivers/base/driver.c:246
 virtio_net_driver_init+0x93/0xd2 drivers/net/virtio_net.c:4090
 do_one_initcall+0x13d/0x780 init/main.c:1303
 do_initcall_level init/main.c:1376 [inline]
 do_initcalls init/main.c:1392 [inline]
 do_basic_setup init/main.c:1411 [inline]
 kernel_init_freeable+0x6fa/0x783 init/main.c:1631
 kernel_init+0x1a/0x1d0 init/main.c:1519
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (57):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/29 14:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 2a71366b .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/29 01:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 899d812a .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/28 12:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 8168b69e .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/27 22:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 5c716ff6 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/27 12:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 5c716ff6 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/26 18:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 86777b7f .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/26 18:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 86777b7f .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/25 22:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 2159e4d2 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/25 22:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 2159e4d2 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/25 22:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 2159e4d2 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/25 04:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 45645420 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/25 04:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 45645420 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/25 04:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 45645420 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/24 08:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 faae2fda .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/24 08:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 faae2fda .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/24 08:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 faae2fda .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/23 13:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 23bf86af .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/23 13:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 23bf86af .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/23 13:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8127cac0f393 23bf86af .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/23 11:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ef9b5001471c 23bf86af .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/23 11:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ef9b5001471c 23bf86af .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/23 11:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ef9b5001471c 23bf86af .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 16:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ef9b5001471c c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 16:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ef9b5001471c c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 16:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ef9b5001471c c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 15:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 685624f14a53 c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 15:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 685624f14a53 c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 15:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 685624f14a53 c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 06:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 06:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/22 06:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 c0b80a55 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/21 08:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 63e790dd .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/21 08:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 63e790dd .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/21 08:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 63e790dd .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/20 21:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 a0fd4dab .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/20 21:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 a0fd4dab .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/20 21:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 a0fd4dab .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/18 10:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 b31320fc .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/18 10:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 b31320fc .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/18 10:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 b31320fc .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/17 15:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 94744d21 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/17 15:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 94744d21 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/17 15:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 94744d21 .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/17 06:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 67cb024c .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/17 06:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 67cb024c .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
2022/10/17 06:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9abf2313adc1 67cb024c .config console log report ci2-upstream-usb usb-testing boot error: WARNING in __netif_set_xps_queue
* Struck through repros no longer work on HEAD.