FAT-fs (loop2): Directory bread(block 2572) failed ================================================================== BUG: KCSAN: data-race in data_push_tail / number write to 0xffffffff86d7f123 of 1 bytes by task 18260 on cpu 1: number+0x846/0xb60 lib/vsprintf.c:556 vsnprintf+0xb6d/0xed0 lib/vsprintf.c:2871 vscnprintf+0x29/0x80 lib/vsprintf.c:2908 printk_sprint kernel/printk/printk.c:2076 [inline] vprintk_store+0x638/0xbb0 kernel/printk/printk.c:2186 vprintk_emit+0xac/0x3c0 kernel/printk/printk.c:2229 vprintk_default+0x22/0x30 kernel/printk/printk.c:2256 vprintk+0x7f/0x90 kernel/printk/printk_safe.c:50 _printk+0x76/0x97 kernel/printk/printk.c:2266 __nla_validate_parse+0x1424/0x1760 lib/nlattr.c:600 __nla_parse+0x3c/0x50 lib/nlattr.c:685 __nlmsg_parse include/net/netlink.h:733 [inline] nlmsg_parse_deprecated include/net/netlink.h:772 [inline] tc_modify_qdisc+0x120/0x10b0 net/sched/sch_api.c:1516 rtnetlink_rcv_msg+0x745/0x7e0 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x14e/0x250 net/netlink/af_netlink.c:2491 rtnetlink_rcv+0x18/0x20 net/core/rtnetlink.c:5589 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x5fc/0x6c0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x6e1/0x7d0 net/netlink/af_netlink.c:1916 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x39a/0x510 net/socket.c:2409 ___sys_sendmsg net/socket.c:2463 [inline] __sys_sendmsg+0x195/0x230 net/socket.c:2492 __do_sys_sendmsg net/socket.c:2501 [inline] __se_sys_sendmsg net/socket.c:2499 [inline] __x64_sys_sendmsg+0x42/0x50 net/socket.c:2499 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffffff86d7f120 of 8 bytes by task 18251 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:587 [inline] data_push_tail+0x138/0x470 kernel/printk/printk_ringbuffer.c:672 data_alloc+0xbc/0x2b0 kernel/printk/printk_ringbuffer.c:1043 prb_reserve+0x920/0xbf0 kernel/printk/printk_ringbuffer.c:1549 vprintk_store+0x560/0xbb0 kernel/printk/printk.c:2176 vprintk_emit+0xac/0x3c0 kernel/printk/printk.c:2229 vprintk_default+0x22/0x30 kernel/printk/printk.c:2256 vprintk+0x7f/0x90 kernel/printk/printk_safe.c:50 _printk+0x76/0x97 kernel/printk/printk.c:2266 fat_msg+0x91/0xb9 fs/fat/misc.c:56 fat__get_entry fs/fat/dir.c:102 [inline] fat_get_entry+0x567/0x620 fs/fat/dir.c:128 fat_get_short_entry fs/fat/dir.c:873 [inline] fat_subdirs+0x56/0x1c0 fs/fat/dir.c:939 fat_read_root fs/fat/inode.c:1413 [inline] fat_fill_super+0x25c2/0x2af0 fs/fat/inode.c:1860 msdos_fill_super+0x29/0x30 fs/fat/namei_msdos.c:655 mount_bdev+0x1e8/0x290 fs/super.c:1370 msdos_mount+0x2d/0x40 fs/fat/namei_msdos.c:662 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610 vfs_get_tree+0x4a/0x1a0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x11cf/0x1c40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3516 __x64_sys_mount+0x63/0x70 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x000000010000656a -> 0x7479622030303120 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 18251 Comm: syz-executor.2 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== FAT-fs (loop2): Directory bread(block 2573) failed FAT-fs (loop2): Directory bread(block 2574) failed FAT-fs (loop2): Directory bread(block 2575) failed FAT-fs (loop2): Directory bread(block 2576) failed FAT-fs (loop2): Directory bread(block 2577) failed FAT-fs (loop2): Directory bread(block 2578) failed FAT-fs (loop2): Directory bread(block 2579) failed FAT-fs (loop2): Directory bread(block 2580) failed