syzbot


KMSAN: uninit-value in expire_timers (3)

Status: auto-closed as invalid on 2021/10/02 12:28
Subsystems: ext4
[Documentation on labels]
First crash: 1076d, last: 1076d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in expire_timers (2) kernel 2 1174d 1211d 0/27 auto-closed as invalid on 2021/06/26 09:57
upstream KMSAN: uninit-value in expire_timers (4) kernel 1 948d 948d 0/27 auto-closed as invalid on 2022/02/08 07:20
upstream KMSAN: uninit-value in expire_timers kernel 15 1403d 1407d 0/27 auto-closed as invalid on 2020/10/11 00:10
upstream KASAN: slab-use-after-free Write in expire_timers mm acpi batman 7 407d 408d 0/27 auto-obsoleted due to no activity on 2023/08/23 09:02
upstream KASAN: use-after-free Write in expire_timers arm 1 572d 571d 0/27 auto-obsoleted due to no activity on 2023/03/20 12:09
android-54 BUG: unable to handle kernel paging request in expire_timers 3 1163d 1255d 0/2 auto-closed as invalid on 2021/08/07 04:23
android-54 BUG: unable to handle kernel paging request in expire_timers (2) 6 509d 761d 0/2 auto-obsoleted due to no activity on 2023/05/22 09:21
android-54 general protection fault in expire_timers 1 1170d 1170d 0/2 auto-closed as invalid on 2021/07/30 19:44

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in __hlist_del include/linux/list.h:839 [inline]
BUG: KMSAN: uninit-value in detach_timer kernel/time/timer.c:825 [inline]
BUG: KMSAN: uninit-value in expire_timers+0x1be/0x6c0 kernel/time/timer.c:1465
CPU: 1 PID: 8218 Comm: syz-fuzzer Not tainted 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x24c/0x2e0 lib/dump_stack.c:120
 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:121
 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197
 __hlist_del include/linux/list.h:839 [inline]
 detach_timer kernel/time/timer.c:825 [inline]
 expire_timers+0x1be/0x6c0 kernel/time/timer.c:1465
 __run_timers+0x624/0x9e0 kernel/time/timer.c:1745
 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1758
 __do_softirq+0x1b9/0x715 kernel/softirq.c:345
 invoke_softirq kernel/softirq.c:221 [inline]
 __irq_exit_rcu+0x22f/0x280 kernel/softirq.c:422
 irq_exit_rcu+0xe/0x10 kernel/softirq.c:434
 sysvec_apic_timer_interrupt+0x6f/0xf0 arch/x86/kernel/apic/apic.c:1100
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:650
RIP: 0033:0x415566
Code: 50 00 00 00 00 48 89 4c 24 58 48 c7 44 24 60 00 00 00 00 48 8b 6c 24 28 48 83 c4 30 c3 48 8b 1d e0 9d 46 01 84 03 48 8b 14 d3 <48> 85 d2 74 1d 48 89 c3 48 c1 e8 0d 48 25 ff 1f 00 00 48 8b 8c c2
RSP: 002b:000000c000361e70 EFLAGS: 00000246
RAX: 000000c00dcd4ed0 RBX: 00007f880422a000 RCX: 0000000000000001
RDX: 00007f8802fd1000 RSI: 0000000000000001 RDI: 0000000000019750
RBP: 000000c000361e98 R08: 00007f88031d0fff R09: 000000c00dcbb780
R10: 000000c00001d698 R11: 0000000000000008 R12: 000000c00dcd4ed0
R13: 000000c0000ac780 R14: 0000000000000008 R15: 0000000000000080

Local variable ----e4b@ext4_discard_preallocations created at:
 ext4_discard_preallocations+0xb9/0x20b0 fs/ext4/mballoc.c:4332
 ext4_discard_preallocations+0xb9/0x20b0 fs/ext4/mballoc.c:4332
=====================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/04 12:21 https://github.com/google/kmsan.git master 57b5797c8013 55aa55c2 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in expire_timers
* Struck through repros no longer work on HEAD.