syzbot


KMSAN: uninit-value in __run_timers (2)

Status: auto-closed as invalid on 2022/09/13 17:48
Subsystems: usb
[Documentation on labels]
First crash: 1984d, last: 1406d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in __run_timers (3) reiserfs C error 4 282d 319d 0/28 auto-obsoleted due to no activity on 2024/01/10 00:11
Last patch testing requests (10)
Created Duration User Patch Repo Result
2022/09/13 15:27 18m retest repro https://github.com/google/kmsan.git master OK log
2022/09/13 12:27 22m retest repro https://github.com/google/kmsan.git master OK log
2022/09/13 07:27 22m retest repro https://github.com/google/kmsan.git master OK log
2022/09/13 03:27 21m retest repro https://github.com/google/kmsan.git master OK log
2022/09/13 00:27 21m retest repro https://github.com/google/kmsan.git master OK log
2022/09/12 20:27 22m retest repro https://github.com/google/kmsan.git master OK log
2022/09/12 16:27 21m retest repro https://github.com/google/kmsan.git master OK log
2022/09/12 13:27 21m retest repro https://github.com/google/kmsan.git master OK log
2022/09/12 08:27 22m retest repro https://github.com/google/kmsan.git master OK log
2022/09/12 04:27 21m retest repro https://github.com/google/kmsan.git master OK log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1698
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.3.0-rc7+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x191/0x1f0 lib/dump_stack.c:113
 kmsan_report+0x13a/0x2b0 mm/kmsan/kmsan_report.c:108
 __msan_warning+0x73/0xe0 mm/kmsan/kmsan_instr.c:250
 __hlist_del include/linux/list.h:763 [inline]
 detach_timer kernel/time/timer.c:811 [inline]
 expire_timers kernel/time/timer.c:1356 [inline]
 __run_timers+0xb99/0x11a0 kernel/time/timer.c:1685
 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1698
 __do_softirq+0x4a1/0x83a kernel/softirq.c:293
 invoke_softirq kernel/softirq.c:375 [inline]
 irq_exit+0x230/0x280 kernel/softirq.c:416
 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:537
 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:837
 </IRQ>
RIP: 0010:default_idle+0x53/0x90 arch/x86/kernel/process.c:581
Code: 13 ee eb f2 44 8b 35 94 79 d2 01 48 c7 c7 78 d5 25 90 e8 c0 9b b1 f3 83 38 00 75 31 45 85 f6 7e 07 0f 00 2d 8f f3 4d 00 fb f4 <65> 8b 35 2e 57 af 71 c7 03 00 00 00 00 c7 43 08 00 00 00 00 bf ff
RSP: 0018:ffffffff8f60fda0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff888217c47578 RBX: ffffffff8f638b60 RCX: ccccccccccccd000
RDX: ffff888207e40578 RSI: ffffea000a76d630 RDI: 000000001025d578
RBP: ffffffff8f60fdb0 R08: 0000000000000000 R09: ffff88821f4a91c2
R10: 0000000000000004 R11: ffffffff8e535bb0 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8f638b60
 arch_cpu_idle+0x25/0x30 arch/x86/kernel/process.c:571
 default_idle_call kernel/sched/idle.c:94 [inline]
 cpuidle_idle_call kernel/sched/idle.c:154 [inline]
 do_idle+0x1d7/0x790 kernel/sched/idle.c:263
 cpu_startup_entry+0x45/0x50 kernel/sched/idle.c:354
 rest_init+0x1be/0x1f0 init/main.c:452
 arch_call_rest_init+0x13/0x15
 start_kernel+0x991/0xb61 init/main.c:788
 x86_64_start_reservations+0x18/0x2e arch/x86/kernel/head64.c:472
 x86_64_start_kernel+0x81/0x84 arch/x86/kernel/head64.c:453
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:241

