syzbot


KMSAN: uninit-value in hsr_register_frame_in

Status: auto-obsoleted due to no activity on 2024/02/18 18:09
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+b8152ab439b9c5174ffd@syzkaller.appspotmail.com
First crash: 2188d, last: 523d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 4 open syzbot bugs in "net/hsr" subsystem 1 (1) 2019/07/24 02:35
Reminder: 5 open syzbot bugs in "net/hsr" subsystem 1 (1) 2019/07/02 06:26
KMSAN: uninit-value in hsr_register_frame_in 0 (1) 2019/02/11 21:53
Similar bugs (15)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: kernel-infoleak in copyout (2) net C 6723 567d 1736d 22/28 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in aes_encrypt (4) net C 15041 352d 1568d 0/28 auto-obsoleted due to no activity on 2024/03/19 00:25
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net C 138977 671d 1023d 22/28 fixed on 2023/02/24 13:50
upstream KMSAN: uninit-value in IP6_ECN_decapsulate net C 981 372d 2288d 25/28 fixed on 2023/12/21 03:45
upstream KMSAN: uninit-value in skb_release_data (3) net C 10 890d 1569d 0/28 auto-obsoleted due to no activity on 2022/11/17 07:20
upstream KMSAN: uninit-value in ipv6_find_tlv net C 271 608d 1962d 22/28 fixed on 2023/06/08 14:41
upstream KMSAN: uninit-value in bpf_prog_run_generic_xdp net C 1063 1h23m 769d 0/28 upstream: reported C repro on 2022/11/18 11:39
upstream KMSAN: uninit-value in ax25cmp (2) hams C 51 827d 1088d 0/28 closed as invalid on 2022/11/18 11:50
upstream KMSAN: uninit-value in virtqueue_add (3) virt 13 783d 1076d 0/28 auto-obsoleted due to no activity on 2023/02/12 03:53
upstream KMSAN: kernel-infoleak in __skb_datagram_iter net 68 457d 562d 23/28 fixed on 2023/09/28 17:51
upstream KMSAN: uninit-value in can_send can C 630 766d 784d 22/28 fixed on 2023/02/24 13:50
upstream KMSAN: uninit-value in inet_frag_find (2) net 2 1080d 1088d 0/28 auto-closed as invalid on 2022/04/11 17:13
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) net C 748 1024d 1113d 20/28 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in eth_type_trans (2) net C 6149 6h00m 1800d 0/28 upstream: reported C repro on 2020/01/22 16:47
upstream KMSAN: uninit-value in hsr_fill_frame_info (2) net C 65 523d 805d 0/28 auto-obsoleted due to no activity on 2023/10/30 13:38
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/02/18 17:25 21m retest repro upstream OK log
2024/02/18 17:25 21m retest repro upstream OK log
2023/12/09 06:42 17m retest repro upstream report log
2023/12/09 06:05 24m retest repro upstream report log
2023/09/30 05:25 19m retest repro upstream report log
2023/09/30 05:25 25m retest repro upstream report log
2023/07/22 04:02 20m retest repro upstream report log
2023/07/22 04:02 16m retest repro upstream report log
2023/05/12 22:18 16m retest repro https://github.com/google/kmsan.git master report log
2023/05/12 22:18 16m retest repro https://github.com/google/kmsan.git master report log

