syzbot


KMSAN: uninit-value in eth_type_trans (2)
Status: upstream: reported C repro on 2020/01/22 16:47
Reported-by: syzbot+0901d0cc75c3d716a3a3@syzkaller.appspotmail.com
First crash: 866d, last: 15h34m
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in eth_type_trans 2 1436d 1440d 0/22 closed as invalid on 2018/07/20 10:58
upstream KMSAN: uninit-value in __skb_checksum_complete (5) C 43 43d 649d 0/22 upstream: reported C repro on 2020/08/14 15:09
upstream KMSAN: uninit-value in br_dev_xmit C 536 15d 821d 0/22 upstream: reported C repro on 2020/02/24 08:38
upstream KMSAN: uninit-value in batadv_get_vid C 1919 8h36m 821d 0/22 upstream: reported C repro on 2020/02/24 08:38
upstream KMSAN: uninit-value in ipv6_find_tlv C 16 14d 1016d 0/22 upstream: reported C repro on 2019/08/13 14:48
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) C 161 6h32m 77d 21/22 internal: reported C repro on 2022/03/09 07:32
upstream KMSAN: uninit-value in inet_frag_find (2) 2 134d 142d 0/22 auto-closed as invalid on 2022/04/11 17:13
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) C 748 78d 167d 22/22 fixed on 2022/03/08 16:11
Patch testing requests:
Created Duration User Patch Repo Result
2021/06/14 08:55 23m mail@anirudhrb.com https://github.com/google/kmsan.git master OK
2021/06/13 18:44 22m mail@anirudhrb.com patch https://github.com/google/kmsan.git master OK

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in eth_type_trans+0x356/0xa90 net/ethernet/eth.c:167
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.5.0-rc5-syzkaller #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+0x1c9/0x220 lib/dump_stack.c:118
 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118
 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215
 eth_type_trans+0x356/0xa90 net/ethernet/eth.c:167
 __dev_forward_skb+0x3ec/0x990 net/core/dev.c:2074
 veth_forward_skb drivers/net/veth.c:231 [inline]
 veth_xmit+0x3fe/0xb70 drivers/net/veth.c:262
 __netdev_start_xmit include/linux/netdevice.h:4447 [inline]
 netdev_start_xmit include/linux/netdevice.h:4461 [inline]
 xmit_one net/core/dev.c:3420 [inline]
 dev_hard_start_xmit+0x531/0xab0 net/core/dev.c:3436
 __dev_queue_xmit+0x37de/0x4220 net/core/dev.c:4013
 dev_queue_xmit+0x4b/0x60 net/core/dev.c:4046
 hsr_xmit net/hsr/hsr_forward.c:228 [inline]
 hsr_forward_do net/hsr/hsr_forward.c:285 [inline]
 hsr_forward_skb+0x2614/0x30d0 net/hsr/hsr_forward.c:361
 hsr_handle_frame+0x385/0x4b0 net/hsr/hsr_slave.c:43
 __netif_receive_skb_core+0x21de/0x5840 net/core/dev.c:5051
 __netif_receive_skb_one_core net/core/dev.c:5148 [inline]
 __netif_receive_skb net/core/dev.c:5264 [inline]
 process_backlog+0x936/0x1410 net/core/dev.c:6095
 napi_poll net/core/dev.c:6532 [inline]
 net_rx_action+0x786/0x1ab0 net/core/dev.c:6600
 __do_softirq+0x311/0x83d 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:536
 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1140
 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:834
 </IRQ>
RIP: 0010:default_idle+0x53/0x90 arch/x86/kernel/process.c:700
Code: 13 f9 d6 f2 44 8b 35 64 54 d8 01 48 c7 c7 38 b7 22 be e8 50 1d a2 f3 83 38 00 75 31 45 85 f6 7e 07 0f 00 2d 27 fe 56 00 fb f4 <65> 8b 35 46 c0 b6 43 c7 03 00 00 00 00 c7 43 08 00 00 00 00 bf ff
RSP: 0018:ffffffffbd603d88 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff912c3d81e738 RBX: ffffffffbd62cb90 RCX: fffffa5d46130d70
RDX: ffff912c35c11738 RSI: 0000000000000000 RDI: ffffffffbe22b738
RBP: ffffffffbd603d98 R08: fffffa5d4000000f R09: ffff912b67bfb000
R10: 0000000000000004 R11: ffffffffbc4a62a0 R12: ffffffffbd62c1c0
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffffbd62cb90
 arch_cpu_idle+0x25/0x30 arch/x86/kernel/process.c:690
 default_idle_call kernel/sched/idle.c:94 [inline]
 cpuidle_idle_call kernel/sched/idle.c:154 [inline]
 do_idle+0x26c/0x7b0 kernel/sched/idle.c:269
 cpu_startup_entry+0x45/0x50 kernel/sched/idle.c:361
 rest_init+0x1be/0x1f0 init/main.c:452
 arch_call_rest_init+0x13/0x15
 start_kernel+0x975/0xb3e init/main.c:787
 x86_64_start_reservations+0x18/0x28 arch/x86/kernel/head64.c:490
 x86_64_start_kernel+0x83/0x86 arch/x86/kernel/head64.c:471
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242