Uninit was created at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:150 [inline]
 kmsan_internal_poison_shadow+0x53/0x100 mm/kmsan/kmsan.c:134
 kmsan_slab_free+0x8d/0x100 mm/kmsan/kmsan_hooks.c:123
 slab_free_freelist_hook mm/slub.c:1472 [inline]
 slab_free mm/slub.c:3038 [inline]
 kfree+0x4c1/0x2db0 mm/slub.c:3980
 skb_free_head net/core/skbuff.c:591 [inline]
 skb_release_data+0x7de/0x9d0 net/core/skbuff.c:611
 skb_release_all net/core/skbuff.c:665 [inline]
 __kfree_skb+0x8a/0x210 net/core/skbuff.c:679
 consume_skb+0x2b0/0x2e0 net/core/skbuff.c:838
 skb_free_datagram+0x52/0x180 net/core/datagram.c:328
 netlink_recvmsg+0xd2d/0x18e0 net/netlink/af_netlink.c:1996
 sock_recvmsg_nosec net/socket.c:871 [inline]
 sock_recvmsg+0x3b3/0x3c0 net/socket.c:889
 ___sys_recvmsg+0x461/0x11e0 net/socket.c:2480
 __sys_recvmsg net/socket.c:2537 [inline]
 __do_sys_recvmsg net/socket.c:2547 [inline]
 __se_sys_recvmsg+0x2fa/0x450 net/socket.c:2544
 __x64_sys_recvmsg+0x4a/0x70 net/socket.c:2544
 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
=====================================================