Sample crash report:
8021q: adding VLAN 0 to HW filter on device batadv0
==================================================================
BUG: KMSAN: uninit-value in hsr_register_frame_in+0x12c/0x200 net/hsr/hsr_framereg.c:310
CPU: 1 PID: 13571 Comm: syz-executor406 Not tainted 5.2.0-rc4+ #10
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x191/0x1f0 lib/dump_stack.c:113
 kmsan_report+0x162/0x2d0 mm/kmsan/kmsan_report.c:109
 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:294
 hsr_register_frame_in+0x12c/0x200 net/hsr/hsr_framereg.c:310
 hsr_forward_skb+0xd11/0x3070 net/hsr/hsr_forward.c:360
 hsr_dev_xmit+0xf8/0x160 net/hsr/hsr_device.c:231
 __netdev_start_xmit include/linux/netdevice.h:4406 [inline]
 netdev_start_xmit include/linux/netdevice.h:4420 [inline]
 xmit_one net/core/dev.c:3288 [inline]
 dev_hard_start_xmit+0x51a/0xab0 net/core/dev.c:3304
 __dev_queue_xmit+0x394d/0x4270 net/core/dev.c:3877
 dev_queue_xmit+0x4b/0x60 net/core/dev.c:3910
 packet_snd net/packet/af_packet.c:2928 [inline]
 packet_sendmsg+0x815c/0x8f80 net/packet/af_packet.c:2953
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg net/socket.c:665 [inline]
 __sys_sendto+0xa95/0xb90 net/socket.c:1958
 __do_sys_sendto net/socket.c:1970 [inline]
 __se_sys_sendto+0x107/0x130 net/socket.c:1966
 __x64_sys_sendto+0x6e/0x90 net/socket.c:1966
 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x4419d9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 bb 10 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe2ee20638 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004419d9
RDX: 000000000000000e RSI: 0000000020000040 RDI: 0000000000000003
RBP: 00000000004a9070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402f20
R13: 0000000000402fb0 R14: 0000000000000000 R15: 0000000000000000

Uninit was stored to memory at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:200 [inline]
 kmsan_save_stack mm/kmsan/kmsan.c:212 [inline]
 kmsan_internal_chain_origin+0xcc/0x150 mm/kmsan/kmsan.c:367
 __msan_chain_origin+0x6b/0xe0 mm/kmsan/kmsan_instr.c:190
 hsr_add_node net/hsr/hsr_framereg.c:144 [inline]
 hsr_get_node+0xc90/0xe10 net/hsr/hsr_framereg.c:190
 hsr_fill_frame_info net/hsr/hsr_forward.c:315 [inline]
 hsr_forward_skb+0x780/0x3070 net/hsr/hsr_forward.c:358
 hsr_dev_xmit+0xf8/0x160 net/hsr/hsr_device.c:231
 __netdev_start_xmit include/linux/netdevice.h:4406 [inline]
 netdev_start_xmit include/linux/netdevice.h:4420 [inline]
 xmit_one net/core/dev.c:3288 [inline]
 dev_hard_start_xmit+0x51a/0xab0 net/core/dev.c:3304
 __dev_queue_xmit+0x394d/0x4270 net/core/dev.c:3877
 dev_queue_xmit+0x4b/0x60 net/core/dev.c:3910
 packet_snd net/packet/af_packet.c:2928 [inline]
 packet_sendmsg+0x815c/0x8f80 net/packet/af_packet.c:2953
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg net/socket.c:665 [inline]
 __sys_sendto+0xa95/0xb90 net/socket.c:1958
 __do_sys_sendto net/socket.c:1970 [inline]
 __se_sys_sendto+0x107/0x130 net/socket.c:1966
 __x64_sys_sendto+0x6e/0x90 net/socket.c:1966
 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x63/0xe7

Uninit was created at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:200 [inline]
 kmsan_internal_poison_shadow+0x53/0xa0 mm/kmsan/kmsan.c:159
 kmsan_kmalloc+0xa4/0x130 mm/kmsan/kmsan_hooks.c:178
 kmsan_slab_alloc+0xe/0x10 mm/kmsan/kmsan_hooks.c:187
 slab_post_alloc_hook mm/slab.h:442 [inline]
 slab_alloc_node mm/slub.c:2763 [inline]
 __kmalloc_node_track_caller+0xcba/0xf30 mm/slub.c:4390
 __kmalloc_reserve net/core/skbuff.c:138 [inline]
 __alloc_skb+0x306/0xa10 net/core/skbuff.c:206
 alloc_skb include/linux/skbuff.h:1055 [inline]
 alloc_skb_with_frags+0x18c/0xa80 net/core/skbuff.c:5327
 sock_alloc_send_pskb+0xafd/0x10a0 net/core/sock.c:2219
 packet_alloc_skb net/packet/af_packet.c:2776 [inline]
 packet_snd net/packet/af_packet.c:2871 [inline]
 packet_sendmsg+0x6419/0x8f80 net/packet/af_packet.c:2953
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg net/socket.c:665 [inline]
 __sys_sendto+0xa95/0xb90 net/socket.c:1958
 __do_sys_sendto net/socket.c:1970 [inline]
 __se_sys_sendto+0x107/0x130 net/socket.c:1966
 __x64_sys_sendto+0x6e/0x90 net/socket.c:1966
 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:302
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
==================================================================

