syzbot


KCSAN: data-race in check_lifetime / set_ifa_lifetime

Status: auto-closed as invalid on 2020/02/08 21:47
Subsystems: net
[Documentation on labels]
First crash: 1609d, last: 1609d

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

read to 0xffff888110a01cc8 of 4 bytes by task 16945 on cpu 0:
 check_lifetime+0xf7/0x5a0 net/ipv4/devinet.c:707
 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269
 worker_thread+0xa0/0x800 kernel/workqueue.c:2415
 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

write to 0xffff888110a01cc8 of 4 bytes by task 23574 on cpu 1:
 set_ifa_lifetime+0x3c/0x150 net/ipv4/devinet.c:797
 inet_rtm_newaddr+0x701/0xa00 net/ipv4/devinet.c:968
 rtnetlink_rcv_msg+0x1d3/0x500 net/core/rtnetlink.c:5245
 netlink_rcv_skb+0xb0/0x260 net/netlink/af_netlink.c:2477
 rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:5263
 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
 netlink_unicast+0x354/0x430 net/netlink/af_netlink.c:1328
 netlink_sendmsg+0x456/0x770 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:657
 __sys_sendto+0x21f/0x320 net/socket.c:1952
 __do_sys_sendto net/socket.c:1964 [inline]
 __se_sys_sendto net/socket.c:1960 [inline]
 __x64_sys_sendto+0x89/0xb0 net/socket.c:1960
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 23574 Comm: syz-executor.1 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/30 21:38 https://github.com/google/ktsan.git kcsan ef798c30ba4e a76bf83f .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.