Crashes (68):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/06 00:39 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report syz C ci-upstream-kmsan-gce
2019/10/06 00:13 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report syz C ci-upstream-kmsan-gce
2019/10/05 21:39 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report syz C ci-upstream-kmsan-gce
2019/10/05 19:51 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report syz C ci-upstream-kmsan-gce
2019/10/05 17:49 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report syz C ci-upstream-kmsan-gce
2019/10/05 06:19 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report syz C ci-upstream-kmsan-gce
2019/10/03 07:01 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config console log report syz C ci-upstream-kmsan-gce
2019/09/29 12:11 https://github.com/google/kmsan.git master 124037e07586 c1ad5441 .config console log report syz C ci-upstream-kmsan-gce
2019/09/20 18:27 https://github.com/google/kmsan.git master cebbfdbcf2b7 d96e88f3 .config console log report syz C ci-upstream-kmsan-gce
2019/09/08 19:50 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config console log report syz C ci-upstream-kmsan-gce
2019/09/08 08:31 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config console log report syz C ci-upstream-kmsan-gce
2019/09/07 03:27 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config console log report syz C ci-upstream-kmsan-gce
2019/08/22 12:07 https://github.com/google/kmsan.git master 61ccdad1fcdf 984250d5 .config console log report syz C ci-upstream-kmsan-gce
2019/08/04 20:26 https://github.com/google/kmsan.git master beaab8a31e0d 6affd8e8 .config console log report syz C ci-upstream-kmsan-gce
2019/08/04 12:12 https://github.com/google/kmsan.git master beaab8a31e0d 6affd8e8 .config console log report syz C ci-upstream-kmsan-gce
2019/08/03 16:12 https://github.com/google/kmsan.git master beaab8a31e0d 6affd8e8 .config console log report syz C ci-upstream-kmsan-gce
2019/07/31 12:32 https://github.com/google/kmsan.git master beaab8a31e0d 7c7ded69 .config console log report syz C ci-upstream-kmsan-gce
2019/07/21 20:09 https://github.com/google/kmsan.git master beaab8a31e0d 1656845f .config console log report syz C ci-upstream-kmsan-gce
2019/07/21 11:27 https://github.com/google/kmsan.git master beaab8a31e0d 1656845f .config console log report syz C ci-upstream-kmsan-gce
2019/07/13 20:29 https://github.com/google/kmsan.git master 7280182c67ba e6fb0f13 .config console log report syz C ci-upstream-kmsan-gce
2019/07/08 06:48 https://github.com/google/kmsan.git master f23a6010183e f62e1e85 .config console log report syz C ci-upstream-kmsan-gce
2019/07/04 04:08 https://github.com/google/kmsan.git master 28617b0ab254 55565fa0 .config console log report syz C ci-upstream-kmsan-gce
2019/10/04 01:20 https://github.com/google/kmsan.git master 1e76a3e537c3 fc17ba49 .config console log report syz ci-upstream-kmsan-gce
2020/08/07 15:58 https://github.com/google/kmsan.git master 93f54a72361a cb436c69 .config console log report ci-upstream-kmsan-gce
2020/08/07 13:58 https://github.com/google/kmsan.git master 93f54a72361a cb436c69 .config console log report ci-upstream-kmsan-gce
2020/08/07 12:30 https://github.com/google/kmsan.git master 93f54a72361a cb436c69 .config console log report ci-upstream-kmsan-gce
2020/08/07 11:03 https://github.com/google/kmsan.git master 93f54a72361a cb436c69 .config console log report ci-upstream-kmsan-gce
2020/08/07 03:30 https://github.com/google/kmsan.git master 93f54a72361a 1f122f88 .config console log report ci-upstream-kmsan-gce
2020/08/06 11:08 https://github.com/google/kmsan.git master 93f54a72361a 0487ea6f .config console log report ci-upstream-kmsan-gce
2020/08/06 05:19 https://github.com/google/kmsan.git master 93f54a72361a 0487ea6f .config console log report ci-upstream-kmsan-gce
2020/08/05 19:58 https://github.com/google/kmsan.git master 93f54a72361a b7129355 .config console log report ci-upstream-kmsan-gce
2020/08/05 12:49 https://github.com/google/kmsan.git master 93f54a72361a b7129355 .config console log report ci-upstream-kmsan-gce
2020/08/05 09:52 https://github.com/google/kmsan.git master 93f54a72361a b7129355 .config console log report ci-upstream-kmsan-gce
2020/08/05 02:14 https://github.com/google/kmsan.git master 93f54a72361a 80a06902 .config console log report ci-upstream-kmsan-gce
2020/08/04 08:39 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/04 06:20 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/04 04:27 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/04 03:15 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/03 20:36 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/03 18:47 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/03 15:13 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/03 10:22 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/03 08:36 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/03 02:26 https://github.com/google/kmsan.git master 93f54a72361a 196277c4 .config console log report ci-upstream-kmsan-gce
2020/08/02 12:40 https://github.com/google/kmsan.git master 93f54a72361a 63a73341 .config console log report ci-upstream-kmsan-gce
2020/08/02 10:45 https://github.com/google/kmsan.git master 93f54a72361a 63a73341 .config console log report ci-upstream-kmsan-gce
2020/08/02 04:00 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/08/02 03:34 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/08/01 23:19 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/08/01 22:11 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/08/01 14:38 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/08/01 13:17 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/08/01 12:29 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/07/31 20:00 https://github.com/google/kmsan.git master 93f54a72361a d895b3be .config console log report ci-upstream-kmsan-gce
2020/07/31 10:32 https://github.com/google/kmsan.git master 93f54a72361a 8df85ed9 .config console log report ci-upstream-kmsan-gce
2020/07/31 05:32 https://github.com/google/kmsan.git master 93f54a72361a 8df85ed9 .config console log report ci-upstream-kmsan-gce
2019/11/15 04:26 https://github.com/google/kmsan.git master 9c6a71628ab9 a24fe792 .config console log report ci-upstream-kmsan-gce
2019/11/14 14:46 https://github.com/google/kmsan.git master 9c6a71628ab9 5d15a967 .config console log report ci-upstream-kmsan-gce
2019/10/07 05:16 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report ci-upstream-kmsan-gce
2019/10/05 14:22 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config console log report ci-upstream-kmsan-gce
2019/10/04 08:45 https://github.com/google/kmsan.git master 1e76a3e537c3 fc17ba49 .config console log report ci-upstream-kmsan-gce
2019/07/12 05:58 https://github.com/google/kmsan.git master 7280182c67ba baa5258a .config console log report ci-upstream-kmsan-gce
2019/02/08 18:52 https://github.com/google/kmsan.git master fa1981bee40f fa6c7b70 .config console log report ci-upstream-kmsan-gce
2019/01/07 13:15 https://github.com/google/kmsan.git master 48128c3ca084 69d69aa9 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.