Crashes (197):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/07 23:53 https://github.com/google/kmsan.git master f23a6010183e f62e1e85 .config console log report syz C ci-upstream-kmsan-gce
2019/02/11 18:19 https://github.com/google/kmsan.git master fa1981bee40f 73f5f452 .config console log report syz C ci-upstream-kmsan-gce
2023/02/15 20:59 https://github.com/google/kmsan.git master da13c00eebfb 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2022/06/15 03:11 https://github.com/google/kmsan.git master 2f3064574275 127d1faf .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2022/05/10 04:56 https://github.com/google/kmsan.git master d6e2c8c7eb40 8b277b8e .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2022/01/23 20:30 https://github.com/google/kmsan.git master 85cfd6e539bd 214351e1 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2022/01/19 13:57 https://github.com/google/kmsan.git master fa3879a274df 0620189b .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2022/01/14 06:31 https://github.com/google/kmsan.git master fa3879a274df b8d780ab .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2022/01/14 03:34 https://github.com/google/kmsan.git master fa3879a274df b8d780ab .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2022/01/02 03:26 https://github.com/google/kmsan.git master 81c325bbf94e e1768e9c .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/11/30 16:36 https://github.com/google/kmsan.git master a535b0caaa2f 80270552 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/07/10 03:03 https://github.com/google/kmsan.git master 57b5797c8013 8f5a7b8c .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/07/06 13:46 https://github.com/google/kmsan.git master 57b5797c8013 6c4484eb .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/06/27 11:13 https://github.com/google/kmsan.git master 57b5797c8013 9d2ab5df .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/06/23 22:53 https://github.com/google/kmsan.git master 31ffdb453231 fe4ab389 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/06/15 18:47 https://github.com/google/kmsan.git master 7bcc9a7be76b 58636922 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/05/31 19:09 https://github.com/google/kmsan.git master 6099c9da2f7d 032639db .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/05/26 14:42 https://github.com/google/kmsan.git master 6099c9da2f7d 54f0bcf1 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/05/20 18:28 https://github.com/google/kmsan.git master 6099c9da2f7d c560a65d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/03/15 06:49 https://github.com/google/kmsan.git master 29ad81a1074a cc1cff8f .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/02/05 14:12 https://github.com/google/kmsan.git master 73d62e81b476 23a562df .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/01/19 20:34 https://github.com/google/kmsan.git master 73d62e81b476 63631df1 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in hsr_register_frame_in
2021/07/11 21:43 https://github.com/google/kmsan.git master 57b5797c8013 8f5a7b8c .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in hsr_register_frame_in
2021/06/02 08:15 https://github.com/google/kmsan.git master 6099c9da2f7d 032639db .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in hsr_register_frame_in
2020/12/23 06:29 https://github.com/google/kmsan.git master 73d62e81b476 04201c06 .config console log report info ci-upstream-kmsan-gce
2020/12/10 04:29 https://github.com/google/kmsan.git master 73d62e81b476 c090b4da .config console log report info ci-upstream-kmsan-gce
2020/11/26 16:33 https://github.com/google/kmsan.git master 73d62e81b476 1d2b823e .config console log report info ci-upstream-kmsan-gce
2020/10/19 12:44 https://github.com/google/kmsan.git master e67f4ba870c2 ff4a3345 .config console log report info ci-upstream-kmsan-gce
2020/10/08 02:31 https://github.com/google/kmsan.git master 5edb1df295b9 1880b4a9 .config console log report info ci-upstream-kmsan-gce
2020/10/08 01:21 https://github.com/google/kmsan.git master 5edb1df295b9 1880b4a9 .config console log report info ci-upstream-kmsan-gce
2020/10/07 17:49 https://github.com/google/kmsan.git master 5edb1df295b9 1880b4a9 .config console log report info ci-upstream-kmsan-gce
2020/10/06 20:48 https://github.com/google/kmsan.git master 5edb1df295b9 1880b4a9 .config console log report info ci-upstream-kmsan-gce
2020/09/27 00:55 https://github.com/google/kmsan.git master c5a13b33ec11 2d5ea0cb .config console log report info ci-upstream-kmsan-gce
2020/08/15 18:10 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config console log report ci-upstream-kmsan-gce
2020/07/29 06:07 https://github.com/google/kmsan.git master 93f54a72361a cb93dc6a .config console log report ci-upstream-kmsan-gce
2020/07/11 22:22 https://github.com/google/kmsan.git master f0d5ec902b23 18d18b59 .config console log report ci-upstream-kmsan-gce
2020/06/29 20:26 https://github.com/google/kmsan.git master f0d5ec902b23 a2cdad9d .config console log report ci-upstream-kmsan-gce
2020/06/17 14:00 https://github.com/google/kmsan.git master f0d5ec902b23 b9f3810b .config console log report ci-upstream-kmsan-gce
2020/06/16 15:44 https://github.com/google/kmsan.git master f0d5ec902b23 baca2611 .config console log report ci-upstream-kmsan-gce
2020/06/12 02:57 https://github.com/google/kmsan.git master f0d5ec902b23 58802067 .config console log report ci-upstream-kmsan-gce
2020/06/02 17:24 https://github.com/google/kmsan.git master f0d5ec902b23 52fd7b7d .config console log report ci-upstream-kmsan-gce
2020/04/22 10:16 https://github.com/google/kmsan.git master 9535d09e7cff 2e44d63e .config console log report ci-upstream-kmsan-gce
2020/04/09 19:51 https://github.com/google/kmsan.git master 75303409203b a8c6a3f8 .config console log report ci-upstream-kmsan-gce
2020/03/17 15:51 https://github.com/google/kmsan.git master a58741ac26cc 749688d2 .config console log report ci-upstream-kmsan-gce
2020/02/21 09:40 https://github.com/google/kmsan.git master 8bbbc5cf3dca bd2a74a3 .config console log report ci-upstream-kmsan-gce
2018/12/30 17:01 https://github.com/google/kmsan.git master 8ba10281f9e5 9942de5f .config console log report ci-upstream-kmsan-gce
2020/12/20 08:16 https://github.com/google/kmsan.git master 73d62e81b476 04201c06 .config console log report info ci-upstream-kmsan-gce-386
2020/12/10 19:47 https://github.com/google/kmsan.git master 73d62e81b476 f900b48c .config console log report info ci-upstream-kmsan-gce-386
2020/10/08 02:31 https://github.com/google/kmsan.git master 5edb1df295b9 1880b4a9 .config console log report info ci-upstream-kmsan-gce-386
2020/07/13 17:39 https://github.com/google/kmsan.git master f0d5ec902b23 f90ec899 .config console log report ci-upstream-kmsan-gce-386
2020/06/17 14:14 https://github.com/google/kmsan.git master f0d5ec902b23 b9f3810b .config console log report ci-upstream-kmsan-gce-386
2020/03/28 07:16 https://github.com/google/kmsan.git master 75303409203b 831e9a81 .config console log report ci-upstream-kmsan-gce-386
* Struck through repros no longer work on HEAD.