Uninit was stored to memory at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline]
 kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:310
 kmsan_memcpy_memmove_metadata+0x272/0x2e0 mm/kmsan/kmsan.c:247
 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:267
 __msan_memcpy+0x43/0x50 mm/kmsan/kmsan_instr.c:116
 pskb_expand_head+0x38b/0x1b00 net/core/skbuff.c:1637
 __skb_pad+0x47f/0x900 net/core/skbuff.c:1805
 __skb_put_padto include/linux/skbuff.h:3193 [inline]
 skb_put_padto include/linux/skbuff.h:3212 [inline]
 send_hsr_supervision_frame+0x122d/0x1500 net/hsr/hsr_device.c:310
 hsr_announce+0x1e2/0x370 net/hsr/hsr_device.c:341
 call_timer_fn+0x218/0x510 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers+0xcff/0x1210 kernel/time/timer.c:1773
 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1786
 __do_softirq+0x311/0x83d kernel/softirq.c:293

Uninit was created at:
 kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:144
 kmsan_internal_alloc_meta_for_pages mm/kmsan/kmsan_shadow.c:307 [inline]
 kmsan_alloc_page+0x12a/0x310 mm/kmsan/kmsan_shadow.c:336
 __alloc_pages_nodemask+0x57f2/0x5f60 mm/page_alloc.c:4800
 __alloc_pages include/linux/gfp.h:498 [inline]
 __alloc_pages_node include/linux/gfp.h:511 [inline]
 alloc_pages_node include/linux/gfp.h:525 [inline]
 __page_frag_cache_refill mm/page_alloc.c:4875 [inline]
 page_frag_alloc+0x3ae/0x910 mm/page_alloc.c:4905
 __napi_alloc_skb+0x193/0xa60 net/core/skbuff.c:519
 napi_alloc_skb include/linux/skbuff.h:2825 [inline]
 page_to_skb+0x19f/0x1100 drivers/net/virtio_net.c:384
 receive_mergeable drivers/net/virtio_net.c:924 [inline]
 receive_buf+0xe57/0x8ac0 drivers/net/virtio_net.c:1033
 virtnet_receive drivers/net/virtio_net.c:1323 [inline]
 virtnet_poll+0x64b/0x19f0 drivers/net/virtio_net.c:1428
 napi_poll net/core/dev.c:6532 [inline]
 net_rx_action+0x786/0x1ab0 net/core/dev.c:6600
 __do_softirq+0x311/0x83d kernel/softirq.c:293
=====================================================

