syzbot


WARNING in mod_delayed_work_on

Status: upstream: reported on 2024/05/25 18:13
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+d9c37490b32d66c6bc78@syzkaller.appspotmail.com
First crash: 26d, last: 6d11h
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly xfs report (May 2024) 0 (1) 2024/05/31 06:48
[syzbot] [xfs?] WARNING in mod_delayed_work_on 0 (1) 2024/05/25 18:13

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5231 at kernel/workqueue.c:2518 __queue_delayed_work+0x268/0x2e0 kernel/workqueue.c:2518
Modules linked in:
CPU: 1 PID: 5231 Comm: syz-executor.1 Not tainted 6.10.0-rc3-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__queue_delayed_work+0x268/0x2e0 kernel/workqueue.c:2518
Code: 0f 0b 90 e9 dc fd ff ff e8 05 db 34 00 90 0f 0b 90 e9 00 fe ff ff e8 f7 da 34 00 90 0f 0b 90 e9 23 fe ff ff e8 e9 da 34 00 90 <0f> 0b 90 e9 46 fe ff ff e8 6b 0e 92 00 e9 ae fe ff ff e8 d1 da 34
RSP: 0018:ffffc90002b4fb18 EFLAGS: 00010093
RAX: 0000000000000000 RBX: ffffe8ffad170478 RCX: 0000000000000001
RDX: ffff88801bedc880 RSI: ffffffff8159b4e7 RDI: ffffe8ffad1704c8
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888022559000
R13: 0000000000000001 R14: ffffe8ffad170480 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff88802c100000(0063) knlGS:0000000057ea4400
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000c0002bbb80 CR3: 000000005835c000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 mod_delayed_work_on+0x19a/0x1d0 kernel/workqueue.c:2608
 xfs_inodegc_queue fs/xfs/xfs_icache.c:2113 [inline]
 xfs_inode_mark_reclaimable+0x5c3/0xf60 fs/xfs/xfs_icache.c:2149
 destroy_inode+0xc4/0x1b0 fs/inode.c:311
 dispose_list+0x117/0x1e0 fs/inode.c:700
 evict_inodes+0x34e/0x450 fs/inode.c:750
 generic_shutdown_super+0xb5/0x3d0 fs/super.c:627
 kill_block_super+0x3b/0x90 fs/super.c:1676
 xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2045
 deactivate_locked_super+0xbe/0x1a0 fs/super.c:473
 deactivate_super+0xde/0x100 fs/super.c:506
 cleanup_mnt+0x222/0x450 fs/namespace.c:1267
 task_work_run+0x14e/0x250 kernel/task_work.c:180
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218
 __do_fast_syscall_32+0x80/0x120 arch/x86/entry/common.c:389
 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf726c579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000fffad718 EFLAGS: 00000292 ORIG_RAX: 0000000000000034
RAX: 0000000000000000 RBX: 00000000fffad7c0 RCX: 0000000000000009
RDX: 00000000f73c2ff4 RSI: 00000000f7313361 RDI: 00000000fffae864
RBP: 00000000fffad7c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	ret
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/10 18:22 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mod_delayed_work_on
2024/05/21 18:05 upstream 8f6a15f095a6 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mod_delayed_work_on
* Struck through repros no longer work on HEAD.