syzbot


KMSAN: uninit-value in native_apic_mem_write (2)

Status: auto-obsoleted due to no activity on 2023/05/13 00:04
Subsystems: kernel
[Documentation on labels]
First crash: 440d, last: 427d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in native_apic_mem_write kernel 2 1233d 1260d 0/26 auto-closed as invalid on 2021/03/07 18:48
upstream KMSAN: uninit-value in do_user_addr_fault (3) net C 680 712d 761d 0/26 closed as invalid on 2022/05/12 12:08
upstream KMSAN: uninit-value in eth_type_trans (2) net C 4460 5m 1553d 0/26 upstream: reported C repro on 2020/01/22 16:47
upstream KMSAN: kernel-infoleak in copyout (2) net C 6723 320d 1489d 22/26 fixed on 2023/06/08 14:41
upstream KMSAN: kernel-infoleak in _copy_to_iter (8) mm C 21180 320d 414d 22/26 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in inode_go_dump gfs2 8 319d 462d 0/26 auto-obsoleted due to no activity on 2023/09/17 03:31
upstream KMSAN: uninit-value in reiserfs_new_inode (2) reiserfs C 1339 81d 516d 0/26 auto-obsoleted due to no activity on 2024/04/12 15:06
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/05/12 23:29 21m retest repro https://github.com/google/kmsan.git master OK log
2023/05/12 23:29 21m retest repro https://github.com/google/kmsan.git master OK log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in native_apic_mem_write+0x72/0x90 arch/x86/include/asm/apic.h:105
 native_apic_mem_write+0x72/0x90 arch/x86/include/asm/apic.h:105
 apic_eoi arch/x86/include/asm/apic.h:398 [inline]
 ack_APIC_irq arch/x86/include/asm/apic.h:444 [inline]
 __sysvec_reschedule_ipi arch/x86/kernel/smp.c:227 [inline]
 sysvec_reschedule_ipi+0x35/0x120 arch/x86/kernel/smp.c:225
 asm_sysvec_reschedule_ipi+0x1f/0x30 arch/x86/include/asm/idtentry.h:654
 __msan_chain_origin+0x1c/0x140 mm/kmsan/instrumentation.c:244
 __skb_dst_copy include/net/dst.h:275 [inline]
 skb_dst_copy include/net/dst.h:283 [inline]
 __copy_skb_header+0x50c/0xac0 net/core/skbuff.c:1192
 __skb_clone+0xa2/0xa40 net/core/skbuff.c:1243
 skb_clone+0x4a9/0x670 net/core/skbuff.c:1721
 deliver_clone net/bridge/br_forward.c:125 [inline]
 br_flood+0x8c1/0xb10 net/bridge/br_forward.c:240
 br_handle_frame_finish+0x2923/0x2f20 net/bridge/br_input.c:210
 br_nf_hook_thresh+0x695/0x7f0
 br_nf_pre_routing_finish_ipv6+0x11b6/0x1340
 NF_HOOK include/linux/netfilter.h:302 [inline]
 br_nf_pre_routing_ipv6+0x513/0x8b0 net/bridge/br_netfilter_ipv6.c:237
 br_nf_pre_routing+0x103e/0x2400 net/bridge/br_netfilter_hooks.c:507
 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:272 [inline]
 br_handle_frame+0x108d/0x1f70 net/bridge/br_input.c:416
 __netif_receive_skb_core+0x1f2d/0x6510 net/core/dev.c:5376
 __netif_receive_skb_one_core net/core/dev.c:5480 [inline]
 __netif_receive_skb+0xf7/0x640 net/core/dev.c:5596
 process_backlog+0x50c/0xb80 net/core/dev.c:5924
 __napi_poll+0x144/0xbb0 net/core/dev.c:6485
 napi_poll net/core/dev.c:6552 [inline]
 net_rx_action+0xa41/0x1a90 net/core/dev.c:6663
 __do_softirq+0x211/0x818 kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x117/0x260 kernel/softirq.c:650
 irq_exit_rcu+0x12/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x9e/0xc0 arch/x86/kernel/apic/apic.c:1107
 asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:649
 filter_irq_stacks+0x1eb/0x230
 __stack_depot_save+0x25/0x4b0 lib/stackdepot.c:439
 kmsan_save_stack_with_flags mm/kmsan/core.c:80 [inline]
 kmsan_internal_poison_memory+0x65/0x90 mm/kmsan/core.c:60
 kmsan_slab_free+0xd1/0x130 mm/kmsan/hooks.c:89
 slab_free_hook mm/slub.c:1751 [inline]
 slab_free_freelist_hook mm/slub.c:1807 [inline]
 slab_free mm/slub.c:3787 [inline]
 __kmem_cache_free+0x6c6/0x11b0 mm/slub.c:3800
 kfree+0x1fe/0x4f0 mm/slab_common.c:1020
 update_gid_event_work_handler+0x19c/0x1f0 drivers/infiniband/core/roce_gid_mgmt.c:815
 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]
 slab_alloc mm/slub.c:3460 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3467 [inline]
 kmem_cache_alloc+0x586/0xb40 mm/slub.c:3476
 skb_clone+0x3ec/0x670 net/core/skbuff.c:1714
 deliver_clone net/bridge/br_forward.c:125 [inline]
 br_flood+0x8c1/0xb10 net/bridge/br_forward.c:240
 br_handle_frame_finish+0x2923/0x2f20 net/bridge/br_input.c:210
 br_nf_hook_thresh+0x695/0x7f0
 br_nf_pre_routing_finish_ipv6+0x11b6/0x1340
 NF_HOOK include/linux/netfilter.h:302 [inline]
 br_nf_pre_routing_ipv6+0x513/0x8b0 net/bridge/br_netfilter_ipv6.c:237
 br_nf_pre_routing+0x103e/0x2400 net/bridge/br_netfilter_hooks.c:507
 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:272 [inline]
 br_handle_frame+0x108d/0x1f70 net/bridge/br_input.c:416
 __netif_receive_skb_core+0x1f2d/0x6510 net/core/dev.c:5376
 __netif_receive_skb_one_core net/core/dev.c:5480 [inline]
 __netif_receive_skb+0xf7/0x640 net/core/dev.c:5596
 process_backlog+0x50c/0xb80 net/core/dev.c:5924
 __napi_poll+0x144/0xbb0 net/core/dev.c:6485
 napi_poll net/core/dev.c:6552 [inline]
 net_rx_action+0xa41/0x1a90 net/core/dev.c:6663
 __do_softirq+0x211/0x818 kernel/softirq.c:571