Crashes (1689):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2020/01/18 14:49 https://github.com/google/kmsan.git master 686a4f77cb0c 3de7aabb .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/18 09:02 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/18 07:54 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/18 05:56 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/16 09:18 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/16 08:26 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/16 05:50 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/16 04:31 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/16 03:27 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/16 02:24 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/08/15 23:14 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2020/05/08 10:31 https://github.com/google/kmsan.git master 21c44613a2fe 6c70a1c2 .config log report syz C
ci-upstream-kmsan-gce 2022/05/19 11:39 https://github.com/google/kmsan.git master c5c93da9af13 50c53f39 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/14 14:09 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/12 02:47 https://github.com/google/kmsan.git master d6e2c8c7eb40 beb0b407 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/05 19:26 https://github.com/google/kmsan.git master d6e2c8c7eb40 efeff0a5 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/05 02:31 https://github.com/google/kmsan.git master d6e2c8c7eb40 dc9e5259 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/02 19:28 https://github.com/google/kmsan.git master d6e2c8c7eb40 2df221f6 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/02 01:29 https://github.com/google/kmsan.git master d6e2c8c7eb40 2df221f6 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/01 11:43 https://github.com/google/kmsan.git master d6e2c8c7eb40 2df221f6 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/05/01 03:21 https://github.com/google/kmsan.git master d6e2c8c7eb40 2df221f6 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/04/30 03:17 https://github.com/google/kmsan.git master d6e2c8c7eb40 ad6b95d8 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/04/27 15:59 https://github.com/google/kmsan.git master d6e2c8c7eb40 1fa34c1b .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/04/26 11:29 https://github.com/google/kmsan.git master b834db009dc5 1fa34c1b .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2022/04/26 11:21 https://github.com/google/kmsan.git master b834db009dc5 1fa34c1b .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/25 11:01 https://github.com/google/kmsan.git master c5c93da9af13 647c0e27 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/25 06:35 https://github.com/google/kmsan.git master c5c93da9af13 647c0e27 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/23 20:08 https://github.com/google/kmsan.git master c5c93da9af13 4c7657cb .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/22 21:50 https://github.com/google/kmsan.git master c5c93da9af13 7268fa62 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/22 20:36 https://github.com/google/kmsan.git master c5c93da9af13 7268fa62 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/22 19:16 https://github.com/google/kmsan.git master c5c93da9af13 7268fa62 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/21 10:42 https://github.com/google/kmsan.git master c5c93da9af13 7268fa62 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/21 02:32 https://github.com/google/kmsan.git master c5c93da9af13 bd37ad7e .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/21 00:49 https://github.com/google/kmsan.git master c5c93da9af13 bd37ad7e .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/19 21:02 https://github.com/google/kmsan.git master c5c93da9af13 50c53f39 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/16 20:37 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/16 17:29 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/16 16:00 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/16 14:05 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/14 15:29 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/14 12:38 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/14 10:18 https://github.com/google/kmsan.git master d6e2c8c7eb40 744a39e2 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/12 20:31 https://github.com/google/kmsan.git master d6e2c8c7eb40 9ad6612a .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/11 10:08 https://github.com/google/kmsan.git master d6e2c8c7eb40 8d7b3b67 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/11 08:11 https://github.com/google/kmsan.git master d6e2c8c7eb40 8d7b3b67 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/05/10 09:37 https://github.com/google/kmsan.git master d6e2c8c7eb40 8b277b8e .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/29 23:19 https://github.com/google/kmsan.git master d6e2c8c7eb40 44a5ca63 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/29 22:16 https://github.com/google/kmsan.git master d6e2c8c7eb40 44a5ca63 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/28 23:08 https://github.com/google/kmsan.git master d6e2c8c7eb40 e9076525 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/28 21:51 https://github.com/google/kmsan.git master d6e2c8c7eb40 e9076525 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/28 15:05 https://github.com/google/kmsan.git master d6e2c8c7eb40 8a1f1f07 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/28 02:37 https://github.com/google/kmsan.git master d6e2c8c7eb40 8a1f1f07 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/26 19:29 https://github.com/google/kmsan.git master e8cbf4e6e3e8 1fa34c1b .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/26 05:59 https://github.com/google/kmsan.git master b834db009dc5 152baedd .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/25 14:41 https://github.com/google/kmsan.git master b834db009dc5 c889aef9 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/25 12:39 https://github.com/google/kmsan.git master b834db009dc5 c889aef9 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/24 18:45 https://github.com/google/kmsan.git master b834db009dc5 131df97d .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/23 09:05 https://github.com/google/kmsan.git master b834db009dc5 131df97d .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/23 00:52 https://github.com/google/kmsan.git master b834db009dc5 131df97d .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/22 22:16 https://github.com/google/kmsan.git master b834db009dc5 131df97d .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/22 01:16 https://github.com/google/kmsan.git master 33d9269ef6e0 2738b391 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce-386 2022/04/21 23:19 https://github.com/google/kmsan.git master 33d9269ef6e0 2738b391 .config log report info KMSAN: uninit-value in eth_type_trans
ci-upstream-kmsan-gce 2020/01/10 21:11 https://github.com/google/kmsan.git master 178db004661b 4de4e9f0 .config log report
ci-upstream-kmsan-gce-386 2021/01/16 21:49 https://github.com/google/kmsan.git master 73d62e81b476 65a7a854 .config log report info