loop0: detected capacity change from 0 to 2048 ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff88be70cb of 1 bytes by task 10217 on cpu 1: number+0x7f0/0xac0 lib/vsprintf.c:551 vsnprintf+0x6ae/0x890 lib/vsprintf.c:2807 vscnprintf+0x42/0x90 lib/vsprintf.c:2908 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2216 vprintk_store+0x589/0x870 kernel/printk/printk.c:2336 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2408 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x7a/0xa0 kernel/printk/printk.c:2457 __nla_validate_parse+0x1881/0x1e30 lib/nlattr.c:647 __nla_parse+0x40/0x60 lib/nlattr.c:732 __nlmsg_parse include/net/netlink.h:764 [inline] nlmsg_parse_deprecated include/net/netlink.h:805 [inline] rtnl_dellink+0xee/0x590 net/core/rtnetlink.c:3503 rtnetlink_rcv_msg+0x651/0x710 net/core/rtnetlink.c:6911 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2543 rtnetlink_rcv+0x1c/0x30 net/core/rtnetlink.c:6938 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1348 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:733 ____sys_sendmsg+0x312/0x410 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmsg+0x19d/0x230 net/socket.c:2659 __do_sys_sendmsg net/socket.c:2664 [inline] __se_sys_sendmsg net/socket.c:2662 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2662 x64_sys_call+0x2734/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff88be70c8 of 8 bytes by task 10219 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:594 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:679 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1054 prb_reserve+0x85e/0xb60 kernel/printk/printk_ringbuffer.c:1669 vprintk_store+0x558/0x870 kernel/printk/printk.c:2326 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2408 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447 vprintk+0x1d/0x30 kernel/printk/printk_safe.c:82 _printk+0x7a/0xa0 kernel/printk/printk.c:2457 set_capacity_and_notify+0x151/0x200 block/genhd.c:93 loop_set_size+0x2e/0x70 drivers/block/loop.c:234 loop_configure+0x8bd/0xa50 drivers/block/loop.c:1106 lo_ioctl+0x60b/0x14d0 blkdev_ioctl+0x359/0x450 block/ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:892 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:892 x64_sys_call+0x1690/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x00000000ffffe90e -> 0x7365747962203420 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 10219 Comm: syz.0.2539 Tainted: G W 6.14.0-rc1-syzkaller-00235-g9946eaf552b1 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. ext4 filesystem being mounted at /512/file1 supports timestamps until 2038-01-19 (0x7fffffff)