netlink: 36 bytes leftover after parsing attributes in process `syz-executor.1'. ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff86f46150 of 1 bytes by task 13356 on cpu 1: number+0x8b5/0xa90 lib/vsprintf.c:562 vsnprintf+0xa44/0xe20 lib/vsprintf.c:2883 va_format lib/vsprintf.c:1681 [inline] pointer+0x8a1/0xd10 lib/vsprintf.c:2448 vsnprintf+0x861/0xe20 lib/vsprintf.c:2821 vscnprintf+0x42/0x80 lib/vsprintf.c:2923 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2128 vprintk_store+0x56f/0x800 kernel/printk/printk.c:2242 vprintk_emit+0xd0/0x430 kernel/printk/printk.c:2288 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x83/0x90 kernel/printk/printk_safe.c:50 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 __ext4_grp_locked_error+0x5a5/0x780 fs/ext4/super.c:1010 ext4_mb_generate_buddy+0x3d2/0x460 fs/ext4/mballoc.c:1209 ext4_mb_init_cache+0xa02/0xd80 fs/ext4/mballoc.c:1379 ext4_mb_init_group+0x1c5/0x5c0 fs/ext4/mballoc.c:1515 ext4_mb_good_group_nolock fs/ext4/mballoc.c:2663 [inline] ext4_mb_regular_allocator+0xadd/0x20f0 fs/ext4/mballoc.c:2864 ext4_mb_new_blocks+0x801/0x21e0 fs/ext4/mballoc.c:6134 ext4_ext_map_blocks+0xe42/0x3630 fs/ext4/extents.c:4285 ext4_map_blocks+0x704/0xf60 fs/ext4/inode.c:621 mpage_map_one_extent fs/ext4/inode.c:2159 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2212 [inline] ext4_do_writepages+0xdc5/0x21e0 fs/ext4/inode.c:2677 ext4_writepages+0x15e/0x2e0 fs/ext4/inode.c:2766 do_writepages+0x1c5/0x340 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0xdb/0xf0 mm/filemap.c:393 __filemap_fdatawrite_range mm/filemap.c:426 [inline] filemap_write_and_wait_range+0xe6/0x220 mm/filemap.c:681 filemap_write_and_wait include/linux/pagemap.h:64 [inline] ext4_bmap+0x14e/0x180 fs/ext4/inode.c:3070 bmap+0x60/0x90 fs/inode.c:1842 ioctl_fibmap fs/ioctl.c:77 [inline] file_ioctl fs/ioctl.c:327 [inline] do_vfs_ioctl+0x11a6/0x1390 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x81/0x140 fs/ioctl.c:856 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffffffff86f46150 of 8 bytes by task 13362 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:590 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:675 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1046 prb_reserve+0x893/0xbc0 kernel/printk/printk_ringbuffer.c:1555 vprintk_store+0x53e/0x800 kernel/printk/printk.c:2232 vprintk_emit+0xd0/0x430 kernel/printk/printk.c:2288 vprintk_default+0x26/0x30 kernel/printk/printk.c:2318 vprintk+0x83/0x90 kernel/printk/printk_safe.c:50 _printk+0x7a/0xa0 kernel/printk/printk.c:2328 __nla_validate_parse+0x15ba/0x1b50 lib/nlattr.c:615 __nla_parse+0x40/0x50 lib/nlattr.c:700 neigh_dump_info+0x1e7/0xe20 net/core/neighbour.c:2863 netlink_dump+0x381/0x710 net/netlink/af_netlink.c:2269 __netlink_dump_start+0x426/0x510 net/netlink/af_netlink.c:2376 netlink_dump_start include/linux/netlink.h:330 [inline] rtnetlink_rcv_msg+0x70f/0x8c0 net/core/rtnetlink.c:6380 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2549 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6442 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x56f/0x640 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x665/0x770 net/netlink/af_netlink.c:1914 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg net/socket.c:748 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2494 ___sys_sendmsg net/socket.c:2548 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2577 __do_sys_sendmsg net/socket.c:2586 [inline] __se_sys_sendmsg net/socket.c:2584 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2584 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000010000de8f -> 0x6572662039363934 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 13362 Comm: syz-executor.1 Tainted: G W 6.5.0-rc1-syzkaller-00276-g20edcec23f92 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 ================================================================== syz-executor.1 (13362) used greatest stack depth: 8896 bytes left