CPU: 0 UID: 0 PID: 4995 Comm: syz.8.7013 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN ================================================================== BUG: KCSAN: data-race in data_push_tail / vsnprintf write to 0xffffffff88e4d58c of 53 bytes by task 5004 on cpu 1: vsnprintf+0x2ce/0x890 lib/vsprintf.c:2878 vscnprintf+0x41/0x90 lib/vsprintf.c:2991 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2189 vprintk_store+0x599/0x860 kernel/printk/printk.c:2309 vprintk_emit+0x10d/0x580 kernel/printk/printk.c:2399 vprintk_default+0x26/0x30 kernel/printk/printk.c:2438 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2448 __nla_validate_parse+0x1738/0x1d00 lib/nlattr.c:647 __nla_parse+0x40/0x60 lib/nlattr.c:732 nla_parse_nested_deprecated include/net/netlink.h:1379 [inline] nft_obj_init+0x93/0x220 net/netfilter/nf_tables_api.c:8120 nf_tables_newobj+0x751/0x1070 net/netfilter/nf_tables_api.c:8315 nfnetlink_rcv_batch net/netfilter/nfnetlink.c:526 [inline] nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:649 [inline] nfnetlink_rcv+0xbc9/0x16c0 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5c0/0x690 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x58b/0x6b0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x145/0x180 net/socket.c:742 ____sys_sendmsg+0x31e/0x4e0 net/socket.c:2630 ___sys_sendmsg+0x17b/0x1d0 net/socket.c:2684 __sys_sendmsg net/socket.c:2716 [inline] __do_sys_sendmsg net/socket.c:2721 [inline] __se_sys_sendmsg net/socket.c:2719 [inline] __x64_sys_sendmsg+0xd4/0x160 net/socket.c:2719 x64_sys_call+0x191e/0x3000 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff88e4d590 of 8 bytes by task 4995 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:591 [inline] data_push_tail+0xfd/0x420 kernel/printk/printk_ringbuffer.c:676 data_alloc+0xfb/0x2e0 kernel/printk/printk_ringbuffer.c:1061 prb_reserve+0x807/0xaf0 kernel/printk/printk_ringbuffer.c:1685 vprintk_store+0x56d/0x860 kernel/printk/printk.c:2299 vprintk_emit+0x10d/0x580 kernel/printk/printk.c:2399 vprintk_default+0x26/0x30 kernel/printk/printk.c:2438 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x79/0xa0 kernel/printk/printk.c:2448 dump_stack_print_info+0x183/0x1b0 lib/dump_stack.c:68 __dump_stack+0x11/0x30 lib/dump_stack.c:93 dump_stack_lvl+0xe8/0x140 lib/dump_stack.c:120 dump_stack+0x15/0x1b lib/dump_stack.c:129 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x265/0x280 lib/fault-inject.c:174 should_failslab+0x8c/0xb0 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4923 [inline] slab_alloc_node mm/slub.c:5256 [inline] kmem_cache_alloc_noprof+0x50/0x480 mm/slub.c:5287 alloc_empty_file+0x76/0x200 fs/file_table.c:237 alloc_file fs/file_table.c:354 [inline] alloc_file_pseudo+0xc6/0x160 fs/file_table.c:383 hugetlb_file_setup+0x2a6/0x3d0 fs/hugetlbfs/inode.c:1557 ksys_mmap_pgoff+0x157/0x310 mm/mmap.c:596 x64_sys_call+0x14a3/0x3000 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000100001651 -> 0x65766f7466656c20 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 4995 Comm: syz.8.7013 Tainted: G W syzkaller #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 ================================================================== Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: __dump_stack+0x1d/0x30 lib/dump_stack.c:94 dump_stack_lvl+0xe8/0x140 lib/dump_stack.c:120 dump_stack+0x15/0x1b lib/dump_stack.c:129 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x265/0x280 lib/fault-inject.c:174 should_failslab+0x8c/0xb0 mm/failslab.c:46 slab_pre_alloc_hook mm/slub.c:4923 [inline] slab_alloc_node mm/slub.c:5256 [inline] kmem_cache_alloc_noprof+0x50/0x480 mm/slub.c:5287 alloc_empty_file+0x76/0x200 fs/file_table.c:237 alloc_file fs/file_table.c:354 [inline] alloc_file_pseudo+0xc6/0x160 fs/file_table.c:383 hugetlb_file_setup+0x2a6/0x3d0 fs/hugetlbfs/inode.c:1557 ksys_mmap_pgoff+0x157/0x310 mm/mmap.c:596 x64_sys_call+0x14a3/0x3000 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb3e347f6c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb3e1edf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fb3e36d5fa0 RCX: 00007fb3e347f6c9 RDX: 0000000000000002 RSI: 0000000000ff5000 RDI: 0000200000000000 RBP: 00007fb3e1edf090 R08: ffffffffffffffff R09: 0000000000000000 R10: 000000000004c831 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fb3e36d6038 R14: 00007fb3e36d5fa0 R15: 00007ffdb35b0e28