syzbot


KMSAN: uninit-value in ip6_finish_output2 (2)

Status: auto-obsoleted due to no activity on 2022/12/12 00:50
Subsystems: net usb
[Documentation on labels]
First crash: 1723d, last: 1723d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in ip6_finish_output2 net 2 2114d 2114d 0/26 closed as invalid on 2018/09/05 16:40
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/11 21:31 20m retest repro https://github.com/google/kmsan.git master OK log
2022/09/02 10:27 7m retest repro https://github.com/google/kmsan.git master error OK

Sample crash report:
usb 1-1: New USB device strings: Mfr=0, Product=2, SerialNumber=94
rsi_91x: rsi_probe: Failed to init usb interface
rsi_91x: rsi_probe: Failed in probe...Exiting
RSI-USB WLAN: probe of 1-1:9.228 failed with error -22
==================================================================
BUG: KMSAN: uninit-value in ___neigh_lookup_noref include/net/neighbour.h:298 [inline]
BUG: KMSAN: uninit-value in __ipv6_neigh_lookup_noref include/net/ndisc.h:381 [inline]
BUG: KMSAN: uninit-value in ip6_finish_output2+0x1195/0x2670 net/ipv6/ip6_output.c:111
CPU: 0 PID: 2876 Comm: kworker/0:2 Not tainted 5.2.0+ #15
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: ipv6_addrconf addrconf_dad_work
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
 ___neigh_lookup_noref include/net/neighbour.h:298 [inline]
 __ipv6_neigh_lookup_noref include/net/ndisc.h:381 [inline]
 ip6_finish_output2+0x1195/0x2670 net/ipv6/ip6_output.c:111
 ip6_finish_output+0xae4/0xbc0 net/ipv6/ip6_output.c:150
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x5d3/0x720 net/ipv6/ip6_output.c:167
 dst_output include/net/dst.h:433 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0x1083/0x15e0 net/ipv6/ndisc.c:504
 ndisc_send_ns+0xda8/0xe10 net/ipv6/ndisc.c:646
 ndisc_solicit+0x498/0x5d0 net/ipv6/ndisc.c:733
 neigh_probe net/core/neighbour.c:1010 [inline]
 __neigh_event_send+0x111d/0x1a80 net/core/neighbour.c:1168
 neigh_event_send include/net/neighbour.h:445 [inline]
 neigh_resolve_output+0x25e/0xb50 net/core/neighbour.c:1470
 neigh_output include/net/neighbour.h:511 [inline]
 ip6_finish_output2+0x2129/0x2670 net/ipv6/ip6_output.c:116
 ip6_finish_output+0xae4/0xbc0 net/ipv6/ip6_output.c:150
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x5d3/0x720 net/ipv6/ip6_output.c:167
 dst_output include/net/dst.h:433 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0x1083/0x15e0 net/ipv6/ndisc.c:504
 ndisc_send_rs+0xb5d/0xb90 net/ipv6/ndisc.c:698
 addrconf_dad_completed+0xc03/0x1490 net/ipv6/addrconf.c:4193
 addrconf_dad_work+0x17b3/0x26e0 net/ipv6/addrconf.c:4104
 process_one_work+0x1572/0x1f00 kernel/workqueue.c:2269
 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415
 kthread+0x4b5/0x4f0 kernel/kthread.c:256
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355

Uninit was created at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:187 [inline]
 kmsan_internal_poison_shadow+0x53/0xa0 mm/kmsan/kmsan.c:146
 kmsan_slab_alloc+0xaa/0x120 mm/kmsan/kmsan_hooks.c:175
 slab_alloc_node mm/slub.c:2771 [inline]
 __kmalloc_node_track_caller+0xc8f/0xf10 mm/slub.c:4389
 __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]
 ndisc_alloc_skb+0x1ba/0x5b0 net/ipv6/ndisc.c:416
 ndisc_send_ns+0x5e9/0xe10 net/ipv6/ndisc.c:622
 ndisc_solicit+0x498/0x5d0 net/ipv6/ndisc.c:733
 neigh_probe net/core/neighbour.c:1010 [inline]
 __neigh_event_send+0x111d/0x1a80 net/core/neighbour.c:1168
 neigh_event_send include/net/neighbour.h:445 [inline]
 neigh_resolve_output+0x25e/0xb50 net/core/neighbour.c:1470
 neigh_output include/net/neighbour.h:511 [inline]
 ip6_finish_output2+0x2129/0x2670 net/ipv6/ip6_output.c:116
 ip6_finish_output+0xae4/0xbc0 net/ipv6/ip6_output.c:150
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x5d3/0x720 net/ipv6/ip6_output.c:167
 dst_output include/net/dst.h:433 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0x1083/0x15e0 net/ipv6/ndisc.c:504
 ndisc_send_rs+0xb5d/0xb90 net/ipv6/ndisc.c:698
 addrconf_dad_completed+0xc03/0x1490 net/ipv6/addrconf.c:4193
 addrconf_dad_work+0x17b3/0x26e0 net/ipv6/addrconf.c:4104
 process_one_work+0x1572/0x1f00 kernel/workqueue.c:2269
 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415
 kthread+0x4b5/0x4f0 kernel/kthread.c:256
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/05 09:23 https://github.com/google/kmsan.git master beaab8a31e0d 6affd8e8 .config console log report syz C ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.