syzbot


WARNING in timer_wait_running

Status: upstream: reported C repro on 2023/03/25 18:04
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+f753162ec6416eb76ec2@syzkaller.appspotmail.com
First crash: 369d, last: 267d
Fix commit to backport (bisect log) :
tree: upstream
commit d772781964415c63759572b917e21c4f7ec08d9f
Author: Jakub Kicinski <kuba@kernel.org>
Date: Fri Jan 6 06:33:54 2023 +0000

  devlink: bump the instance index directly when iterating

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: INFO: rcu detected stall in corrupted (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/02 linux-6.1.y (ToT) ca48fc16c493 C [report] INFO: rcu detected stall in corrupted
2023/05/02 upstream (ToT) 7df047b3f0aa C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in timer_wait_running C done inconclusive 31 340d 1305d 0/26 auto-obsoleted due to no activity on 2023/08/21 21:57
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2023/09/11 22:47 7h15m fix candidate upstream job log (1)
2023/07/05 13:21 1h22m bisect fix linux-6.1.y job log (0) log
2023/06/02 22:19 46m bisect fix linux-6.1.y job log (0) log
2023/05/03 20:19 1h09m bisect fix linux-6.1.y job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7259 at kernel/time/posix-timers.c:849 timer_wait_running+0x1ce/0x200
Modules linked in:
CPU: 1 PID: 7259 Comm: syz-executor667 Not tainted 6.1.21-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:timer_wait_running+0x1ce/0x200 kernel/time/posix-timers.c:849
Code: 8a e8 c6 c3 ee ff e8 b1 36 f8 ff e8 dc fa ff ff 44 89 f7 4c 89 fe 5b 41 5c 41 5d 41 5e 41 5f 5d e9 27 85 ff ff e8 72 52 0e 00 <0f> 0b e9 5b ff ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 70 fe ff
RSP: 0018:ffffc90006067d08 EFLAGS: 00010293
RAX: ffffffff817b356e RBX: 0000000000000000 RCX: ffff888075bb9d40
RDX: 0000000000000000 RSI: ffffffff8aebc5e0 RDI: 0000000000000001
RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed100f949c05
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807ca4e000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffc90006067d80
FS:  00007f74d1326700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001008 CR3: 0000000074a6a000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_timer_settime+0x272/0x330 kernel/time/posix-timers.c:929
 __do_sys_timer_settime kernel/time/posix-timers.c:952 [inline]
 __se_sys_timer_settime kernel/time/posix-timers.c:938 [inline]
 __x64_sys_timer_settime+0x1a2/0x250 kernel/time/posix-timers.c:938
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f74d13983a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f74d1326208 EFLAGS: 00000246 ORIG_RAX: 00000000000000df
RAX: ffffffffffffffda RBX: 00007f74d1420418 RCX: 00007f74d13983a9
RDX: 0000000020000080 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f74d1420410 R08: 00007f74d1326700 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f74d142041c
R13: 00007ffed1eaa23f R14: 00007f74d1326300 R15: 0000000000022000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/26 14:25 linux-6.1.y e3a87a10f259 fbf0499a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in timer_wait_running
2023/04/03 18:42 linux-6.1.y 3b29299e5f60 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in timer_wait_running
2023/03/25 18:04 linux-6.1.y e3a87a10f259 fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in timer_wait_running
* Struck through repros no longer work on HEAD.