syzbot


KCSAN: data-race in ipvlan_get_stats64 / ipvlan_process_multicast

Status: auto-closed as invalid on 2022/02/07 02:38
Subsystems: net
[Documentation on labels]
First crash: 837d, last: 837d

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

write to 0xffffe8ffffd67900 of 8 bytes by task 17106 on cpu 1:
 ipvlan_count_rx drivers/net/ipvlan/ipvlan_core.c:25 [inline]
 ipvlan_process_multicast+0x5dd/0x7d0 drivers/net/ipvlan/ipvlan_core.c:278
 process_one_work+0x3fc/0x980 kernel/workqueue.c:2298
 worker_thread+0x616/0xa70 kernel/workqueue.c:2445
 kthread+0x2c7/0x2e0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30

read to 0xffffe8ffffd67900 of 8 bytes by task 1476 on cpu 0:
 ipvlan_get_stats64+0x160/0x2c0 drivers/net/ipvlan/ipvlan_main.c:307
 dev_get_stats+0x65/0x180 net/core/dev.c:10691
 rtnl_fill_stats+0x45/0x320 net/core/rtnetlink.c:1202
 rtnl_fill_ifinfo+0xebf/0x2560 net/core/rtnetlink.c:1774
 rtnl_dump_ifinfo+0x893/0xce0 net/core/rtnetlink.c:2138
 netlink_dump+0x364/0x6b0 net/netlink/af_netlink.c:2270
 netlink_recvmsg+0x486/0x810 net/netlink/af_netlink.c:2004
 ____sys_recvmsg+0x16c/0x320
 ___sys_recvmsg net/socket.c:2670 [inline]
 __sys_recvmsg+0x209/0x3f0 net/socket.c:2700
 __do_sys_recvmsg net/socket.c:2710 [inline]
 __se_sys_recvmsg net/socket.c:2707 [inline]
 __x64_sys_recvmsg+0x42/0x50 net/socket.c:2707
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000000068e6 -> 0x00000000000068e9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1476 Comm: dhcpcd Not tainted 5.16.0-rc7-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
2022/01/03 02:30 upstream 1286cc4893cf e1768e9c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ipvlan_get_stats64 / ipvlan_process_multicast
* Struck through repros no longer work on HEAD.