Cannot find add_set index 0 as target ================================================================== BUG: KCSAN: data-race in data_push_tail / string write to 0xffffffff88e3f7b8 of 1 bytes by task 6818 on cpu 1: string_nocheck lib/vsprintf.c:643 [inline] string+0x17d/0x210 lib/vsprintf.c:721 vsnprintf+0x539/0x8a0 lib/vsprintf.c:2852 vscnprintf+0x42/0x90 lib/vsprintf.c:2917 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2216 vprintk_store+0x583/0x860 kernel/printk/printk.c:2336 vprintk_emit+0x1a0/0x6c0 kernel/printk/printk.c:2426 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x7f/0xb0 kernel/printk/printk.c:2475 __netdev_printk+0x2d1/0x3e0 net/core/dev.c:12411 netdev_info+0x9e/0xd0 net/core/dev.c:12458 __dev_set_promiscuity+0x164/0x340 net/core/dev.c:9174 __dev_set_rx_mode+0x128/0x180 net/core/dev.c:-1 dev_uc_del+0x82/0xa0 net/core/dev_addr_lists.c:715 macvlan_stop+0x1af/0x260 drivers/net/macvlan.c:709 __dev_close_many+0x1ea/0x440 net/core/dev.c:1702 dev_close_many+0x105/0x250 net/core/dev.c:1727 unregister_netdevice_many_notify+0x454/0x16a0 net/core/dev.c:11952 unregister_netdevice_many net/core/dev.c:12046 [inline] default_device_exit_batch+0x500/0x560 net/core/dev.c:12538 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x4f0/0x8a0 net/core/net_namespace.c:654 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x4de/0xa20 kernel/workqueue.c:3319 worker_thread+0x52c/0x710 kernel/workqueue.c:3400 kthread+0x4b7/0x540 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffffffff88e3f7b8 of 8 bytes by task 12487 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:594 [inline] data_push_tail+0x107/0x440 kernel/printk/printk_ringbuffer.c:679 data_alloc+0xbd/0x2c0 kernel/printk/printk_ringbuffer.c:1054 prb_reserve+0x86a/0xb80 kernel/printk/printk_ringbuffer.c:1669 vprintk_store+0x552/0x860 kernel/printk/printk.c:2326 vprintk_emit+0x1a0/0x6c0 kernel/printk/printk.c:2426 vprintk_default+0x26/0x30 kernel/printk/printk.c:2465 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x7f/0xb0 kernel/printk/printk.c:2475 set_target_v1_checkentry+0x2b8/0x2e0 net/netfilter/xt_set.c:315 xt_check_target+0x27e/0x4b0 net/netfilter/x_tables.c:1038 check_target net/ipv6/netfilter/ip6_tables.c:528 [inline] find_check_entry net/ipv6/netfilter/ip6_tables.c:571 [inline] translate_table+0xd2e/0x10b0 net/ipv6/netfilter/ip6_tables.c:733 do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline] do_ip6t_set_ctl+0x663/0x840 net/ipv6/netfilter/ip6_tables.c:1644 nf_setsockopt+0x195/0x1b0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x10f/0x130 net/ipv6/ipv6_sockglue.c:998 tcp_setsockopt+0x93/0xb0 net/ipv4/tcp.c:4077 sock_common_setsockopt+0x64/0x80 net/core/sock.c:3894 do_sock_setsockopt net/socket.c:2296 [inline] __sys_setsockopt+0x187/0x200 net/socket.c:2321 __do_sys_setsockopt net/socket.c:2327 [inline] __se_sys_setsockopt net/socket.c:2324 [inline] __x64_sys_setsockopt+0x66/0x80 net/socket.c:2324 x64_sys_call+0x2a09/0x2e10 arch/x86/include/generated/asm/syscalls_64.h:55 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xc9/0x1a0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000fffff069 -> 0x616d5f3068746576 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 12487 Comm: syz.1.3345 Tainted: G W 6.15.0-rc2-syzkaller-00488-g6fea5fabd332 #0 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================