syzbot


KCSAN: data-race in fib_table_lookup / fib_table_lookup

Status: auto-obsoleted due to no activity on 2024/05/21 11:44
Subsystems: net
[Documentation on labels]
First crash: 493d, last: 493d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fib_table_lookup / fib_table_lookup (3) net 6 1 164d 164d 0/29 auto-obsoleted due to no activity on 2025/05/06 06:58
upstream KCSAN: data-race in fib_table_lookup / fib_table_lookup (2) net 6 1 415d 415d 0/29 auto-obsoleted due to no activity on 2024/08/07 11:31

Sample crash report:
==================================================================
BUG: KCSAN: data-race in fib_table_lookup / fib_table_lookup

write to 0xffff888112e1ca62 of 1 bytes by task 22194 on cpu 1:
 fib_alias_accessed net/ipv4/fib_lookup.h:32 [inline]
 fib_table_lookup+0x355/0xd50 net/ipv4/fib_trie.c:1591
 fib_lookup include/net/ip_fib.h:385 [inline]
 ip_route_output_key_hash_rcu+0x3a1/0x12d0 net/ipv4/route.c:2752
 ip_route_output_key_hash net/ipv4/route.c:2642 [inline]
 __ip_route_output_key include/net/route.h:131 [inline]
 ip_route_output_flow+0xa6/0x160 net/ipv4/route.c:2870
 udp_sendmsg+0xe80/0x1310 net/ipv4/udp.c:1221
 udpv6_sendmsg+0x76d/0x1550 net/ipv6/udp.c:1388
 inet6_sendmsg+0xaf/0xd0 net/ipv6/af_inet6.c:661
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x8b/0x180 net/socket.c:745
 ____sys_sendmsg+0x312/0x410 net/socket.c:2584
 ___sys_sendmsg net/socket.c:2638 [inline]
 __sys_sendmmsg+0x269/0x500 net/socket.c:2724
 __do_sys_sendmmsg net/socket.c:2753 [inline]
 __se_sys_sendmmsg net/socket.c:2750 [inline]
 __x64_sys_sendmmsg+0x57/0x70 net/socket.c:2750
 x64_sys_call+0x2be5/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:308
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888112e1ca62 of 1 bytes by task 22195 on cpu 0:
 fib_alias_accessed net/ipv4/fib_lookup.h:31 [inline]
 fib_table_lookup+0x32c/0xd50 net/ipv4/fib_trie.c:1591
 fib_lookup include/net/ip_fib.h:385 [inline]
 ip_route_output_key_hash_rcu+0x3a1/0x12d0 net/ipv4/route.c:2752
 ip_route_output_key_hash net/ipv4/route.c:2642 [inline]
 __ip_route_output_key include/net/route.h:131 [inline]
 ip_route_output_flow+0xa6/0x160 net/ipv4/route.c:2870
 udp_sendmsg+0xe80/0x1310 net/ipv4/udp.c:1221
 udpv6_sendmsg+0x76d/0x1550 net/ipv6/udp.c:1388
 inet6_sendmsg+0xaf/0xd0 net/ipv6/af_inet6.c:661
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x8b/0x180 net/socket.c:745
 ____sys_sendmsg+0x312/0x410 net/socket.c:2584
 ___sys_sendmsg net/socket.c:2638 [inline]
 __sys_sendmmsg+0x269/0x500 net/socket.c:2724
 __do_sys_sendmmsg net/socket.c:2753 [inline]
 __se_sys_sendmmsg net/socket.c:2750 [inline]
 __x64_sys_sendmmsg+0x57/0x70 net/socket.c:2750
 x64_sys_call+0x2be5/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:308
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 22195 Comm: syz-executor.0 Not tainted 6.9.0-rc4-syzkaller-00031-g96fca68c4fbf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/16 11:41 upstream 96fca68c4fbf 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fib_table_lookup / fib_table_lookup
* Struck through repros no longer work on HEAD.