syzbot


KMSAN: uninit-value in preempt_count_add (2)

Status: closed as invalid on 2023/03/06 15:21
Subsystems: kernel
[Documentation on labels]
First crash: 471d, last: 462d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in preempt_count_add kernel C 6657 593d 593d 0/26 closed as invalid on 2022/10/10 13:29
upstream Internal error in preempt_count_add arm 1 373d 369d 0/26 auto-obsoleted due to no activity on 2023/08/14 22:43
upstream Internal error in preempt_count_add (2) net 2 211d 220d 0/26 auto-obsoleted due to no activity on 2024/01/24 17:46

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in __preempt_count_add arch/x86/include/asm/preempt.h:80 [inline]
BUG: KMSAN: uninit-value in preempt_count_add+0x1b8/0x320 kernel/sched/core.c:5754
 __preempt_count_add arch/x86/include/asm/preempt.h:80 [inline]
 preempt_count_add+0x1b8/0x320 kernel/sched/core.c:5754
 sysvec_reschedule_ipi+0x20/0x120 arch/x86/kernel/smp.c:225
 asm_sysvec_reschedule_ipi+0x1f/0x30 arch/x86/include/asm/idtentry.h:654
 kmsan_get_metadata+0x276/0x2c0
 kmsan_get_shadow_origin_ptr+0x38/0xa0 mm/kmsan/shadow.c:97
 get_shadow_origin_ptr mm/kmsan/instrumentation.c:36 [inline]
 __msan_metadata_ptr_for_load_4+0x24/0x40 mm/kmsan/instrumentation.c:91
 ip_fast_csum+0x2ce/0x5f0 lib/checksum.c:108
 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:774 [inline]
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:808 [inline]
 nsim_dev_trap_report_work+0x920/0x11f0 drivers/net/netdevsim/dev.c:853
 process_one_work+0xe73/0x18d0 kernel/workqueue.c:2289
 worker_thread+0x10fc/0x2230 kernel/workqueue.c:2436
 kthread+0x3c7/0x500 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

Uninit was created at:
 slab_post_alloc_hook+0x271/0xf70 mm/slab.h:766
 slab_alloc_node mm/slub.c:3452 [inline]
 __kmem_cache_alloc_node+0x68c/0xac0 mm/slub.c:3491
 __do_kmalloc_node mm/slab_common.c:967 [inline]
 __kmalloc_node_track_caller+0x3df/0x710 mm/slab_common.c:988
 kmalloc_reserve net/core/skbuff.c:492 [inline]
 __alloc_skb+0x56e/0xad0 net/core/skbuff.c:565
 alloc_skb include/linux/skbuff.h:1270 [inline]
 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:751 [inline]
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:808 [inline]
 nsim_dev_trap_report_work+0x420/0x11f0 drivers/net/netdevsim/dev.c:853
 process_one_work+0xe73/0x18d0 kernel/workqueue.c:2289
 worker_thread+0x10fc/0x2230 kernel/workqueue.c:2436
 kthread+0x3c7/0x500 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

CPU: 0 PID: 25 Comm: kworker/0:1 Not tainted 6.2.0-rc8-syzkaller-80998-g9c866a280876 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Workqueue: events nsim_dev_trap_report_work
=====================================================

Crashes (5038):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/17 08:06 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config strace log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 21:14 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config strace log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 08:48 https://github.com/google/kmsan.git master 9c866a280876 6be0f1f5 .config console log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 05:54 https://github.com/google/kmsan.git master 9c866a280876 6be0f1f5 .config strace log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 05:36 https://github.com/google/kmsan.git master da13c00eebfb 1d6b4af7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 03:20 https://github.com/google/kmsan.git master da13c00eebfb 1d6b4af7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 02:33 https://github.com/google/kmsan.git master da13c00eebfb 1d6b4af7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/14 20:43 https://github.com/google/kmsan.git master da13c00eebfb 1d6b4af7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/14 07:28 https://github.com/google/kmsan.git master da13c00eebfb 93ae7e0a .config console log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 09:22 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 04:18 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 00:32 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 21:32 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/08 19:09 https://github.com/google/kmsan.git master 8c89ecf5c13b fc9c934e .config strace log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 07:17 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 15:19 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 04:01 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 14:09 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 14:02 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 04:57 https://github.com/google/kmsan.git master 9c866a280876 6be0f1f5 .config console log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 22:54 https://github.com/google/kmsan.git master da13c00eebfb 6be0f1f5 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 16:06 https://github.com/google/kmsan.git master da13c00eebfb 6be0f1f5 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 15:21 https://github.com/google/kmsan.git master da13c00eebfb 6be0f1f5 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 14:41 https://github.com/google/kmsan.git master da13c00eebfb 6be0f1f5 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/15 08:02 https://github.com/google/kmsan.git master da13c00eebfb 1d6b4af7 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/14 22:14 https://github.com/google/kmsan.git master da13c00eebfb 1d6b4af7 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 22:37 https://github.com/google/kmsan.git master da13c00eebfb 4d66ad72 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 19:53 https://github.com/google/kmsan.git master da13c00eebfb 4d66ad72 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 19:48 https://github.com/google/kmsan.git master da13c00eebfb 4d66ad72 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 18:36 https://github.com/google/kmsan.git master da13c00eebfb 4d66ad72 .config console log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 17:04 https://github.com/google/kmsan.git master da13c00eebfb 4d66ad72 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 16:39 https://github.com/google/kmsan.git master da13c00eebfb 4d66ad72 .config strace log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 06:38 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 04:09 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 21:36 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 19:30 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 15:24 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 12:43 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 10:13 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 07:33 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/12 06:10 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/13 09:47 https://github.com/google/kmsan.git master 8c89ecf5c13b 93e26d60 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 15:35 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 13:19 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 12:48 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 12:17 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 10:56 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 10:56 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 09:52 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 08:47 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 07:49 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 07:05 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 05:53 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 05:52 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 03:50 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 01:54 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 00:05 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 23:24 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 22:36 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 20:32 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 19:47 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 18:01 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 17:55 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 16:52 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 15:50 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 11:47 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 11:13 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/16 10:27 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in preempt_count_add
2023/02/17 16:39 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 14:58 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 14:16 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 11:36 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 07:04 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 04:51 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 03:45 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 02:44 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/17 01:02 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 22:37 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 21:32 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 19:00 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 15:57 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 14:48 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 13:58 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 12:56 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
2023/02/16 12:18 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in preempt_count_add
* Struck through repros no longer work on HEAD.