upstream boot error: WARNING in alloc_workqueue

Status: fixed on 2023/02/24 13:50
Subsystems: rdma
[Documentation on labels]
Fix commit: 9993a4f989c7 virtio: Revert "virtio: find_vqs() add arg sizes"
First crash: 611d, last: 611d

Sample crash report:
[drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0
[drm] Initialized vkms 1.0.0 20180514 for vkms on minor 1
Console: switching to colour frame buffer device 128x48
platform vkms: [drm] fb0: vkmsdrmfb frame buffer device
usbcore: registered new interface driver udl
brd: module loaded
loop: module loaded
zram: Added device: zram0
null_blk: disk nullb0 created
null_blk: module loaded
Guest personality initialized and is inactive
VMCI host device registered (name=vmci, major=10, minor=120)
Initialized host personality
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
nfcsim 0.2 initialized
usbcore: registered new interface driver port100
usbcore: registered new interface driver nfcmrvl
Loading iSCSI transport class v2.0-870.
scsi host0: Virtio SCSI HBA
st: Version 20160209, fixed bufsize 32768, s/g segs 256
Rounding down aligned max_sectors from 4294967295 to 4294967288
db_root: cannot open: /etc/target
slram: not enough parameters.
ftl_cs: FTL header not found.
wireguard: WireGuard 1.0.0 loaded. See for information.
wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <>. All Rights Reserved.
eql: Equalizer2002: Simon Janes ( and David S. Miller (
MACsec IEEE 802.1AE
tun: Universal TUN/TAP device driver, 1.6
vcan: Virtual CAN interface driver
vxcan: Virtual CAN Tunnel driver
slcan: serial line CAN interface driver
CAN device driver interface
usbcore: registered new interface driver usb_8dev
usbcore: registered new interface driver ems_usb
usbcore: registered new interface driver gs_usb
usbcore: registered new interface driver kvaser_usb
usbcore: registered new interface driver mcba_usb
usbcore: registered new interface driver peak_usb
e100: Intel(R) PRO/100 Network Driver
e100: Copyright(c) 1999-2006 Intel Corporation
e1000: Intel(R) PRO/1000 Network Driver
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
------------[ cut here ]------------
different return values (19 and 15) from vsnprintf("%s%s", ...)
WARNING: CPU: 0 PID: 1 at lib/kasprintf.c:30 kvasprintf+0x13f/0x150 lib/kasprintf.c:30
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.19.0-syzkaller-14264-gf6eb0fed6a39 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:kvasprintf+0x13f/0x150 lib/kasprintf.c:30
Code: 83 ec 80 4c 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 55 ca 81 fd 4c 89 f1 44 89 e2 89 ee 48 c7 c7 a0 94 48 8a e8 ee cf 3f 05 <0f> 0b eb a1 e8 a8 dd 84 05 0f 1f 84 00 00 00 00 00 41 55 41 89 fd
RSP: 0000:ffffc90000067b30 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 1ffff9200000cf66 RCX: 0000000000000000
RDX: ffff888140170000 RSI: ffffffff8161f148 RDI: fffff5200000cf58
RBP: 0000000000000013 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 000000000000000f
R13: ffff88801f6ceb00 R14: ffffffff89ebc4c0 R15: 0000000000000014
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 CR3: 000000000bc8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kasprintf+0xbb/0xf0 lib/kasprintf.c:59
 wq_init_lockdep kernel/workqueue.c:3489 [inline]
 alloc_workqueue+0x410/0x1100 kernel/workqueue.c:4343
 mlx4_init+0x1fd/0x262 drivers/net/ethernet/mellanox/mlx4/main.c:4524
 do_one_initcall+0xfe/0x650 init/main.c:1296
 do_initcall_level init/main.c:1369 [inline]
 do_initcalls init/main.c:1385 [inline]
 do_basic_setup init/main.c:1404 [inline]
 kernel_init_freeable+0x6b1/0x73a init/main.c:1611
 kernel_init+0x1a/0x1d0 init/main.c:1500
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/14 04:15 upstream f6eb0fed6a39 8dfcaa3d .config console log report ci-upstream-kasan-gce upstream boot error: WARNING in alloc_workqueue
* Struck through repros no longer work on HEAD.