FAT-fs (loop1): Directory bread(block 66) failed ================================================================== BUG: KCSAN: data-race in data_alloc / prb_reserve write to 0xffffffff86070410 of 8 bytes by task 22316 on cpu 1: data_alloc+0x291/0x2c0 kernel/printk/printk_ringbuffer.c:1096 prb_reserve+0x85e/0xb60 kernel/printk/printk_ringbuffer.c:1669 vprintk_store+0x53f/0x810 kernel/printk/printk.c:2266 vprintk_emit+0x10c/0x5e0 kernel/printk/printk.c:2326 vprintk_default+0x26/0x30 kernel/printk/printk.c:2360 vprintk+0x75/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2370 __nla_validate_parse+0x1881/0x1e30 lib/nlattr.c:647 __nla_parse+0x40/0x60 lib/nlattr.c:732 __nlmsg_parse include/net/netlink.h:761 [inline] nlmsg_parse_deprecated include/net/netlink.h:802 [inline] xfrm_dump_sa+0x1bf/0x2f0 net/xfrm/xfrm_user.c:1364 netlink_dump+0x49c/0x820 net/netlink/af_netlink.c:2337 __netlink_dump_start+0x42e/0x510 net/netlink/af_netlink.c:2454 netlink_dump_start include/linux/netlink.h:340 [inline] xfrm_user_rcv_msg+0x3f1/0x5b0 net/xfrm/xfrm_user.c:3283 netlink_rcv_skb+0x12c/0x230 net/netlink/af_netlink.c:2564 xfrm_netlink_rcv+0x47/0x60 net/xfrm/xfrm_user.c:3326 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x58d/0x660 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x5ca/0x6e0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:745 ____sys_sendmsg+0x312/0x410 net/socket.c:2585 ___sys_sendmsg net/socket.c:2639 [inline] __sys_sendmsg+0x1e9/0x280 net/socket.c:2668 __do_sys_sendmsg net/socket.c:2677 [inline] __se_sys_sendmsg net/socket.c:2675 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2675 x64_sys_call+0xb25/0x2d70 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 0xffffffff86070410 of 8 bytes by task 22314 on cpu 0: desc_read kernel/printk/printk_ringbuffer.c:482 [inline] desc_push_tail kernel/printk/printk_ringbuffer.c:778 [inline] desc_reserve kernel/printk/printk_ringbuffer.c:924 [inline] prb_reserve+0x235/0xb60 kernel/printk/printk_ringbuffer.c:1619 vprintk_store+0x53f/0x810 kernel/printk/printk.c:2266 vprintk_emit+0x10c/0x5e0 kernel/printk/printk.c:2326 vprintk_default+0x26/0x30 kernel/printk/printk.c:2360 vprintk+0x75/0x80 kernel/printk/printk_safe.c:45 _printk+0x7a/0xa0 kernel/printk/printk.c:2370 _fat_msg+0xa2/0xd0 fs/fat/misc.c:62 fat__get_entry fs/fat/dir.c:102 [inline] fat_get_entry+0x542/0x5f0 fs/fat/dir.c:128 fat_get_short_entry fs/fat/dir.c:885 [inline] fat_subdirs+0xfa/0x190 fs/fat/dir.c:951 fat_read_root+0x2d9/0x320 fs/fat/inode.c:1420 fat_fill_super+0x216f/0x2880 fs/fat/inode.c:1870 vfat_fill_super+0x30/0x40 fs/fat/namei_vfat.c:1200 mount_bdev+0x152/0x1e0 fs/super.c:1659 vfat_mount+0x31/0x40 fs/fat/namei_vfat.c:1207 legacy_get_tree+0x77/0xd0 fs/fs_context.c:662 vfs_get_tree+0x56/0x1d0 fs/super.c:1780 do_new_mount+0x227/0x690 fs/namespace.c:3352 path_mount+0x49b/0xb30 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875 __x64_sys_mount+0x67/0x80 fs/namespace.c:3875 x64_sys_call+0x25c9/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:166 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: 0x00000000000a74a8 -> 0x0000000000165ed0 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 22314 Comm: syz-executor.1 Tainted: G W 6.10.0-rc1-syzkaller-00013-g2bfcfd584ff5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 ================================================================== FAT-fs (loop1): Directory bread(block 67) failed FAT-fs (loop1): Directory bread(block 68) failed FAT-fs (loop1): Directory bread(block 69) failed FAT-fs (loop1): Directory bread(block 70) failed FAT-fs (loop1): Directory bread(block 71) failed FAT-fs (loop1): Directory bread(block 72) failed FAT-fs (loop1): Directory bread(block 73) failed