syzbot


WARNING in pwq_adjust_max_active (2)

Status: upstream: reported on 2023/03/05 23:26
Reported-by: syzbot+3e285c6825855cee11fb@syzkaller.appspotmail.com
First crash: 639d, last: 639d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in pwq_adjust_max_active 1 1233d 1233d 0/1 auto-closed as invalid on 2021/11/17 13:13

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 17629 at kernel/workqueue.c:3546 pwq_adjust_max_active.cold+0x11/0x18 kernel/workqueue.c:3546
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 17629 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 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:pwq_adjust_max_active.cold+0x11/0x18 kernel/workqueue.c:3546
Code: f9 e8 72 a8 6f f9 48 c7 c7 80 3f 69 88 e8 d1 d9 00 00 0f 0b e9 d3 00 4b f9 e8 5a a8 6f f9 48 c7 c7 80 3f 69 88 e8 b9 d9 00 00 <0f> 0b e9 8b 0c 4b f9 e8 42 a8 6f f9 48 c7 c7 80 3f 69 88 e8 a1 d9
RSP: 0018:ffff88804635fa48 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffffe8ffffd8d800 RCX: 0000000000000000
RDX: 000000000000f49c RSI: ffffffff814dff01 RDI: ffffed1008c6bf3b
RBP: ffff8880a946fac1 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a946fae0
 __alloc_workqueue_key+0x628/0xed0 kernel/workqueue.c:4146
vmscan: shrink_slab: gfs2_glock_shrink_scan+0x0/0xa10 fs/gfs2/glock.c:229 negative objects to delete nr=-85
 xfs_init_mount_workqueues+0x15e/0x6d0 fs/xfs/xfs_super.c:844
 xfs_fs_fill_super+0x713/0x1540 fs/xfs/xfs_super.c:1625
 mount_bdev+0x2fc/0x3b0 fs/super.c:1158
 mount_fs+0xa3/0x310 fs/super.c:1261
vmscan: shrink_slab: gfs2_glock_shrink_scan+0x0/0xa10 fs/gfs2/glock.c:229 negative objects to delete nr=-85
 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
 vfs_kern_mount fs/namespace.c:951 [inline]
 do_new_mount fs/namespace.c:2492 [inline]
 do_mount+0x115c/0x2f50 fs/namespace.c:2822
vmscan: shrink_slab: gfs2_glock_shrink_scan+0x0/0xa10 fs/gfs2/glock.c:229 negative objects to delete nr=-85
vmscan: shrink_slab: gfs2_glock_shrink_scan+0x0/0xa10 fs/gfs2/glock.c:229 negative objects to delete nr=-85
 ksys_mount+0xcf/0x130 fs/namespace.c:3038
syz-executor.1 (17628): drop_caches: 2
 __do_sys_mount fs/namespace.c:3052 [inline]
 __se_sys_mount fs/namespace.c:3049 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3049
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
vmscan: shrink_slab: gfs2_glock_shrink_scan+0x0/0xa10 fs/gfs2/glock.c:229 negative objects to delete nr=-85
RIP: 0033:0x7ffa6b84862a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffa69db8f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000000ace5 RCX: 00007ffa6b84862a
RDX: 000000002000ad00 RSI: 000000002000ad40 RDI: 00007ffa69db8fe0
RBP: 00007ffa69db9020 R08: 00007ffa69db9020 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000002000ad00
R13: 000000002000ad40 R14: 00007ffa69db8fe0 R15: 00000000200002c0
vmscan: shrink_slab: gfs2_glock_shrink_scan+0x0/0xa10 fs/gfs2/glock.c:229 negative objects to delete nr=-85
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
2023/03/05 23:26 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in pwq_adjust_max_active
* Struck through repros no longer work on HEAD.