syzbot


KCSAN: data-race in nf_tables_newtable / nf_tables_newtable

Status: auto-closed as invalid on 2022/06/14 10:31
Subsystems: netfilter
[Documentation on labels]
First crash: 857d, last: 709d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in nf_tables_newtable / nf_tables_newtable (2) netfilter 3 643d 665d 0/26 auto-closed as invalid on 2022/08/19 03:06

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

read-write to 0xffffffff86f00318 of 8 bytes by task 17490 on cpu 1:
 nf_tables_newtable+0x5fa/0xd20 net/netfilter/nf_tables_api.c:1221
 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:513 [inline]
 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:634 [inline]
 nfnetlink_rcv+0xa84/0x13c0 net/netfilter/nfnetlink.c:652
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x58a/0x660 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x661/0x750 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg net/socket.c:725 [inline]
 ____sys_sendmsg+0x38f/0x500 net/socket.c:2413
 ___sys_sendmsg net/socket.c:2467 [inline]
 __sys_sendmsg+0x195/0x230 net/socket.c:2496
 __do_sys_sendmsg net/socket.c:2505 [inline]
 __se_sys_sendmsg net/socket.c:2503 [inline]
 __x64_sys_sendmsg+0x42/0x50 net/socket.c:2503
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read-write to 0xffffffff86f00318 of 8 bytes by task 17488 on cpu 0:
 nf_tables_newtable+0x5fa/0xd20 net/netfilter/nf_tables_api.c:1221
 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:513 [inline]
 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:634 [inline]
 nfnetlink_rcv+0xa84/0x13c0 net/netfilter/nfnetlink.c:652
 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
 netlink_unicast+0x58a/0x660 net/netlink/af_netlink.c:1345
 netlink_sendmsg+0x661/0x750 net/netlink/af_netlink.c:1921
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg net/socket.c:725 [inline]
 ____sys_sendmsg+0x38f/0x500 net/socket.c:2413
 ___sys_sendmsg net/socket.c:2467 [inline]
 __sys_sendmsg+0x195/0x230 net/socket.c:2496
 __do_sys_sendmsg net/socket.c:2505 [inline]
 __se_sys_sendmsg net/socket.c:2503 [inline]
 __x64_sys_sendmsg+0x42/0x50 net/socket.c:2503
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x000000000000640c -> 0x000000000000640d

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

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/10 10:23 upstream 9be9ed2612b5 8b277b8e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/04/11 14:51 upstream ce522ba9ef7e af01ee7d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/03/17 00:49 upstream 56e337f2cf13 46cc3b21 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/03/02 19:57 upstream fb184c4af9b9 45a13a73 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/03/01 04:54 upstream 719fce7539cd 45a13a73 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/02/25 10:25 upstream 53ab78cd6d5a 7c337266 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/02/01 00:23 upstream 26291c54e111 6b7c57fe .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/01/15 12:38 upstream 112450df61b7 723cfaf0 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2022/01/13 20:57 upstream 455e73a07f6e b8d780ab .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2021/12/27 21:12 upstream a8ad9a2434dc 5140bd58 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
2021/12/13 02:21 upstream 90d9fbc16b69 49ca1f59 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nf_tables_newtable / nf_tables_newtable
* Struck through repros no longer work on HEAD.