CPU: 0 PID: 3222 Comm: kworker/u4:11 Not tainted 6.2.0-rc8-syzkaller-80999-g31b504f219a9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Workqueue: gid-cache-wq update_gid_event_work_handler
=====================================================

Crashes (148):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/19 23:56 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/15 00:00 https://github.com/google/kmsan.git master da13c00eebfb 1d6b4af7 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/21 05:39 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/21 03:26 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/21 00:33 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/20 13:17 https://github.com/google/kmsan.git master 224e1375d540 bcdf85f8 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/20 11:48 https://github.com/google/kmsan.git master 224e1375d540 bcdf85f8 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/20 06:07 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/20 03:09 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/19 19:58 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/19 18:43 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/19 16:36 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/19 15:04 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/19 12:21 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/19 10:38 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 19:54 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 17:51 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 12:10 https://github.com/google/kmsan.git master 31b504f219a9 d02e9a70 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 10:27 https://github.com/google/kmsan.git master 31b504f219a9 d02e9a70 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 08:52 https://github.com/google/kmsan.git master 31b504f219a9 d02e9a70 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 06:14 https://github.com/google/kmsan.git master 31b504f219a9 d02e9a70 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 04:37 https://github.com/google/kmsan.git master 31b504f219a9 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/18 00:03 https://github.com/google/kmsan.git master 31b504f219a9 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/17 22:47 https://github.com/google/kmsan.git master 31b504f219a9 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/17 18:44 https://github.com/google/kmsan.git master 31b504f219a9 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/17 14:06 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/17 12:08 https://github.com/google/kmsan.git master 9c866a280876 3e7039f4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/17 09:28 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/17 05:27 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/17 04:20 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/16 22:01 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/16 10:57 https://github.com/google/kmsan.git master 9c866a280876 7338e3c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/16 01:22 https://github.com/google/kmsan.git master 9c866a280876 6be0f1f5 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/15 23:43 https://github.com/google/kmsan.git master 9c866a280876 6be0f1f5 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in native_apic_mem_write
2023/02/21 04:27 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/20 23:29 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/20 20:09 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/20 16:25 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/20 14:55 https://github.com/google/kmsan.git master 224e1375d540 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/20 05:00 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/19 07:05 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/19 03:12 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/19 01:38 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/18 23:37 https://github.com/google/kmsan.git master 31b504f219a9 bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/18 16:19 https://github.com/google/kmsan.git master 31b504f219a9 d02e9a70 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/18 02:47 https://github.com/google/kmsan.git master 31b504f219a9 3e7039f4 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/17 20:41 https://github.com/google/kmsan.git master 31b504f219a9 3e7039f4 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/17 02:42 https://github.com/google/kmsan.git master 9c866a280876 851bc19a .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
2023/02/16 13:22 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 native_apic_mem_write
2023/02/16 03:15 https://github.com/google/kmsan.git master 9c866a280876 6be0f1f5 .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in native_apic_mem_write
* Struck through repros no longer work on HEAD.