1626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fff", 0x5, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 42) [ 1954.010100] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1954.011017] FAT-fs (loop6): Filesystem has been set read-only 10:09:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 6) 10:09:01 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), 0x0, 0x0) preadv2(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f00000002c0)=""/99, 0x63}], 0x1, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:09:01 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1954.080861] FAULT_INJECTION: forcing a failure. [ 1954.080861] name failslab, interval 1, probability 0, space 0, times 0 [ 1954.082187] CPU: 1 PID: 11370 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1954.082967] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1954.083928] Call Trace: [ 1954.084233] dump_stack+0x107/0x167 [ 1954.084652] should_fail.cold+0x5/0xa [ 1954.085089] ? security_inode_alloc+0x34/0x160 [ 1954.085607] should_failslab+0x5/0x20 [ 1954.086040] kmem_cache_alloc+0x5b/0x360 [ 1954.086505] security_inode_alloc+0x34/0x160 [ 1954.087013] inode_init_always+0xa4e/0xd10 [ 1954.087497] ? shmem_destroy_inode+0x70/0x70 [ 1954.088018] alloc_inode+0x84/0x240 [ 1954.088434] new_inode+0x23/0x250 [ 1954.088838] shmem_get_inode+0x15e/0xbc0 [ 1954.089301] __shmem_file_setup+0xb8/0x320 [ 1954.089788] ? _copy_from_user+0xfb/0x1b0 [ 1954.090271] __do_sys_memfd_create+0x275/0x450 [ 1954.090788] ? memfd_file_seals_ptr+0x170/0x170 [ 1954.091316] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1954.091936] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1954.092520] do_syscall_64+0x33/0x40 [ 1954.092937] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1954.093519] RIP: 0033:0x7f9a6eeb9b19 [ 1954.093935] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1954.096002] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1954.096857] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1954.097654] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1954.098448] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1954.099246] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1954.100085] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 1954.115828] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1954.117731] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 1954.119503] FAT-fs (loop3): Filesystem has been set read-only 10:09:15 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:15 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280), 0x8) preadv2(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f00000002c0)=""/99, 0x63}], 0x1, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:09:15 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 7) 10:09:15 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:15 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:15 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 1968.044700] FAT-fs (loop4): bogus number of reserved sectors [ 1968.046387] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1968.047335] FAT-fs (loop4): Can't find a valid FAT filesystem 10:09:15 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff", 0x7, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:15 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) 10:09:15 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1968.107249] FAT-fs (loop1): Invalid FSINFO signature: 0x00005252, 0x00000000 (sector = 1) [ 1968.118047] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.120266] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1968.121129] FAT-fs (loop0): Filesystem has been set read-only [ 1968.122077] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.123951] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1968.124800] FAT-fs (loop6): Filesystem has been set read-only [ 1968.129905] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.130590] FAULT_INJECTION: forcing a failure. [ 1968.130590] name failslab, interval 1, probability 0, space 0, times 0 [ 1968.130864] CPU: 1 PID: 11402 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1968.130872] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1968.130877] Call Trace: [ 1968.130898] dump_stack+0x107/0x167 [ 1968.130912] should_fail.cold+0x5/0xa [ 1968.130928] ? create_object.isra.0+0x3a/0xa20 [ 1968.132660] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 1968.132875] should_failslab+0x5/0x20 [ 1968.133816] FAT-fs (loop3): Filesystem has been set read-only [ 1968.134074] kmem_cache_alloc+0x5b/0x360 [ 1968.135222] FAT-fs (loop1): Directory bread(block 64) failed [ 1968.135353] create_object.isra.0+0x3a/0xa20 [ 1968.138573] FAT-fs (loop1): Directory bread(block 65) failed [ 1968.138784] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 1968.138799] kmem_cache_alloc+0x159/0x360 [ 1968.138816] security_inode_alloc+0x34/0x160 [ 1968.139442] FAT-fs (loop1): Directory bread(block 66) failed [ 1968.140016] inode_init_always+0xa4e/0xd10 [ 1968.140027] ? shmem_destroy_inode+0x70/0x70 [ 1968.140038] alloc_inode+0x84/0x240 [ 1968.140048] new_inode+0x23/0x250 [ 1968.140061] shmem_get_inode+0x15e/0xbc0 [ 1968.140799] FAT-fs (loop1): Directory bread(block 67) failed [ 1968.140991] __shmem_file_setup+0xb8/0x320 [ 1968.142833] FAT-fs (loop1): Directory bread(block 68) failed [ 1968.142938] ? _copy_from_user+0xfb/0x1b0 [ 1968.143312] FAT-fs (loop1): Directory bread(block 69) failed [ 1968.143752] __do_sys_memfd_create+0x275/0x450 [ 1968.143764] ? memfd_file_seals_ptr+0x170/0x170 [ 1968.143805] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1968.144549] FAT-fs (loop1): Directory bread(block 70) failed [ 1968.144899] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1968.144914] do_syscall_64+0x33/0x40 [ 1968.144929] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1968.146775] FAT-fs (loop1): Directory bread(block 71) failed [ 1968.147113] RIP: 0033:0x7f9a6eeb9b19 [ 1968.149276] FAT-fs (loop1): Directory bread(block 72) failed [ 1968.149385] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1968.149898] FAT-fs (loop1): Directory bread(block 73) failed [ 1968.150346] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1968.150360] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1968.150370] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1968.157069] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1968.157869] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1968.158656] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 10:09:15 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) [ 1968.195800] FAT-fs (loop4): bogus number of reserved sectors [ 1968.196470] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1968.197407] FAT-fs (loop4): Can't find a valid FAT filesystem 10:09:15 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1968.229254] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.232629] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 1968.233407] FAT-fs (loop2): Filesystem has been set read-only [ 1968.243248] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.252660] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1968.253534] FAT-fs (loop6): Filesystem has been set read-only 10:09:15 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff", 0x7, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:15 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:15 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 8) 10:09:15 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:15 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 1968.324185] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.327762] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 1968.328820] FAT-fs (loop3): Filesystem has been set read-only [ 1968.333498] FAT-fs (loop1): Invalid FSINFO signature: 0x00005252, 0x00000000 (sector = 1) [ 1968.343625] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.347955] FAT-fs (loop1): Directory bread(block 64) failed [ 1968.350983] FAT-fs (loop1): Directory bread(block 65) failed [ 1968.354681] FAT-fs (loop1): Directory bread(block 66) failed [ 1968.356576] FAT-fs (loop1): Directory bread(block 67) failed [ 1968.357425] FAT-fs (loop1): Directory bread(block 68) failed [ 1968.357953] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1968.358277] FAT-fs (loop1): Directory bread(block 69) failed [ 1968.359073] FAT-fs (loop0): Filesystem has been set read-only [ 1968.364494] FAT-fs (loop1): Directory bread(block 70) failed [ 1968.365581] FAT-fs (loop1): Directory bread(block 71) failed [ 1968.366359] FAT-fs (loop1): Directory bread(block 72) failed [ 1968.368688] FAT-fs (loop1): Directory bread(block 73) failed 10:09:15 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280), 0x8) preadv2(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f00000002c0)=""/99, 0x63}], 0x1, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:09:15 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}]}) 10:09:15 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff", 0x7, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1968.377678] FAULT_INJECTION: forcing a failure. [ 1968.377678] name failslab, interval 1, probability 0, space 0, times 0 [ 1968.379946] CPU: 0 PID: 11423 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1968.380861] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1968.381948] Call Trace: [ 1968.382319] dump_stack+0x107/0x167 [ 1968.382807] should_fail.cold+0x5/0xa [ 1968.383324] ? __d_alloc+0x2a/0x990 [ 1968.383830] should_failslab+0x5/0x20 [ 1968.384344] kmem_cache_alloc+0x5b/0x360 [ 1968.384896] ? trace_hardirqs_on+0x5b/0x180 [ 1968.385473] __d_alloc+0x2a/0x990 [ 1968.385950] d_alloc_pseudo+0x19/0x70 [ 1968.386456] alloc_file_pseudo+0xce/0x250 [ 1968.387021] ? alloc_file+0x5a0/0x5a0 [ 1968.387533] ? shmem_get_inode+0x55c/0xbc0 [ 1968.388116] __shmem_file_setup+0x144/0x320 [ 1968.388693] ? _copy_from_user+0xfb/0x1b0 [ 1968.389246] __do_sys_memfd_create+0x275/0x450 [ 1968.389863] ? memfd_file_seals_ptr+0x170/0x170 [ 1968.390478] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1968.391179] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1968.391881] do_syscall_64+0x33/0x40 [ 1968.392382] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1968.393063] RIP: 0033:0x7f9a6eeb9b19 [ 1968.393565] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1968.395963] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1968.396905] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1968.397678] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1968.398456] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1968.399239] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1968.400039] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 1968.407887] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.410625] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 1968.411645] FAT-fs (loop3): Filesystem has been set read-only [ 1968.415305] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.419135] FAT-fs (loop5): error, invalid access to FAT (entry 0x000000f8) [ 1968.420127] FAT-fs (loop5): Filesystem has been set read-only [ 1968.470662] FAT-fs (loop4): bogus number of reserved sectors [ 1968.471509] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1968.472683] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1968.491051] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.492514] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1968.493556] FAT-fs (loop6): Filesystem has been set read-only [ 1968.498821] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.504431] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1968.505547] FAT-fs (loop0): Filesystem has been set read-only [ 1968.553998] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1968.556748] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1968.559211] FAT-fs (loop6): Filesystem has been set read-only 10:09:29 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:29 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x9, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 9) 10:09:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0f", 0x8, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1982.011450] FAULT_INJECTION: forcing a failure. [ 1982.011450] name failslab, interval 1, probability 0, space 0, times 0 [ 1982.012938] CPU: 1 PID: 11455 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1982.013696] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1982.014602] Call Trace: [ 1982.014897] dump_stack+0x107/0x167 [ 1982.015302] should_fail.cold+0x5/0xa [ 1982.015722] ? create_object.isra.0+0x3a/0xa20 [ 1982.016284] should_failslab+0x5/0x20 [ 1982.016777] kmem_cache_alloc+0x5b/0x360 10:09:29 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:29 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280), 0x8) preadv2(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f00000002c0)=""/99, 0x63}], 0x1, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:09:29 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}]}) [ 1982.017310] create_object.isra.0+0x3a/0xa20 [ 1982.028410] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 1982.029073] kmem_cache_alloc+0x159/0x360 [ 1982.029614] ? trace_hardirqs_on+0x5b/0x180 [ 1982.030169] __d_alloc+0x2a/0x990 [ 1982.030631] d_alloc_pseudo+0x19/0x70 [ 1982.031122] alloc_file_pseudo+0xce/0x250 [ 1982.031654] ? alloc_file+0x5a0/0x5a0 [ 1982.032168] ? shmem_get_inode+0x55c/0xbc0 [ 1982.032714] __shmem_file_setup+0x144/0x320 [ 1982.033264] ? _copy_from_user+0xfb/0x1b0 [ 1982.033799] __do_sys_memfd_create+0x275/0x450 [ 1982.034380] ? memfd_file_seals_ptr+0x170/0x170 [ 1982.034982] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1982.035651] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1982.036334] do_syscall_64+0x33/0x40 [ 1982.036815] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1982.037474] RIP: 0033:0x7f9a6eeb9b19 [ 1982.037951] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1982.040282] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1982.041112] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1982.041893] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1982.042671] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1982.043448] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1982.044248] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 1982.106670] FAT-fs (loop4): bogus number of reserved sectors [ 1982.107443] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1982.107971] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.108441] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1982.110301] FAT-fs (loop1): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 1982.111831] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.113400] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.114830] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.116322] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.117791] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 1982.118663] FAT-fs (loop2): Filesystem has been set read-only [ 1982.119484] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1982.120631] FAT-fs (loop6): Filesystem has been set read-only [ 1982.122227] FAT-fs (loop5): error, invalid access to FAT (entry 0x000000f8) [ 1982.123678] FAT-fs (loop5): Filesystem has been set read-only [ 1982.125126] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 1982.126686] FAT-fs (loop3): Filesystem has been set read-only [ 1982.129842] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1982.131574] FAT-fs (loop0): Filesystem has been set read-only [ 1982.137584] FAT-fs (loop1): Directory bread(block 64) failed 10:09:29 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1982.148517] FAT-fs (loop1): Directory bread(block 65) failed [ 1982.154263] FAT-fs (loop1): Directory bread(block 66) failed [ 1982.159828] FAT-fs (loop1): Directory bread(block 67) failed [ 1982.163080] FAT-fs (loop1): Directory bread(block 68) failed [ 1982.163959] FAT-fs (loop1): Directory bread(block 69) failed [ 1982.164801] FAT-fs (loop1): Directory bread(block 70) failed [ 1982.165703] FAT-fs (loop1): Directory bread(block 71) failed [ 1982.167574] FAT-fs (loop1): Directory bread(block 72) failed [ 1982.169623] FAT-fs (loop1): Directory bread(block 73) failed 10:09:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 10) 10:09:29 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 1982.220446] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.222849] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.225444] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1982.226869] FAT-fs (loop0): Filesystem has been set read-only [ 1982.228665] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1982.230367] FAT-fs (loop6): Filesystem has been set read-only 10:09:29 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:29 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1982.285709] FAULT_INJECTION: forcing a failure. [ 1982.285709] name failslab, interval 1, probability 0, space 0, times 0 [ 1982.287057] CPU: 1 PID: 11482 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1982.287818] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1982.289493] Call Trace: [ 1982.290013] dump_stack+0x107/0x167 [ 1982.290715] should_fail.cold+0x5/0xa [ 1982.291452] ? __alloc_file+0x21/0x320 [ 1982.292180] should_failslab+0x5/0x20 [ 1982.292601] kmem_cache_alloc+0x5b/0x360 [ 1982.293054] __alloc_file+0x21/0x320 [ 1982.293471] alloc_empty_file+0x6d/0x170 [ 1982.293924] alloc_file+0x59/0x5a0 [ 1982.294322] alloc_file_pseudo+0x16a/0x250 [ 1982.294791] ? alloc_file+0x5a0/0x5a0 [ 1982.295217] ? shmem_get_inode+0x55c/0xbc0 [ 1982.295692] __shmem_file_setup+0x144/0x320 [ 1982.296329] ? _copy_from_user+0xfb/0x1b0 [ 1982.297133] __do_sys_memfd_create+0x275/0x450 [ 1982.298020] ? memfd_file_seals_ptr+0x170/0x170 [ 1982.298918] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1982.299928] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1982.300543] do_syscall_64+0x33/0x40 [ 1982.300957] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1982.301512] RIP: 0033:0x7f9a6eeb9b19 [ 1982.301928] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1982.303911] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1982.305622] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1982.306976] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1982.308441] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1982.310079] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1982.311459] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 1982.334985] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1982.347328] FAT-fs (loop5): error, invalid access to FAT (entry 0x000000f8) [ 1982.348309] FAT-fs (loop5): Filesystem has been set read-only 10:09:43 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 11) 10:09:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0f", 0x8, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xa, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 1995.637575] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.639397] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1995.640359] FAT-fs (loop6): Filesystem has been set read-only [ 1995.641807] FAULT_INJECTION: forcing a failure. [ 1995.641807] name failslab, interval 1, probability 0, space 0, times 0 [ 1995.643183] CPU: 0 PID: 11498 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1995.643944] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1995.648894] Call Trace: [ 1995.649204] dump_stack+0x107/0x167 [ 1995.649623] should_fail.cold+0x5/0xa [ 1995.650063] ? create_object.isra.0+0x3a/0xa20 [ 1995.650582] ? create_object.isra.0+0x3a/0xa20 [ 1995.651088] should_failslab+0x5/0x20 [ 1995.651510] kmem_cache_alloc+0x5b/0x360 10:09:43 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 1995.651977] create_object.isra.0+0x3a/0xa20 [ 1995.652517] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 1995.653089] kmem_cache_alloc+0x159/0x360 [ 1995.653550] __alloc_file+0x21/0x320 [ 1995.653976] alloc_empty_file+0x6d/0x170 [ 1995.654433] alloc_file+0x59/0x5a0 [ 1995.654845] alloc_file_pseudo+0x16a/0x250 [ 1995.660423] ? alloc_file+0x5a0/0x5a0 [ 1995.660845] ? shmem_get_inode+0x55c/0xbc0 [ 1995.661326] __shmem_file_setup+0x144/0x320 [ 1995.661829] ? _copy_from_user+0xfb/0x1b0 [ 1995.662301] __do_sys_memfd_create+0x275/0x450 [ 1995.662808] ? memfd_file_seals_ptr+0x170/0x170 [ 1995.663329] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1995.663905] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1995.664506] do_syscall_64+0x33/0x40 [ 1995.664934] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1995.665508] RIP: 0033:0x7f9a6eeb9b19 [ 1995.665932] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1995.667983] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1995.668855] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1995.669641] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1995.670420] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1995.671224] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1995.672012] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 1995.695507] FAT-fs (loop1): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 1995.697581] FAT-fs (loop4): bogus number of reserved sectors [ 1995.698413] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1995.699337] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1995.701976] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.703387] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 1995.703694] FAT-fs (loop1): Directory bread(block 64) failed [ 1995.704326] FAT-fs (loop3): Filesystem has been set read-only [ 1995.704998] FAT-fs (loop1): Directory bread(block 65) failed [ 1995.707332] FAT-fs (loop1): Directory bread(block 66) failed [ 1995.708053] FAT-fs (loop1): Directory bread(block 67) failed [ 1995.708832] FAT-fs (loop1): Directory bread(block 68) failed [ 1995.709541] FAT-fs (loop1): Directory bread(block 69) failed [ 1995.710214] FAT-fs (loop1): Directory bread(block 70) failed [ 1995.716212] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.717714] FAT-fs (loop5): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 1995.719129] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1995.720037] FAT-fs (loop0): Filesystem has been set read-only [ 1995.727946] FAT-fs (loop1): Directory bread(block 71) failed [ 1995.729283] FAT-fs (loop5): Directory bread(block 64) failed [ 1995.732542] FAT-fs (loop1): Directory bread(block 72) failed [ 1995.733432] FAT-fs (loop5): Directory bread(block 65) failed [ 1995.734236] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.736392] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 1995.737245] FAT-fs (loop2): Filesystem has been set read-only [ 1995.739064] FAT-fs (loop1): Directory bread(block 73) failed [ 1995.740170] FAT-fs (loop5): Directory bread(block 66) failed [ 1995.740871] FAT-fs (loop5): Directory bread(block 67) failed [ 1995.743323] FAT-fs (loop5): Directory bread(block 68) failed [ 1995.744113] FAT-fs (loop5): Directory bread(block 69) failed [ 1995.744918] FAT-fs (loop5): Directory bread(block 70) failed [ 1995.747563] FAT-fs (loop5): Directory bread(block 71) failed [ 1995.749546] FAT-fs (loop5): Directory bread(block 72) failed [ 1995.751484] FAT-fs (loop5): Directory bread(block 73) failed [ 1995.772770] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.778169] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1995.778999] FAT-fs (loop6): Filesystem has been set read-only [ 1995.795013] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.798485] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1995.799304] FAT-fs (loop0): Filesystem has been set read-only 10:09:43 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:43 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 5: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), 0x0, 0x0) preadv2(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f00000002c0)=""/99, 0x63}], 0x1, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:09:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0f", 0x8, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 12) 10:09:43 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:09:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x5, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 1995.940279] FAULT_INJECTION: forcing a failure. [ 1995.940279] name failslab, interval 1, probability 0, space 0, times 0 [ 1995.942182] CPU: 1 PID: 11534 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1995.943050] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1995.944405] Call Trace: [ 1995.944710] dump_stack+0x107/0x167 [ 1995.945391] should_fail.cold+0x5/0xa [ 1995.945833] ? security_file_alloc+0x34/0x170 [ 1995.946631] should_failslab+0x5/0x20 [ 1995.947148] kmem_cache_alloc+0x5b/0x360 [ 1995.947809] security_file_alloc+0x34/0x170 [ 1995.948435] __alloc_file+0xb6/0x320 [ 1995.948903] alloc_empty_file+0x6d/0x170 [ 1995.949418] alloc_file+0x59/0x5a0 [ 1995.949876] alloc_file_pseudo+0x16a/0x250 [ 1995.950405] ? alloc_file+0x5a0/0x5a0 [ 1995.950886] ? shmem_get_inode+0x55c/0xbc0 [ 1995.951423] __shmem_file_setup+0x144/0x320 [ 1995.951968] ? _copy_from_user+0xfb/0x1b0 [ 1995.952530] __do_sys_memfd_create+0x275/0x450 [ 1995.953099] ? memfd_file_seals_ptr+0x170/0x170 [ 1995.953678] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1995.954310] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1995.954900] do_syscall_64+0x33/0x40 [ 1995.955319] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1995.955909] RIP: 0033:0x7f9a6eeb9b19 [ 1995.956380] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1995.958458] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1995.959316] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1995.960124] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1995.960990] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1995.961803] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1995.962611] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 1995.972469] FAT-fs (loop4): bogus number of reserved sectors [ 1995.973307] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1995.974203] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.974591] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 1995.975160] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1995.976074] FAT-fs (loop3): Filesystem has been set read-only 10:09:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1995.996257] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1995.999326] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1996.000664] FAT-fs (loop0): Filesystem has been set read-only [ 1996.016671] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1996.018422] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1996.019251] FAT-fs (loop6): Filesystem has been set read-only 10:09:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1996.054645] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1996.056653] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1996.057465] FAT-fs (loop0): Filesystem has been set read-only [ 1996.065727] FAT-fs (loop3): bogus number of reserved sectors [ 1996.066398] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1996.067344] FAT-fs (loop3): Can't find a valid FAT filesystem 10:09:43 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xd, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:43 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 1996.126344] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1996.131185] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1996.132231] FAT-fs (loop6): Filesystem has been set read-only 10:09:43 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 13) 10:09:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 1996.164855] FAULT_INJECTION: forcing a failure. [ 1996.164855] name failslab, interval 1, probability 0, space 0, times 0 [ 1996.167763] CPU: 1 PID: 11555 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 1996.169922] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 1996.172270] Call Trace: [ 1996.172772] dump_stack+0x107/0x167 [ 1996.173185] should_fail.cold+0x5/0xa [ 1996.173854] ? create_object.isra.0+0x3a/0xa20 [ 1996.174526] should_failslab+0x5/0x20 [ 1996.175154] kmem_cache_alloc+0x5b/0x360 [ 1996.175686] ? percpu_ref_put_many.constprop.0+0x4e/0x100 [ 1996.176500] create_object.isra.0+0x3a/0xa20 [ 1996.177251] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 1996.177995] kmem_cache_alloc+0x159/0x360 [ 1996.178569] security_file_alloc+0x34/0x170 [ 1996.179370] __alloc_file+0xb6/0x320 [ 1996.179784] alloc_empty_file+0x6d/0x170 [ 1996.180446] alloc_file+0x59/0x5a0 [ 1996.180846] alloc_file_pseudo+0x16a/0x250 [ 1996.181546] ? alloc_file+0x5a0/0x5a0 [ 1996.181971] ? shmem_get_inode+0x55c/0xbc0 [ 1996.182655] __shmem_file_setup+0x144/0x320 [ 1996.183334] ? _copy_from_user+0xfb/0x1b0 [ 1996.183795] __do_sys_memfd_create+0x275/0x450 [ 1996.184549] ? memfd_file_seals_ptr+0x170/0x170 [ 1996.185069] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 1996.185866] ? syscall_enter_from_user_mode+0x1d/0x50 [ 1996.186724] do_syscall_64+0x33/0x40 [ 1996.187278] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 1996.188000] RIP: 0033:0x7f9a6eeb9b19 [ 1996.188703] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1996.191513] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 1996.192638] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f9a6eeb9b19 [ 1996.193703] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f9a6ef130fb [ 1996.194813] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 1996.195900] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 1996.196962] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 10:09:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 1996.204753] FAT-fs (loop4): bogus number of reserved sectors [ 1996.206881] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1996.208424] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1996.213004] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1996.220366] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 1996.221471] FAT-fs (loop6): Filesystem has been set read-only [ 1996.234155] FAT-fs (loop1): bogus number of reserved sectors [ 1996.235043] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1996.236505] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1996.256123] FAT-fs (loop3): bogus number of reserved sectors [ 1996.256882] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 1996.257832] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1996.280349] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1996.286104] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1996.287484] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1996.288388] FAT-fs (loop0): Filesystem has been set read-only [ 1996.289152] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 1996.290133] FAT-fs (loop2): Filesystem has been set read-only [ 1996.337875] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 1996.339987] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 1996.345341] FAT-fs (loop0): Filesystem has been set read-only 10:09:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:57 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:09:57 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2010.026451] FAULT_INJECTION: forcing a failure. 10:09:57 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:57 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:57 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 14) 10:09:57 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:57 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2010.026451] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2010.028320] CPU: 1 PID: 11585 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2010.029226] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2010.030283] Call Trace: [ 2010.030632] dump_stack+0x107/0x167 [ 2010.031101] should_fail.cold+0x5/0xa [ 2010.031603] __alloc_pages_nodemask+0x182/0x680 [ 2010.032196] ? __alloc_pages_slowpath.constprop.0+0x2220/0x2220 [ 2010.032990] ? lock_downgrade+0x6d0/0x6d0 [ 2010.033523] alloc_pages_vma+0xbb/0x410 [ 2010.034040] shmem_alloc_page+0x10f/0x1e0 [ 2010.034574] ? shmem_init_inode+0x20/0x20 [ 2010.035125] ? percpu_counter_add_batch+0x8b/0x140 [ 2010.035752] ? __vm_enough_memory+0x184/0x360 [ 2010.036324] shmem_getpage_gfp.constprop.0+0x512/0x1920 [ 2010.037034] ? shmem_unuse_inode+0xed0/0xed0 [ 2010.037598] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2010.038261] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2010.038902] shmem_write_begin+0xf7/0x1d0 [ 2010.039432] generic_perform_write+0x20a/0x4f0 [ 2010.040017] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2010.040936] ? evict_inodes+0x420/0x420 [ 2010.041449] ? generic_write_checks+0x2ad/0x390 [ 2010.042038] __generic_file_write_iter+0x39d/0x5d0 [ 2010.042653] generic_file_write_iter+0xdb/0x230 [ 2010.043231] ? iov_iter_init+0x3c/0x130 [ 2010.043406] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2010.043736] new_sync_write+0x42c/0x660 [ 2010.043749] ? new_sync_read+0x6f0/0x6f0 [ 2010.043766] ? __x64_sys_pwrite64+0x201/0x260 [ 2010.045326] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2010.045350] ? lock_release+0x6b0/0x6b0 [ 2010.045901] FAT-fs (loop0): Filesystem has been set read-only [ 2010.046437] ? selinux_file_permission+0x36/0x510 [ 2010.046462] vfs_write+0x747/0xa30 [ 2010.046479] __x64_sys_pwrite64+0x201/0x260 [ 2010.050107] ? ksys_pwrite64+0x1b0/0x1b0 [ 2010.050622] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2010.051273] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2010.051916] do_syscall_64+0x33/0x40 [ 2010.052406] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2010.053053] RIP: 0033:0x7f9a6ee6cab7 [ 2010.053532] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2010.055827] RSP: 002b:00007f9a6c42ef20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2010.056813] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6cab7 [ 2010.057709] RDX: 000000000000002d RSI: 0000000020010000 RDI: 0000000000000004 [ 2010.058602] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2010.059496] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2010.060415] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2010.119395] FAT-fs (loop1): bogus number of reserved sectors [ 2010.120342] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2010.121659] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2010.122468] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2010.123977] FAT-fs (loop2): bogus number of reserved sectors [ 2010.124857] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2010.125745] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2010.126682] FAT-fs (loop6): Filesystem has been set read-only [ 2010.134497] FAT-fs (loop3): bogus number of reserved sectors [ 2010.135259] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2010.136464] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2010.139531] FAT-fs (loop5): bogus number of reserved sectors [ 2010.140337] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2010.141470] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2010.143013] FAT-fs (loop4): bogus number of reserved sectors [ 2010.143789] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2010.144894] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2010.151589] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2010.155462] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2010.156554] FAT-fs (loop0): Filesystem has been set read-only 10:09:57 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 15) 10:09:57 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:57 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:09:57 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:57 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:09:57 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2010.266269] FAULT_INJECTION: forcing a failure. [ 2010.266269] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2010.267797] CPU: 1 PID: 11609 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2010.268683] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2010.269714] Call Trace: [ 2010.270055] dump_stack+0x107/0x167 [ 2010.270518] should_fail.cold+0x5/0xa [ 2010.271002] iov_iter_copy_from_user_atomic+0x49b/0xdb0 [ 2010.271677] ? shmem_write_begin+0xf7/0x1d0 [ 2010.272206] ? shmem_write_begin+0x100/0x1d0 [ 2010.272788] generic_perform_write+0x279/0x4f0 [ 2010.273369] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2010.274274] ? evict_inodes+0x420/0x420 [ 2010.274775] ? generic_write_checks+0x2ad/0x390 [ 2010.275354] __generic_file_write_iter+0x39d/0x5d0 [ 2010.275979] generic_file_write_iter+0xdb/0x230 [ 2010.276566] ? iov_iter_init+0x3c/0x130 [ 2010.277066] new_sync_write+0x42c/0x660 [ 2010.277562] ? new_sync_read+0x6f0/0x6f0 [ 2010.278067] ? __x64_sys_pwrite64+0x201/0x260 [ 2010.278636] ? lock_release+0x6b0/0x6b0 [ 2010.279129] ? selinux_file_permission+0x36/0x510 [ 2010.279737] vfs_write+0x747/0xa30 [ 2010.280186] __x64_sys_pwrite64+0x201/0x260 [ 2010.280751] ? ksys_pwrite64+0x1b0/0x1b0 [ 2010.281264] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2010.281922] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2010.282572] do_syscall_64+0x33/0x40 [ 2010.283038] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2010.283683] RIP: 0033:0x7f9a6ee6cab7 [ 2010.284152] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2010.286457] RSP: 002b:00007f9a6c42ef20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2010.287418] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6cab7 [ 2010.288320] RDX: 000000000000002d RSI: 0000000020010000 RDI: 0000000000000004 [ 2010.289244] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2010.290138] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2010.291033] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2010.297517] FAT-fs (loop1): bogus number of reserved sectors [ 2010.298337] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2010.299424] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2010.342910] FAT-fs (loop5): bogus number of reserved sectors [ 2010.344105] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2010.345267] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2010.354391] FAT-fs (loop3): bogus number of reserved sectors [ 2010.355461] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2010.356519] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2010.425584] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2010.427151] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2010.428116] FAT-fs (loop2): Filesystem has been set read-only 10:10:10 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 16) 10:10:10 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:10:10 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:10 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x10, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:10 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:10 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x9, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:10 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:10 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2022.750275] FAULT_INJECTION: forcing a failure. [ 2022.750275] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2022.751909] CPU: 1 PID: 11643 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2022.752855] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2022.753985] Call Trace: [ 2022.754352] dump_stack+0x107/0x167 [ 2022.754854] should_fail.cold+0x5/0xa [ 2022.755386] __alloc_pages_nodemask+0x182/0x680 [ 2022.756035] ? __alloc_pages_slowpath.constprop.0+0x2220/0x2220 [ 2022.756883] ? lock_downgrade+0x6d0/0x6d0 [ 2022.757465] alloc_pages_vma+0xbb/0x410 [ 2022.758020] shmem_alloc_page+0x10f/0x1e0 [ 2022.758583] ? shmem_init_inode+0x20/0x20 [ 2022.759154] ? percpu_counter_add_batch+0x8b/0x140 [ 2022.759808] ? __vm_enough_memory+0x184/0x360 [ 2022.760423] shmem_getpage_gfp.constprop.0+0x512/0x1920 [ 2022.761167] ? shmem_unuse_inode+0xed0/0xed0 [ 2022.761747] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2022.762439] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2022.763126] shmem_write_begin+0xf7/0x1d0 [ 2022.763696] generic_perform_write+0x20a/0x4f0 [ 2022.764313] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2022.765255] ? evict_inodes+0x420/0x420 [ 2022.765787] ? generic_write_checks+0x2ad/0x390 [ 2022.766404] __generic_file_write_iter+0x39d/0x5d0 [ 2022.767058] generic_file_write_iter+0xdb/0x230 [ 2022.767674] ? iov_iter_init+0x3c/0x130 [ 2022.768194] new_sync_write+0x42c/0x660 [ 2022.768756] ? new_sync_read+0x6f0/0x6f0 [ 2022.769293] ? __x64_sys_pwrite64+0x201/0x260 [ 2022.769894] ? lock_release+0x6b0/0x6b0 [ 2022.770412] ? selinux_file_permission+0x36/0x510 [ 2022.771074] vfs_write+0x747/0xa30 [ 2022.771547] __x64_sys_pwrite64+0x201/0x260 [ 2022.772132] ? ksys_pwrite64+0x1b0/0x1b0 [ 2022.772687] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2022.773393] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2022.774087] do_syscall_64+0x33/0x40 [ 2022.774590] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2022.775274] RIP: 0033:0x7f9a6ee6cab7 [ 2022.775767] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2022.778207] RSP: 002b:00007f9a6c42ef20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2022.779214] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6cab7 [ 2022.780159] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2022.781106] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2022.782051] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2022.783003] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 [ 2022.796146] FAT-fs (loop3): bogus number of reserved sectors [ 2022.797165] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2022.798309] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2022.799132] FAT-fs (loop1): bogus number of reserved sectors [ 2022.800133] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2022.801276] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2022.811856] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2022.812126] FAT-fs (loop5): bogus number of reserved sectors [ 2022.813827] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2022.814022] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2022.814906] FAT-fs (loop6): Filesystem has been set read-only [ 2022.816990] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2022.817973] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2022.819527] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2022.820622] FAT-fs (loop4): Filesystem has been set read-only [ 2022.838810] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2022.841895] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2022.842932] FAT-fs (loop0): Filesystem has been set read-only [ 2022.859590] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2022.864256] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2022.865248] FAT-fs (loop6): Filesystem has been set read-only [ 2022.935746] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2022.937582] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2022.938702] FAT-fs (loop0): Filesystem has been set read-only [ 2022.979132] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2022.980787] FAT-fs (loop2): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2022.981709] FAT-fs (loop2): Filesystem has been set read-only 10:10:21 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 17) 10:10:21 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:21 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xa, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:21 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:21 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:21 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:21 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x11, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:21 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x0, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2034.086739] FAT-fs (loop4): bogus number of reserved sectors [ 2034.087547] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2034.088791] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2034.106526] FAULT_INJECTION: forcing a failure. [ 2034.106526] name failslab, interval 1, probability 0, space 0, times 0 [ 2034.108118] CPU: 1 PID: 11670 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2034.109102] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2034.110235] Call Trace: [ 2034.110612] dump_stack+0x107/0x167 [ 2034.111120] should_fail.cold+0x5/0xa [ 2034.111642] ? xas_alloc+0x336/0x440 [ 2034.112147] should_failslab+0x5/0x20 [ 2034.112667] kmem_cache_alloc+0x5b/0x360 [ 2034.113228] ? trace_hardirqs_on+0x5b/0x180 [ 2034.113829] xas_alloc+0x336/0x440 [ 2034.114315] xas_create+0x60b/0x1040 [ 2034.114853] xas_create_range+0x18b/0x600 [ 2034.115432] shmem_add_to_page_cache+0x759/0x1150 [ 2034.116094] ? shmem_getattr+0x180/0x180 [ 2034.116695] shmem_getpage_gfp.constprop.0+0x64a/0x1920 [ 2034.117436] ? shmem_unuse_inode+0xed0/0xed0 [ 2034.118052] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2034.118774] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2034.119487] shmem_write_begin+0xf7/0x1d0 [ 2034.120069] generic_perform_write+0x20a/0x4f0 [ 2034.120725] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2034.121746] ? evict_inodes+0x420/0x420 [ 2034.122299] ? generic_write_checks+0x2ad/0x390 [ 2034.122954] __generic_file_write_iter+0x39d/0x5d0 [ 2034.123639] generic_file_write_iter+0xdb/0x230 [ 2034.124280] ? iov_iter_init+0x3c/0x130 [ 2034.124846] new_sync_write+0x42c/0x660 [ 2034.125400] ? new_sync_read+0x6f0/0x6f0 [ 2034.125964] ? __x64_sys_pwrite64+0x201/0x260 [ 2034.126585] ? lock_release+0x6b0/0x6b0 [ 2034.127144] ? selinux_file_permission+0x36/0x510 [ 2034.127835] vfs_write+0x747/0xa30 [ 2034.128340] __x64_sys_pwrite64+0x201/0x260 [ 2034.128944] ? ksys_pwrite64+0x1b0/0x1b0 [ 2034.129518] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2034.130241] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2034.130950] do_syscall_64+0x33/0x40 [ 2034.131473] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2034.132177] RIP: 0033:0x7f9a6ee6cab7 [ 2034.132705] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2034.135226] RSP: 002b:00007f9a6c42ef20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2034.136287] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6cab7 [ 2034.137297] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2034.138289] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2034.139274] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2034.140267] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 [ 2034.147947] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.149942] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2034.151069] FAT-fs (loop0): Filesystem has been set read-only [ 2034.174902] FAT-fs (loop1): bogus number of reserved sectors [ 2034.175905] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2034.177060] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2034.192572] FAT-fs (loop3): bogus number of reserved sectors [ 2034.193478] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.193898] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2034.194629] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2034.196560] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2034.196645] FAT-fs (loop6): Filesystem has been set read-only 10:10:21 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x0, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:10:21 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:21 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2034.239974] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:10:21 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2034.257975] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2034.259762] FAT-fs (loop2): Filesystem has been set read-only [ 2034.279923] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.296043] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.305862] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2034.307567] FAT-fs (loop0): Filesystem has been set read-only [ 2034.312546] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2034.313360] FAT-fs (loop6): Filesystem has been set read-only 10:10:21 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:21 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2034.356244] FAT-fs (loop4): bogus number of reserved sectors [ 2034.356966] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2034.357889] FAT-fs (loop4): Can't find a valid FAT filesystem 10:10:21 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x23, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:21 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 18) [ 2034.406626] FAT-fs (loop1): bogus number of reserved sectors [ 2034.407353] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2034.408282] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2034.436795] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.439266] FAULT_INJECTION: forcing a failure. [ 2034.439266] name failslab, interval 1, probability 0, space 0, times 0 [ 2034.440406] CPU: 0 PID: 11705 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2034.441115] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2034.441958] Call Trace: [ 2034.442240] dump_stack+0x107/0x167 [ 2034.442617] should_fail.cold+0x5/0xa [ 2034.443010] ? __memcg_kmem_charge+0x68/0x140 [ 2034.443474] ? create_object.isra.0+0x3a/0xa20 [ 2034.443946] should_failslab+0x5/0x20 [ 2034.444338] kmem_cache_alloc+0x5b/0x360 [ 2034.444765] create_object.isra.0+0x3a/0xa20 [ 2034.445214] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2034.445735] kmem_cache_alloc+0x159/0x360 [ 2034.446162] ? trace_hardirqs_on+0x5b/0x180 [ 2034.446641] xas_alloc+0x336/0x440 [ 2034.447036] xas_create+0x60b/0x1040 [ 2034.447459] xas_create_range+0x18b/0x600 [ 2034.447925] shmem_add_to_page_cache+0x759/0x1150 [ 2034.448461] ? shmem_getattr+0x180/0x180 [ 2034.448939] shmem_getpage_gfp.constprop.0+0x64a/0x1920 [ 2034.449541] ? shmem_unuse_inode+0xed0/0xed0 [ 2034.450029] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2034.450597] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2034.451159] shmem_write_begin+0xf7/0x1d0 [ 2034.451619] generic_perform_write+0x20a/0x4f0 [ 2034.452132] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2034.452931] ? evict_inodes+0x420/0x420 [ 2034.453370] ? generic_write_checks+0x2ad/0x390 [ 2034.453886] __generic_file_write_iter+0x39d/0x5d0 [ 2034.454433] generic_file_write_iter+0xdb/0x230 [ 2034.454943] ? iov_iter_init+0x3c/0x130 [ 2034.455382] new_sync_write+0x42c/0x660 [ 2034.455820] ? new_sync_read+0x6f0/0x6f0 [ 2034.456268] ? __x64_sys_pwrite64+0x201/0x260 [ 2034.456781] ? lock_release+0x6b0/0x6b0 [ 2034.457235] ? selinux_file_permission+0x36/0x510 [ 2034.457779] vfs_write+0x747/0xa30 [ 2034.458179] __x64_sys_pwrite64+0x201/0x260 [ 2034.458655] ? ksys_pwrite64+0x1b0/0x1b0 [ 2034.459105] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2034.459679] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2034.460248] do_syscall_64+0x33/0x40 [ 2034.460659] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2034.461230] RIP: 0033:0x7f9a6ee6cab7 [ 2034.461647] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2034.463664] RSP: 002b:00007f9a6c42ef20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2034.464501] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6cab7 [ 2034.465289] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2034.466074] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2034.466860] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2034.467642] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 [ 2034.473522] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2034.474342] FAT-fs (loop0): Filesystem has been set read-only [ 2034.498256] FAT-fs (loop3): bogus number of reserved sectors [ 2034.500333] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2034.502198] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2034.513542] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.515545] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2034.516358] FAT-fs (loop6): Filesystem has been set read-only [ 2034.523657] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.535991] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2034.536813] FAT-fs (loop2): Filesystem has been set read-only [ 2034.542586] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.546033] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2034.546810] FAT-fs (loop0): Filesystem has been set read-only [ 2034.551464] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2034.554660] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2034.555401] FAT-fs (loop6): Filesystem has been set read-only [ 2048.939956] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2048.953250] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2048.954511] FAT-fs (loop6): Filesystem has been set read-only [ 2048.960111] FAULT_INJECTION: forcing a failure. [ 2048.960111] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2048.962999] CPU: 1 PID: 11730 Comm: syz-executor.2 Not tainted 5.10.168 #1 10:10:36 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xd, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:36 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:36 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2e, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:36 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:36 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:36 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x0, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:10:36 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 19) [ 2048.964488] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2048.966636] Call Trace: [ 2048.967218] dump_stack+0x107/0x167 [ 2048.968010] should_fail.cold+0x5/0xa [ 2048.968856] iov_iter_copy_from_user_atomic+0x49b/0xdb0 [ 2048.970063] ? shmem_write_begin+0xf7/0x1d0 [ 2048.971005] ? shmem_write_begin+0x100/0x1d0 [ 2048.971977] generic_perform_write+0x279/0x4f0 [ 2048.972999] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2048.974604] ? evict_inodes+0x420/0x420 [ 2048.975482] ? generic_write_checks+0x2ad/0x390 [ 2048.976522] __generic_file_write_iter+0x39d/0x5d0 [ 2048.977610] generic_file_write_iter+0xdb/0x230 [ 2048.978630] ? iov_iter_init+0x3c/0x130 [ 2048.979505] new_sync_write+0x42c/0x660 [ 2048.980381] ? new_sync_read+0x6f0/0x6f0 [ 2048.981296] ? __x64_sys_pwrite64+0x201/0x260 [ 2048.982288] ? lock_release+0x6b0/0x6b0 [ 2048.983164] ? selinux_file_permission+0x36/0x510 [ 2048.984245] vfs_write+0x747/0xa30 [ 2048.985041] __x64_sys_pwrite64+0x201/0x260 [ 2048.985988] ? ksys_pwrite64+0x1b0/0x1b0 [ 2048.986883] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2048.988033] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2048.989178] do_syscall_64+0x33/0x40 [ 2048.990003] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2048.991124] RIP: 0033:0x7f9a6ee6cab7 [ 2048.991949] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2048.995975] RSP: 002b:00007f9a6c42ef20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2048.997669] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6cab7 [ 2048.999231] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2049.000791] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2049.002363] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2049.003910] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 [ 2049.045866] FAT-fs (loop1): bogus number of reserved sectors [ 2049.047343] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.049227] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2049.054991] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2049.058318] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2049.064231] FAT-fs (loop3): bogus number of reserved sectors [ 2049.065249] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.066392] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2049.066459] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2049.068020] FAT-fs (loop2): Filesystem has been set read-only [ 2049.069126] FAT-fs (loop4): bogus number of reserved sectors [ 2049.071060] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.072249] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2049.082398] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2049.083498] FAT-fs (loop0): Filesystem has been set read-only 10:10:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:36 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:36 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x48, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:36 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 20) [ 2049.163006] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2049.178689] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2049.179885] FAT-fs (loop0): Filesystem has been set read-only 10:10:36 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2049.203327] FAULT_INJECTION: forcing a failure. [ 2049.203327] name failslab, interval 1, probability 0, space 0, times 0 [ 2049.205244] CPU: 0 PID: 11748 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2049.206326] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2049.207647] Call Trace: [ 2049.208059] dump_stack+0x107/0x167 [ 2049.208638] should_fail.cold+0x5/0xa [ 2049.209234] ? getname_flags.part.0+0x50/0x4f0 [ 2049.209987] should_failslab+0x5/0x20 [ 2049.210588] kmem_cache_alloc+0x5b/0x360 [ 2049.211235] getname_flags.part.0+0x50/0x4f0 [ 2049.211917] getname+0x8e/0xd0 [ 2049.212413] do_sys_openat2+0xf9/0x420 [ 2049.213028] ? build_open_flags+0x6f0/0x6f0 [ 2049.213727] ? rcu_read_lock_any_held+0x75/0xa0 [ 2049.214444] __x64_sys_openat+0x13f/0x1f0 [ 2049.215087] ? __ia32_sys_open+0x1c0/0x1c0 [ 2049.215754] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2049.216566] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2049.217380] do_syscall_64+0x33/0x40 [ 2049.217962] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2049.218736] RIP: 0033:0x7f9a6ee6ca04 [ 2049.219302] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2049.222107] RSP: 002b:00007f9a6c42eed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2049.223262] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6ca04 [ 2049.224335] RDX: 0000000000000002 RSI: 00007f9a6c42f000 RDI: 00000000ffffff9c [ 2049.225434] RBP: 00007f9a6c42f000 R08: 0000000000000000 R09: ffffffffffffffff [ 2049.226524] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2049.227610] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:10:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2049.264849] FAT-fs (loop1): bogus number of reserved sectors [ 2049.266324] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.268157] FAT-fs (loop1): Can't find a valid FAT filesystem 10:10:36 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:36 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 21) 10:10:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2049.324694] FAT-fs (loop3): bogus number of reserved sectors [ 2049.324914] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2049.326175] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.329248] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2049.331763] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2049.333353] FAT-fs (loop4): Filesystem has been set read-only [ 2049.370467] FAULT_INJECTION: forcing a failure. [ 2049.370467] name failslab, interval 1, probability 0, space 0, times 0 [ 2049.371772] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2049.372233] CPU: 0 PID: 11763 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2049.375013] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2049.375426] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2049.376274] Call Trace: [ 2049.376296] dump_stack+0x107/0x167 [ 2049.376317] should_fail.cold+0x5/0xa [ 2049.377855] FAT-fs (loop6): Filesystem has been set read-only [ 2049.378225] ? create_object.isra.0+0x3a/0xa20 [ 2049.380847] should_failslab+0x5/0x20 [ 2049.381357] kmem_cache_alloc+0x5b/0x360 [ 2049.381948] ? __generic_file_write_iter+0x1a4/0x5d0 [ 2049.382693] create_object.isra.0+0x3a/0xa20 [ 2049.383320] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2049.384057] kmem_cache_alloc+0x159/0x360 [ 2049.384659] getname_flags.part.0+0x50/0x4f0 [ 2049.385321] getname+0x8e/0xd0 [ 2049.385794] do_sys_openat2+0xf9/0x420 [ 2049.386353] ? build_open_flags+0x6f0/0x6f0 [ 2049.386984] ? rcu_read_lock_any_held+0x75/0xa0 [ 2049.387649] __x64_sys_openat+0x13f/0x1f0 [ 2049.388243] ? __ia32_sys_open+0x1c0/0x1c0 [ 2049.388870] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2049.389640] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2049.390388] do_syscall_64+0x33/0x40 [ 2049.390922] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2049.391665] RIP: 0033:0x7f9a6ee6ca04 [ 2049.392201] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2049.394858] RSP: 002b:00007f9a6c42eed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2049.395946] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6ca04 [ 2049.396989] RDX: 0000000000000002 RSI: 00007f9a6c42f000 RDI: 00000000ffffff9c [ 2049.398022] RBP: 00007f9a6c42f000 R08: 0000000000000000 R09: ffffffffffffffff [ 2049.399051] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2049.400079] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:10:36 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x0) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:10:36 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:36 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2049.473756] FAT-fs (loop1): bogus number of reserved sectors [ 2049.474750] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.476046] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2049.481699] FAT-fs (loop3): bogus number of reserved sectors [ 2049.483267] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.485074] FAT-fs (loop3): Can't find a valid FAT filesystem 10:10:37 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2049.510119] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2049.515674] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2049.516493] FAT-fs (loop2): Filesystem has been set read-only [ 2049.561937] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2049.564401] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2049.566070] FAT-fs (loop0): Filesystem has been set read-only [ 2049.609815] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2049.613727] FAT-fs (loop4): bogus number of reserved sectors [ 2049.614595] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2049.615163] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2049.616649] FAT-fs (loop0): Filesystem has been set read-only [ 2049.618536] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2065.010804] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2065.021414] FAULT_INJECTION: forcing a failure. [ 2065.021414] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2065.023912] CPU: 0 PID: 11796 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2065.025385] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2065.027132] Call Trace: [ 2065.027692] dump_stack+0x107/0x167 [ 2065.028455] should_fail.cold+0x5/0xa [ 2065.029282] strncpy_from_user+0x34/0x470 [ 2065.030162] getname_flags.part.0+0x95/0x4f0 [ 2065.031096] getname+0x8e/0xd0 [ 2065.031815] do_sys_openat2+0xf9/0x420 [ 2065.032679] ? build_open_flags+0x6f0/0x6f0 [ 2065.033662] ? rcu_read_lock_any_held+0x75/0xa0 [ 2065.034698] __x64_sys_openat+0x13f/0x1f0 [ 2065.035615] ? __ia32_sys_open+0x1c0/0x1c0 [ 2065.036716] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2065.037951] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2065.039149] do_syscall_64+0x33/0x40 [ 2065.040021] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2065.041231] RIP: 0033:0x7f9a6ee6ca04 [ 2065.042099] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2065.046387] RSP: 002b:00007f9a6c42eed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2065.048081] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2065.048150] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6ca04 10:10:52 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:52 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:52 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x0) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:10:52 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:52 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:10:52 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 22) 10:10:52 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x10, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:10:52 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2065.048171] RDX: 0000000000000002 RSI: 00007f9a6c42f000 RDI: 00000000ffffff9c [ 2065.049523] FAT-fs (loop0): Filesystem has been set read-only [ 2065.051121] RBP: 00007f9a6c42f000 R08: 0000000000000000 R09: ffffffffffffffff [ 2065.051139] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2065.051152] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2065.084001] FAT-fs (loop3): bogus number of reserved sectors [ 2065.085386] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2065.087224] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2065.105816] FAT-fs (loop4): bogus number of reserved sectors [ 2065.107144] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2065.108995] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2065.130574] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2065.140198] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2065.141815] FAT-fs (loop6): Filesystem has been set read-only [ 2065.143902] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2065.146157] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2065.147420] FAT-fs (loop0): Filesystem has been set read-only [ 2065.152124] FAT-fs (loop1): bogus number of reserved sectors [ 2065.153534] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code 10:10:52 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 23) [ 2065.155628] FAT-fs (loop1): Can't find a valid FAT filesystem 10:10:52 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2065.211515] FAULT_INJECTION: forcing a failure. [ 2065.211515] name failslab, interval 1, probability 0, space 0, times 0 [ 2065.214271] CPU: 0 PID: 11815 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2065.216152] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2065.218058] Call Trace: [ 2065.218787] dump_stack+0x107/0x167 [ 2065.219626] should_fail.cold+0x5/0xa [ 2065.220663] ? __alloc_file+0x21/0x320 [ 2065.221583] should_failslab+0x5/0x20 [ 2065.222624] kmem_cache_alloc+0x5b/0x360 [ 2065.223554] __alloc_file+0x21/0x320 [ 2065.224560] alloc_empty_file+0x6d/0x170 [ 2065.225506] path_openat+0xde/0x26d0 [ 2065.226535] ? path_lookupat+0x860/0x860 [ 2065.227448] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2065.228858] do_filp_open+0x190/0x3e0 [ 2065.229741] ? may_open_dev+0xf0/0xf0 [ 2065.230601] ? __alloc_fd+0x2a5/0x620 [ 2065.231452] ? lock_downgrade+0x6d0/0x6d0 [ 2065.232385] ? rwlock_bug.part.0+0x90/0x90 [ 2065.233368] ? _raw_spin_unlock+0x1a/0x30 [ 2065.234298] ? __alloc_fd+0x2a5/0x620 [ 2065.235170] do_sys_openat2+0x171/0x420 [ 2065.236239] ? build_open_flags+0x6f0/0x6f0 [ 2065.237265] ? rcu_read_lock_any_held+0x75/0xa0 [ 2065.238476] __x64_sys_openat+0x13f/0x1f0 [ 2065.239456] ? __ia32_sys_open+0x1c0/0x1c0 [ 2065.240438] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2065.241662] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2065.242861] do_syscall_64+0x33/0x40 [ 2065.243748] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2065.244932] RIP: 0033:0x7f9a6ee6ca04 [ 2065.245828] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2065.250094] RSP: 002b:00007f9a6c42eed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2065.251829] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6ca04 [ 2065.253498] RDX: 0000000000000002 RSI: 00007f9a6c42f000 RDI: 00000000ffffff9c [ 2065.255128] RBP: 00007f9a6c42f000 R08: 0000000000000000 R09: ffffffffffffffff [ 2065.256746] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2065.258379] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2065.287916] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2065.291527] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2065.292735] FAT-fs (loop6): Filesystem has been set read-only 10:11:07 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x11, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:07 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:07 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x68, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:07 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x0) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:11:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:07 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:07 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 24) 10:11:07 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2079.683843] FAULT_INJECTION: forcing a failure. [ 2079.683843] name failslab, interval 1, probability 0, space 0, times 0 [ 2079.686069] CPU: 0 PID: 11834 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2079.687366] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2079.688894] Call Trace: [ 2079.689392] dump_stack+0x107/0x167 [ 2079.690066] should_fail.cold+0x5/0xa [ 2079.690772] ? create_object.isra.0+0x3a/0xa20 [ 2079.691617] should_failslab+0x5/0x20 [ 2079.692326] kmem_cache_alloc+0x5b/0x360 [ 2079.693092] create_object.isra.0+0x3a/0xa20 [ 2079.693921] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2079.694843] kmem_cache_alloc+0x159/0x360 [ 2079.695599] __alloc_file+0x21/0x320 [ 2079.696278] alloc_empty_file+0x6d/0x170 [ 2079.697028] path_openat+0xde/0x26d0 [ 2079.697730] ? path_lookupat+0x860/0x860 [ 2079.698488] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2079.699439] ? lock_acquire+0x197/0x490 [ 2079.700195] do_filp_open+0x190/0x3e0 [ 2079.700884] ? may_open_dev+0xf0/0xf0 [ 2079.701600] ? __alloc_fd+0x2a5/0x620 [ 2079.702284] ? lock_downgrade+0x6d0/0x6d0 [ 2079.703059] ? rwlock_bug.part.0+0x90/0x90 [ 2079.703830] ? _raw_spin_unlock+0x1a/0x30 [ 2079.704597] ? __alloc_fd+0x2a5/0x620 [ 2079.705291] do_sys_openat2+0x171/0x420 [ 2079.706032] ? build_open_flags+0x6f0/0x6f0 [ 2079.706815] ? rcu_read_lock_any_held+0x75/0xa0 [ 2079.707651] __x64_sys_openat+0x13f/0x1f0 [ 2079.708392] ? __ia32_sys_open+0x1c0/0x1c0 [ 2079.709156] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2079.710088] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2079.711019] do_syscall_64+0x33/0x40 [ 2079.711690] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2079.712611] RIP: 0033:0x7f9a6ee6ca04 [ 2079.713278] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2079.716569] RSP: 002b:00007f9a6c42eed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2079.717957] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6ca04 [ 2079.719231] RDX: 0000000000000002 RSI: 00007f9a6c42f000 RDI: 00000000ffffff9c [ 2079.720509] RBP: 00007f9a6c42f000 R08: 0000000000000000 R09: ffffffffffffffff [ 2079.721795] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2079.723055] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2079.726433] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2079.729085] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2079.730720] FAT-fs (loop6): Filesystem has been set read-only 10:11:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2079.739702] FAT-fs (loop3): bogus number of reserved sectors [ 2079.740827] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2079.742399] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2079.778090] FAT-fs (loop4): bogus number of reserved sectors [ 2079.779387] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2079.781095] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2079.781546] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2079.782907] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2079.793258] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2079.803005] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2079.804685] FAT-fs (loop0): Filesystem has been set read-only [ 2079.810451] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2079.812097] FAT-fs (loop2): Filesystem has been set read-only [ 2079.825664] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2079.826321] FAT-fs (loop1): Directory bread(block 64) failed [ 2079.829029] FAT-fs (loop1): Directory bread(block 65) failed [ 2079.830292] FAT-fs (loop1): Directory bread(block 66) failed [ 2079.831476] FAT-fs (loop1): Directory bread(block 67) failed [ 2079.832663] FAT-fs (loop1): Directory bread(block 68) failed [ 2079.833910] FAT-fs (loop1): Directory bread(block 69) failed [ 2079.835110] FAT-fs (loop1): Directory bread(block 70) failed [ 2079.836339] FAT-fs (loop1): Directory bread(block 71) failed [ 2079.837622] FAT-fs (loop1): Directory bread(block 72) failed [ 2079.838867] FAT-fs (loop1): Directory bread(block 73) failed [ 2079.876294] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2079.877873] FAT-fs (loop6): Filesystem has been set read-only 10:11:07 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:07 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:07 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 25) [ 2079.917696] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2079.932212] FAULT_INJECTION: forcing a failure. [ 2079.932212] name failslab, interval 1, probability 0, space 0, times 0 [ 2079.934676] CPU: 0 PID: 11854 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2079.936064] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2079.937757] Call Trace: [ 2079.938291] dump_stack+0x107/0x167 [ 2079.939032] should_fail.cold+0x5/0xa [ 2079.939730] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2079.939795] ? security_file_alloc+0x34/0x170 [ 2079.941243] FAT-fs (loop0): Filesystem has been set read-only [ 2079.942128] should_failslab+0x5/0x20 [ 2079.942147] kmem_cache_alloc+0x5b/0x360 [ 2079.942173] security_file_alloc+0x34/0x170 [ 2079.945721] __alloc_file+0xb6/0x320 [ 2079.946465] alloc_empty_file+0x6d/0x170 [ 2079.947303] path_openat+0xde/0x26d0 [ 2079.948061] ? path_lookupat+0x860/0x860 [ 2079.948888] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2079.949961] ? lock_acquire+0x197/0x490 [ 2079.950789] do_filp_open+0x190/0x3e0 [ 2079.951550] ? may_open_dev+0xf0/0xf0 [ 2079.952332] ? __alloc_fd+0x2a5/0x620 [ 2079.953093] ? lock_downgrade+0x6d0/0x6d0 [ 2079.953937] ? rwlock_bug.part.0+0x90/0x90 [ 2079.954791] ? _raw_spin_unlock+0x1a/0x30 [ 2079.955617] ? __alloc_fd+0x2a5/0x620 [ 2079.956389] do_sys_openat2+0x171/0x420 [ 2079.957186] ? build_open_flags+0x6f0/0x6f0 [ 2079.958078] ? rcu_read_lock_any_held+0x75/0xa0 [ 2079.959012] __x64_sys_openat+0x13f/0x1f0 [ 2079.959836] ? __ia32_sys_open+0x1c0/0x1c0 [ 2079.960694] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2079.961755] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2079.962791] do_syscall_64+0x33/0x40 [ 2079.963538] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2079.964568] RIP: 0033:0x7f9a6ee6ca04 [ 2079.965337] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2079.969055] RSP: 002b:00007f9a6c42eed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2079.970622] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6ca04 [ 2079.972042] RDX: 0000000000000002 RSI: 00007f9a6c42f000 RDI: 00000000ffffff9c [ 2079.973466] RBP: 00007f9a6c42f000 R08: 0000000000000000 R09: ffffffffffffffff [ 2079.973489] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2079.975472] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2079.976505] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2079.976517] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2079.981034] FAT-fs (loop3): Filesystem has been set read-only 10:11:07 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032e4cd16cd19ebfe54686973206973206e6f74206120626f6f7461626c65206469736b2e2020506c6561736520696e73657274206120626f6f7461626c6520666c6f70707920616e640d0a707265737320616e79206b657920746f2074727920616761696e202e2e2e200d0a0000000000", 0xe0}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:07 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2080.009663] FAT-fs (loop4): bogus number of FAT sectors [ 2080.010790] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2080.012532] FAT-fs (loop4): Can't find a valid FAT filesystem 10:11:07 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x23, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2080.060840] FAT-fs (loop5): bogus number of reserved sectors [ 2080.062208] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2080.063909] FAT-fs (loop5): Can't find a valid FAT filesystem 10:11:07 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 26) 10:11:07 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x74, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2080.124707] FAT-fs (loop1): bogus number of reserved sectors [ 2080.126122] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2080.127804] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2080.180478] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2080.186691] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2080.188406] FAT-fs (loop0): Filesystem has been set read-only [ 2080.209848] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2080.212139] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2080.213635] FAT-fs (loop0): Filesystem has been set read-only [ 2080.217599] FAULT_INJECTION: forcing a failure. [ 2080.217599] name failslab, interval 1, probability 0, space 0, times 0 [ 2080.220448] CPU: 1 PID: 11875 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2080.222089] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2080.224032] Call Trace: [ 2080.224661] dump_stack+0x107/0x167 [ 2080.225532] should_fail.cold+0x5/0xa [ 2080.226431] ? create_object.isra.0+0x3a/0xa20 [ 2080.227507] should_failslab+0x5/0x20 [ 2080.228400] kmem_cache_alloc+0x5b/0x360 [ 2080.229389] ? percpu_ref_put_many.constprop.0+0x4e/0x100 [ 2080.230685] create_object.isra.0+0x3a/0xa20 [ 2080.231725] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2080.232924] kmem_cache_alloc+0x159/0x360 [ 2080.233923] security_file_alloc+0x34/0x170 [ 2080.234943] __alloc_file+0xb6/0x320 [ 2080.235828] alloc_empty_file+0x6d/0x170 [ 2080.236778] path_openat+0xde/0x26d0 [ 2080.237677] ? path_lookupat+0x860/0x860 [ 2080.238628] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2080.239871] do_filp_open+0x190/0x3e0 [ 2080.240757] ? may_open_dev+0xf0/0xf0 [ 2080.241675] ? __alloc_fd+0x2a5/0x620 [ 2080.242562] ? lock_downgrade+0x6d0/0x6d0 [ 2080.243545] ? rwlock_bug.part.0+0x90/0x90 [ 2080.244546] ? _raw_spin_unlock+0x1a/0x30 [ 2080.245520] ? __alloc_fd+0x2a5/0x620 [ 2080.246422] do_sys_openat2+0x171/0x420 [ 2080.247353] ? build_open_flags+0x6f0/0x6f0 [ 2080.248366] ? rcu_read_lock_any_held+0x75/0xa0 [ 2080.249479] __x64_sys_openat+0x13f/0x1f0 [ 2080.250445] ? __ia32_sys_open+0x1c0/0x1c0 [ 2080.251447] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2080.252664] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2080.253891] do_syscall_64+0x33/0x40 [ 2080.254764] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2080.255966] RIP: 0033:0x7f9a6ee6ca04 [ 2080.256837] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2080.261147] RSP: 002b:00007f9a6c42eed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2080.262928] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6ee6ca04 [ 2080.264592] RDX: 0000000000000002 RSI: 00007f9a6c42f000 RDI: 00000000ffffff9c [ 2080.266259] RBP: 00007f9a6c42f000 R08: 0000000000000000 R09: ffffffffffffffff [ 2080.267929] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2080.269602] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2080.371396] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2080.376656] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2080.379996] FAT-fs (loop2): Filesystem has been set read-only 10:11:23 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 27) 10:11:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:23 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:11:23 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:23 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:23 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x78, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:23 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2e, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2096.178319] FAT-fs (loop1): bogus number of reserved sectors [ 2096.179032] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2096.179721] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2096.182331] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2096.182650] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2096.183625] FAT-fs (loop0): Filesystem has been set read-only [ 2096.187791] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2096.193695] FAULT_INJECTION: forcing a failure. [ 2096.193695] name failslab, interval 1, probability 0, space 0, times 0 [ 2096.194654] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2096.196227] CPU: 1 PID: 11905 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2096.197058] FAT-fs (loop6): Filesystem has been set read-only [ 2096.198534] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2096.198542] Call Trace: [ 2096.198576] dump_stack+0x107/0x167 [ 2096.202431] should_fail.cold+0x5/0xa [ 2096.203260] ? __kthread_create_on_node+0xd1/0x400 [ 2096.204317] should_failslab+0x5/0x20 [ 2096.205135] kmem_cache_alloc_trace+0x55/0x360 [ 2096.206130] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2096.207146] __kthread_create_on_node+0xd1/0x400 [ 2096.208162] ? __kthread_parkme+0x1d0/0x1d0 [ 2096.209099] ? __mutex_lock+0x425/0x12a0 [ 2096.209985] ? loop_configure+0xcb5/0x1480 [ 2096.210895] ? do_raw_spin_unlock+0x4f/0x220 [ 2096.211837] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2096.212864] kthread_create_on_node+0xbb/0x100 [ 2096.213854] ? __kthread_create_on_node+0x400/0x400 [ 2096.214928] ? lockdep_init_map_type+0x2c7/0x780 [ 2096.215948] ? lockdep_init_map_type+0x2c7/0x780 [ 2096.216975] loop_configure+0x3e3/0x1480 [ 2096.217871] lo_ioctl+0xa72/0x1760 [ 2096.218644] ? avc_has_extended_perms+0x7f1/0xec0 [ 2096.219702] ? loop_set_status_old+0x250/0x250 [ 2096.220686] ? avc_ss_reset+0x180/0x180 [ 2096.221565] ? find_held_lock+0x2c/0x110 [ 2096.222446] ? __lock_acquire+0xbb1/0x5b00 [ 2096.223416] ? selinux_inode_getsecctx+0x90/0x90 [ 2096.224438] ? generic_block_fiemap+0x60/0x60 [ 2096.225416] ? loop_set_status_old+0x250/0x250 [ 2096.226402] blkdev_ioctl+0x291/0x710 [ 2096.227231] ? blkdev_common_ioctl+0x1870/0x1870 [ 2096.228263] ? selinux_file_ioctl+0xb1/0x260 [ 2096.229221] block_ioctl+0xf9/0x140 [ 2096.230013] ? blkdev_read_iter+0x1c0/0x1c0 [ 2096.230947] __x64_sys_ioctl+0x19a/0x210 [ 2096.231828] do_syscall_64+0x33/0x40 [ 2096.232638] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2096.233757] RIP: 0033:0x7f9a6eeb98d7 [ 2096.234565] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2096.238498] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2096.240149] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2096.241703] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2096.243234] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2096.244762] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2096.246299] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2096.249476] FAT-fs (loop3): bogus number of reserved sectors [ 2096.252290] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2096.254378] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2096.257796] FAT-fs (loop4): bogus number of FAT sectors [ 2096.258588] FAT-fs (loop4): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2096.259839] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2096.287838] FAT-fs (loop5): bogus number of reserved sectors [ 2096.288728] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2096.289916] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2096.300692] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2096.305309] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2096.306380] FAT-fs (loop0): Filesystem has been set read-only [ 2096.307392] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2096.309770] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2096.310832] FAT-fs (loop6): Filesystem has been set read-only 10:11:23 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 28) 10:11:23 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:11:23 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2096.350231] FAULT_INJECTION: forcing a failure. [ 2096.350231] name failslab, interval 1, probability 0, space 0, times 0 [ 2096.354281] CPU: 1 PID: 11917 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2096.355782] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2096.357604] Call Trace: [ 2096.358180] dump_stack+0x107/0x167 [ 2096.358970] should_fail.cold+0x5/0xa [ 2096.359796] ? __kthread_create_on_node+0xd1/0x400 [ 2096.360864] should_failslab+0x5/0x20 [ 2096.361707] kmem_cache_alloc_trace+0x55/0x360 [ 2096.362693] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2096.363712] __kthread_create_on_node+0xd1/0x400 [ 2096.364733] ? __kthread_parkme+0x1d0/0x1d0 [ 2096.365714] ? __mutex_lock+0x425/0x12a0 [ 2096.366593] ? loop_configure+0xcb5/0x1480 [ 2096.367506] ? do_raw_spin_unlock+0x4f/0x220 [ 2096.368448] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2096.369480] kthread_create_on_node+0xbb/0x100 [ 2096.370474] ? __kthread_create_on_node+0x400/0x400 [ 2096.371560] ? lockdep_init_map_type+0x2c7/0x780 [ 2096.372585] ? lockdep_init_map_type+0x2c7/0x780 [ 2096.373639] loop_configure+0x3e3/0x1480 [ 2096.374542] lo_ioctl+0xa72/0x1760 [ 2096.375321] ? avc_has_extended_perms+0x7f1/0xec0 [ 2096.376361] ? loop_set_status_old+0x250/0x250 [ 2096.377361] ? avc_ss_reset+0x180/0x180 [ 2096.378241] ? find_held_lock+0x2c/0x110 [ 2096.379139] ? __lock_acquire+0xbb1/0x5b00 [ 2096.380121] ? selinux_inode_getsecctx+0x90/0x90 [ 2096.381138] ? generic_block_fiemap+0x60/0x60 [ 2096.382136] ? loop_set_status_old+0x250/0x250 [ 2096.383113] blkdev_ioctl+0x291/0x710 [ 2096.383942] ? blkdev_common_ioctl+0x1870/0x1870 [ 2096.384969] ? selinux_file_ioctl+0xb1/0x260 [ 2096.385932] block_ioctl+0xf9/0x140 [ 2096.386713] ? blkdev_read_iter+0x1c0/0x1c0 [ 2096.387642] __x64_sys_ioctl+0x19a/0x210 [ 2096.388520] do_syscall_64+0x33/0x40 [ 2096.389324] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2096.390436] RIP: 0033:0x7f9a6eeb98d7 [ 2096.391238] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2096.395184] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2096.396823] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2096.398357] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2096.399884] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2096.401410] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2096.402945] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:11:23 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:11:23 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x38, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:23 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7a, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2096.495591] FAT-fs (loop3): bogus number of reserved sectors [ 2096.496355] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2096.497446] FAT-fs (loop3): Can't find a valid FAT filesystem 10:11:38 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 29) 10:11:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:38 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:38 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf8, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:38 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:38 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, 0x0) 10:11:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x39, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:38 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(0xffffffffffffffff, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2111.128918] FAT-fs (loop3): bogus number of reserved sectors [ 2111.130274] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2111.132028] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2111.146723] FAULT_INJECTION: forcing a failure. [ 2111.146723] name failslab, interval 1, probability 0, space 0, times 0 [ 2111.149073] CPU: 1 PID: 11946 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2111.150511] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2111.152207] Call Trace: [ 2111.152752] dump_stack+0x107/0x167 [ 2111.153509] should_fail.cold+0x5/0xa [ 2111.154315] ? __kernfs_new_node+0xd4/0x850 [ 2111.155202] should_failslab+0x5/0x20 [ 2111.155992] kmem_cache_alloc+0x5b/0x360 [ 2111.156830] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2111.157926] __kernfs_new_node+0xd4/0x850 [ 2111.158782] ? lock_chain_count+0x20/0x20 [ 2111.159629] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2111.160601] ? lock_acquire+0x197/0x490 [ 2111.161413] ? task_rq_lock+0xab/0x270 [ 2111.162238] ? find_held_lock+0x2c/0x110 [ 2111.163072] ? set_user_nice.part.0+0x2fd/0x760 [ 2111.164034] kernfs_create_dir_ns+0x9c/0x230 [ 2111.164944] internal_create_group+0x793/0xb30 [ 2111.165914] ? set_user_nice.part.0+0x2fd/0x760 [ 2111.166875] ? sysfs_remove_group+0x170/0x170 [ 2111.167795] ? lockdep_init_map_type+0x2c7/0x780 [ 2111.168766] ? blk_queue_flag_set+0x22/0x30 [ 2111.169653] ? __loop_update_dio+0x2d2/0x690 [ 2111.170576] loop_configure+0x954/0x1480 [ 2111.171417] lo_ioctl+0xa72/0x1760 [ 2111.172146] ? avc_has_extended_perms+0x7f1/0xec0 [ 2111.173127] ? loop_set_status_old+0x250/0x250 [ 2111.174078] ? avc_ss_reset+0x180/0x180 [ 2111.174886] ? find_held_lock+0x2c/0x110 [ 2111.175725] ? __lock_acquire+0xbb1/0x5b00 [ 2111.176637] ? selinux_inode_getsecctx+0x90/0x90 [ 2111.177607] ? generic_block_fiemap+0x60/0x60 [ 2111.178545] ? loop_set_status_old+0x250/0x250 [ 2111.179479] blkdev_ioctl+0x291/0x710 [ 2111.180257] ? blkdev_common_ioctl+0x1870/0x1870 [ 2111.181225] ? selinux_file_ioctl+0xb1/0x260 [ 2111.182147] block_ioctl+0xf9/0x140 [ 2111.182892] ? blkdev_read_iter+0x1c0/0x1c0 [ 2111.183770] __x64_sys_ioctl+0x19a/0x210 [ 2111.184601] do_syscall_64+0x33/0x40 [ 2111.185369] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2111.186443] RIP: 0033:0x7f9a6eeb98d7 [ 2111.187208] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2111.190992] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2111.192540] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2111.194039] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2111.195503] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2111.196962] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2111.198457] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:11:38 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(0xffffffffffffffff, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2111.248246] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.251156] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2111.252872] FAT-fs (loop0): Filesystem has been set read-only [ 2111.257924] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2111.263924] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.268901] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2111.273538] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.274056] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2111.276325] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2111.277178] FAT-fs (loop6): Filesystem has been set read-only [ 2111.278757] FAT-fs (loop2): Filesystem has been set read-only [ 2111.316636] FAT-fs (loop1): Directory bread(block 64) failed [ 2111.327199] FAT-fs (loop1): Directory bread(block 65) failed [ 2111.328529] FAT-fs (loop1): Directory bread(block 66) failed [ 2111.330083] FAT-fs (loop1): Directory bread(block 67) failed 10:11:38 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, 0x0) [ 2111.342565] FAT-fs (loop1): Directory bread(block 68) failed [ 2111.350333] FAT-fs (loop1): Directory bread(block 69) failed [ 2111.354977] FAT-fs (loop1): Directory bread(block 70) failed [ 2111.364172] FAT-fs (loop1): Directory bread(block 71) failed [ 2111.370079] FAT-fs (loop1): Directory bread(block 72) failed 10:11:38 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2111.379476] FAT-fs (loop1): Directory bread(block 73) failed 10:11:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3a, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2111.400903] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:11:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2111.416813] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2111.418358] FAT-fs (loop6): Filesystem has been set read-only 10:11:39 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 30) 10:11:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, 0x0) [ 2111.511702] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:11:39 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2111.528313] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2111.530046] FAT-fs (loop3): Filesystem has been set read-only 10:11:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x112, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2111.576953] FAT-fs (loop1): bogus number of reserved sectors [ 2111.578354] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2111.580088] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2111.609536] FAULT_INJECTION: forcing a failure. [ 2111.609536] name failslab, interval 1, probability 0, space 0, times 0 [ 2111.613874] CPU: 1 PID: 11983 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2111.615438] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2111.617347] Call Trace: [ 2111.617981] dump_stack+0x107/0x167 [ 2111.618824] should_fail.cold+0x5/0xa [ 2111.619697] ? create_object.isra.0+0x3a/0xa20 [ 2111.620753] should_failslab+0x5/0x20 [ 2111.621624] kmem_cache_alloc+0x5b/0x360 [ 2111.622577] create_object.isra.0+0x3a/0xa20 [ 2111.623579] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2111.624738] kmem_cache_alloc+0x159/0x360 [ 2111.625665] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2111.626894] __kernfs_new_node+0xd4/0x850 [ 2111.627842] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2111.629049] ? lock_chain_count+0x20/0x20 [ 2111.630005] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2111.631080] ? find_held_lock+0x2c/0x110 [ 2111.632003] ? set_user_nice.part.0+0x2fd/0x760 [ 2111.633037] kernfs_create_dir_ns+0x9c/0x230 [ 2111.634048] internal_create_group+0x793/0xb30 [ 2111.635089] ? set_user_nice.part.0+0x2fd/0x760 [ 2111.636162] ? sysfs_remove_group+0x170/0x170 [ 2111.637173] ? lockdep_init_map_type+0x2c7/0x780 [ 2111.638267] ? blk_queue_flag_set+0x22/0x30 [ 2111.639249] ? __loop_update_dio+0x2d2/0x690 [ 2111.640249] loop_configure+0x954/0x1480 [ 2111.641194] lo_ioctl+0xa72/0x1760 [ 2111.642002] ? avc_has_extended_perms+0x7f1/0xec0 [ 2111.643097] ? loop_set_status_old+0x250/0x250 [ 2111.644122] ? avc_ss_reset+0x180/0x180 [ 2111.645008] ? find_held_lock+0x2c/0x110 [ 2111.645958] ? __lock_acquire+0xbb1/0x5b00 [ 2111.646968] ? selinux_inode_getsecctx+0x90/0x90 [ 2111.648040] ? generic_block_fiemap+0x60/0x60 [ 2111.649052] ? loop_set_status_old+0x250/0x250 [ 2111.650091] blkdev_ioctl+0x291/0x710 [ 2111.650941] ? blkdev_common_ioctl+0x1870/0x1870 [ 2111.652010] ? selinux_file_ioctl+0xb1/0x260 [ 2111.652991] block_ioctl+0xf9/0x140 [ 2111.653800] ? blkdev_read_iter+0x1c0/0x1c0 [ 2111.654758] __x64_sys_ioctl+0x19a/0x210 [ 2111.655669] do_syscall_64+0x33/0x40 [ 2111.656501] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2111.657656] RIP: 0033:0x7f9a6eeb98d7 [ 2111.658509] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2111.662637] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2111.664288] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2111.665901] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2111.667488] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2111.669074] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2111.670648] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:11:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2111.683660] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.686262] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2111.687813] FAT-fs (loop0): Filesystem has been set read-only [ 2111.702894] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2111.721163] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.733404] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2111.735281] FAT-fs (loop2): Filesystem has been set read-only [ 2111.755470] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.765483] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2111.767099] FAT-fs (loop6): Filesystem has been set read-only [ 2111.773093] FAT-fs (loop3): bogus number of reserved sectors [ 2111.774558] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2111.776343] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2111.785061] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.792204] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2111.793711] FAT-fs (loop0): Filesystem has been set read-only [ 2111.838077] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2111.846341] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2111.847973] FAT-fs (loop6): Filesystem has been set read-only 10:11:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x300, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:11:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:55 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(0xffffffffffffffff, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:11:55 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:55 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}]}) 10:11:55 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:11:55 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 31) 10:11:55 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3b, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2127.553237] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2127.557522] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2127.559139] FAT-fs (loop0): Filesystem has been set read-only [ 2127.581566] FAULT_INJECTION: forcing a failure. [ 2127.581566] name failslab, interval 1, probability 0, space 0, times 0 [ 2127.583905] CPU: 1 PID: 12015 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2127.585295] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2127.586959] Call Trace: [ 2127.587491] dump_stack+0x107/0x167 [ 2127.588232] should_fail.cold+0x5/0xa [ 2127.589006] ? __kernfs_new_node+0xd4/0x850 [ 2127.589899] should_failslab+0x5/0x20 [ 2127.590674] kmem_cache_alloc+0x5b/0x360 [ 2127.591495] __kernfs_new_node+0xd4/0x850 [ 2127.592330] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2127.593294] ? lock_downgrade+0x6d0/0x6d0 [ 2127.594160] ? mutex_lock_io_nested+0x1110/0x1110 [ 2127.595121] ? __kernfs_new_node+0x549/0x850 [ 2127.596012] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2127.596985] kernfs_new_node+0x93/0x120 [ 2127.597792] __kernfs_create_file+0x51/0x350 [ 2127.598693] sysfs_add_file_mode_ns+0x221/0x560 [ 2127.599637] internal_create_group+0x324/0xb30 [ 2127.600559] ? sysfs_remove_group+0x170/0x170 [ 2127.601460] ? lockdep_init_map_type+0x2c7/0x780 [ 2127.602433] ? blk_queue_flag_set+0x22/0x30 [ 2127.603296] ? __loop_update_dio+0x2d2/0x690 [ 2127.604182] loop_configure+0x954/0x1480 [ 2127.605012] lo_ioctl+0xa72/0x1760 [ 2127.605729] ? avc_has_extended_perms+0x7f1/0xec0 [ 2127.606707] ? loop_set_status_old+0x250/0x250 [ 2127.607622] ? avc_ss_reset+0x180/0x180 [ 2127.608424] ? find_held_lock+0x2c/0x110 [ 2127.609247] ? __lock_acquire+0xbb1/0x5b00 [ 2127.610156] ? selinux_inode_getsecctx+0x90/0x90 [ 2127.611107] ? generic_block_fiemap+0x60/0x60 [ 2127.612016] ? loop_set_status_old+0x250/0x250 [ 2127.612931] blkdev_ioctl+0x291/0x710 [ 2127.613695] ? blkdev_common_ioctl+0x1870/0x1870 [ 2127.614661] ? selinux_file_ioctl+0xb1/0x260 [ 2127.615565] block_ioctl+0xf9/0x140 [ 2127.616309] ? blkdev_read_iter+0x1c0/0x1c0 [ 2127.617193] __x64_sys_ioctl+0x19a/0x210 [ 2127.618031] do_syscall_64+0x33/0x40 [ 2127.618793] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2127.619835] RIP: 0033:0x7f9a6eeb98d7 [ 2127.620593] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2127.624333] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2127.625872] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2127.627336] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2127.628780] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2127.630248] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2127.631686] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2127.686006] FAT-fs (loop5): bogus number of reserved sectors [ 2127.688394] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2127.690296] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2127.693062] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2127.694130] FAT-fs (loop3): bogus number of reserved sectors [ 2127.696204] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2127.697909] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2127.699405] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2127.701105] FAT-fs (loop6): Filesystem has been set read-only [ 2127.702477] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2127.705501] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2127.707166] FAT-fs (loop2): Filesystem has been set read-only [ 2127.719540] FAT-fs (loop1): bogus number of reserved sectors [ 2127.720873] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2127.722573] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2127.762107] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2127.765675] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2127.767254] FAT-fs (loop6): Filesystem has been set read-only [ 2127.768869] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:12:08 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 32) 10:12:08 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4f9, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:08 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001", 0x31}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:08 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:08 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:08 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0x0, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:12:08 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:08 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}]}) [ 2140.931342] FAT-fs (loop3): bogus number of reserved sectors [ 2140.932662] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2140.934435] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2140.969404] FAT-fs (loop5): bogus number of reserved sectors [ 2140.970262] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2140.971405] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2140.978019] FAT-fs (loop1): bogus number of reserved sectors [ 2140.978338] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2140.979344] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2140.979357] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2140.982618] FAULT_INJECTION: forcing a failure. [ 2140.982618] name failslab, interval 1, probability 0, space 0, times 0 [ 2140.984102] CPU: 0 PID: 12048 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2140.985021] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2140.986118] Call Trace: [ 2140.986479] dump_stack+0x107/0x167 [ 2140.986964] should_fail.cold+0x5/0xa [ 2140.987487] ? create_object.isra.0+0x3a/0xa20 [ 2140.988093] should_failslab+0x5/0x20 [ 2140.988610] kmem_cache_alloc+0x5b/0x360 [ 2140.989150] create_object.isra.0+0x3a/0xa20 [ 2140.989746] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2140.990432] kmem_cache_alloc+0x159/0x360 [ 2140.990999] __kernfs_new_node+0xd4/0x850 [ 2140.991547] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2140.992187] ? lock_downgrade+0x6d0/0x6d0 [ 2140.992744] ? mutex_lock_io_nested+0x1110/0x1110 [ 2140.993388] ? __kernfs_new_node+0x549/0x850 [ 2140.993970] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2140.994633] kernfs_new_node+0x93/0x120 [ 2140.995164] __kernfs_create_file+0x51/0x350 [ 2140.995764] sysfs_add_file_mode_ns+0x221/0x560 [ 2140.996380] internal_create_group+0x324/0xb30 [ 2140.997001] ? sysfs_remove_group+0x170/0x170 [ 2140.997591] ? lockdep_init_map_type+0x2c7/0x780 [ 2140.998256] ? blk_queue_flag_set+0x22/0x30 [ 2140.998840] ? __loop_update_dio+0x2d2/0x690 [ 2140.999446] loop_configure+0x954/0x1480 [ 2141.000001] lo_ioctl+0xa72/0x1760 [ 2141.000476] ? avc_has_extended_perms+0x7f1/0xec0 [ 2141.001130] ? loop_set_status_old+0x250/0x250 [ 2141.001750] ? avc_ss_reset+0x180/0x180 [ 2141.002305] ? find_held_lock+0x2c/0x110 [ 2141.002866] ? __lock_acquire+0xbb1/0x5b00 [ 2141.003475] ? selinux_inode_getsecctx+0x90/0x90 [ 2141.004114] ? generic_block_fiemap+0x60/0x60 [ 2141.004725] ? loop_set_status_old+0x250/0x250 [ 2141.005330] blkdev_ioctl+0x291/0x710 [ 2141.005842] ? blkdev_common_ioctl+0x1870/0x1870 [ 2141.006503] ? selinux_file_ioctl+0xb1/0x260 [ 2141.007101] block_ioctl+0xf9/0x140 [ 2141.007595] ? blkdev_read_iter+0x1c0/0x1c0 [ 2141.008174] __x64_sys_ioctl+0x19a/0x210 [ 2141.008731] do_syscall_64+0x33/0x40 [ 2141.009240] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2141.009932] RIP: 0033:0x7f9a6eeb98d7 [ 2141.010451] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2141.012937] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2141.013970] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2141.014964] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2141.015437] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2141.015925] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2141.015934] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2141.015942] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2141.022073] FAT-fs (loop4): Filesystem has been set read-only [ 2141.022415] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.025463] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.027641] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2141.028656] FAT-fs (loop0): Filesystem has been set read-only [ 2141.029496] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2141.030571] FAT-fs (loop6): Filesystem has been set read-only [ 2141.071002] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:12:08 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2141.079212] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2141.080148] FAT-fs (loop2): Filesystem has been set read-only [ 2141.103756] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.115961] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2141.117503] FAT-fs (loop6): Filesystem has been set read-only 10:12:08 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}]}) 10:12:08 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0x0, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:12:08 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2141.133740] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:12:08 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2141.154624] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2141.155504] FAT-fs (loop0): Filesystem has been set read-only 10:12:08 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x500, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:08 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 33) 10:12:08 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3d, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2141.211906] FAT-fs (loop3): bogus number of FAT sectors [ 2141.212558] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2141.213575] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2141.215215] FAT-fs (loop5): bogus number of reserved sectors [ 2141.216460] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2141.218191] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2141.236472] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:12:08 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:08 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:08 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2141.296293] FAULT_INJECTION: forcing a failure. [ 2141.296293] name failslab, interval 1, probability 0, space 0, times 0 [ 2141.297666] CPU: 0 PID: 12080 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2141.298480] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2141.299431] Call Trace: [ 2141.299733] dump_stack+0x107/0x167 [ 2141.300142] should_fail.cold+0x5/0xa [ 2141.300571] ? __kernfs_new_node+0xd4/0x850 [ 2141.301055] should_failslab+0x5/0x20 [ 2141.301487] kmem_cache_alloc+0x5b/0x360 [ 2141.301952] __kernfs_new_node+0xd4/0x850 [ 2141.302424] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2141.302961] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2141.303498] ? wait_for_completion_io+0x270/0x270 [ 2141.304041] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2141.304630] kernfs_new_node+0x93/0x120 [ 2141.305102] __kernfs_create_file+0x51/0x350 [ 2141.305622] sysfs_add_file_mode_ns+0x221/0x560 [ 2141.306181] internal_create_group+0x324/0xb30 [ 2141.306719] ? sysfs_remove_group+0x170/0x170 [ 2141.307255] ? lockdep_init_map_type+0x2c7/0x780 [ 2141.307815] ? blk_queue_flag_set+0x22/0x30 [ 2141.308311] ? __loop_update_dio+0x2d2/0x690 [ 2141.308822] loop_configure+0x954/0x1480 [ 2141.309296] lo_ioctl+0xa72/0x1760 [ 2141.309708] ? avc_has_extended_perms+0x7f1/0xec0 [ 2141.310284] ? loop_set_status_old+0x250/0x250 [ 2141.310812] ? avc_ss_reset+0x180/0x180 [ 2141.311272] ? find_held_lock+0x2c/0x110 [ 2141.311751] ? __lock_acquire+0xbb1/0x5b00 [ 2141.312272] ? selinux_inode_getsecctx+0x90/0x90 [ 2141.312823] ? generic_block_fiemap+0x60/0x60 [ 2141.313349] ? loop_set_status_old+0x250/0x250 [ 2141.313875] blkdev_ioctl+0x291/0x710 [ 2141.314331] ? blkdev_common_ioctl+0x1870/0x1870 [ 2141.314883] ? selinux_file_ioctl+0xb1/0x260 [ 2141.315399] block_ioctl+0xf9/0x140 [ 2141.315818] ? blkdev_read_iter+0x1c0/0x1c0 [ 2141.316311] __x64_sys_ioctl+0x19a/0x210 [ 2141.316783] do_syscall_64+0x33/0x40 [ 2141.317218] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2141.317821] RIP: 0033:0x7f9a6eeb98d7 [ 2141.318259] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2141.320393] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2141.321282] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2141.322113] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2141.322934] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2141.323755] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2141.324565] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:12:08 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0x0, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:12:08 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, &(0x7f0000000140)) [ 2141.349375] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.351078] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2141.351954] FAT-fs (loop0): Filesystem has been set read-only [ 2141.356765] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.357424] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.359934] FAT-fs (loop3): bogus number of FAT sectors [ 2141.360503] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2141.360518] FAT-fs (loop6): Filesystem has been set read-only [ 2141.361335] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2141.361343] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2141.363838] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2141.365885] FAT-fs (loop2): Filesystem has been set read-only [ 2141.387815] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.389059] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2141.389891] FAT-fs (loop0): Filesystem has been set read-only 10:12:08 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:08 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3e, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:08 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, 0x0, 0x0) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2141.453521] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2141.457701] FAT-fs (loop1): bogus number of FAT sectors [ 2141.458940] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2141.460682] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2141.474731] FAT-fs (loop5): bogus number of reserved sectors [ 2141.475386] FAT-fs (loop5): Can't find a valid FAT filesystem 10:12:09 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, &(0x7f0000000140)) [ 2141.559024] FAT-fs (loop3): bogus number of FAT sectors [ 2141.560307] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2141.560638] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.562047] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2141.567466] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2141.568284] FAT-fs (loop0): Filesystem has been set read-only [ 2141.574366] FAT-fs (loop5): bogus number of reserved sectors [ 2141.575057] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2141.611612] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2141.617953] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2141.618973] FAT-fs (loop0): Filesystem has been set read-only 10:12:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:23 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 34) 10:12:23 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x48, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:23 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:23 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, 0x0, 0x0) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:12:23 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000200), 0x0, &(0x7f0000000140)) 10:12:23 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x505, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2155.543144] FAULT_INJECTION: forcing a failure. [ 2155.543144] name failslab, interval 1, probability 0, space 0, times 0 [ 2155.545506] CPU: 1 PID: 12121 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2155.546924] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2155.548602] Call Trace: [ 2155.549150] dump_stack+0x107/0x167 [ 2155.549895] should_fail.cold+0x5/0xa [ 2155.550751] ? create_object.isra.0+0x3a/0xa20 [ 2155.551709] should_failslab+0x5/0x20 [ 2155.552502] kmem_cache_alloc+0x5b/0x360 [ 2155.553334] create_object.isra.0+0x3a/0xa20 [ 2155.554234] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2155.555289] kmem_cache_alloc+0x159/0x360 [ 2155.556140] __kernfs_new_node+0xd4/0x850 [ 2155.556984] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2155.557953] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2155.558947] ? wait_for_completion_io+0x270/0x270 [ 2155.559926] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2155.560992] kernfs_new_node+0x93/0x120 [ 2155.561804] __kernfs_create_file+0x51/0x350 [ 2155.562708] sysfs_add_file_mode_ns+0x221/0x560 [ 2155.563664] internal_create_group+0x324/0xb30 [ 2155.564597] ? sysfs_remove_group+0x170/0x170 [ 2155.565510] ? lockdep_init_map_type+0x2c7/0x780 [ 2155.566495] ? blk_queue_flag_set+0x22/0x30 [ 2155.567366] ? __loop_update_dio+0x2d2/0x690 [ 2155.568262] loop_configure+0x954/0x1480 [ 2155.569100] lo_ioctl+0xa72/0x1760 [ 2155.569818] ? avc_has_extended_perms+0x7f1/0xec0 [ 2155.570805] ? loop_set_status_old+0x250/0x250 [ 2155.571731] ? avc_ss_reset+0x180/0x180 [ 2155.572539] ? find_held_lock+0x2c/0x110 [ 2155.573369] ? __lock_acquire+0xbb1/0x5b00 [ 2155.574276] ? selinux_inode_getsecctx+0x90/0x90 [ 2155.575241] ? generic_block_fiemap+0x60/0x60 [ 2155.576156] ? loop_set_status_old+0x250/0x250 [ 2155.577078] blkdev_ioctl+0x291/0x710 [ 2155.577871] ? blkdev_common_ioctl+0x1870/0x1870 [ 2155.578848] ? selinux_file_ioctl+0xb1/0x260 [ 2155.579742] block_ioctl+0xf9/0x140 [ 2155.580474] ? blkdev_read_iter+0x1c0/0x1c0 [ 2155.581348] __x64_sys_ioctl+0x19a/0x210 [ 2155.582173] do_syscall_64+0x33/0x40 [ 2155.582939] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2155.583975] RIP: 0033:0x7f9a6eeb98d7 [ 2155.584731] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2155.588471] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2155.590015] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2155.591459] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2155.592898] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2155.594340] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2155.595790] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2155.629647] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2155.660554] FAT-fs (loop5): bogus number of reserved sectors [ 2155.661898] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2155.664520] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2155.672946] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2155.675136] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2155.676731] FAT-fs (loop1): bogus number of FAT sectors [ 2155.677518] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2155.678077] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2155.679735] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2155.681470] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2155.682941] FAT-fs (loop6): Filesystem has been set read-only [ 2155.690243] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2155.691820] FAT-fs (loop0): Filesystem has been set read-only [ 2155.696858] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2155.698440] FAT-fs (loop2): Filesystem has been set read-only 10:12:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200", 0x2e}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:23 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2155.800567] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2155.812382] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2155.813928] FAT-fs (loop0): Filesystem has been set read-only [ 2155.833744] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2155.839967] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2155.841567] FAT-fs (loop6): Filesystem has been set read-only 10:12:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200", 0x2e}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2155.878113] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2155.910788] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:12:38 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:38 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, 0x0, 0x0) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:12:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:38 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:38 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 35) 10:12:38 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x506, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200", 0x2e}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:38 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2171.068455] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.094827] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.097432] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2171.101263] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2171.102835] FAT-fs (loop6): Filesystem has been set read-only [ 2171.112702] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.112787] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2171.116140] FAT-fs (loop4): Filesystem has been set read-only [ 2171.117685] FAULT_INJECTION: forcing a failure. [ 2171.117685] name failslab, interval 1, probability 0, space 0, times 0 [ 2171.120125] CPU: 1 PID: 12177 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2171.121630] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2171.123454] Call Trace: [ 2171.124049] dump_stack+0x107/0x167 [ 2171.124860] should_fail.cold+0x5/0xa [ 2171.125700] ? __kernfs_new_node+0xd4/0x850 [ 2171.125806] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2171.126660] should_failslab+0x5/0x20 [ 2171.126681] kmem_cache_alloc+0x5b/0x360 [ 2171.126709] __kernfs_new_node+0xd4/0x850 [ 2171.126737] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2171.128170] FAT-fs (loop0): Filesystem has been set read-only [ 2171.128984] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2171.129017] ? wait_for_completion_io+0x270/0x270 [ 2171.135039] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2171.136183] kernfs_new_node+0x93/0x120 [ 2171.137049] __kernfs_create_file+0x51/0x350 [ 2171.138017] sysfs_add_file_mode_ns+0x221/0x560 [ 2171.139037] internal_create_group+0x324/0xb30 [ 2171.140043] ? sysfs_remove_group+0x170/0x170 [ 2171.141014] ? lockdep_init_map_type+0x2c7/0x780 [ 2171.142051] ? blk_queue_flag_set+0x22/0x30 [ 2171.142983] ? __loop_update_dio+0x2d2/0x690 [ 2171.143946] loop_configure+0x954/0x1480 [ 2171.144835] lo_ioctl+0xa72/0x1760 [ 2171.145612] ? avc_has_extended_perms+0x7f1/0xec0 [ 2171.146668] ? loop_set_status_old+0x250/0x250 [ 2171.147664] ? avc_ss_reset+0x180/0x180 [ 2171.148527] ? find_held_lock+0x2c/0x110 [ 2171.149425] ? __lock_acquire+0xbb1/0x5b00 [ 2171.150391] ? selinux_inode_getsecctx+0x90/0x90 [ 2171.151432] ? generic_block_fiemap+0x60/0x60 [ 2171.152405] ? loop_set_status_old+0x250/0x250 [ 2171.153384] blkdev_ioctl+0x291/0x710 [ 2171.154204] ? blkdev_common_ioctl+0x1870/0x1870 [ 2171.155236] ? selinux_file_ioctl+0xb1/0x260 [ 2171.156186] block_ioctl+0xf9/0x140 [ 2171.156984] ? blkdev_read_iter+0x1c0/0x1c0 [ 2171.157912] __x64_sys_ioctl+0x19a/0x210 [ 2171.158817] do_syscall_64+0x33/0x40 [ 2171.159624] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2171.160740] RIP: 0033:0x7f9a6eeb98d7 [ 2171.161549] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2171.165541] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2171.167195] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2171.168772] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2171.170307] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2171.171881] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2171.173420] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2171.189317] FAT-fs (loop1): bogus number of FAT sectors [ 2171.190680] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2171.192559] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2171.195749] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2171.211506] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.214256] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2171.215802] FAT-fs (loop2): Filesystem has been set read-only [ 2171.227592] FAT-fs (loop5): Directory bread(block 64) failed [ 2171.229105] FAT-fs (loop5): Directory bread(block 65) failed [ 2171.231149] FAT-fs (loop5): Directory bread(block 66) failed [ 2171.233081] FAT-fs (loop5): Directory bread(block 67) failed [ 2171.234691] FAT-fs (loop5): Directory bread(block 68) failed [ 2171.237365] FAT-fs (loop5): Directory bread(block 69) failed 10:12:38 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001", 0x31}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2171.241664] FAT-fs (loop5): Directory bread(block 70) failed [ 2171.243187] FAT-fs (loop5): Directory bread(block 71) failed [ 2171.245146] FAT-fs (loop5): Directory bread(block 72) failed [ 2171.250201] FAT-fs (loop5): Directory bread(block 73) failed [ 2171.263736] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.273509] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2171.275097] FAT-fs (loop6): Filesystem has been set read-only [ 2171.299571] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.304186] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2171.305810] FAT-fs (loop0): Filesystem has been set read-only 10:12:38 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:38 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180), 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:12:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000", 0x2b}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x68, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:38 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:38 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x507, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:38 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 36) [ 2171.439692] FAT-fs (loop1): bogus number of FAT sectors [ 2171.440878] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2171.442645] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2171.458845] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.461425] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2171.463092] FAT-fs (loop6): Filesystem has been set read-only [ 2171.473522] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2171.499729] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.505591] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.515658] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2171.517162] FAT-fs (loop0): Filesystem has been set read-only 10:12:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001", 0x31}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2171.525137] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2171.526803] FAT-fs (loop6): Filesystem has been set read-only [ 2171.535178] FAULT_INJECTION: forcing a failure. [ 2171.535178] name failslab, interval 1, probability 0, space 0, times 0 [ 2171.537408] CPU: 1 PID: 12206 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2171.538752] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2171.540357] Call Trace: [ 2171.540880] dump_stack+0x107/0x167 [ 2171.541592] should_fail.cold+0x5/0xa [ 2171.542332] ? create_object.isra.0+0x3a/0xa20 [ 2171.543231] should_failslab+0x5/0x20 [ 2171.543978] kmem_cache_alloc+0x5b/0x360 [ 2171.544771] create_object.isra.0+0x3a/0xa20 [ 2171.545609] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2171.546599] kmem_cache_alloc+0x159/0x360 [ 2171.547417] __kernfs_new_node+0xd4/0x850 [ 2171.548211] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2171.549117] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2171.550048] ? wait_for_completion_io+0x270/0x270 [ 2171.550977] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2171.551979] kernfs_new_node+0x93/0x120 [ 2171.552756] __kernfs_create_file+0x51/0x350 [ 2171.553598] sysfs_add_file_mode_ns+0x221/0x560 [ 2171.554512] internal_create_group+0x324/0xb30 [ 2171.555399] ? sysfs_remove_group+0x170/0x170 [ 2171.556274] ? lockdep_init_map_type+0x2c7/0x780 [ 2171.557179] ? blk_queue_flag_set+0x22/0x30 [ 2171.558003] ? __loop_update_dio+0x2d2/0x690 [ 2171.558857] loop_configure+0x954/0x1480 [ 2171.559640] lo_ioctl+0xa72/0x1760 [ 2171.560322] ? avc_has_extended_perms+0x7f1/0xec0 [ 2171.561238] ? loop_set_status_old+0x250/0x250 [ 2171.562121] ? avc_ss_reset+0x180/0x180 [ 2171.562898] ? find_held_lock+0x2c/0x110 [ 2171.563678] ? __lock_acquire+0xbb1/0x5b00 [ 2171.564544] ? selinux_inode_getsecctx+0x90/0x90 [ 2171.565447] ? generic_block_fiemap+0x60/0x60 [ 2171.566321] ? loop_set_status_old+0x250/0x250 [ 2171.567201] blkdev_ioctl+0x291/0x710 [ 2171.567935] ? blkdev_common_ioctl+0x1870/0x1870 [ 2171.568841] ? selinux_file_ioctl+0xb1/0x260 [ 2171.569691] block_ioctl+0xf9/0x140 [ 2171.570382] ? blkdev_read_iter+0x1c0/0x1c0 [ 2171.571217] __x64_sys_ioctl+0x19a/0x210 [ 2171.572007] do_syscall_64+0x33/0x40 [ 2171.572720] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2171.573709] RIP: 0033:0x7f9a6eeb98d7 [ 2171.574421] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2171.577970] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2171.579432] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2171.580797] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2171.582171] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2171.583561] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2171.584937] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2171.602336] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2171.626028] FAT-fs (loop5): Directory bread(block 64) failed [ 2171.629003] FAT-fs (loop5): Directory bread(block 65) failed [ 2171.632873] FAT-fs (loop5): Directory bread(block 66) failed [ 2171.636494] FAT-fs (loop5): Directory bread(block 67) failed [ 2171.638460] FAT-fs (loop5): Directory bread(block 68) failed [ 2171.640014] FAT-fs (loop5): Directory bread(block 69) failed [ 2171.641306] FAT-fs (loop5): Directory bread(block 70) failed [ 2171.651349] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.653925] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2171.655639] FAT-fs (loop2): Filesystem has been set read-only [ 2171.665254] FAT-fs (loop5): Directory bread(block 71) failed [ 2171.666785] FAT-fs (loop5): Directory bread(block 72) failed [ 2171.668013] FAT-fs (loop5): Directory bread(block 73) failed [ 2171.673322] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.676349] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2171.677894] FAT-fs (loop0): Filesystem has been set read-only [ 2171.695324] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2171.709480] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2171.710983] FAT-fs (loop3): Filesystem has been set read-only 10:12:54 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:54 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:54 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:54 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x508, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:54 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000", 0x2b}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:54 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180), 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:12:54 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:54 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 37) [ 2187.418426] FAULT_INJECTION: forcing a failure. [ 2187.418426] name failslab, interval 1, probability 0, space 0, times 0 [ 2187.420828] CPU: 1 PID: 12224 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2187.422229] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2187.423919] Call Trace: [ 2187.424463] dump_stack+0x107/0x167 [ 2187.425212] should_fail.cold+0x5/0xa [ 2187.425989] ? __kernfs_new_node+0xd4/0x850 [ 2187.426889] should_failslab+0x5/0x20 [ 2187.427663] kmem_cache_alloc+0x5b/0x360 [ 2187.428508] __kernfs_new_node+0xd4/0x850 [ 2187.429368] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2187.430353] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2187.431356] ? wait_for_completion_io+0x270/0x270 [ 2187.432352] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2187.433440] kernfs_new_node+0x93/0x120 [ 2187.434272] __kernfs_create_file+0x51/0x350 [ 2187.435230] sysfs_add_file_mode_ns+0x221/0x560 [ 2187.436194] internal_create_group+0x324/0xb30 [ 2187.437136] ? sysfs_remove_group+0x170/0x170 [ 2187.438065] ? lockdep_init_map_type+0x2c7/0x780 [ 2187.439054] ? blk_queue_flag_set+0x22/0x30 [ 2187.439946] ? __loop_update_dio+0x2d2/0x690 [ 2187.440843] loop_configure+0x954/0x1480 [ 2187.441675] lo_ioctl+0xa72/0x1760 [ 2187.442401] ? avc_has_extended_perms+0x7f1/0xec0 [ 2187.443397] ? loop_set_status_old+0x250/0x250 [ 2187.444325] ? avc_ss_reset+0x180/0x180 [ 2187.445142] ? find_held_lock+0x2c/0x110 [ 2187.445983] ? __lock_acquire+0xbb1/0x5b00 [ 2187.446915] ? selinux_inode_getsecctx+0x90/0x90 [ 2187.447881] ? generic_block_fiemap+0x60/0x60 [ 2187.448803] ? loop_set_status_old+0x250/0x250 [ 2187.449727] blkdev_ioctl+0x291/0x710 10:12:54 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180), 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2187.450500] ? blkdev_common_ioctl+0x1870/0x1870 [ 2187.451684] ? selinux_file_ioctl+0xb1/0x260 [ 2187.452597] block_ioctl+0xf9/0x140 [ 2187.453349] ? blkdev_read_iter+0x1c0/0x1c0 [ 2187.454236] __x64_sys_ioctl+0x19a/0x210 [ 2187.455096] do_syscall_64+0x33/0x40 [ 2187.455863] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2187.456917] RIP: 0033:0x7f9a6eeb98d7 [ 2187.457687] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2187.461465] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2187.463030] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2187.464488] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2187.465953] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2187.467432] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2187.468895] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2187.505368] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2187.508763] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.509709] FAT-fs (loop1): bogus number of FAT sectors [ 2187.510770] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2187.510905] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2187.511708] FAT-fs (loop6): Filesystem has been set read-only [ 2187.513406] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2187.513831] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2187.514317] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.515920] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.516771] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2187.518563] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.518997] FAT-fs (loop0): Filesystem has been set read-only [ 2187.526144] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2187.527683] FAT-fs (loop2): Filesystem has been set read-only [ 2187.538322] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.540152] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2187.541152] FAT-fs (loop6): Filesystem has been set read-only [ 2187.562849] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.567185] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2187.568515] FAT-fs (loop0): Filesystem has been set read-only 10:12:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x50a, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2187.584172] FAT-fs (loop5): Directory bread(block 64) failed [ 2187.594902] FAT-fs (loop5): Directory bread(block 65) failed [ 2187.604444] FAT-fs (loop5): Directory bread(block 66) failed 10:12:55 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x74, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2187.614904] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.616348] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2187.617318] FAT-fs (loop6): Filesystem has been set read-only 10:12:55 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000", 0x2b}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2187.622181] FAT-fs (loop5): Directory bread(block 67) failed [ 2187.632674] FAT-fs (loop5): Directory bread(block 68) failed [ 2187.634031] FAT-fs (loop5): Directory bread(block 69) failed [ 2187.639751] FAT-fs (loop5): Directory bread(block 70) failed [ 2187.651074] FAT-fs (loop5): Directory bread(block 71) failed [ 2187.652385] FAT-fs (loop5): Directory bread(block 72) failed [ 2187.653652] FAT-fs (loop5): Directory bread(block 73) failed [ 2187.669347] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.671072] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2187.671868] FAT-fs (loop6): Filesystem has been set read-only 10:12:55 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000", 0x23}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:55 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 38) [ 2187.703697] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.707387] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2187.708884] FAT-fs (loop0): Filesystem has been set read-only 10:12:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:12:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x50b, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:12:55 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2187.757161] FAULT_INJECTION: forcing a failure. [ 2187.757161] name failslab, interval 1, probability 0, space 0, times 0 [ 2187.759506] CPU: 1 PID: 12265 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2187.760900] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2187.762566] Call Trace: [ 2187.763115] dump_stack+0x107/0x167 [ 2187.763869] should_fail.cold+0x5/0xa [ 2187.764640] ? create_object.isra.0+0x3a/0xa20 [ 2187.765576] should_failslab+0x5/0x20 [ 2187.766356] kmem_cache_alloc+0x5b/0x360 [ 2187.767213] create_object.isra.0+0x3a/0xa20 [ 2187.768108] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2187.769143] kmem_cache_alloc+0x159/0x360 [ 2187.769998] __kernfs_new_node+0xd4/0x850 [ 2187.770855] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2187.771821] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2187.772808] ? wait_for_completion_io+0x270/0x270 [ 2187.773790] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2187.774884] kernfs_new_node+0x93/0x120 [ 2187.775707] __kernfs_create_file+0x51/0x350 [ 2187.776602] sysfs_add_file_mode_ns+0x221/0x560 [ 2187.777560] internal_create_group+0x324/0xb30 [ 2187.778497] ? sysfs_remove_group+0x170/0x170 [ 2187.779499] ? lockdep_init_map_type+0x2c7/0x780 [ 2187.780470] ? blk_queue_flag_set+0x22/0x30 [ 2187.781348] ? __loop_update_dio+0x2d2/0x690 [ 2187.782252] loop_configure+0x954/0x1480 [ 2187.783109] lo_ioctl+0xa72/0x1760 [ 2187.783840] ? avc_has_extended_perms+0x7f1/0xec0 [ 2187.784819] ? loop_set_status_old+0x250/0x250 [ 2187.785755] ? avc_ss_reset+0x180/0x180 [ 2187.786570] ? find_held_lock+0x2c/0x110 [ 2187.787425] ? __lock_acquire+0xbb1/0x5b00 [ 2187.788336] ? selinux_inode_getsecctx+0x90/0x90 [ 2187.789320] ? generic_block_fiemap+0x60/0x60 [ 2187.790243] ? loop_set_status_old+0x250/0x250 [ 2187.791190] blkdev_ioctl+0x291/0x710 [ 2187.791967] ? blkdev_common_ioctl+0x1870/0x1870 [ 2187.792947] ? selinux_file_ioctl+0xb1/0x260 [ 2187.793849] block_ioctl+0xf9/0x140 [ 2187.794587] ? blkdev_read_iter+0x1c0/0x1c0 [ 2187.795499] __x64_sys_ioctl+0x19a/0x210 [ 2187.796337] do_syscall_64+0x33/0x40 [ 2187.797110] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2187.798150] RIP: 0033:0x7f9a6eeb98d7 [ 2187.798925] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2187.802670] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2187.804239] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2187.805694] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2187.807155] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2187.808605] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2187.810058] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2187.823847] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.825205] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.830181] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2187.831708] FAT-fs (loop0): Filesystem has been set read-only [ 2187.832575] FAT-fs (loop1): bogus number of FAT sectors [ 2187.833563] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2187.834510] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2187.835785] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2187.857920] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.865333] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2187.866829] FAT-fs (loop2): Filesystem has been set read-only [ 2187.873070] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.877213] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2187.878916] FAT-fs (loop6): Filesystem has been set read-only [ 2187.936942] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2187.938663] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2187.939462] FAT-fs (loop6): Filesystem has been set read-only 10:13:09 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:09 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x600, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:09 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:09 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000", 0x23}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:09 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:09 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 39) 10:13:09 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x78, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:09 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(0xffffffffffffffff, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2201.902853] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2201.904170] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2201.904975] FAT-fs (loop6): Filesystem has been set read-only [ 2201.928946] FAULT_INJECTION: forcing a failure. [ 2201.928946] name failslab, interval 1, probability 0, space 0, times 0 [ 2201.930248] CPU: 1 PID: 12287 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2201.930988] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2201.931914] Call Trace: [ 2201.932204] dump_stack+0x107/0x167 [ 2201.932605] should_fail.cold+0x5/0xa [ 2201.933013] ? __kernfs_new_node+0xd4/0x850 [ 2201.933475] should_failslab+0x5/0x20 [ 2201.933882] kmem_cache_alloc+0x5b/0x360 [ 2201.934328] __kernfs_new_node+0xd4/0x850 [ 2201.934777] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2201.935292] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2201.935805] ? wait_for_completion_io+0x270/0x270 [ 2201.936321] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2201.936891] kernfs_new_node+0x93/0x120 [ 2201.937334] __kernfs_create_file+0x51/0x350 [ 2201.937812] sysfs_add_file_mode_ns+0x221/0x560 [ 2201.938331] internal_create_group+0x324/0xb30 [ 2201.938836] ? sysfs_remove_group+0x170/0x170 [ 2201.939348] ? lockdep_init_map_type+0x2c7/0x780 [ 2201.939866] ? blk_queue_flag_set+0x22/0x30 [ 2201.940333] ? __loop_update_dio+0x2d2/0x690 [ 2201.940816] loop_configure+0x954/0x1480 [ 2201.941262] lo_ioctl+0xa72/0x1760 [ 2201.941646] ? avc_has_extended_perms+0x7f1/0xec0 [ 2201.942160] ? loop_set_status_old+0x250/0x250 [ 2201.942656] ? avc_ss_reset+0x180/0x180 [ 2201.943106] ? find_held_lock+0x2c/0x110 [ 2201.943549] ? __lock_acquire+0xbb1/0x5b00 [ 2201.944041] ? selinux_inode_getsecctx+0x90/0x90 [ 2201.944557] ? generic_block_fiemap+0x60/0x60 [ 2201.945038] ? loop_set_status_old+0x250/0x250 [ 2201.945538] blkdev_ioctl+0x291/0x710 [ 2201.945951] ? blkdev_common_ioctl+0x1870/0x1870 [ 2201.946455] ? selinux_file_ioctl+0xb1/0x260 [ 2201.946941] block_ioctl+0xf9/0x140 [ 2201.947352] ? blkdev_read_iter+0x1c0/0x1c0 [ 2201.947821] __x64_sys_ioctl+0x19a/0x210 [ 2201.948268] do_syscall_64+0x33/0x40 [ 2201.948675] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2201.949256] RIP: 0033:0x7f9a6eeb98d7 [ 2201.949667] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2201.951695] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2201.952509] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2201.953289] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2201.954065] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2201.954847] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2201.955627] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2201.977463] FAT-fs (loop1): bogus number of FAT sectors [ 2201.978101] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2201.979048] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2201.979710] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2201.981053] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2201.982136] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2201.983586] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2201.984723] FAT-fs (loop0): Filesystem has been set read-only [ 2201.986426] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2201.988444] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2201.990066] FAT-fs (loop2): Filesystem has been set read-only 10:13:09 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200", 0x2e}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2202.009366] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2202.010975] FAT-fs (loop4): Filesystem has been set read-only [ 2202.014792] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2202.016018] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2202.016829] FAT-fs (loop6): Filesystem has been set read-only 10:13:09 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000", 0x23}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:09 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2202.039701] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2202.040957] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2202.041817] FAT-fs (loop0): Filesystem has been set read-only 10:13:09 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x605, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:09 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7a, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:09 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 40) [ 2202.138491] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2202.141561] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2202.143172] FAT-fs (loop3): Filesystem has been set read-only [ 2202.147810] FAT-fs (loop1): bogus number of FAT sectors [ 2202.149030] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2202.149151] FAULT_INJECTION: forcing a failure. [ 2202.149151] name failslab, interval 1, probability 0, space 0, times 0 [ 2202.150939] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2202.152813] CPU: 1 PID: 12327 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2202.153566] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2202.154472] Call Trace: [ 2202.154762] dump_stack+0x107/0x167 [ 2202.155169] should_fail.cold+0x5/0xa [ 2202.155584] ? create_object.isra.0+0x3a/0xa20 [ 2202.156072] should_failslab+0x5/0x20 [ 2202.156488] kmem_cache_alloc+0x5b/0x360 [ 2202.156924] create_object.isra.0+0x3a/0xa20 [ 2202.157402] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2202.157944] kmem_cache_alloc+0x159/0x360 [ 2202.158399] __kernfs_new_node+0xd4/0x850 [ 2202.158843] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2202.159385] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2202.159897] ? wait_for_completion_io+0x270/0x270 [ 2202.160426] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2202.160987] kernfs_new_node+0x93/0x120 [ 2202.161429] __kernfs_create_file+0x51/0x350 [ 2202.161903] sysfs_add_file_mode_ns+0x221/0x560 [ 2202.162421] internal_create_group+0x324/0xb30 [ 2202.162908] ? sysfs_remove_group+0x170/0x170 [ 2202.163420] ? lockdep_init_map_type+0x2c7/0x780 [ 2202.163929] ? blk_queue_flag_set+0x22/0x30 [ 2202.164396] ? __loop_update_dio+0x2d2/0x690 [ 2202.164864] loop_configure+0x954/0x1480 [ 2202.165309] lo_ioctl+0xa72/0x1760 [ 2202.165690] ? avc_has_extended_perms+0x7f1/0xec0 [ 2202.166215] ? loop_set_status_old+0x250/0x250 [ 2202.166700] ? avc_ss_reset+0x180/0x180 [ 2202.167159] ? find_held_lock+0x2c/0x110 [ 2202.167597] ? __lock_acquire+0xbb1/0x5b00 [ 2202.168092] ? selinux_inode_getsecctx+0x90/0x90 [ 2202.168594] ? generic_block_fiemap+0x60/0x60 [ 2202.169089] ? loop_set_status_old+0x250/0x250 [ 2202.169583] blkdev_ioctl+0x291/0x710 [ 2202.170004] ? blkdev_common_ioctl+0x1870/0x1870 [ 2202.170517] ? selinux_file_ioctl+0xb1/0x260 [ 2202.171022] block_ioctl+0xf9/0x140 [ 2202.171410] ? blkdev_read_iter+0x1c0/0x1c0 [ 2202.171878] __x64_sys_ioctl+0x19a/0x210 [ 2202.172313] do_syscall_64+0x33/0x40 [ 2202.172731] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2202.173275] RIP: 0033:0x7f9a6eeb98d7 [ 2202.173688] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2202.175666] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2202.176494] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2202.177277] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2202.178057] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2202.178835] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2202.179636] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2202.187518] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2202.188898] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2202.190287] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2202.191148] FAT-fs (loop6): Filesystem has been set read-only [ 2202.192057] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2202.192842] FAT-fs (loop0): Filesystem has been set read-only [ 2202.207645] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2202.209652] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2202.210399] FAT-fs (loop2): Filesystem has been set read-only [ 2202.255387] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2202.258051] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2202.258853] FAT-fs (loop0): Filesystem has been set read-only 10:13:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf8, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:26 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 41) 10:13:26 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(0xffffffffffffffff, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:13:26 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000", 0x27}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000", 0x2c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x700, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000", 0x2b}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2219.479936] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.484536] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2219.486067] FAT-fs (loop0): Filesystem has been set read-only [ 2219.489594] FAULT_INJECTION: forcing a failure. [ 2219.489594] name failslab, interval 1, probability 0, space 0, times 0 [ 2219.491317] CPU: 1 PID: 12354 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2219.492349] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2219.493583] Call Trace: [ 2219.493986] dump_stack+0x107/0x167 [ 2219.494536] should_fail.cold+0x5/0xa [ 2219.495108] ? __kernfs_new_node+0xd4/0x850 [ 2219.495765] should_failslab+0x5/0x20 [ 2219.496333] kmem_cache_alloc+0x5b/0x360 [ 2219.496941] __kernfs_new_node+0xd4/0x850 [ 2219.497563] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2219.498146] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2219.498868] ? wait_for_completion_io+0x270/0x270 [ 2219.499608] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2219.500392] kernfs_new_node+0x93/0x120 [ 2219.500993] __kernfs_create_file+0x51/0x350 [ 2219.501653] sysfs_add_file_mode_ns+0x221/0x560 [ 2219.502355] internal_create_group+0x324/0xb30 [ 2219.503040] ? sysfs_remove_group+0x170/0x170 [ 2219.503721] ? lockdep_init_map_type+0x2c7/0x780 [ 2219.504428] ? blk_queue_flag_set+0x22/0x30 [ 2219.505064] ? __loop_update_dio+0x2d2/0x690 [ 2219.505718] loop_configure+0x954/0x1480 [ 2219.506325] lo_ioctl+0xa72/0x1760 [ 2219.506859] ? avc_has_extended_perms+0x7f1/0xec0 [ 2219.507580] ? loop_set_status_old+0x250/0x250 [ 2219.508179] ? avc_ss_reset+0x180/0x180 [ 2219.508653] ? find_held_lock+0x2c/0x110 [ 2219.509152] ? __lock_acquire+0xbb1/0x5b00 [ 2219.509701] ? selinux_inode_getsecctx+0x90/0x90 [ 2219.510270] ? generic_block_fiemap+0x60/0x60 [ 2219.510811] ? loop_set_status_old+0x250/0x250 [ 2219.511377] blkdev_ioctl+0x291/0x710 [ 2219.511831] ? blkdev_common_ioctl+0x1870/0x1870 [ 2219.512414] ? selinux_file_ioctl+0xb1/0x260 [ 2219.512947] block_ioctl+0xf9/0x140 [ 2219.513381] ? blkdev_read_iter+0x1c0/0x1c0 [ 2219.513904] __x64_sys_ioctl+0x19a/0x210 [ 2219.514391] do_syscall_64+0x33/0x40 [ 2219.514845] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2219.515458] RIP: 0033:0x7f9a6eeb98d7 [ 2219.515903] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2219.518115] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2219.519013] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2219.519876] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2219.520797] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2219.521740] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2219.522700] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2219.532060] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.534714] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2219.535535] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.536786] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2219.537512] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2219.540959] FAT-fs (loop6): Filesystem has been set read-only [ 2219.551388] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.552897] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2219.553767] FAT-fs (loop2): Filesystem has been set read-only 10:13:27 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 42) 10:13:27 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2219.621221] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.623340] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2219.624939] FAT-fs (loop6): Filesystem has been set read-only 10:13:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000", 0x2b}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:27 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000", 0x2c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:27 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x112, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:27 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000", 0x24}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2219.709977] FAULT_INJECTION: forcing a failure. [ 2219.709977] name failslab, interval 1, probability 0, space 0, times 0 [ 2219.712740] CPU: 0 PID: 12368 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2219.714151] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2219.715843] Call Trace: [ 2219.716385] dump_stack+0x107/0x167 [ 2219.717126] should_fail.cold+0x5/0xa [ 2219.717902] ? __kernfs_new_node+0xd4/0x850 [ 2219.718780] should_failslab+0x5/0x20 [ 2219.719568] kmem_cache_alloc+0x5b/0x360 [ 2219.720410] __kernfs_new_node+0xd4/0x850 [ 2219.721261] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2219.722235] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2219.723218] ? wait_for_completion_io+0x270/0x270 [ 2219.724220] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2219.725317] kernfs_new_node+0x93/0x120 [ 2219.726150] __kernfs_create_file+0x51/0x350 [ 2219.727061] sysfs_add_file_mode_ns+0x221/0x560 [ 2219.728028] internal_create_group+0x324/0xb30 [ 2219.728961] ? sysfs_remove_group+0x170/0x170 [ 2219.729890] ? lockdep_init_map_type+0x2c7/0x780 [ 2219.730858] ? blk_queue_flag_set+0x22/0x30 [ 2219.731759] ? __loop_update_dio+0x2d2/0x690 10:13:27 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(0xffffffffffffffff, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2219.732654] loop_configure+0x954/0x1480 [ 2219.733603] lo_ioctl+0xa72/0x1760 [ 2219.734336] ? avc_has_extended_perms+0x7f1/0xec0 [ 2219.735333] ? loop_set_status_old+0x250/0x250 [ 2219.736271] ? avc_ss_reset+0x180/0x180 [ 2219.737083] ? find_held_lock+0x2c/0x110 [ 2219.737931] ? __lock_acquire+0xbb1/0x5b00 [ 2219.738870] ? selinux_inode_getsecctx+0x90/0x90 [ 2219.739850] ? generic_block_fiemap+0x60/0x60 [ 2219.740767] ? loop_set_status_old+0x250/0x250 [ 2219.741700] blkdev_ioctl+0x291/0x710 [ 2219.742475] ? blkdev_common_ioctl+0x1870/0x1870 [ 2219.743470] ? selinux_file_ioctl+0xb1/0x260 [ 2219.744367] block_ioctl+0xf9/0x140 [ 2219.745110] ? blkdev_read_iter+0x1c0/0x1c0 [ 2219.745983] __x64_sys_ioctl+0x19a/0x210 [ 2219.746816] do_syscall_64+0x33/0x40 [ 2219.747580] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2219.748632] RIP: 0033:0x7f9a6eeb98d7 [ 2219.749388] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2219.753156] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2219.754701] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2219.756156] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2219.757605] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2219.759051] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2219.760510] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:13:27 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x705, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2219.795858] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.799365] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2219.800845] FAT-fs (loop2): Filesystem has been set read-only 10:13:27 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 43) [ 2219.884977] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.888543] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2219.896698] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2219.898386] FAT-fs (loop6): Filesystem has been set read-only [ 2219.947294] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.947998] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2219.964181] FAT-fs (loop1): bogus number of FAT sectors [ 2219.965393] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2219.967151] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2219.970698] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2219.972310] FAT-fs (loop0): Filesystem has been set read-only [ 2219.996557] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2220.008201] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2220.014270] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2220.015785] FAT-fs (loop6): Filesystem has been set read-only [ 2220.017523] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2220.019121] FAT-fs (loop0): Filesystem has been set read-only [ 2220.034972] FAULT_INJECTION: forcing a failure. [ 2220.034972] name failslab, interval 1, probability 0, space 0, times 0 [ 2220.037430] CPU: 1 PID: 12392 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2220.038914] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2220.040701] Call Trace: [ 2220.041282] dump_stack+0x107/0x167 [ 2220.042064] should_fail.cold+0x5/0xa [ 2220.042885] ? kobject_uevent_env+0x22b/0xf90 [ 2220.043857] ? dev_uevent_filter+0xd0/0xd0 [ 2220.044828] should_failslab+0x5/0x20 [ 2220.045740] kmem_cache_alloc_trace+0x55/0x360 [ 2220.046838] ? loop_configure+0xad2/0x1480 [ 2220.047861] ? dev_uevent_filter+0xd0/0xd0 [ 2220.048885] kobject_uevent_env+0x22b/0xf90 [ 2220.049935] loop_configure+0x116c/0x1480 [ 2220.050949] lo_ioctl+0xa72/0x1760 [ 2220.051836] ? avc_has_extended_perms+0x7f1/0xec0 [ 2220.052985] ? loop_set_status_old+0x250/0x250 [ 2220.054074] ? avc_ss_reset+0x180/0x180 [ 2220.055022] ? find_held_lock+0x2c/0x110 [ 2220.056017] ? __lock_acquire+0xbb1/0x5b00 [ 2220.057087] ? selinux_inode_getsecctx+0x90/0x90 [ 2220.058219] ? generic_block_fiemap+0x60/0x60 [ 2220.059332] ? loop_set_status_old+0x250/0x250 [ 2220.060425] blkdev_ioctl+0x291/0x710 [ 2220.061333] ? blkdev_common_ioctl+0x1870/0x1870 [ 2220.062470] ? selinux_file_ioctl+0xb1/0x260 [ 2220.063540] block_ioctl+0xf9/0x140 [ 2220.064413] ? blkdev_read_iter+0x1c0/0x1c0 [ 2220.065446] __x64_sys_ioctl+0x19a/0x210 [ 2220.066423] do_syscall_64+0x33/0x40 [ 2220.067339] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2220.068571] RIP: 0033:0x7f9a6eeb98d7 [ 2220.069460] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2220.073790] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2220.075598] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2220.077268] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2220.078945] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2220.080651] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2220.082326] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2220.142798] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2220.152785] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2220.155820] FAT-fs (loop2): Filesystem has been set read-only 10:13:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x130, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:44 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, 0x0, 0x0) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:13:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 44) 10:13:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000", 0x2c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000", 0x2b}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x805, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:44 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000", 0x24}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2236.828507] FAULT_INJECTION: forcing a failure. [ 2236.828507] name failslab, interval 1, probability 0, space 0, times 0 [ 2236.830885] CPU: 1 PID: 12403 Comm: syz-executor.2 Not tainted 5.10.168 #1 [ 2236.832308] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2236.833996] Call Trace: [ 2236.834548] dump_stack+0x107/0x167 [ 2236.835306] should_fail.cold+0x5/0xa [ 2236.836112] ? create_object.isra.0+0x3a/0xa20 [ 2236.837047] should_failslab+0x5/0x20 [ 2236.837826] kmem_cache_alloc+0x5b/0x360 [ 2236.838654] create_object.isra.0+0x3a/0xa20 [ 2236.839568] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2236.840612] kmem_cache_alloc+0x159/0x360 [ 2236.841468] __kernfs_new_node+0xd4/0x850 [ 2236.842321] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2236.843284] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2236.844289] ? wait_for_completion_io+0x270/0x270 [ 2236.845265] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2236.846336] kernfs_new_node+0x93/0x120 [ 2236.847148] __kernfs_create_file+0x51/0x350 [ 2236.848052] sysfs_add_file_mode_ns+0x221/0x560 [ 2236.848998] internal_create_group+0x324/0xb30 [ 2236.849930] ? sysfs_remove_group+0x170/0x170 [ 2236.850841] ? lockdep_init_map_type+0x2c7/0x780 [ 2236.851810] ? blk_queue_flag_set+0x22/0x30 [ 2236.852684] ? __loop_update_dio+0x2d2/0x690 [ 2236.853574] loop_configure+0x954/0x1480 [ 2236.854406] lo_ioctl+0xa72/0x1760 [ 2236.855130] ? avc_has_extended_perms+0x7f1/0xec0 [ 2236.856125] ? loop_set_status_old+0x250/0x250 [ 2236.857050] ? avc_ss_reset+0x180/0x180 [ 2236.857861] ? find_held_lock+0x2c/0x110 [ 2236.858700] ? __lock_acquire+0xbb1/0x5b00 [ 2236.859625] ? selinux_inode_getsecctx+0x90/0x90 [ 2236.860588] ? generic_block_fiemap+0x60/0x60 [ 2236.861513] ? loop_set_status_old+0x250/0x250 [ 2236.862437] blkdev_ioctl+0x291/0x710 [ 2236.863215] ? blkdev_common_ioctl+0x1870/0x1870 [ 2236.864205] ? selinux_file_ioctl+0xb1/0x260 [ 2236.865107] block_ioctl+0xf9/0x140 [ 2236.865851] ? blkdev_read_iter+0x1c0/0x1c0 [ 2236.866736] __x64_sys_ioctl+0x19a/0x210 [ 2236.867578] do_syscall_64+0x33/0x40 [ 2236.868337] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2236.869380] RIP: 0033:0x7f9a6eeb98d7 [ 2236.870142] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2236.873903] RSP: 002b:00007f9a6c42ef48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2236.875459] RAX: ffffffffffffffda RBX: 00007f9a6ef03970 RCX: 00007f9a6eeb98d7 [ 2236.876927] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2236.878382] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2236.879853] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2236.881307] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2236.920154] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2236.922073] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2236.923237] FAT-fs (loop2): Filesystem has been set read-only [ 2236.930957] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2236.933115] FAT-fs (loop1): bogus number of FAT sectors [ 2236.933214] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2236.934376] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2236.935387] FAT-fs (loop0): Filesystem has been set read-only [ 2236.938304] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2236.941709] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2236.950184] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2236.951771] FAT-fs (loop6): Filesystem has been set read-only [ 2236.953101] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2236.956275] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2236.969752] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:13:44 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, 0x0, 0x0) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2236.975510] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2236.976612] FAT-fs (loop0): Filesystem has been set read-only 10:13:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 45) 10:13:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x300, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x900, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:44 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000", 0x24}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2237.108371] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:13:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) [ 2237.117710] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2237.119425] FAT-fs (loop0): Filesystem has been set read-only 10:13:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2237.149181] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.157828] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2237.159480] FAT-fs (loop0): Filesystem has been set read-only 10:13:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x500, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2237.218449] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.227549] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2237.229040] FAT-fs (loop3): Filesystem has been set read-only [ 2237.235592] FAT-fs (loop1): bogus number of FAT sectors [ 2237.236923] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2237.238800] FAT-fs (loop1): Can't find a valid FAT filesystem 10:13:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xa00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:13:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) 10:13:44 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100", 0x26}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2237.319813] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.322246] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2237.323991] FAT-fs (loop0): Filesystem has been set read-only [ 2237.345385] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.350209] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2237.351867] FAT-fs (loop0): Filesystem has been set read-only 10:13:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000", 0x2c}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:13:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x506, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2237.507693] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.542705] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.549466] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2237.551776] FAT-fs (loop6): Filesystem has been set read-only [ 2237.557892] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.560797] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2237.563927] FAT-fs (loop0): Filesystem has been set read-only [ 2237.591543] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.597704] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2237.601205] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2237.602742] FAT-fs (loop0): Filesystem has been set read-only [ 2237.604992] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2237.606626] FAT-fs (loop6): Filesystem has been set read-only 10:14:00 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, 0x0, 0x0) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:14:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xa05, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100", 0x26}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) 10:14:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000", 0x2c}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x509, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2252.534779] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.536715] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2252.537695] FAT-fs (loop6): Filesystem has been set read-only [ 2252.563163] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.566435] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2252.567429] FAT-fs (loop6): Filesystem has been set read-only [ 2252.580093] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:14:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2252.611817] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.613075] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.628639] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2252.633844] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2252.635007] FAT-fs (loop2): Filesystem has been set read-only [ 2252.637284] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2252.638557] FAT-fs (loop0): Filesystem has been set read-only 10:14:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000", 0x2c}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}]}) 10:14:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2252.701424] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.706267] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2252.707351] FAT-fs (loop2): Filesystem has been set read-only [ 2252.738536] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.741047] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2252.743012] FAT-fs (loop0): Filesystem has been set read-only [ 2252.743484] FAT-fs (loop5): bread failed, FSINFO block (sector = 1) [ 2252.803902] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2252.806076] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2252.806103] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.807236] FAT-fs (loop4): Filesystem has been set read-only [ 2252.825984] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2252.828215] FAT-fs (loop6): Filesystem has been set read-only [ 2252.839189] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2252.848780] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.926538] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2252.935502] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2252.936413] FAT-fs (loop6): Filesystem has been set read-only 10:14:16 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000", 0x24}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:16 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x0, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:14:16 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb05, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:16 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) 10:14:16 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x50a, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:16 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:16 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}]}) 10:14:16 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2269.157104] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2269.160306] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2269.161250] FAT-fs (loop6): Filesystem has been set read-only [ 2269.176880] FAT-fs (loop5): bread failed, FSINFO block (sector = 1) [ 2269.197042] FAT-fs (loop1): bogus number of FAT sectors [ 2269.198044] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2269.199572] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2269.201393] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2269.208857] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2269.210980] FAT-fs (loop0): Filesystem has been set read-only [ 2269.213146] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2269.215091] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2269.216339] FAT-fs (loop4): Filesystem has been set read-only [ 2269.224677] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2269.234469] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2269.236586] FAT-fs (loop2): Filesystem has been set read-only [ 2269.335231] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2269.344671] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2269.346948] FAT-fs (loop0): Filesystem has been set read-only 10:14:32 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000", 0x24}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) 10:14:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x600, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:32 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x0, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:14:32 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xd00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:32 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}]}) 10:14:32 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:32 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2285.119677] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.129934] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2285.130939] FAT-fs (loop6): Filesystem has been set read-only [ 2285.149098] FAT-fs (loop1): bogus number of FAT sectors [ 2285.149879] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2285.150986] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2285.153540] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.160380] FAT-fs (loop5): bread failed, FSINFO block (sector = 1) [ 2285.161396] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.163690] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2285.164666] FAT-fs (loop2): Filesystem has been set read-only [ 2285.169931] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2285.171455] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2285.172502] FAT-fs (loop4): Filesystem has been set read-only [ 2285.174248] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2285.175191] FAT-fs (loop0): Filesystem has been set read-only 10:14:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, 0x0) 10:14:32 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000", 0x24}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:32 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x0, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2285.260908] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.266922] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2285.267825] FAT-fs (loop6): Filesystem has been set read-only 10:14:32 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {0x0, 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:32 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2285.331540] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:14:32 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2285.347524] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2285.349736] FAT-fs (loop0): Filesystem has been set read-only [ 2285.357295] FAT-fs (loop1): bogus number of FAT sectors [ 2285.359016] FAT-fs (loop1): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2285.361524] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2285.377184] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.380950] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2285.383953] FAT-fs (loop2): Filesystem has been set read-only [ 2285.414477] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2285.419331] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2285.421794] FAT-fs (loop5): Filesystem has been set read-only 10:14:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x605, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2285.459436] FAT-fs (loop4): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:14:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}]}) [ 2285.463275] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2285.473735] FAT-fs (loop4): Filesystem has been set read-only [ 2285.531131] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.533688] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2285.534795] FAT-fs (loop0): Filesystem has been set read-only 10:14:33 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x5, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:33 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2285.660853] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.667688] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2285.670162] FAT-fs (loop0): Filesystem has been set read-only 10:14:33 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, 0x0) [ 2285.757453] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.762943] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2285.763976] FAT-fs (loop3): Filesystem has been set read-only [ 2285.810130] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.814661] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2285.815614] FAT-fs (loop6): Filesystem has been set read-only [ 2285.846038] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.849308] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2285.850246] FAT-fs (loop2): Filesystem has been set read-only [ 2285.857453] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.859793] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2285.863090] FAT-fs (loop6): Filesystem has been set read-only [ 2285.904054] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2285.910043] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2285.911028] FAT-fs (loop2): Filesystem has been set read-only 10:14:49 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {0x0, 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:14:49 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(0xffffffffffffffff, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:14:49 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:49 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1020, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:49 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x700, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:49 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, 0x0) 10:14:49 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}]}) 10:14:49 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x0, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2302.022545] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.027013] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2302.028191] FAT-fs (loop6): Filesystem has been set read-only [ 2302.028333] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.035993] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2302.037031] FAT-fs (loop2): Filesystem has been set read-only [ 2302.046270] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.048020] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2302.048974] FAT-fs (loop3): Filesystem has been set read-only [ 2302.053782] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2302.054105] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.056464] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2302.058097] FAT-fs (loop5): Filesystem has been set read-only [ 2302.065218] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2302.066344] FAT-fs (loop0): Filesystem has been set read-only 10:14:49 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, 0x0) [ 2302.113597] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.115412] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2302.116358] FAT-fs (loop6): Filesystem has been set read-only 10:14:49 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}]}) 10:14:49 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(0xffffffffffffffff, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:14:49 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {0x0, 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2302.158962] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.163262] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2302.164282] FAT-fs (loop0): Filesystem has been set read-only 10:14:49 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(0xffffffffffffffff, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2302.190545] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.202795] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2302.203911] FAT-fs (loop2): Filesystem has been set read-only 10:14:49 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1100, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:14:49 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x900, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2302.313978] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.319688] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2302.328123] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2302.330395] FAT-fs (loop5): Filesystem has been set read-only [ 2302.332131] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.336475] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2302.337452] FAT-fs (loop3): Filesystem has been set read-only [ 2302.348213] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2302.349264] FAT-fs (loop6): Filesystem has been set read-only [ 2302.404115] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.406380] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2302.407368] FAT-fs (loop0): Filesystem has been set read-only [ 2302.429081] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.431998] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2302.432941] FAT-fs (loop6): Filesystem has been set read-only [ 2302.443705] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2302.449313] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2302.450232] FAT-fs (loop0): Filesystem has been set read-only 10:15:06 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}]}) 10:15:06 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(0xffffffffffffffff, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:06 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x905, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:06 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080), 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:06 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:06 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180), 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:06 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:06 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1201, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2318.566657] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2318.574180] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2318.575675] FAT-fs (loop0): Filesystem has been set read-only [ 2318.600456] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2318.600476] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2318.603545] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2318.604750] FAT-fs (loop3): Filesystem has been set read-only [ 2318.609364] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2318.615080] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2318.618357] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2318.619109] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2318.621952] FAT-fs (loop5): Filesystem has been set read-only [ 2318.628496] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2318.629856] FAT-fs (loop2): Filesystem has been set read-only 10:15:06 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080), 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2318.667969] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2318.670297] FAT-fs (loop6): Filesystem has been set read-only [ 2318.682874] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2318.697209] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2318.700322] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2318.701939] FAT-fs (loop5): Filesystem has been set read-only [ 2318.708688] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2318.711001] FAT-fs (loop0): Filesystem has been set read-only [ 2318.728222] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2318.754790] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2318.757090] FAT-fs (loop2): Filesystem has been set read-only 10:15:06 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080), 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2318.784782] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:15:06 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}]}) 10:15:06 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2318.815943] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2318.818831] FAT-fs (loop6): Filesystem has been set read-only 10:15:06 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x0, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:06 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, 0x0, 0x0) sendfile(r6, r5, 0x0, 0x9bbb) [ 2318.859595] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2318.919372] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2318.923988] FAT-fs (loop3): Directory bread(block 64) failed [ 2318.931887] FAT-fs (loop3): Directory bread(block 65) failed [ 2318.943713] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2318.945119] FAT-fs (loop5): Filesystem has been set read-only [ 2318.951671] FAT-fs (loop3): Directory bread(block 66) failed [ 2318.952438] FAT-fs (loop3): Directory bread(block 67) failed [ 2318.953276] FAT-fs (loop3): Directory bread(block 68) failed [ 2318.954027] FAT-fs (loop3): Directory bread(block 69) failed [ 2318.954776] FAT-fs (loop3): Directory bread(block 70) failed [ 2318.955477] FAT-fs (loop3): Directory bread(block 71) failed [ 2318.965432] FAT-fs (loop3): Directory bread(block 72) failed 10:15:06 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}]}) 10:15:06 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xa00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:06 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:06 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1730, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2318.973090] FAT-fs (loop3): Directory bread(block 73) failed [ 2319.022642] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2319.044944] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2319.047152] FAT-fs (loop6): Filesystem has been set read-only 10:15:06 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, 0x0, 0x0) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:06 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xa05, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:06 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:06 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}]}) [ 2319.131640] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2319.147137] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2319.148236] FAT-fs (loop6): Filesystem has been set read-only [ 2319.157363] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2319.217416] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2319.221684] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2319.224119] FAT-fs (loop0): Filesystem has been set read-only [ 2319.273743] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2319.281947] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2319.284928] FAT-fs (loop0): Filesystem has been set read-only 10:15:22 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffff", 0x6, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:22 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:22 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, 0x0, 0x0) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:22 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}]}) 10:15:22 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x18, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:22 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:22 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(0xffffffffffffffff, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:22 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1830, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2335.233366] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2335.238298] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2335.239231] FAT-fs (loop0): Filesystem has been set read-only [ 2335.275370] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2335.277229] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2335.286768] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2335.292669] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2335.294856] FAT-fs (loop5): Filesystem has been set read-only [ 2335.300141] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2335.311338] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2335.313946] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2335.316050] FAT-fs (loop6): Filesystem has been set read-only [ 2335.335172] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2335.337410] FAT-fs (loop2): Filesystem has been set read-only [ 2335.343273] FAT-fs (loop3): Directory bread(block 64) failed [ 2335.362349] FAT-fs (loop3): Directory bread(block 65) failed [ 2335.369239] FAT-fs (loop3): Directory bread(block 66) failed [ 2335.383844] FAT-fs (loop3): Directory bread(block 67) failed [ 2335.385764] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2335.394138] FAT-fs (loop3): Directory bread(block 68) failed [ 2335.397159] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2335.399346] FAT-fs (loop6): Filesystem has been set read-only [ 2335.407759] FAT-fs (loop3): Directory bread(block 69) failed [ 2335.415820] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2335.423677] FAT-fs (loop3): Directory bread(block 70) failed [ 2335.424551] FAT-fs (loop3): Directory bread(block 71) failed [ 2335.432315] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2335.433288] FAT-fs (loop2): Filesystem has been set read-only [ 2335.434151] FAT-fs (loop3): Directory bread(block 72) failed [ 2335.434940] FAT-fs (loop3): Directory bread(block 73) failed 10:15:39 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:39 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffff", 0x6, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2351.594740] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2351.607502] FAT-fs (loop3): Directory bread(block 64) failed [ 2351.609543] FAT-fs (loop3): Directory bread(block 65) failed [ 2351.610326] FAT-fs (loop3): Directory bread(block 66) failed [ 2351.612344] FAT-fs (loop3): Directory bread(block 67) failed [ 2351.613193] FAT-fs (loop3): Directory bread(block 68) failed [ 2351.614046] FAT-fs (loop3): Directory bread(block 69) failed [ 2351.614856] FAT-fs (loop3): Directory bread(block 70) failed [ 2351.615709] FAT-fs (loop3): Directory bread(block 71) failed [ 2351.616442] FAT-fs (loop3): Directory bread(block 72) failed [ 2351.617880] FAT-fs (loop3): Directory bread(block 73) failed 10:15:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xd00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:39 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x0, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:39 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x193c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2351.646321] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2351.651113] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2351.652833] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2351.653810] FAT-fs (loop6): Filesystem has been set read-only [ 2351.654080] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2351.655252] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2351.655905] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2351.656729] FAT-fs (loop5): Filesystem has been set read-only [ 2351.659906] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2351.669182] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2351.670146] FAT-fs (loop0): Filesystem has been set read-only [ 2351.672242] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2351.673330] FAT-fs (loop2): Filesystem has been set read-only [ 2351.695344] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2351.697023] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2351.698019] FAT-fs (loop6): Filesystem has been set read-only 10:15:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffff", 0x6, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2351.741158] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2351.750359] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2351.751290] FAT-fs (loop0): Filesystem has been set read-only 10:15:39 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2351.794337] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2351.803453] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2351.804561] FAT-fs (loop2): Filesystem has been set read-only 10:15:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1947, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2351.884485] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2351.891452] FAT-fs (loop5): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2351.892418] FAT-fs (loop5): Filesystem has been set read-only 10:15:39 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:39 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x67, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:39 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x0, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2351.969873] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2351.976908] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2351.978030] FAT-fs (loop6): Filesystem has been set read-only 10:15:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2352.009220] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2352.010981] FAT-fs (loop5): error, invalid access to FAT (entry 0x000000f8) [ 2352.011945] FAT-fs (loop5): Filesystem has been set read-only [ 2352.014678] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.016543] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2352.017509] FAT-fs (loop0): Filesystem has been set read-only [ 2352.030683] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.035577] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) 10:15:39 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2352.036544] FAT-fs (loop2): Filesystem has been set read-only 10:15:39 executing program 1: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1948, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2352.115458] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.117306] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2352.118345] FAT-fs (loop0): Filesystem has been set read-only [ 2352.133289] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.135105] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2352.136112] FAT-fs (loop2): Filesystem has been set read-only 10:15:39 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x0, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:15:39 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2352.230528] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.240761] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2352.241779] FAT-fs (loop6): Filesystem has been set read-only [ 2352.262132] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2352.264976] FAT-fs (loop5): error, invalid access to FAT (entry 0x000000f8) [ 2352.266046] FAT-fs (loop5): Filesystem has been set read-only 10:15:39 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x300, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:39 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 1) 10:15:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2352.315272] FAULT_INJECTION: forcing a failure. [ 2352.315272] name failslab, interval 1, probability 0, space 0, times 0 [ 2352.316976] CPU: 1 PID: 12858 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2352.317928] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2352.319051] Call Trace: [ 2352.319457] dump_stack+0x107/0x167 [ 2352.319926] should_fail.cold+0x5/0xa [ 2352.320463] ? __do_sys_memfd_create+0xfb/0x450 [ 2352.321048] should_failslab+0x5/0x20 [ 2352.321597] __kmalloc+0x72/0x3f0 [ 2352.322051] __do_sys_memfd_create+0xfb/0x450 [ 2352.322699] ? ksys_write+0x1a9/0x260 [ 2352.323185] ? memfd_file_seals_ptr+0x170/0x170 [ 2352.323826] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2352.324529] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2352.325233] do_syscall_64+0x33/0x40 [ 2352.325777] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2352.326507] RIP: 0033:0x7fc61b82ab19 [ 2352.326976] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2352.329486] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2352.330558] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2352.331505] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2352.332533] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2352.333515] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2352.334493] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2352.347894] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.359315] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.361500] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.363005] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2352.363987] FAT-fs (loop6): Filesystem has been set read-only [ 2352.367348] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2352.368269] FAT-fs (loop2): Filesystem has been set read-only [ 2352.372623] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2352.373480] FAT-fs (loop0): Filesystem has been set read-only 10:15:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:39 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 2) [ 2352.418156] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.428313] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2352.429264] FAT-fs (loop2): Filesystem has been set read-only [ 2352.445898] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2352.450969] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2352.451975] FAT-fs (loop0): Filesystem has been set read-only [ 2352.472353] FAULT_INJECTION: forcing a failure. [ 2352.472353] name failslab, interval 1, probability 0, space 0, times 0 [ 2352.473812] CPU: 0 PID: 12865 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2352.474645] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2352.475674] Call Trace: [ 2352.476027] dump_stack+0x107/0x167 [ 2352.476517] should_fail.cold+0x5/0xa [ 2352.476992] ? create_object.isra.0+0x3a/0xa20 [ 2352.477599] should_failslab+0x5/0x20 [ 2352.478111] kmem_cache_alloc+0x5b/0x360 [ 2352.478612] create_object.isra.0+0x3a/0xa20 [ 2352.479200] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2352.479821] __kmalloc+0x16e/0x3f0 [ 2352.480267] __do_sys_memfd_create+0xfb/0x450 [ 2352.480898] ? ksys_write+0x1a9/0x260 [ 2352.481430] ? memfd_file_seals_ptr+0x170/0x170 [ 2352.482180] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2352.482954] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2352.483668] do_syscall_64+0x33/0x40 [ 2352.484237] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2352.484975] RIP: 0033:0x7fc61b82ab19 [ 2352.485468] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2352.487710] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2352.488720] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2352.489593] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2352.490456] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2352.491390] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2352.492259] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2352.522354] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2352.527430] FAT-fs (loop5): error, invalid access to FAT (entry 0x000000f8) [ 2352.528396] FAT-fs (loop5): Filesystem has been set read-only [ 2352.551598] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:15:56 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x0, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2368.656133] FAULT_INJECTION: forcing a failure. 10:15:56 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 3) 10:15:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:56 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff", 0xb, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:56 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(0xffffffffffffffff, r5, 0x0, 0x9bbb) 10:15:56 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x480, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:15:56 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1020, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2368.656133] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2368.661696] CPU: 0 PID: 12885 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2368.662562] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2368.663610] Call Trace: [ 2368.663959] dump_stack+0x107/0x167 [ 2368.664433] should_fail.cold+0x5/0xa [ 2368.664933] _copy_from_user+0x2e/0x1b0 [ 2368.665468] __do_sys_memfd_create+0x16d/0x450 [ 2368.666058] ? memfd_file_seals_ptr+0x170/0x170 [ 2368.666664] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2368.667345] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2368.668016] do_syscall_64+0x33/0x40 [ 2368.668498] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2368.669157] RIP: 0033:0x7fc61b82ab19 [ 2368.669662] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2368.671935] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2368.672878] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2368.673772] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2368.674653] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2368.675531] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2368.676438] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2368.729823] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2368.731419] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2368.734958] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2368.735964] FAT-fs (loop2): Filesystem has been set read-only [ 2368.738044] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2368.738952] FAT-fs (loop6): Filesystem has been set read-only [ 2368.739763] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2368.741107] FAT-fs (loop5): error, invalid access to FAT (entry 0x00fffff8) [ 2368.742083] FAT-fs (loop5): Filesystem has been set read-only [ 2368.750398] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:15:56 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 4) [ 2368.766028] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2368.767092] FAT-fs (loop0): Filesystem has been set read-only 10:15:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2368.815919] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:15:56 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff", 0xb, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:15:56 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(0xffffffffffffffff, r5, 0x0, 0x9bbb) [ 2368.825667] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2368.826624] FAT-fs (loop0): Filesystem has been set read-only [ 2368.829859] FAULT_INJECTION: forcing a failure. [ 2368.829859] name failslab, interval 1, probability 0, space 0, times 0 [ 2368.831264] CPU: 0 PID: 12903 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2368.832122] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2368.833147] Call Trace: [ 2368.833575] dump_stack+0x107/0x167 [ 2368.834040] should_fail.cold+0x5/0xa [ 2368.834522] ? shmem_alloc_inode+0x18/0x40 [ 2368.835050] should_failslab+0x5/0x20 [ 2368.835533] kmem_cache_alloc+0x5b/0x360 [ 2368.836039] ? shmem_destroy_inode+0x70/0x70 [ 2368.836582] shmem_alloc_inode+0x18/0x40 [ 2368.837097] ? shmem_destroy_inode+0x70/0x70 [ 2368.837659] alloc_inode+0x63/0x240 [ 2368.838107] new_inode+0x23/0x250 [ 2368.838549] shmem_get_inode+0x15e/0xbc0 [ 2368.839078] __shmem_file_setup+0xb8/0x320 [ 2368.839612] ? _copy_from_user+0xfb/0x1b0 [ 2368.840143] __do_sys_memfd_create+0x275/0x450 [ 2368.840721] ? memfd_file_seals_ptr+0x170/0x170 [ 2368.841321] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2368.841988] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2368.842645] do_syscall_64+0x33/0x40 [ 2368.843124] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2368.843766] RIP: 0033:0x7fc61b82ab19 [ 2368.844241] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2368.846546] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2368.847503] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2368.848380] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2368.849279] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2368.850224] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2368.851119] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2368.926247] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2368.928137] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2368.929050] FAT-fs (loop2): Filesystem has been set read-only [ 2368.937392] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2368.948301] FAT-fs (loop5): error, invalid access to FAT (entry 0x00fffff8) [ 2368.949654] FAT-fs (loop5): Filesystem has been set read-only [ 2384.716805] FAULT_INJECTION: forcing a failure. [ 2384.716805] name failslab, interval 1, probability 0, space 0, times 0 [ 2384.718274] CPU: 0 PID: 12924 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2384.719127] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2384.720136] Call Trace: [ 2384.720477] dump_stack+0x107/0x167 [ 2384.720937] should_fail.cold+0x5/0xa [ 2384.721031] FAULT_INJECTION: forcing a failure. [ 2384.721031] name failslab, interval 1, probability 0, space 0, times 0 [ 2384.721385] ? __do_sys_memfd_create+0xfb/0x450 [ 2384.723185] should_failslab+0x5/0x20 [ 2384.723630] __kmalloc+0x72/0x3f0 [ 2384.724036] __do_sys_memfd_create+0xfb/0x450 [ 2384.724548] ? ksys_write+0x1a9/0x260 [ 2384.725022] ? memfd_file_seals_ptr+0x170/0x170 [ 2384.725578] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2384.726209] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2384.726861] do_syscall_64+0x33/0x40 [ 2384.727308] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2384.727945] RIP: 0033:0x7f7ae82ebb19 [ 2384.728405] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2384.730567] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2384.731441] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2384.732252] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2384.733061] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2384.733894] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2384.734704] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2384.735533] CPU: 1 PID: 12923 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2384.736373] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2384.737438] Call Trace: [ 2384.737800] dump_stack+0x107/0x167 [ 2384.738243] should_fail.cold+0x5/0xa [ 2384.738702] ? create_object.isra.0+0x3a/0xa20 [ 2384.739249] should_failslab+0x5/0x20 [ 2384.739703] kmem_cache_alloc+0x5b/0x360 [ 2384.740201] create_object.isra.0+0x3a/0xa20 [ 2384.740729] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2384.741340] kmem_cache_alloc+0x159/0x360 [ 2384.741884] ? shmem_destroy_inode+0x70/0x70 [ 2384.742408] shmem_alloc_inode+0x18/0x40 [ 2384.742899] ? shmem_destroy_inode+0x70/0x70 [ 2384.743423] alloc_inode+0x63/0x240 [ 2384.743860] new_inode+0x23/0x250 [ 2384.744282] shmem_get_inode+0x15e/0xbc0 [ 2384.744779] __shmem_file_setup+0xb8/0x320 [ 2384.745287] ? _copy_from_user+0xfb/0x1b0 [ 2384.745822] __do_sys_memfd_create+0x275/0x450 [ 2384.746378] ? memfd_file_seals_ptr+0x170/0x170 [ 2384.746941] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2384.747568] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2384.748189] do_syscall_64+0x33/0x40 [ 2384.748635] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2384.749289] RIP: 0033:0x7fc61b82ab19 [ 2384.749790] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2384.752036] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2384.752948] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2384.753848] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2384.754708] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2384.755607] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2384.756459] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 10:16:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 1) 10:16:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff", 0xb, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:16:12 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(0xffffffffffffffff, r5, 0x0, 0x9bbb) 10:16:12 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 5) 10:16:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2010, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2384.774199] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:16:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1100, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:12 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x500, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), 0x0, 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2384.789401] FAT-fs (loop5): error, invalid access to FAT (entry 0x00fffff8) [ 2384.790389] FAT-fs (loop5): Filesystem has been set read-only [ 2384.819940] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:16:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 2) [ 2384.828653] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2384.829750] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2384.829761] FAT-fs (loop2): Filesystem has been set read-only [ 2384.838249] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2384.839149] FAT-fs (loop0): Filesystem has been set read-only 10:16:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2384.857247] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2384.859468] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2384.860415] FAT-fs (loop2): Filesystem has been set read-only 10:16:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2384.877147] FAULT_INJECTION: forcing a failure. [ 2384.877147] name failslab, interval 1, probability 0, space 0, times 0 [ 2384.878653] CPU: 0 PID: 12940 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2384.879533] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2384.880563] Call Trace: [ 2384.880912] dump_stack+0x107/0x167 [ 2384.881391] should_fail.cold+0x5/0xa [ 2384.881925] ? create_object.isra.0+0x3a/0xa20 [ 2384.882509] should_failslab+0x5/0x20 [ 2384.882995] kmem_cache_alloc+0x5b/0x360 [ 2384.883527] create_object.isra.0+0x3a/0xa20 [ 2384.884085] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2384.884728] __kmalloc+0x16e/0x3f0 [ 2384.885190] __do_sys_memfd_create+0xfb/0x450 [ 2384.885769] ? ksys_write+0x1a9/0x260 [ 2384.886248] ? memfd_file_seals_ptr+0x170/0x170 [ 2384.886827] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2384.887464] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2384.888102] do_syscall_64+0x33/0x40 [ 2384.888555] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2384.889187] RIP: 0033:0x7f7ae82ebb19 [ 2384.889813] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2384.892058] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2384.893009] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2384.893915] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2384.894802] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2384.895679] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2384.896541] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 10:16:12 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, 0xffffffffffffffff, 0x0, 0x9bbb) [ 2384.911069] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2384.913431] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2384.914345] FAT-fs (loop0): Filesystem has been set read-only [ 2384.944042] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2384.952193] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2384.954523] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2384.955530] FAT-fs (loop4): Filesystem has been set read-only 10:16:12 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x600, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2384.957882] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2384.959346] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2384.960320] FAT-fs (loop6): Filesystem has been set read-only [ 2384.980946] FAT-fs (loop5): bogus logical sector size 527 [ 2384.981761] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2384.982816] FAT-fs (loop5): Can't find a valid FAT filesystem 10:16:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 3) 10:16:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2385.037632] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2385.047031] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2385.048046] FAT-fs (loop6): Filesystem has been set read-only 10:16:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1201, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:12 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 6) [ 2385.069448] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:16:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2385.076830] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2385.077932] FAT-fs (loop2): Filesystem has been set read-only [ 2385.081145] FAULT_INJECTION: forcing a failure. [ 2385.081145] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2385.082738] CPU: 1 PID: 12959 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2385.083605] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2385.084638] Call Trace: [ 2385.084985] dump_stack+0x107/0x167 [ 2385.085453] should_fail.cold+0x5/0xa [ 2385.086786] _copy_from_user+0x2e/0x1b0 [ 2385.087688] __do_sys_memfd_create+0x16d/0x450 [ 2385.088726] ? memfd_file_seals_ptr+0x170/0x170 [ 2385.089755] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2385.090406] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2385.091071] do_syscall_64+0x33/0x40 [ 2385.091529] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2385.092160] RIP: 0033:0x7f7ae82ebb19 [ 2385.092636] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2385.095062] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2385.096016] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2385.096919] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2385.097958] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2385.098855] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2385.099751] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 10:16:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2385.190177] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2385.192471] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2385.193419] FAT-fs (loop0): Filesystem has been set read-only [ 2385.194530] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2385.196453] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2385.197431] FAT-fs (loop2): Filesystem has been set read-only [ 2385.203203] FAULT_INJECTION: forcing a failure. [ 2385.203203] name failslab, interval 1, probability 0, space 0, times 0 [ 2385.204614] CPU: 1 PID: 12970 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2385.205484] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2385.206019] FAT-fs (loop5): bogus logical sector size 527 [ 2385.206510] Call Trace: [ 2385.206534] dump_stack+0x107/0x167 [ 2385.206552] should_fail.cold+0x5/0xa [ 2385.207196] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2385.207470] ? security_inode_alloc+0x34/0x160 [ 2385.207890] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2385.208300] should_failslab+0x5/0x20 [ 2385.210986] kmem_cache_alloc+0x5b/0x360 [ 2385.211512] security_inode_alloc+0x34/0x160 [ 2385.212068] inode_init_always+0xa4e/0xd10 [ 2385.212604] ? shmem_destroy_inode+0x70/0x70 [ 2385.213154] alloc_inode+0x84/0x240 [ 2385.213636] new_inode+0x23/0x250 [ 2385.214085] shmem_get_inode+0x15e/0xbc0 [ 2385.214590] __shmem_file_setup+0xb8/0x320 [ 2385.215129] ? _copy_from_user+0xfb/0x1b0 [ 2385.215652] __do_sys_memfd_create+0x275/0x450 [ 2385.216239] ? memfd_file_seals_ptr+0x170/0x170 [ 2385.216826] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2385.217481] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2385.218187] do_syscall_64+0x33/0x40 [ 2385.218661] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2385.219306] RIP: 0033:0x7fc61b82ab19 [ 2385.219772] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2385.222041] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2385.222994] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2385.223872] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2385.224761] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2385.225697] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2385.226582] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2385.253628] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2385.256571] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2385.257481] FAT-fs (loop0): Filesystem has been set read-only 10:16:28 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2300, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:28 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:16:28 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x700, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:28 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 4) 10:16:28 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, 0xffffffffffffffff, 0x0, 0x9bbb) 10:16:28 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:16:28 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 7) 10:16:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1330, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2401.488127] FAULT_INJECTION: forcing a failure. [ 2401.488127] name failslab, interval 1, probability 0, space 0, times 0 [ 2401.489639] CPU: 0 PID: 12989 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2401.490861] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2401.491918] Call Trace: [ 2401.492253] dump_stack+0x107/0x167 [ 2401.492722] should_fail.cold+0x5/0xa [ 2401.493194] ? create_object.isra.0+0x3a/0xa20 [ 2401.493796] should_failslab+0x5/0x20 [ 2401.494262] kmem_cache_alloc+0x5b/0x360 [ 2401.494762] create_object.isra.0+0x3a/0xa20 [ 2401.495299] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2401.495919] kmem_cache_alloc+0x159/0x360 [ 2401.496434] security_inode_alloc+0x34/0x160 [ 2401.496999] inode_init_always+0xa4e/0xd10 [ 2401.497538] ? shmem_destroy_inode+0x70/0x70 [ 2401.498103] alloc_inode+0x84/0x240 [ 2401.498600] new_inode+0x23/0x250 [ 2401.499035] shmem_get_inode+0x15e/0xbc0 [ 2401.499555] __shmem_file_setup+0xb8/0x320 [ 2401.500076] ? _copy_from_user+0xfb/0x1b0 [ 2401.500629] __do_sys_memfd_create+0x275/0x450 [ 2401.501189] ? memfd_file_seals_ptr+0x170/0x170 [ 2401.501842] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2401.502532] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2401.503168] do_syscall_64+0x33/0x40 [ 2401.503648] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2401.504282] RIP: 0033:0x7fc61b82ab19 [ 2401.504739] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2401.506969] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2401.507912] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2401.508797] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2401.509686] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2401.510888] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2401.511796] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2401.534446] FAULT_INJECTION: forcing a failure. [ 2401.534446] name failslab, interval 1, probability 0, space 0, times 0 [ 2401.536144] CPU: 1 PID: 12996 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2401.537104] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2401.538273] Call Trace: [ 2401.538734] dump_stack+0x107/0x167 [ 2401.539193] should_fail.cold+0x5/0xa [ 2401.539760] ? shmem_alloc_inode+0x18/0x40 [ 2401.539939] FAT-fs (loop5): bogus logical sector size 527 [ 2401.540260] should_failslab+0x5/0x20 [ 2401.540930] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2401.541325] kmem_cache_alloc+0x5b/0x360 [ 2401.542310] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2401.542829] ? shmem_destroy_inode+0x70/0x70 [ 2401.542847] shmem_alloc_inode+0x18/0x40 [ 2401.544431] ? shmem_destroy_inode+0x70/0x70 [ 2401.544954] alloc_inode+0x63/0x240 [ 2401.545336] new_inode+0x23/0x250 [ 2401.545735] shmem_get_inode+0x15e/0xbc0 [ 2401.546203] __shmem_file_setup+0xb8/0x320 [ 2401.546689] ? _copy_from_user+0xfb/0x1b0 [ 2401.547134] __do_sys_memfd_create+0x275/0x450 [ 2401.547643] ? memfd_file_seals_ptr+0x170/0x170 [ 2401.548130] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2401.548800] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2401.549458] do_syscall_64+0x33/0x40 [ 2401.549937] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2401.550577] RIP: 0033:0x7f7ae82ebb19 [ 2401.551064] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2401.553359] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2401.554360] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2401.555284] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2401.556181] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2401.557098] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2401.558016] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2401.574504] FAT-fs (loop3): bread failed, FSINFO block (sector = 1) [ 2401.587840] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2401.594174] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2401.596428] FAT-fs (loop6): Filesystem has been set read-only [ 2401.628859] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2401.631793] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2401.634286] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2401.645665] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2401.647745] FAT-fs (loop0): Filesystem has been set read-only [ 2401.651208] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2401.653228] FAT-fs (loop2): Filesystem has been set read-only [ 2401.707246] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2401.716522] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2401.718514] FAT-fs (loop6): Filesystem has been set read-only [ 2401.761826] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2401.769093] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2401.771109] FAT-fs (loop0): Filesystem has been set read-only 10:16:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:16:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:16:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1930, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:44 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 8) 10:16:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 5) 10:16:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2330, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:16:44 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, 0xffffffffffffffff, 0x0, 0x9bbb) [ 2417.323825] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.337750] FAT-fs (loop5): Directory bread(block 64) failed [ 2417.338663] FAT-fs (loop5): Directory bread(block 65) failed [ 2417.342734] FAT-fs (loop5): Directory bread(block 66) failed [ 2417.343554] FAT-fs (loop5): Directory bread(block 67) failed [ 2417.347886] FAT-fs (loop5): Directory bread(block 68) failed [ 2417.348158] FAULT_INJECTION: forcing a failure. [ 2417.348158] name failslab, interval 1, probability 0, space 0, times 0 [ 2417.349777] FAT-fs (loop5): Directory bread(block 69) failed [ 2417.353082] CPU: 1 PID: 13024 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2417.353091] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2417.353102] Call Trace: [ 2417.354205] FAT-fs (loop5): Directory bread(block 70) failed [ 2417.356187] dump_stack+0x107/0x167 [ 2417.356214] should_fail.cold+0x5/0xa [ 2417.357817] FAT-fs (loop5): Directory bread(block 71) failed [ 2417.358558] ? __d_alloc+0x2a/0x990 [ 2417.359682] FAT-fs (loop5): Directory bread(block 72) failed [ 2417.360725] should_failslab+0x5/0x20 [ 2417.360740] kmem_cache_alloc+0x5b/0x360 [ 2417.360761] ? trace_hardirqs_on+0x5b/0x180 [ 2417.361525] FAT-fs (loop5): Directory bread(block 73) failed [ 2417.363257] __d_alloc+0x2a/0x990 [ 2417.363280] d_alloc_pseudo+0x19/0x70 [ 2417.363300] alloc_file_pseudo+0xce/0x250 [ 2417.363320] ? alloc_file+0x5a0/0x5a0 [ 2417.363343] ? shmem_get_inode+0x55c/0xbc0 [ 2417.377003] __shmem_file_setup+0x144/0x320 [ 2417.378277] ? _copy_from_user+0xfb/0x1b0 [ 2417.379525] __do_sys_memfd_create+0x275/0x450 [ 2417.380889] ? memfd_file_seals_ptr+0x170/0x170 [ 2417.382277] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2417.384024] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2417.385558] do_syscall_64+0x33/0x40 [ 2417.386668] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2417.388183] RIP: 0033:0x7fc61b82ab19 [ 2417.389263] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2417.394677] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2417.396928] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2417.398988] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2417.401058] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2417.403171] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2417.405277] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2417.416903] FAULT_INJECTION: forcing a failure. [ 2417.416903] name failslab, interval 1, probability 0, space 0, times 0 [ 2417.420345] CPU: 1 PID: 13025 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2417.422367] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2417.424866] Call Trace: [ 2417.425686] dump_stack+0x107/0x167 [ 2417.426769] should_fail.cold+0x5/0xa [ 2417.428004] ? create_object.isra.0+0x3a/0xa20 [ 2417.429304] should_failslab+0x5/0x20 [ 2417.430572] kmem_cache_alloc+0x5b/0x360 10:16:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2417.431860] create_object.isra.0+0x3a/0xa20 [ 2417.435252] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2417.435940] kmem_cache_alloc+0x159/0x360 [ 2417.436467] ? shmem_destroy_inode+0x70/0x70 [ 2417.437059] shmem_alloc_inode+0x18/0x40 [ 2417.437603] ? shmem_destroy_inode+0x70/0x70 [ 2417.438166] alloc_inode+0x63/0x240 [ 2417.438638] new_inode+0x23/0x250 [ 2417.439082] shmem_get_inode+0x15e/0xbc0 [ 2417.439607] __shmem_file_setup+0xb8/0x320 [ 2417.440145] ? _copy_from_user+0xfb/0x1b0 [ 2417.440674] __do_sys_memfd_create+0x275/0x450 [ 2417.441247] ? memfd_file_seals_ptr+0x170/0x170 [ 2417.441886] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2417.443527] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2417.444218] do_syscall_64+0x33/0x40 [ 2417.444748] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2417.445482] RIP: 0033:0x7f7ae82ebb19 [ 2417.445959] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2417.448483] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2417.449515] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2417.450628] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2417.451578] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2417.452539] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2417.453492] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 10:16:45 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 9) [ 2417.494920] FAT-fs (loop3): bread failed, FSINFO block (sector = 1) [ 2417.497470] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.500113] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2417.501027] FAT-fs (loop0): Filesystem has been set read-only [ 2417.516034] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.516313] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.519087] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2417.520097] FAT-fs (loop4): Filesystem has been set read-only [ 2417.522952] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2417.523951] FAT-fs (loop2): Filesystem has been set read-only [ 2417.537096] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.557144] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2417.558355] FAT-fs (loop6): Filesystem has been set read-only [ 2417.562660] FAULT_INJECTION: forcing a failure. [ 2417.562660] name failslab, interval 1, probability 0, space 0, times 0 [ 2417.564109] CPU: 1 PID: 13038 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2417.564996] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2417.566080] Call Trace: [ 2417.566464] dump_stack+0x107/0x167 [ 2417.566897] should_fail.cold+0x5/0xa [ 2417.567349] ? create_object.isra.0+0x3a/0xa20 [ 2417.567940] should_failslab+0x5/0x20 [ 2417.568448] kmem_cache_alloc+0x5b/0x360 [ 2417.568962] create_object.isra.0+0x3a/0xa20 [ 2417.569550] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2417.570178] kmem_cache_alloc+0x159/0x360 [ 2417.570729] ? trace_hardirqs_on+0x5b/0x180 [ 2417.571340] __d_alloc+0x2a/0x990 [ 2417.571875] d_alloc_pseudo+0x19/0x70 [ 2417.572444] alloc_file_pseudo+0xce/0x250 [ 2417.573034] ? alloc_file+0x5a0/0x5a0 [ 2417.573627] ? shmem_get_inode+0x55c/0xbc0 [ 2417.574259] __shmem_file_setup+0x144/0x320 [ 2417.574924] ? _copy_from_user+0xfb/0x1b0 [ 2417.575571] __do_sys_memfd_create+0x275/0x450 [ 2417.576233] ? memfd_file_seals_ptr+0x170/0x170 [ 2417.576988] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2417.577791] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2417.578586] do_syscall_64+0x33/0x40 [ 2417.579121] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2417.579942] RIP: 0033:0x7fc61b82ab19 10:16:45 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x0) [ 2417.580552] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2417.586823] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2417.588847] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2417.590836] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2417.592715] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2417.594583] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2417.596462] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 10:16:45 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:16:45 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 6) [ 2417.646563] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.650097] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.654660] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2417.656560] FAT-fs (loop0): Filesystem has been set read-only [ 2417.662269] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.664302] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2417.665562] FAT-fs (loop2): Filesystem has been set read-only [ 2417.695315] FAT-fs (loop5): Directory bread(block 64) failed [ 2417.697563] FAULT_INJECTION: forcing a failure. [ 2417.697563] name failslab, interval 1, probability 0, space 0, times 0 [ 2417.701021] CPU: 1 PID: 13048 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2417.703009] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2417.705360] Call Trace: [ 2417.706083] dump_stack+0x107/0x167 [ 2417.707098] should_fail.cold+0x5/0xa [ 2417.708176] ? security_inode_alloc+0x34/0x160 [ 2417.709450] should_failslab+0x5/0x20 [ 2417.710527] kmem_cache_alloc+0x5b/0x360 [ 2417.711666] security_inode_alloc+0x34/0x160 [ 2417.712897] inode_init_always+0xa4e/0xd10 [ 2417.714113] ? shmem_destroy_inode+0x70/0x70 [ 2417.715308] alloc_inode+0x84/0x240 10:16:45 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1bb5, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2417.716244] new_inode+0x23/0x250 [ 2417.717608] shmem_get_inode+0x15e/0xbc0 [ 2417.718727] __shmem_file_setup+0xb8/0x320 [ 2417.719823] ? _copy_from_user+0xfb/0x1b0 [ 2417.720907] __do_sys_memfd_create+0x275/0x450 [ 2417.722136] ? memfd_file_seals_ptr+0x170/0x170 [ 2417.723370] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2417.724752] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2417.726107] do_syscall_64+0x33/0x40 [ 2417.727065] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2417.728416] RIP: 0033:0x7f7ae82ebb19 [ 2417.729390] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2417.734275] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2417.736471] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2417.738359] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2417.740232] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2417.742112] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2417.743952] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2417.748895] FAT-fs (loop5): Directory bread(block 65) failed [ 2417.751667] FAT-fs (loop5): Directory bread(block 66) failed [ 2417.755539] FAT-fs (loop5): Directory bread(block 67) failed [ 2417.758522] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.759959] FAT-fs (loop5): Directory bread(block 68) failed [ 2417.762361] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2417.763570] FAT-fs (loop6): Filesystem has been set read-only [ 2417.765507] FAT-fs (loop5): Directory bread(block 69) failed [ 2417.769447] FAT-fs (loop5): Directory bread(block 70) failed [ 2417.772225] FAT-fs (loop5): Directory bread(block 71) failed [ 2417.772900] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2417.778495] FAT-fs (loop3): bread failed, FSINFO block (sector = 1) [ 2417.781747] FAT-fs (loop5): Directory bread(block 72) failed [ 2417.782708] FAT-fs (loop5): Directory bread(block 73) failed 10:16:45 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {0x0, 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:16:45 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x0) 10:16:45 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 7) [ 2417.858041] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.860294] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2417.861216] FAT-fs (loop0): Filesystem has been set read-only [ 2417.875696] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.877492] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2417.878498] FAT-fs (loop0): Filesystem has been set read-only [ 2417.898666] FAULT_INJECTION: forcing a failure. [ 2417.898666] name failslab, interval 1, probability 0, space 0, times 0 [ 2417.900082] CPU: 1 PID: 13059 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2417.900924] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2417.901931] Call Trace: [ 2417.902300] dump_stack+0x107/0x167 [ 2417.902761] should_fail.cold+0x5/0xa [ 2417.903224] ? create_object.isra.0+0x3a/0xa20 [ 2417.903781] should_failslab+0x5/0x20 [ 2417.904244] kmem_cache_alloc+0x5b/0x360 [ 2417.904790] create_object.isra.0+0x3a/0xa20 [ 2417.905346] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2417.905987] kmem_cache_alloc+0x159/0x360 [ 2417.906518] security_inode_alloc+0x34/0x160 [ 2417.907050] inode_init_always+0xa4e/0xd10 [ 2417.907562] ? shmem_destroy_inode+0x70/0x70 [ 2417.908102] alloc_inode+0x84/0x240 [ 2417.908554] new_inode+0x23/0x250 [ 2417.908982] shmem_get_inode+0x15e/0xbc0 [ 2417.909485] __shmem_file_setup+0xb8/0x320 [ 2417.910030] ? _copy_from_user+0xfb/0x1b0 [ 2417.910556] __do_sys_memfd_create+0x275/0x450 [ 2417.911113] ? memfd_file_seals_ptr+0x170/0x170 [ 2417.911694] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2417.912334] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2417.912967] do_syscall_64+0x33/0x40 [ 2417.913427] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2417.914084] RIP: 0033:0x7f7ae82ebb19 [ 2417.914548] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2417.917017] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2417.917948] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2417.918874] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2417.919742] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2417.920600] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2417.921463] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2417.983364] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2417.985428] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2417.986356] FAT-fs (loop4): Filesystem has been set read-only 10:17:01 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 10) 10:17:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 8) 10:17:01 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x0) 10:17:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2e00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2434.032759] FAULT_INJECTION: forcing a failure. [ 2434.032759] name failslab, interval 1, probability 0, space 0, times 0 [ 2434.034445] CPU: 0 PID: 13080 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2434.036069] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2434.038274] Call Trace: [ 2434.038701] dump_stack+0x107/0x167 [ 2434.039186] should_fail.cold+0x5/0xa [ 2434.039732] ? __alloc_file+0x21/0x320 [ 2434.040271] should_failslab+0x5/0x20 [ 2434.040811] kmem_cache_alloc+0x5b/0x360 [ 2434.041335] __alloc_file+0x21/0x320 [ 2434.041908] alloc_empty_file+0x6d/0x170 [ 2434.042536] alloc_file+0x59/0x5a0 [ 2434.043004] alloc_file_pseudo+0x16a/0x250 [ 2434.043599] ? alloc_file+0x5a0/0x5a0 [ 2434.044102] ? shmem_get_inode+0x55c/0xbc0 [ 2434.044692] __shmem_file_setup+0x144/0x320 [ 2434.045282] ? _copy_from_user+0xfb/0x1b0 [ 2434.045886] __do_sys_memfd_create+0x275/0x450 [ 2434.046601] ? memfd_file_seals_ptr+0x170/0x170 [ 2434.047184] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2434.047890] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2434.059192] do_syscall_64+0x33/0x40 [ 2434.059720] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2434.060417] RIP: 0033:0x7fc61b82ab19 [ 2434.061385] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2434.065567] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2434.068273] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2434.069699] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2434.070763] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2434.071827] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2434.072870] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2434.087256] FAULT_INJECTION: forcing a failure. [ 2434.087256] name failslab, interval 1, probability 0, space 0, times 0 [ 2434.088924] CPU: 1 PID: 13083 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2434.090037] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2434.091274] Call Trace: [ 2434.091689] dump_stack+0x107/0x167 [ 2434.092250] should_fail.cold+0x5/0xa [ 2434.092816] ? __d_alloc+0x2a/0x990 [ 2434.093374] should_failslab+0x5/0x20 10:17:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {0x0, 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1bb6, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2434.093952] kmem_cache_alloc+0x5b/0x360 [ 2434.095100] ? trace_hardirqs_on+0x5b/0x180 [ 2434.095726] __d_alloc+0x2a/0x990 [ 2434.096230] d_alloc_pseudo+0x19/0x70 [ 2434.096783] alloc_file_pseudo+0xce/0x250 [ 2434.097380] ? alloc_file+0x5a0/0x5a0 [ 2434.097932] ? shmem_get_inode+0x55c/0xbc0 [ 2434.100373] __shmem_file_setup+0x144/0x320 [ 2434.100995] ? _copy_from_user+0xfb/0x1b0 [ 2434.101583] __do_sys_memfd_create+0x275/0x450 [ 2434.102240] ? memfd_file_seals_ptr+0x170/0x170 [ 2434.102902] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2434.103657] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2434.104384] do_syscall_64+0x33/0x40 [ 2434.104913] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2434.105632] RIP: 0033:0x7f7ae82ebb19 [ 2434.106171] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2434.108888] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2434.111061] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2434.112118] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2434.113145] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2434.114176] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2434.115228] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2434.121011] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.124490] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2434.125907] FAT-fs (loop6): Filesystem has been set read-only [ 2434.142953] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.145817] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2434.147298] FAT-fs (loop0): Filesystem has been set read-only [ 2434.161384] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2434.165026] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2434.166287] FAT-fs (loop3): Filesystem has been set read-only [ 2434.182039] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.185283] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2434.186638] FAT-fs (loop2): Filesystem has been set read-only [ 2434.187484] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:17:01 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 11) [ 2434.198455] FAT-fs (loop5): Directory bread(block 64) failed [ 2434.221097] FAT-fs (loop5): Directory bread(block 65) failed 10:17:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 9) [ 2434.224169] FAT-fs (loop5): Directory bread(block 66) failed [ 2434.227410] FAT-fs (loop5): Directory bread(block 67) failed [ 2434.228246] FAT-fs (loop5): Directory bread(block 68) failed [ 2434.238746] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.241884] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2434.242858] FAT-fs (loop0): Filesystem has been set read-only [ 2434.244271] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.250440] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2434.251484] FAT-fs (loop6): Filesystem has been set read-only [ 2434.253687] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:17:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {0x0, 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2434.260339] FAULT_INJECTION: forcing a failure. [ 2434.260339] name failslab, interval 1, probability 0, space 0, times 0 [ 2434.261186] FAULT_INJECTION: forcing a failure. [ 2434.261186] name failslab, interval 1, probability 0, space 0, times 0 [ 2434.262838] CPU: 1 PID: 13102 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2434.265422] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2434.266614] Call Trace: [ 2434.267000] dump_stack+0x107/0x167 [ 2434.267531] should_fail.cold+0x5/0xa [ 2434.268085] ? create_object.isra.0+0x3a/0xa20 [ 2434.268735] should_failslab+0x5/0x20 [ 2434.269292] kmem_cache_alloc+0x5b/0x360 [ 2434.269878] create_object.isra.0+0x3a/0xa20 [ 2434.270524] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2434.271254] kmem_cache_alloc+0x159/0x360 [ 2434.271852] ? trace_hardirqs_on+0x5b/0x180 [ 2434.272480] __d_alloc+0x2a/0x990 [ 2434.272984] d_alloc_pseudo+0x19/0x70 [ 2434.273539] alloc_file_pseudo+0xce/0x250 [ 2434.274142] ? alloc_file+0x5a0/0x5a0 [ 2434.274726] ? shmem_get_inode+0x55c/0xbc0 [ 2434.275351] __shmem_file_setup+0x144/0x320 [ 2434.275984] ? _copy_from_user+0xfb/0x1b0 [ 2434.276589] __do_sys_memfd_create+0x275/0x450 [ 2434.277253] ? memfd_file_seals_ptr+0x170/0x170 [ 2434.277866] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2434.278521] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2434.279158] do_syscall_64+0x33/0x40 [ 2434.279635] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2434.280265] RIP: 0033:0x7f7ae82ebb19 [ 2434.280727] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2434.283203] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2434.285272] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2434.287136] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2434.289051] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2434.290952] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2434.292858] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2434.294825] CPU: 0 PID: 13103 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2434.296549] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2434.297680] Call Trace: [ 2434.298065] dump_stack+0x107/0x167 [ 2434.299259] should_fail.cold+0x5/0xa [ 2434.299843] ? create_object.isra.0+0x3a/0xa20 [ 2434.300504] should_failslab+0x5/0x20 [ 2434.301026] kmem_cache_alloc+0x5b/0x360 [ 2434.301593] create_object.isra.0+0x3a/0xa20 [ 2434.302214] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2434.302920] kmem_cache_alloc+0x159/0x360 [ 2434.303506] __alloc_file+0x21/0x320 [ 2434.304024] alloc_empty_file+0x6d/0x170 [ 2434.304592] alloc_file+0x59/0x5a0 [ 2434.305091] alloc_file_pseudo+0x16a/0x250 [ 2434.305691] ? alloc_file+0x5a0/0x5a0 [ 2434.306246] ? shmem_get_inode+0x55c/0xbc0 [ 2434.306838] __shmem_file_setup+0x144/0x320 [ 2434.307446] ? _copy_from_user+0xfb/0x1b0 [ 2434.308026] __do_sys_memfd_create+0x275/0x450 [ 2434.308707] ? memfd_file_seals_ptr+0x170/0x170 [ 2434.309366] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2434.310121] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2434.311476] do_syscall_64+0x33/0x40 [ 2434.312009] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2434.313123] RIP: 0033:0x7fc61b82ab19 [ 2434.313678] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2434.316258] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2434.317335] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2434.318353] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2434.319382] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2434.320406] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2434.321572] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2434.323954] FAT-fs (loop5): Directory bread(block 69) failed [ 2434.326239] FAT-fs (loop5): Directory bread(block 70) failed [ 2434.327260] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2434.328339] FAT-fs (loop2): Filesystem has been set read-only [ 2434.330733] FAT-fs (loop5): Directory bread(block 71) failed [ 2434.331446] FAT-fs (loop5): Directory bread(block 72) failed [ 2434.336018] FAT-fs (loop5): Directory bread(block 73) failed [ 2434.379981] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.384146] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2434.385149] FAT-fs (loop4): Filesystem has been set read-only 10:17:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2fec, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1c00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2434.402598] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2434.406124] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2434.408151] FAT-fs (loop3): Filesystem has been set read-only 10:17:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1bb7, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {0x0, 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2434.426874] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:17:02 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 10) [ 2434.515988] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.518152] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2434.523194] FAT-fs (loop2): Filesystem has been set read-only [ 2434.534476] FAULT_INJECTION: forcing a failure. [ 2434.534476] name failslab, interval 1, probability 0, space 0, times 0 [ 2434.535963] CPU: 1 PID: 13121 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2434.536820] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2434.537846] Call Trace: [ 2434.538184] dump_stack+0x107/0x167 [ 2434.538660] should_fail.cold+0x5/0xa [ 2434.539145] ? __alloc_file+0x21/0x320 [ 2434.539629] should_failslab+0x5/0x20 [ 2434.540105] kmem_cache_alloc+0x5b/0x360 [ 2434.540617] __alloc_file+0x21/0x320 [ 2434.541095] alloc_empty_file+0x6d/0x170 [ 2434.541610] alloc_file+0x59/0x5a0 [ 2434.542063] alloc_file_pseudo+0x16a/0x250 [ 2434.542621] ? alloc_file+0x5a0/0x5a0 [ 2434.543113] ? shmem_get_inode+0x55c/0xbc0 [ 2434.543652] __shmem_file_setup+0x144/0x320 [ 2434.544196] ? _copy_from_user+0xfb/0x1b0 [ 2434.544714] __do_sys_memfd_create+0x275/0x450 [ 2434.545295] ? memfd_file_seals_ptr+0x170/0x170 [ 2434.545887] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2434.546559] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2434.547218] do_syscall_64+0x33/0x40 [ 2434.547689] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2434.548325] RIP: 0033:0x7f7ae82ebb19 [ 2434.548794] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2434.551078] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2434.552024] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2434.552910] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2434.553791] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2434.554715] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2434.555594] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2434.571679] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.576784] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.579024] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2434.580854] FAT-fs (loop0): Filesystem has been set read-only [ 2434.590381] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2434.592442] FAT-fs (loop5): Directory bread(block 64) failed [ 2434.593189] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2434.593567] FAT-fs (loop5): Directory bread(block 65) failed [ 2434.594269] FAT-fs (loop2): Filesystem has been set read-only [ 2434.594929] FAT-fs (loop5): Directory bread(block 66) failed [ 2434.597942] FAT-fs (loop5): Directory bread(block 67) failed [ 2434.599405] FAT-fs (loop5): Directory bread(block 68) failed [ 2434.602320] FAT-fs (loop5): Directory bread(block 69) failed [ 2434.604044] FAT-fs (loop5): Directory bread(block 70) failed [ 2434.608689] FAT-fs (loop5): Directory bread(block 71) failed [ 2434.610513] FAT-fs (loop5): Directory bread(block 72) failed [ 2434.612426] FAT-fs (loop5): Directory bread(block 73) failed [ 2450.857074] FAULT_INJECTION: forcing a failure. [ 2450.857074] name failslab, interval 1, probability 0, space 0, times 0 [ 2450.858526] CPU: 0 PID: 13135 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2450.859363] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2450.860360] Call Trace: [ 2450.860700] dump_stack+0x107/0x167 [ 2450.861152] should_fail.cold+0x5/0xa [ 2450.861654] ? security_file_alloc+0x34/0x170 [ 2450.862203] should_failslab+0x5/0x20 [ 2450.862687] kmem_cache_alloc+0x5b/0x360 [ 2450.863187] security_file_alloc+0x34/0x170 [ 2450.863716] __alloc_file+0xb6/0x320 [ 2450.864173] alloc_empty_file+0x6d/0x170 [ 2450.864671] alloc_file+0x59/0x5a0 [ 2450.865108] alloc_file_pseudo+0x16a/0x250 [ 2450.865624] ? alloc_file+0x5a0/0x5a0 [ 2450.866092] ? shmem_get_inode+0x55c/0xbc0 [ 2450.866638] __shmem_file_setup+0x144/0x320 [ 2450.867161] ? _copy_from_user+0xfb/0x1b0 [ 2450.867668] __do_sys_memfd_create+0x275/0x450 [ 2450.868224] ? memfd_file_seals_ptr+0x170/0x170 [ 2450.868794] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2450.869208] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2450.869433] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2450.871139] do_syscall_64+0x33/0x40 [ 2450.871605] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2450.872238] RIP: 0033:0x7fc61b82ab19 [ 2450.872703] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2450.874972] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2450.875916] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2450.876794] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2450.877671] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2450.877864] FAT-fs (loop5): Directory bread(block 64) failed [ 2450.879303] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2450.879313] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2450.881977] FAT-fs (loop5): Directory bread(block 65) failed [ 2450.882776] FAT-fs (loop5): Directory bread(block 66) failed [ 2450.884152] FAULT_INJECTION: forcing a failure. [ 2450.884152] name failslab, interval 1, probability 0, space 0, times 0 [ 2450.885667] CPU: 1 PID: 13141 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2450.886570] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2450.887609] Call Trace: [ 2450.887957] dump_stack+0x107/0x167 [ 2450.888428] should_fail.cold+0x5/0xa [ 2450.888920] ? create_object.isra.0+0x3a/0xa20 10:17:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 12) 10:17:18 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3017, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:18 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {0x0, 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 11) 10:17:18 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) (fail_nth: 1) 10:17:18 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2450.889504] should_failslab+0x5/0x20 [ 2450.895471] kmem_cache_alloc+0x5b/0x360 [ 2450.896453] create_object.isra.0+0x3a/0xa20 [ 2450.897492] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2450.898761] kmem_cache_alloc+0x159/0x360 [ 2450.899755] __alloc_file+0x21/0x320 [ 2450.900665] alloc_empty_file+0x6d/0x170 [ 2450.901698] alloc_file+0x59/0x5a0 [ 2450.902628] alloc_file_pseudo+0x16a/0x250 [ 2450.903664] ? alloc_file+0x5a0/0x5a0 [ 2450.904576] ? shmem_get_inode+0x55c/0xbc0 [ 2450.905596] __shmem_file_setup+0x144/0x320 [ 2450.906678] ? _copy_from_user+0xfb/0x1b0 [ 2450.907669] __do_sys_memfd_create+0x275/0x450 [ 2450.908768] ? memfd_file_seals_ptr+0x170/0x170 [ 2450.909900] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 10:17:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080), 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2450.911341] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2450.915036] do_syscall_64+0x33/0x40 [ 2450.915516] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2450.916149] RIP: 0033:0x7f7ae82ebb19 [ 2450.916619] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2450.922947] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2450.924037] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2450.925088] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2450.926111] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2450.927124] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2450.928160] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2450.929531] FAT-fs (loop5): Directory bread(block 67) failed [ 2450.930426] FAT-fs (loop5): Directory bread(block 68) failed [ 2450.931326] FAT-fs (loop5): Directory bread(block 69) failed [ 2450.932191] FAT-fs (loop5): Directory bread(block 70) failed [ 2450.932957] FAT-fs (loop5): Directory bread(block 71) failed [ 2450.933744] FAT-fs (loop5): Directory bread(block 72) failed [ 2450.934491] FAT-fs (loop5): Directory bread(block 73) failed [ 2450.961197] FAULT_INJECTION: forcing a failure. [ 2450.961197] name failslab, interval 1, probability 0, space 0, times 0 [ 2450.963227] CPU: 0 PID: 13131 Comm: syz-executor.7 Not tainted 5.10.168 #1 [ 2450.964072] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2450.965079] Call Trace: [ 2450.965407] dump_stack+0x107/0x167 [ 2450.965852] should_fail.cold+0x5/0xa [ 2450.966316] ? alloc_pipe_info+0x105/0x580 [ 2450.966869] should_failslab+0x5/0x20 [ 2450.967328] kmem_cache_alloc_trace+0x55/0x360 [ 2450.967880] alloc_pipe_info+0x105/0x580 [ 2450.968369] ? __lock_acquire+0xbb1/0x5b00 [ 2450.968897] splice_direct_to_actor+0x774/0x980 [ 2450.969466] ? _cond_resched+0x12/0x80 [ 2450.969956] ? pipe_to_sendpage+0x380/0x380 [ 2450.970517] ? selinux_file_permission+0x36/0x510 [ 2450.971131] ? do_splice_to+0x160/0x160 [ 2450.971624] ? security_file_permission+0x24e/0x570 [ 2450.972239] do_splice_direct+0x1c4/0x290 [ 2450.972748] ? splice_direct_to_actor+0x980/0x980 [ 2450.973337] ? selinux_file_permission+0x36/0x510 [ 2450.973941] ? security_file_permission+0x24e/0x570 [ 2450.974590] do_sendfile+0x553/0x1040 [ 2450.975067] ? do_pwritev+0x270/0x270 [ 2450.975543] ? wait_for_completion_io+0x270/0x270 [ 2450.976157] ? rcu_read_lock_any_held+0x75/0xa0 [ 2450.976718] ? vfs_write+0x354/0xa30 [ 2450.977189] __x64_sys_sendfile64+0x1d1/0x210 [ 2450.977742] ? __ia32_sys_sendfile+0x220/0x220 [ 2450.978307] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2450.978958] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2450.979592] do_syscall_64+0x33/0x40 [ 2450.980051] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2450.980681] RIP: 0033:0x7fe6208cab19 [ 2450.981146] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2450.983412] RSP: 002b:00007fe61de40188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2450.984364] RAX: ffffffffffffffda RBX: 00007fe6209ddf60 RCX: 00007fe6208cab19 [ 2450.985253] RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 [ 2450.986139] RBP: 00007fe61de401d0 R08: 0000000000000000 R09: 0000000000000000 [ 2450.987011] R10: 0000000000009bbb R11: 0000000000000246 R12: 0000000000000001 [ 2450.987899] R13: 00007ffcd82eff1f R14: 00007fe61de40300 R15: 0000000000022000 10:17:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 13) [ 2451.022180] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2451.023486] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.025434] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.027995] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.031234] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.033239] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2451.034246] FAT-fs (loop3): Filesystem has been set read-only [ 2451.039703] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2451.040678] FAT-fs (loop0): Filesystem has been set read-only [ 2451.042560] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2451.043501] FAT-fs (loop2): Filesystem has been set read-only [ 2451.047287] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2451.048240] FAT-fs (loop6): Filesystem has been set read-only [ 2451.051694] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2451.052553] FAT-fs (loop4): Filesystem has been set read-only 10:17:18 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {0x0, 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2451.083123] FAULT_INJECTION: forcing a failure. [ 2451.083123] name failslab, interval 1, probability 0, space 0, times 0 [ 2451.084622] CPU: 0 PID: 13159 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2451.085468] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2451.086493] Call Trace: [ 2451.086840] dump_stack+0x107/0x167 [ 2451.087295] should_fail.cold+0x5/0xa [ 2451.087770] ? create_object.isra.0+0x3a/0xa20 [ 2451.088331] should_failslab+0x5/0x20 [ 2451.088800] kmem_cache_alloc+0x5b/0x360 [ 2451.089327] ? percpu_ref_put_many.constprop.0+0x4e/0x100 [ 2451.090016] create_object.isra.0+0x3a/0xa20 [ 2451.090592] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2451.091216] kmem_cache_alloc+0x159/0x360 [ 2451.091739] security_file_alloc+0x34/0x170 [ 2451.092273] __alloc_file+0xb6/0x320 [ 2451.092736] alloc_empty_file+0x6d/0x170 [ 2451.093240] alloc_file+0x59/0x5a0 [ 2451.093681] alloc_file_pseudo+0x16a/0x250 [ 2451.094206] ? alloc_file+0x5a0/0x5a0 [ 2451.094708] ? shmem_get_inode+0x55c/0xbc0 [ 2451.095231] __shmem_file_setup+0x144/0x320 [ 2451.095769] ? _copy_from_user+0xfb/0x1b0 [ 2451.096282] __do_sys_memfd_create+0x275/0x450 [ 2451.096844] ? memfd_file_seals_ptr+0x170/0x170 [ 2451.097416] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2451.098063] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2451.098704] do_syscall_64+0x33/0x40 [ 2451.099170] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2451.099799] RIP: 0033:0x7fc61b82ab19 [ 2451.100261] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2451.102520] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2451.103501] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b82ab19 [ 2451.104363] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007fc61b8840fb [ 2451.105226] RBP: 0000000000000003 R08: 0000000000004000 R09: ffffffffffffffff [ 2451.106092] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000008100000 [ 2451.106984] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2451.148370] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.152301] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2451.153297] FAT-fs (loop2): Filesystem has been set read-only 10:17:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080), 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:18 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) (fail_nth: 2) 10:17:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 12) [ 2451.228461] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.238206] FAT-fs (loop5): Directory bread(block 64) failed 10:17:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3f00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2451.239085] FAT-fs (loop5): Directory bread(block 65) failed [ 2451.239963] FAT-fs (loop5): Directory bread(block 66) failed [ 2451.242270] FAT-fs (loop5): Directory bread(block 67) failed 10:17:18 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2010, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2451.243980] FAT-fs (loop5): Directory bread(block 68) failed [ 2451.248274] FAT-fs (loop5): Directory bread(block 69) failed [ 2451.249358] FAT-fs (loop5): Directory bread(block 70) failed [ 2451.250990] FAT-fs (loop5): Directory bread(block 71) failed [ 2451.252593] FAT-fs (loop5): Directory bread(block 72) failed [ 2451.253530] FAT-fs (loop5): Directory bread(block 73) failed [ 2451.290331] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2451.294699] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.307464] FAULT_INJECTION: forcing a failure. [ 2451.307464] name failslab, interval 1, probability 0, space 0, times 0 [ 2451.310692] CPU: 0 PID: 13175 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2451.312371] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2451.314291] Call Trace: [ 2451.315028] dump_stack+0x107/0x167 [ 2451.315915] should_fail.cold+0x5/0xa [ 2451.316865] ? security_file_alloc+0x34/0x170 [ 2451.317922] should_failslab+0x5/0x20 [ 2451.318899] kmem_cache_alloc+0x5b/0x360 [ 2451.319205] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2451.319884] security_file_alloc+0x34/0x170 [ 2451.319905] __alloc_file+0xb6/0x320 [ 2451.319922] alloc_empty_file+0x6d/0x170 [ 2451.319939] alloc_file+0x59/0x5a0 [ 2451.319957] alloc_file_pseudo+0x16a/0x250 [ 2451.319972] ? alloc_file+0x5a0/0x5a0 [ 2451.319992] ? shmem_get_inode+0x55c/0xbc0 [ 2451.320013] __shmem_file_setup+0x144/0x320 [ 2451.320028] ? _copy_from_user+0xfb/0x1b0 [ 2451.320046] __do_sys_memfd_create+0x275/0x450 [ 2451.320061] ? memfd_file_seals_ptr+0x170/0x170 [ 2451.320082] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2451.320097] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2451.320116] do_syscall_64+0x33/0x40 [ 2451.320133] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2451.320144] RIP: 0033:0x7f7ae82ebb19 [ 2451.320161] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2451.320169] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2451.320185] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2451.320195] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2451.320204] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2451.320213] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2451.320222] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2451.341369] FAT-fs (loop6): Filesystem has been set read-only [ 2451.386366] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.387963] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2451.389546] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2451.390568] FAT-fs (loop0): Filesystem has been set read-only [ 2451.392676] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2451.393818] FAT-fs (loop3): Filesystem has been set read-only [ 2451.394839] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.427148] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2451.428076] FAT-fs (loop2): Filesystem has been set read-only [ 2451.477097] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.481597] FAULT_INJECTION: forcing a failure. [ 2451.481597] name failslab, interval 1, probability 0, space 0, times 0 [ 2451.484166] CPU: 0 PID: 13168 Comm: syz-executor.7 Not tainted 5.10.168 #1 [ 2451.485010] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2451.486064] Call Trace: [ 2451.486399] dump_stack+0x107/0x167 [ 2451.486893] should_fail.cold+0x5/0xa [ 2451.487363] ? create_object.isra.0+0x3a/0xa20 [ 2451.487925] should_failslab+0x5/0x20 [ 2451.488395] kmem_cache_alloc+0x5b/0x360 [ 2451.488955] create_object.isra.0+0x3a/0xa20 [ 2451.489500] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2451.490150] kmem_cache_alloc_trace+0x151/0x360 [ 2451.490802] alloc_pipe_info+0x105/0x580 [ 2451.491308] ? __lock_acquire+0xbb1/0x5b00 [ 2451.491863] splice_direct_to_actor+0x774/0x980 [ 2451.492432] ? _cond_resched+0x12/0x80 [ 2451.492957] ? pipe_to_sendpage+0x380/0x380 [ 2451.493490] ? selinux_file_permission+0x36/0x510 [ 2451.494109] ? do_splice_to+0x160/0x160 [ 2451.494615] ? security_file_permission+0x24e/0x570 [ 2451.495282] do_splice_direct+0x1c4/0x290 [ 2451.495824] ? splice_direct_to_actor+0x980/0x980 [ 2451.496414] ? selinux_file_permission+0x36/0x510 [ 2451.497058] ? security_file_permission+0x24e/0x570 [ 2451.497685] do_sendfile+0x553/0x1040 [ 2451.498162] ? do_pwritev+0x270/0x270 [ 2451.498659] ? wait_for_completion_io+0x270/0x270 [ 2451.499291] ? rcu_read_lock_any_held+0x75/0xa0 [ 2451.499951] ? vfs_write+0x354/0xa30 [ 2451.500792] __x64_sys_sendfile64+0x1d1/0x210 [ 2451.501785] ? __ia32_sys_sendfile+0x220/0x220 [ 2451.502873] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2451.504006] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2451.505150] do_syscall_64+0x33/0x40 [ 2451.505728] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2451.506359] RIP: 0033:0x7fe6208cab19 [ 2451.509732] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2451.512302] RSP: 002b:00007fe61de40188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2451.513346] RAX: ffffffffffffffda RBX: 00007fe6209ddf60 RCX: 00007fe6208cab19 [ 2451.514739] RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 [ 2451.516037] RBP: 00007fe61de401d0 R08: 0000000000000000 R09: 0000000000000000 [ 2451.517292] R10: 0000000000009bbb R11: 0000000000000246 R12: 0000000000000001 [ 2451.518576] R13: 00007ffcd82eff1f R14: 00007fe61de40300 R15: 0000000000022000 [ 2451.532832] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2451.534869] FAT-fs (loop0): Filesystem has been set read-only [ 2451.580399] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2451.582145] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2451.584103] FAT-fs (loop2): Filesystem has been set read-only 10:17:35 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 14) 10:17:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6700, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:35 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2300, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:35 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3018, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100), 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:35 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 13) [ 2467.907991] FAULT_INJECTION: forcing a failure. [ 2467.907991] name failslab, interval 1, probability 0, space 0, times 0 [ 2467.909433] CPU: 0 PID: 13197 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2467.910305] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2467.911387] Call Trace: [ 2467.911754] dump_stack+0x107/0x167 [ 2467.912208] should_fail.cold+0x5/0xa [ 2467.912687] ? create_object.isra.0+0x3a/0xa20 [ 2467.913253] should_failslab+0x5/0x20 [ 2467.913727] kmem_cache_alloc+0x5b/0x360 [ 2467.914239] ? percpu_ref_put_many.constprop.0+0x4e/0x100 [ 2467.914961] create_object.isra.0+0x3a/0xa20 [ 2467.915504] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2467.916185] kmem_cache_alloc+0x159/0x360 [ 2467.916742] security_file_alloc+0x34/0x170 [ 2467.917279] __alloc_file+0xb6/0x320 [ 2467.917762] alloc_empty_file+0x6d/0x170 10:17:35 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080), 0x0, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:35 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2467.918292] alloc_file+0x59/0x5a0 [ 2467.920766] FAULT_INJECTION: forcing a failure. [ 2467.920766] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2467.926833] alloc_file_pseudo+0x16a/0x250 [ 2467.926855] ? alloc_file+0x5a0/0x5a0 [ 2467.926880] ? shmem_get_inode+0x55c/0xbc0 [ 2467.926903] __shmem_file_setup+0x144/0x320 [ 2467.930388] ? _copy_from_user+0xfb/0x1b0 [ 2467.930969] __do_sys_memfd_create+0x275/0x450 [ 2467.931531] ? memfd_file_seals_ptr+0x170/0x170 [ 2467.932104] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2467.932741] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2467.933389] do_syscall_64+0x33/0x40 [ 2467.933855] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2467.934480] RIP: 0033:0x7f7ae82ebb19 [ 2467.934988] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2467.937273] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2467.938264] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f7ae82ebb19 [ 2467.939213] RDX: 0000000000008000 RSI: 0000000000000000 RDI: 00007f7ae83450fb [ 2467.940123] RBP: 0000000000000002 R08: 0000000000004000 R09: ffffffffffffffff [ 2467.941025] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2467.941931] R13: 0000000020000100 R14: 0000000000008000 R15: 0000000020000140 [ 2467.942910] CPU: 1 PID: 13195 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2467.943912] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2467.944945] Call Trace: [ 2467.945293] dump_stack+0x107/0x167 [ 2467.945755] should_fail.cold+0x5/0xa [ 2467.946254] __alloc_pages_nodemask+0x182/0x680 [ 2467.946881] ? __alloc_pages_slowpath.constprop.0+0x2220/0x2220 [ 2467.947685] ? lock_downgrade+0x6d0/0x6d0 [ 2467.948213] alloc_pages_vma+0xbb/0x410 [ 2467.948716] shmem_alloc_page+0x10f/0x1e0 [ 2467.949237] ? shmem_init_inode+0x20/0x20 [ 2467.949781] ? percpu_counter_add_batch+0x8b/0x140 [ 2467.950388] ? __vm_enough_memory+0x184/0x360 [ 2467.950967] shmem_getpage_gfp.constprop.0+0x512/0x1920 [ 2467.951637] ? shmem_unuse_inode+0xed0/0xed0 [ 2467.952184] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2467.952819] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2467.953445] shmem_write_begin+0xf7/0x1d0 [ 2467.953960] generic_perform_write+0x20a/0x4f0 [ 2467.954536] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2467.955459] ? evict_inodes+0x420/0x420 [ 2467.955962] ? generic_write_checks+0x2ad/0x390 [ 2467.956544] __generic_file_write_iter+0x39d/0x5d0 [ 2467.957160] generic_file_write_iter+0xdb/0x230 [ 2467.957736] ? iov_iter_init+0x3c/0x130 [ 2467.958245] new_sync_write+0x42c/0x660 [ 2467.958820] ? new_sync_read+0x6f0/0x6f0 [ 2467.959337] ? __x64_sys_pwrite64+0x201/0x260 [ 2467.959942] ? lock_release+0x6b0/0x6b0 [ 2467.960429] ? selinux_file_permission+0x36/0x510 [ 2467.961060] vfs_write+0x747/0xa30 [ 2467.961497] __x64_sys_pwrite64+0x201/0x260 [ 2467.962072] ? ksys_pwrite64+0x1b0/0x1b0 [ 2467.962576] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2467.963272] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2467.963954] do_syscall_64+0x33/0x40 [ 2467.964403] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2467.965046] RIP: 0033:0x7fc61b7ddab7 [ 2467.965508] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2467.967857] RSP: 002b:00007fc618d9ff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2467.968816] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7ddab7 [ 2467.969680] RDX: 0000000000000025 RSI: 0000000020010000 RDI: 0000000000000004 [ 2467.970566] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffffffffffff [ 2467.971481] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2467.972341] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2467.984222] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2467.990882] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2467.991835] FAT-fs (loop2): Filesystem has been set read-only [ 2468.003208] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.005183] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2468.006108] FAT-fs (loop6): Filesystem has been set read-only [ 2468.017652] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.019782] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.021507] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2468.022486] FAT-fs (loop4): Filesystem has been set read-only [ 2468.033266] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.033884] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2468.038642] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2468.038961] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2468.039772] FAT-fs (loop3): Filesystem has been set read-only [ 2468.040734] FAT-fs (loop0): Filesystem has been set read-only [ 2468.050447] FAT-fs (loop5): Directory bread(block 64) failed [ 2468.056457] FAT-fs (loop5): Directory bread(block 65) failed [ 2468.057247] FAT-fs (loop5): Directory bread(block 66) failed [ 2468.058288] FAT-fs (loop5): Directory bread(block 67) failed [ 2468.059145] FAT-fs (loop5): Directory bread(block 68) failed [ 2468.060064] FAT-fs (loop5): Directory bread(block 69) failed [ 2468.060857] FAT-fs (loop5): Directory bread(block 70) failed [ 2468.061718] FAT-fs (loop5): Directory bread(block 71) failed [ 2468.062486] FAT-fs (loop5): Directory bread(block 72) failed [ 2468.063398] FAT-fs (loop5): Directory bread(block 73) failed [ 2468.085436] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.087379] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2468.088533] FAT-fs (loop6): Filesystem has been set read-only 10:17:35 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 14) [ 2468.116421] FAT-fs (loop1): bogus number of reserved sectors [ 2468.117488] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2468.120373] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.122166] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2468.123118] FAT-fs (loop2): Filesystem has been set read-only [ 2468.124223] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.128055] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2468.129024] FAT-fs (loop0): Filesystem has been set read-only 10:17:35 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3023, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100), 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2468.177031] FAULT_INJECTION: forcing a failure. [ 2468.177031] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2468.178685] CPU: 0 PID: 13215 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2468.179667] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2468.180780] Call Trace: [ 2468.181114] dump_stack+0x107/0x167 [ 2468.181662] should_fail.cold+0x5/0xa 10:17:35 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) mount$9p_fd(0x0, &(0x7f0000000000)='./file1\x00', &(0x7f0000000080), 0x1048018, &(0x7f0000000240)=ANY=[@ANYBLOB="d4070000000000002c7266646e6f91", @ANYRESHEX, @ANYBLOB=',wfdno=', @ANYRESHEX, @ANYBLOB="2c64666c747569643d793203695982522794c68a1a5c18772df34cf7417310080611ab0ef511d504000be683fa000074d694b8bd3ff35f12", @ANYRESHEX=0xee00, @ANYBLOB=',smackfsdef=,\x00']) ioctl$EXT4_IOC_GROUP_EXTEND(0xffffffffffffffff, 0x40086607, &(0x7f00000004c0)) ioctl$RTC_VL_CLR(0xffffffffffffffff, 0x7014) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r3, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r3) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {0xffffffffffffffff, 0x100}, {r1}, {r2}, {r3, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r4 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, r4, 0x0, 0x9bbb) [ 2468.182149] __alloc_pages_nodemask+0x182/0x680 [ 2468.187344] ? __alloc_pages_slowpath.constprop.0+0x2220/0x2220 [ 2468.188079] ? lock_downgrade+0x6d0/0x6d0 [ 2468.188711] alloc_pages_vma+0xbb/0x410 [ 2468.189265] shmem_alloc_page+0x10f/0x1e0 [ 2468.189787] ? shmem_init_inode+0x20/0x20 [ 2468.190462] ? percpu_counter_add_batch+0x8b/0x140 [ 2468.191090] ? __vm_enough_memory+0x184/0x360 [ 2468.191714] shmem_getpage_gfp.constprop.0+0x512/0x1920 [ 2468.192452] ? shmem_unuse_inode+0xed0/0xed0 [ 2468.193004] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2468.193736] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2468.194489] shmem_write_begin+0xf7/0x1d0 [ 2468.195029] generic_perform_write+0x20a/0x4f0 [ 2468.195701] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2468.196676] ? evict_inodes+0x420/0x420 [ 2468.197173] ? generic_write_checks+0x2ad/0x390 [ 2468.197848] __generic_file_write_iter+0x39d/0x5d0 [ 2468.198570] generic_file_write_iter+0xdb/0x230 [ 2468.203205] ? iov_iter_init+0x3c/0x130 [ 2468.203693] new_sync_write+0x42c/0x660 [ 2468.204182] ? new_sync_read+0x6f0/0x6f0 [ 2468.204691] ? __x64_sys_pwrite64+0x201/0x260 [ 2468.205277] ? lock_release+0x6b0/0x6b0 [ 2468.205768] ? selinux_file_permission+0x36/0x510 [ 2468.206387] vfs_write+0x747/0xa30 [ 2468.210877] __x64_sys_pwrite64+0x201/0x260 [ 2468.211454] ? ksys_pwrite64+0x1b0/0x1b0 [ 2468.211955] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2468.212629] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2468.213279] do_syscall_64+0x33/0x40 [ 2468.213769] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2468.214428] RIP: 0033:0x7f7ae829eab7 [ 2468.214930] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2468.217187] RSP: 002b:00007f7ae5860f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2468.218168] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829eab7 [ 2468.219134] RDX: 000000000000002d RSI: 0000000020010000 RDI: 0000000000000004 [ 2468.219997] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2468.220906] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2468.221805] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 10:17:35 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffff", 0x6, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8004, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:35 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2e00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:35 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 15) [ 2468.298745] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2468.305760] FAT-fs (loop4): bogus number of reserved sectors [ 2468.306565] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2468.310850] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2468.311853] FAT-fs (loop3): Filesystem has been set read-only [ 2468.316233] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.328094] FAULT_INJECTION: forcing a failure. [ 2468.328094] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2468.329642] CPU: 1 PID: 13233 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2468.330494] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2468.331611] Call Trace: [ 2468.331949] dump_stack+0x107/0x167 [ 2468.332399] should_fail.cold+0x5/0xa [ 2468.332926] iov_iter_copy_from_user_atomic+0x49b/0xdb0 [ 2468.333627] ? shmem_write_begin+0xf7/0x1d0 [ 2468.334161] ? shmem_write_begin+0x100/0x1d0 [ 2468.334767] generic_perform_write+0x279/0x4f0 [ 2468.335330] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2468.336190] ? evict_inodes+0x420/0x420 [ 2468.336703] ? generic_write_checks+0x2ad/0x390 [ 2468.337259] __generic_file_write_iter+0x39d/0x5d0 [ 2468.337886] generic_file_write_iter+0xdb/0x230 [ 2468.338467] ? iov_iter_init+0x3c/0x130 [ 2468.339008] new_sync_write+0x42c/0x660 [ 2468.339528] ? new_sync_read+0x6f0/0x6f0 [ 2468.340066] ? __x64_sys_pwrite64+0x201/0x260 [ 2468.340666] ? lock_release+0x6b0/0x6b0 [ 2468.341160] ? selinux_file_permission+0x36/0x510 [ 2468.341819] vfs_write+0x747/0xa30 [ 2468.342259] __x64_sys_pwrite64+0x201/0x260 [ 2468.342845] ? ksys_pwrite64+0x1b0/0x1b0 [ 2468.343352] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2468.344034] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2468.344699] do_syscall_64+0x33/0x40 [ 2468.345147] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2468.345812] RIP: 0033:0x7fc61b7ddab7 [ 2468.346272] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2468.348582] RSP: 002b:00007fc618d9ff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2468.349573] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7ddab7 [ 2468.350468] RDX: 0000000000000025 RSI: 0000000020010000 RDI: 0000000000000004 [ 2468.351569] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffffffffffff [ 2468.352459] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2468.353394] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2468.378395] FAT-fs (loop5): Directory bread(block 64) failed [ 2468.385775] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.387534] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2468.388474] FAT-fs (loop0): Filesystem has been set read-only [ 2468.393449] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:17:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8008, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2468.400334] FAT-fs (loop5): Directory bread(block 65) failed [ 2468.401129] FAT-fs (loop5): Directory bread(block 66) failed [ 2468.406927] FAT-fs (loop5): Directory bread(block 67) failed [ 2468.407903] FAT-fs (loop5): Directory bread(block 68) failed [ 2468.428927] FAT-fs (loop5): Directory bread(block 69) failed [ 2468.429755] FAT-fs (loop5): Directory bread(block 70) failed [ 2468.439439] FAT-fs (loop5): Directory bread(block 71) failed [ 2468.440220] FAT-fs (loop5): Directory bread(block 72) failed [ 2468.449394] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.451758] FAT-fs (loop5): Directory bread(block 73) failed [ 2468.457884] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.458866] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2468.459400] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2468.459954] FAT-fs (loop2): Filesystem has been set read-only [ 2468.460811] FAT-fs (loop0): Filesystem has been set read-only [ 2468.517626] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2468.519284] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2468.520293] FAT-fs (loop2): Filesystem has been set read-only 10:17:52 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3041, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:52 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x80000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:52 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100), 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:52 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 15) 10:17:52 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 16) [ 2485.022824] FAULT_INJECTION: forcing a failure. [ 2485.022824] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2485.024368] CPU: 0 PID: 13256 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2485.025246] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2485.026273] Call Trace: [ 2485.026600] dump_stack+0x107/0x167 [ 2485.031058] should_fail.cold+0x5/0xa [ 2485.031540] iov_iter_copy_from_user_atomic+0x49b/0xdb0 [ 2485.032243] ? shmem_write_begin+0xf7/0x1d0 [ 2485.032762] ? shmem_write_begin+0x100/0x1d0 [ 2485.033305] generic_perform_write+0x279/0x4f0 [ 2485.033883] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2485.034781] ? evict_inodes+0x420/0x420 [ 2485.035337] ? generic_write_checks+0x2ad/0x390 [ 2485.035927] __generic_file_write_iter+0x39d/0x5d0 [ 2485.036538] generic_file_write_iter+0xdb/0x230 [ 2485.037146] ? iov_iter_init+0x3c/0x130 [ 2485.037639] new_sync_write+0x42c/0x660 [ 2485.038127] ? new_sync_read+0x6f0/0x6f0 [ 2485.038247] FAULT_INJECTION: forcing a failure. [ 2485.038247] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2485.038621] ? __x64_sys_pwrite64+0x201/0x260 [ 2485.038641] ? lock_release+0x6b0/0x6b0 [ 2485.038665] ? selinux_file_permission+0x36/0x510 [ 2485.041832] vfs_write+0x747/0xa30 [ 2485.042301] __x64_sys_pwrite64+0x201/0x260 [ 2485.042830] ? ksys_pwrite64+0x1b0/0x1b0 [ 2485.043364] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2485.044028] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2485.044659] do_syscall_64+0x33/0x40 [ 2485.045155] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2485.045782] RIP: 0033:0x7fc61b7ddab7 [ 2485.046265] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2485.048487] RSP: 002b:00007fc618d9ff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2485.049436] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7ddab7 [ 2485.050307] RDX: 0000000000000024 RSI: 0000000020010100 RDI: 0000000000000004 [ 2485.051199] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffffffffffff [ 2485.052054] R10: 00000000000001e0 R11: 0000000000000293 R12: 0000000000000004 [ 2485.052925] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 [ 2485.053819] CPU: 1 PID: 13260 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2485.054700] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2485.055678] Call Trace: [ 2485.056022] dump_stack+0x107/0x167 [ 2485.056474] should_fail.cold+0x5/0xa [ 2485.056953] iov_iter_copy_from_user_atomic+0x49b/0xdb0 [ 2485.057676] ? shmem_write_begin+0xf7/0x1d0 [ 2485.058236] ? shmem_write_begin+0x100/0x1d0 [ 2485.058786] generic_perform_write+0x279/0x4f0 [ 2485.059391] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2485.060283] ? evict_inodes+0x420/0x420 [ 2485.060778] ? generic_write_checks+0x2ad/0x390 [ 2485.061382] __generic_file_write_iter+0x39d/0x5d0 [ 2485.061994] generic_file_write_iter+0xdb/0x230 [ 2485.062603] ? iov_iter_init+0x3c/0x130 [ 2485.063163] new_sync_write+0x42c/0x660 [ 2485.063658] ? new_sync_read+0x6f0/0x6f0 [ 2485.064203] ? __x64_sys_pwrite64+0x201/0x260 [ 2485.064761] ? lock_release+0x6b0/0x6b0 [ 2485.065273] ? selinux_file_permission+0x36/0x510 [ 2485.065915] vfs_write+0x747/0xa30 [ 2485.066378] __x64_sys_pwrite64+0x201/0x260 [ 2485.066944] ? ksys_pwrite64+0x1b0/0x1b0 [ 2485.067509] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2485.068171] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2485.068792] do_syscall_64+0x33/0x40 [ 2485.069293] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2485.069916] RIP: 0033:0x7f7ae829eab7 [ 2485.070370] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2485.070880] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.072703] RSP: 002b:00007f7ae5860f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2485.072720] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829eab7 [ 2485.072737] RDX: 000000000000002d RSI: 0000000020010000 RDI: 0000000000000004 [ 2485.076560] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2485.077498] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 10:17:52 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffff", 0x6, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:52 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3001, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:52 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = socket$inet_tcp(0x2, 0x1, 0x0) ioctl$EXT4_IOC_SWAP_BOOT(r3, 0x6611) r4 = eventfd(0x1ff) r5 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r5, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r5) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r4, 0x100}, {r1}, {r2}, {r5, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e22, 0x1, @loopback, 0x7}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) [ 2485.077631] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2485.078397] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2485.084286] FAT-fs (loop2): Filesystem has been set read-only [ 2485.095957] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.100815] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.102340] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2485.105446] FAT-fs (loop5): Directory bread(block 64) failed [ 2485.107636] FAT-fs (loop6): Filesystem has been set read-only [ 2485.109113] FAT-fs (loop5): Directory bread(block 65) failed [ 2485.110423] FAT-fs (loop5): Directory bread(block 66) failed [ 2485.111664] FAT-fs (loop5): Directory bread(block 67) failed [ 2485.112369] FAT-fs (loop5): Directory bread(block 68) failed [ 2485.113448] FAT-fs (loop5): Directory bread(block 69) failed [ 2485.114559] FAT-fs (loop5): Directory bread(block 70) failed [ 2485.121807] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.124907] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2485.125843] FAT-fs (loop0): Filesystem has been set read-only [ 2485.127382] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2485.129544] FAT-fs (loop5): Directory bread(block 71) failed [ 2485.130413] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2485.131575] FAT-fs (loop3): Filesystem has been set read-only [ 2485.132903] FAT-fs (loop5): Directory bread(block 72) failed [ 2485.133720] FAT-fs (loop5): Directory bread(block 73) failed [ 2485.175982] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.177702] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2485.178559] FAT-fs (loop6): Filesystem has been set read-only [ 2485.180817] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2485.189221] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.191219] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2485.192145] FAT-fs (loop2): Filesystem has been set read-only [ 2485.200817] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.202765] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2485.203742] FAT-fs (loop0): Filesystem has been set read-only 10:17:52 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3043, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:17:52 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)='\x00'/18, 0x12, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2485.260469] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:17:52 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x200000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2485.264695] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2485.265662] FAT-fs (loop4): Filesystem has been set read-only 10:17:52 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 17) 10:17:52 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffff", 0x6, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:17:52 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3013, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2485.338496] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.341419] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2485.342299] FAT-fs (loop6): Filesystem has been set read-only 10:17:52 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open$cgroup(&(0x7f0000000100)={0x4, 0x80, 0xd6, 0x0, 0x3, 0x0, 0x0, 0x2e7, 0xed47f043e1c777e, 0x9, 0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x0, 0x3, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x1, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x4, 0x4, @perf_bp={&(0x7f0000000040), 0xc}, 0x280, 0x5, 0x2, 0x9, 0x80000000, 0x8001, 0x401, 0x0, 0x1, 0x0, 0x1}, r0, 0xf, 0xffffffffffffffff, 0x4) r2 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x3, 0x0, 0x5c, 0x0, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x4}, 0x0, 0x0, 0x0, 0x0, 0x4000024}, 0xffffffffffffffff, 0xffffffffffffffff, r1, 0x0) r3 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r3, 0x0, 0x48) r4 = eventfd(0x1ff) r5 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r5, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r5) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r4, 0x100}, {r2}, {r3}, {r5, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) 10:17:52 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 16) [ 2485.387461] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2485.389347] FAT-fs (loop3): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2485.391184] FAT-fs (loop3): Filesystem has been set read-only [ 2485.400106] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.401919] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.413320] FAULT_INJECTION: forcing a failure. [ 2485.413320] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2485.415066] CPU: 0 PID: 13291 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2485.420722] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2485.423209] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2485.423216] Call Trace: [ 2485.423286] dump_stack+0x107/0x167 [ 2485.424218] FAT-fs (loop2): Filesystem has been set read-only [ 2485.425443] should_fail.cold+0x5/0xa [ 2485.425471] __alloc_pages_nodemask+0x182/0x680 [ 2485.427042] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2485.427178] ? __alloc_pages_slowpath.constprop.0+0x2220/0x2220 [ 2485.427673] FAT-fs (loop0): Filesystem has been set read-only [ 2485.428360] ? lock_downgrade+0x6d0/0x6d0 [ 2485.428440] alloc_pages_vma+0xbb/0x410 [ 2485.432334] shmem_alloc_page+0x10f/0x1e0 [ 2485.432951] ? shmem_init_inode+0x20/0x20 [ 2485.433624] ? percpu_counter_add_batch+0x8b/0x140 [ 2485.434345] ? __vm_enough_memory+0x184/0x360 [ 2485.435203] shmem_getpage_gfp.constprop.0+0x512/0x1920 [ 2485.436014] ? shmem_unuse_inode+0xed0/0xed0 [ 2485.436665] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2485.437487] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2485.438156] shmem_write_begin+0xf7/0x1d0 [ 2485.438846] generic_perform_write+0x20a/0x4f0 [ 2485.439812] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2485.440841] ? evict_inodes+0x420/0x420 [ 2485.441496] ? generic_write_checks+0x2ad/0x390 [ 2485.441551] FAULT_INJECTION: forcing a failure. [ 2485.441551] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2485.442113] __generic_file_write_iter+0x39d/0x5d0 [ 2485.442130] generic_file_write_iter+0xdb/0x230 [ 2485.442142] ? iov_iter_init+0x3c/0x130 [ 2485.442168] new_sync_write+0x42c/0x660 [ 2485.446129] ? new_sync_read+0x6f0/0x6f0 [ 2485.446752] ? __x64_sys_pwrite64+0x201/0x260 [ 2485.447453] ? lock_release+0x6b0/0x6b0 [ 2485.447940] ? selinux_file_permission+0x36/0x510 [ 2485.448658] vfs_write+0x747/0xa30 [ 2485.449116] __x64_sys_pwrite64+0x201/0x260 [ 2485.449738] ? ksys_pwrite64+0x1b0/0x1b0 [ 2485.450440] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2485.451134] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2485.451873] do_syscall_64+0x33/0x40 [ 2485.452438] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2485.453116] RIP: 0033:0x7fc61b7ddab7 [ 2485.453679] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2485.456647] RSP: 002b:00007fc618d9ff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2485.457703] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7ddab7 [ 2485.458804] RDX: 000000000000000c RSI: 0000000020000080 RDI: 0000000000000004 [ 2485.459819] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffffffffffff [ 2485.460834] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2485.461824] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2485.462893] CPU: 1 PID: 13294 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2485.463852] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2485.464956] Call Trace: [ 2485.465303] dump_stack+0x107/0x167 [ 2485.465772] should_fail.cold+0x5/0xa [ 2485.466300] __alloc_pages_nodemask+0x182/0x680 [ 2485.466946] ? __alloc_pages_slowpath.constprop.0+0x2220/0x2220 [ 2485.467706] ? lock_downgrade+0x6d0/0x6d0 [ 2485.468289] alloc_pages_vma+0xbb/0x410 [ 2485.468826] shmem_alloc_page+0x10f/0x1e0 [ 2485.469342] ? shmem_init_inode+0x20/0x20 [ 2485.469919] ? percpu_counter_add_batch+0x8b/0x140 [ 2485.470555] ? __vm_enough_memory+0x184/0x360 [ 2485.471166] shmem_getpage_gfp.constprop.0+0x512/0x1920 [ 2485.471874] ? shmem_unuse_inode+0xed0/0xed0 [ 2485.472460] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2485.473118] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2485.473754] shmem_write_begin+0xf7/0x1d0 [ 2485.474320] generic_perform_write+0x20a/0x4f0 [ 2485.474909] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2485.475842] ? evict_inodes+0x420/0x420 [ 2485.476377] ? generic_write_checks+0x2ad/0x390 [ 2485.476996] __generic_file_write_iter+0x39d/0x5d0 [ 2485.477615] generic_file_write_iter+0xdb/0x230 [ 2485.478243] ? iov_iter_init+0x3c/0x130 [ 2485.478773] new_sync_write+0x42c/0x660 [ 2485.479308] ? new_sync_read+0x6f0/0x6f0 [ 2485.479828] ? __x64_sys_pwrite64+0x201/0x260 [ 2485.480410] ? lock_release+0x6b0/0x6b0 [ 2485.480951] ? selinux_file_permission+0x36/0x510 [ 2485.481565] vfs_write+0x747/0xa30 [ 2485.482061] __x64_sys_pwrite64+0x201/0x260 [ 2485.482610] ? ksys_pwrite64+0x1b0/0x1b0 [ 2485.483139] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2485.483826] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2485.484494] do_syscall_64+0x33/0x40 [ 2485.484965] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2485.485594] RIP: 0033:0x7f7ae829eab7 [ 2485.486093] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2485.488424] RSP: 002b:00007f7ae5860f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2485.489378] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829eab7 [ 2485.490285] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2485.491251] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2485.492157] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2485.493090] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 [ 2485.509704] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.526825] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2485.532505] FAT-fs (loop5): Directory bread(block 64) failed [ 2485.534511] FAT-fs (loop5): Directory bread(block 65) failed [ 2485.535489] FAT-fs (loop5): Directory bread(block 66) failed [ 2485.537448] FAT-fs (loop5): Directory bread(block 67) failed [ 2485.538351] FAT-fs (loop5): Directory bread(block 68) failed [ 2485.540449] FAT-fs (loop5): Directory bread(block 69) failed [ 2485.540849] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.541348] FAT-fs (loop5): Directory bread(block 70) failed [ 2485.542961] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2485.544128] FAT-fs (loop6): Filesystem has been set read-only [ 2485.545461] FAT-fs (loop5): Directory bread(block 71) failed [ 2485.548094] FAT-fs (loop5): Directory bread(block 72) failed [ 2485.549458] FAT-fs (loop5): Directory bread(block 73) failed 10:17:53 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2485.587911] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.591251] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2485.592304] FAT-fs (loop0): Filesystem has been set read-only [ 2485.594052] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.601033] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2485.602021] FAT-fs (loop2): Filesystem has been set read-only [ 2485.658564] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2485.672649] FAT-fs (loop4): error, fat_get_cluster: invalid cluster chain (i_pos 1) [ 2485.673787] FAT-fs (loop4): Filesystem has been set read-only [ 2485.702771] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2485.707124] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2485.708291] FAT-fs (loop3): Filesystem has been set read-only [ 2502.089562] FAULT_INJECTION: forcing a failure. [ 2502.089562] name failslab, interval 1, probability 0, space 0, times 0 10:18:09 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3c19, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:09 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:09 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 17) 10:18:09 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x414001, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001380)=[{&(0x7f0000000100)=""/27, 0x1b}, {&(0x7f0000000140)=""/9, 0x9}, {&(0x7f00000002c0)=""/76, 0x4c}], 0x3, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {r4}, {}, {0xffffffffffffffff, 0x843a}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f00000013c0)={0x0, 0x3938700}, &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) r7 = socket$inet_udp(0x2, 0x2, 0x0) preadv2(r7, &(0x7f0000000040)=[{&(0x7f0000000380)=""/4096, 0x1000}], 0x1, 0x5, 0x8, 0x5) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:18:09 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 18) 10:18:09 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)='\x00'/18, 0x12, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:09 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3019, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:09 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x800000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2502.091014] CPU: 0 PID: 13319 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2502.091912] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2502.092984] Call Trace: [ 2502.093342] dump_stack+0x107/0x167 [ 2502.093805] should_fail.cold+0x5/0xa [ 2502.094331] ? xas_alloc+0x336/0x440 [ 2502.094807] should_failslab+0x5/0x20 [ 2502.095306] kmem_cache_alloc+0x5b/0x360 [ 2502.095819] ? trace_hardirqs_on+0x5b/0x180 [ 2502.096402] xas_alloc+0x336/0x440 [ 2502.096853] xas_create+0x60b/0x1040 [ 2502.097353] xas_create_range+0x18b/0x600 [ 2502.097882] shmem_add_to_page_cache+0x759/0x1150 [ 2502.098540] ? shmem_getattr+0x180/0x180 [ 2502.099086] shmem_getpage_gfp.constprop.0+0x64a/0x1920 [ 2502.099802] ? shmem_unuse_inode+0xed0/0xed0 [ 2502.100364] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2502.101013] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2502.101659] shmem_write_begin+0xf7/0x1d0 [ 2502.102192] generic_perform_write+0x20a/0x4f0 [ 2502.102776] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2502.103741] ? evict_inodes+0x420/0x420 [ 2502.104268] ? generic_write_checks+0x2ad/0x390 [ 2502.104857] __generic_file_write_iter+0x39d/0x5d0 [ 2502.105519] generic_file_write_iter+0xdb/0x230 [ 2502.106103] ? iov_iter_init+0x3c/0x130 [ 2502.106607] new_sync_write+0x42c/0x660 [ 2502.107104] ? new_sync_read+0x6f0/0x6f0 [ 2502.107642] ? __x64_sys_pwrite64+0x201/0x260 [ 2502.108213] ? lock_release+0x6b0/0x6b0 [ 2502.108711] ? selinux_file_permission+0x36/0x510 [ 2502.109339] vfs_write+0x747/0xa30 [ 2502.109799] __x64_sys_pwrite64+0x201/0x260 [ 2502.110375] ? ksys_pwrite64+0x1b0/0x1b0 [ 2502.110888] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2502.111599] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2502.112283] do_syscall_64+0x33/0x40 [ 2502.112755] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2502.113436] RIP: 0033:0x7fc61b7ddab7 [ 2502.113908] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2502.120285] RSP: 002b:00007fc618d9ff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2502.121271] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7ddab7 [ 2502.122190] RDX: 000000000000000c RSI: 0000000020000080 RDI: 0000000000000004 [ 2502.122253] FAULT_INJECTION: forcing a failure. [ 2502.122253] name failslab, interval 1, probability 0, space 0, times 0 [ 2502.123082] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffffffffffff [ 2502.123102] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2502.126288] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2502.127223] CPU: 1 PID: 13323 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2502.128080] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2502.129102] Call Trace: [ 2502.129470] dump_stack+0x107/0x167 [ 2502.129921] should_fail.cold+0x5/0xa [ 2502.130429] ? xas_alloc+0x336/0x440 [ 2502.130900] should_failslab+0x5/0x20 [ 2502.131420] kmem_cache_alloc+0x5b/0x360 [ 2502.131924] ? trace_hardirqs_on+0x5b/0x180 [ 2502.132469] xas_alloc+0x336/0x440 [ 2502.132910] xas_create+0x60b/0x1040 [ 2502.133417] xas_create_range+0x18b/0x600 [ 2502.133948] shmem_add_to_page_cache+0x759/0x1150 [ 2502.134595] ? shmem_getattr+0x180/0x180 [ 2502.135130] shmem_getpage_gfp.constprop.0+0x64a/0x1920 [ 2502.135827] ? shmem_unuse_inode+0xed0/0xed0 [ 2502.136421] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2502.137066] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2502.137699] shmem_write_begin+0xf7/0x1d0 [ 2502.138226] generic_perform_write+0x20a/0x4f0 [ 2502.138803] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2502.139728] ? evict_inodes+0x420/0x420 [ 2502.140225] ? generic_write_checks+0x2ad/0x390 [ 2502.140817] __generic_file_write_iter+0x39d/0x5d0 [ 2502.141434] generic_file_write_iter+0xdb/0x230 [ 2502.142016] ? iov_iter_init+0x3c/0x130 [ 2502.142525] new_sync_write+0x42c/0x660 [ 2502.143015] ? new_sync_read+0x6f0/0x6f0 [ 2502.143548] ? __x64_sys_pwrite64+0x201/0x260 [ 2502.144115] ? lock_release+0x6b0/0x6b0 [ 2502.144613] ? selinux_file_permission+0x36/0x510 [ 2502.145249] vfs_write+0x747/0xa30 [ 2502.145711] __x64_sys_pwrite64+0x201/0x260 [ 2502.146254] ? ksys_pwrite64+0x1b0/0x1b0 [ 2502.146758] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2502.147446] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2502.148087] do_syscall_64+0x33/0x40 [ 2502.148551] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2502.149176] RIP: 0033:0x7f7ae829eab7 [ 2502.149643] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2502.152017] RSP: 002b:00007f7ae5860f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2502.152970] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829eab7 [ 2502.153890] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2502.154779] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2502.155713] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2502.156611] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 [ 2502.168964] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.170700] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2502.171719] FAT-fs (loop6): Filesystem has been set read-only [ 2502.173014] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.186892] FAT-fs (loop5): Directory bread(block 64) failed [ 2502.188916] FAT-fs (loop5): Directory bread(block 65) failed [ 2502.192458] FAT-fs (loop5): Directory bread(block 66) failed [ 2502.193491] FAT-fs (loop5): Directory bread(block 67) failed [ 2502.195505] FAT-fs (loop5): Directory bread(block 68) failed [ 2502.197508] FAT-fs (loop5): Directory bread(block 69) failed [ 2502.198669] FAT-fs (loop5): Directory bread(block 70) failed [ 2502.200576] FAT-fs (loop5): Directory bread(block 71) failed [ 2502.201854] FAT-fs (loop5): Directory bread(block 72) failed [ 2502.204998] FAT-fs (loop5): Directory bread(block 73) failed [ 2502.214506] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2502.220977] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.227178] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.227212] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2502.229420] FAT-fs (loop2): Filesystem has been set read-only [ 2502.230311] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2502.235313] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.238197] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2502.239539] FAT-fs (loop0): Filesystem has been set read-only [ 2502.240641] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2502.241668] FAT-fs (loop4): Filesystem has been set read-only [ 2502.242683] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2502.243942] FAT-fs (loop3): Filesystem has been set read-only 10:18:09 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 19) 10:18:09 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)='\x00'/18, 0x12, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:09 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3f00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2502.307194] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.329125] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2502.330229] FAT-fs (loop0): Filesystem has been set read-only [ 2502.339687] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.341253] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2502.342317] FAT-fs (loop2): Filesystem has been set read-only 10:18:09 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2502.366359] FAULT_INJECTION: forcing a failure. [ 2502.366359] name failslab, interval 1, probability 0, space 0, times 0 [ 2502.367943] CPU: 0 PID: 13343 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2502.371232] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2502.372324] Call Trace: [ 2502.372747] dump_stack+0x107/0x167 [ 2502.373215] should_fail.cold+0x5/0xa [ 2502.373752] ? __memcg_kmem_charge+0x68/0x140 [ 2502.374310] ? create_object.isra.0+0x3a/0xa20 [ 2502.375008] should_failslab+0x5/0x20 [ 2502.375574] kmem_cache_alloc+0x5b/0x360 [ 2502.376110] create_object.isra.0+0x3a/0xa20 [ 2502.376736] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2502.377446] kmem_cache_alloc+0x159/0x360 [ 2502.378002] ? trace_hardirqs_on+0x5b/0x180 [ 2502.378631] xas_alloc+0x336/0x440 [ 2502.379090] xas_create+0x60b/0x1040 [ 2502.379654] xas_create_range+0x18b/0x600 [ 2502.380192] shmem_add_to_page_cache+0x759/0x1150 [ 2502.380864] ? shmem_getattr+0x180/0x180 [ 2502.381511] shmem_getpage_gfp.constprop.0+0x64a/0x1920 [ 2502.382203] ? shmem_unuse_inode+0xed0/0xed0 [ 2502.383306] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2502.384034] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2502.384738] shmem_write_begin+0xf7/0x1d0 [ 2502.385277] generic_perform_write+0x20a/0x4f0 [ 2502.385949] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2502.386906] ? evict_inodes+0x420/0x420 [ 2502.387501] ? generic_write_checks+0x2ad/0x390 [ 2502.388090] __generic_file_write_iter+0x39d/0x5d0 [ 2502.388768] generic_file_write_iter+0xdb/0x230 [ 2502.389355] ? iov_iter_init+0x3c/0x130 [ 2502.389965] new_sync_write+0x42c/0x660 [ 2502.390516] ? new_sync_read+0x6f0/0x6f0 [ 2502.391027] ? __x64_sys_pwrite64+0x201/0x260 [ 2502.392493] ? lock_release+0x6b0/0x6b0 [ 2502.392996] ? selinux_file_permission+0x36/0x510 [ 2502.393720] vfs_write+0x747/0xa30 [ 2502.394185] __x64_sys_pwrite64+0x201/0x260 [ 2502.399936] ? ksys_pwrite64+0x1b0/0x1b0 [ 2502.400537] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2502.401199] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2502.401966] do_syscall_64+0x33/0x40 [ 2502.402562] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2502.403331] RIP: 0033:0x7fc61b7ddab7 [ 2502.403848] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2502.406351] RSP: 002b:00007fc618d9ff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2502.407538] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7ddab7 [ 2502.408532] RDX: 000000000000000c RSI: 0000000020000080 RDI: 0000000000000004 [ 2502.409521] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffffffffffff [ 2502.410553] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2502.411599] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2502.451533] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2502.455345] FAT-fs (loop3): error, invalid access to FAT (entry 0x000000f8) [ 2502.456681] FAT-fs (loop3): Filesystem has been set read-only [ 2502.556505] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2502.583792] FAT-fs (loop5): Directory bread(block 64) failed [ 2502.584689] FAT-fs (loop5): Directory bread(block 65) failed [ 2502.585513] FAT-fs (loop5): Directory bread(block 66) failed [ 2502.586400] FAT-fs (loop5): Directory bread(block 67) failed [ 2502.587314] FAT-fs (loop5): Directory bread(block 68) failed [ 2502.591414] FAT-fs (loop5): Directory bread(block 69) failed [ 2502.592445] FAT-fs (loop5): Directory bread(block 70) failed [ 2502.593226] FAT-fs (loop5): Directory bread(block 71) failed [ 2502.593980] FAT-fs (loop5): Directory bread(block 72) failed [ 2502.594747] FAT-fs (loop5): Directory bread(block 73) failed 10:18:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)='\x00'/27, 0x1b, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:26 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, r3, 0x0, 0x8) 10:18:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff", 0xb, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:26 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 20) 10:18:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 18) 10:18:26 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2518.604938] FAULT_INJECTION: forcing a failure. [ 2518.604938] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2518.617181] CPU: 0 PID: 13365 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2518.618737] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2518.620117] Call Trace: [ 2518.620484] dump_stack+0x107/0x167 [ 2518.620944] should_fail.cold+0x5/0xa [ 2518.621445] iov_iter_copy_from_user_atomic+0x49b/0xdb0 [ 2518.622124] ? shmem_write_begin+0xf7/0x1d0 [ 2518.622697] ? shmem_write_begin+0x100/0x1d0 [ 2518.623257] generic_perform_write+0x279/0x4f0 [ 2518.628392] ? __mnt_drop_write_file+0x9/0x70 [ 2518.628959] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2518.629864] ? evict_inodes+0x420/0x420 [ 2518.630370] ? generic_write_checks+0x2ad/0x390 [ 2518.630954] __generic_file_write_iter+0x39d/0x5d0 [ 2518.631879] generic_file_write_iter+0xdb/0x230 [ 2518.632465] ? iov_iter_init+0x3c/0x130 [ 2518.632952] new_sync_write+0x42c/0x660 [ 2518.633450] ? new_sync_read+0x6f0/0x6f0 [ 2518.633963] ? __x64_sys_pwrite64+0x201/0x260 [ 2518.634539] ? lock_release+0x6b0/0x6b0 [ 2518.635040] ? selinux_file_permission+0x36/0x510 [ 2518.635911] vfs_write+0x747/0xa30 [ 2518.636380] __x64_sys_pwrite64+0x201/0x260 [ 2518.636926] ? ksys_pwrite64+0x1b0/0x1b0 [ 2518.637474] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2518.638128] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2518.638778] do_syscall_64+0x33/0x40 [ 2518.639238] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2518.640036] RIP: 0033:0x7fc61b7ddab7 [ 2518.640547] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2518.643068] RSP: 002b:00007fc618d9ff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2518.644097] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7ddab7 [ 2518.644984] RDX: 000000000000000c RSI: 0000000020000080 RDI: 0000000000000004 [ 2518.645845] RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffffffffffff [ 2518.646717] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2518.647616] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2518.657370] FAULT_INJECTION: forcing a failure. [ 2518.657370] name failslab, interval 1, probability 0, space 0, times 0 [ 2518.658833] CPU: 0 PID: 13362 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2518.659813] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2518.660888] Call Trace: [ 2518.661222] dump_stack+0x107/0x167 [ 2518.661722] should_fail.cold+0x5/0xa [ 2518.662191] ? create_object.isra.0+0x3a/0xa20 [ 2518.663017] should_failslab+0x5/0x20 [ 2518.663543] kmem_cache_alloc+0x5b/0x360 [ 2518.664303] create_object.isra.0+0x3a/0xa20 [ 2518.664926] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2518.665589] kmem_cache_alloc+0x159/0x360 [ 2518.666102] ? trace_hardirqs_on+0x5b/0x180 [ 2518.666729] xas_alloc+0x336/0x440 [ 2518.667168] xas_create+0x60b/0x1040 [ 2518.667837] xas_create_range+0x18b/0x600 [ 2518.668547] shmem_add_to_page_cache+0x759/0x1150 [ 2518.669180] ? shmem_getattr+0x180/0x180 [ 2518.669866] shmem_getpage_gfp.constprop.0+0x64a/0x1920 [ 2518.670598] ? shmem_unuse_inode+0xed0/0xed0 [ 2518.671283] ? ktime_get_coarse_real_ts64+0x15a/0x190 [ 2518.671961] ? iov_iter_fault_in_readable+0x9a/0x410 [ 2518.672587] shmem_write_begin+0xf7/0x1d0 [ 2518.673103] generic_perform_write+0x20a/0x4f0 [ 2518.673684] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2518.674832] ? evict_inodes+0x420/0x420 [ 2518.675436] ? generic_write_checks+0x2ad/0x390 [ 2518.676078] __generic_file_write_iter+0x39d/0x5d0 [ 2518.676697] generic_file_write_iter+0xdb/0x230 [ 2518.677270] ? iov_iter_init+0x3c/0x130 [ 2518.677829] new_sync_write+0x42c/0x660 [ 2518.678317] ? new_sync_read+0x6f0/0x6f0 [ 2518.678947] ? __x64_sys_pwrite64+0x201/0x260 [ 2518.679532] ? lock_release+0x6b0/0x6b0 [ 2518.680131] ? selinux_file_permission+0x36/0x510 [ 2518.680802] vfs_write+0x747/0xa30 [ 2518.681248] __x64_sys_pwrite64+0x201/0x260 [ 2518.681827] ? ksys_pwrite64+0x1b0/0x1b0 [ 2518.682342] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2518.683095] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2518.683950] do_syscall_64+0x33/0x40 [ 2518.684534] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2518.685223] RIP: 0033:0x7f7ae829eab7 [ 2518.685729] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2518.688264] RSP: 002b:00007f7ae5860f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2518.689205] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829eab7 [ 2518.690106] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2518.691136] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2518.692054] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2518.692968] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 10:18:26 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) recvmmsg$unix(r0, &(0x7f00000066c0)=[{{&(0x7f00000002c0), 0x6e, &(0x7f0000001580)=[{&(0x7f0000000380)=""/34, 0x22}, {&(0x7f00000003c0)=""/4096, 0x1000}, {&(0x7f00000013c0)=""/58, 0x3a}, {&(0x7f0000001400)=""/2, 0x2}, {&(0x7f0000001440)=""/52, 0x34}, {&(0x7f0000001480)=""/207, 0xcf}], 0x6, &(0x7f0000001600)=[@cred={{0x1c}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c}}, @rights={{0x38, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x18, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff]}}], 0xc8}}, {{&(0x7f0000001700), 0x6e, &(0x7f0000001980)=[{&(0x7f0000001780)=""/211, 0xd3}, {&(0x7f0000001880)=""/228, 0xe4}], 0x2, &(0x7f00000019c0)=[@cred={{0x1c}}, @rights={{0x38, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c}}, @cred={{0x1c}}, @rights={{0x18, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c}}, @cred={{0x1c}}], 0x148}}, {{&(0x7f0000001b40), 0x6e, &(0x7f0000001e80)=[{&(0x7f0000001bc0)=""/221, 0xdd}, {&(0x7f0000001cc0)=""/116, 0x74}, {&(0x7f0000001e00)=""/115, 0x73}, {&(0x7f0000001f80)=""/4096, 0x1000}, {&(0x7f0000002f80)=""/239, 0xef}, {&(0x7f0000001d40)=""/2, 0x2}, {&(0x7f0000003080)=""/245, 0xf5}], 0x7, &(0x7f0000003180)=[@rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c}}, @rights={{0x20, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x34, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}], 0xd0}}, {{&(0x7f0000003280)=@abs, 0x6e, &(0x7f0000005580)=[{&(0x7f0000003300)=""/251, 0xfb}, {&(0x7f0000003400)=""/4096, 0x1000}, {&(0x7f0000001f00)=""/35, 0x23}, {&(0x7f0000004400)=""/217, 0xd9}, {&(0x7f0000004500)=""/119, 0x77}, {&(0x7f0000004580)=""/4096, 0x1000}], 0x6, &(0x7f0000005600)=[@rights={{0x28, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x1c, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}], 0x48}}, {{&(0x7f0000005680)=@abs, 0x6e, &(0x7f00000057c0)=[{&(0x7f0000005700)=""/179, 0xb3}], 0x1, &(0x7f0000005800)=[@cred={{0x1c}}, @cred={{0x1c}}], 0x40}}, {{0x0, 0x0, &(0x7f0000005980)=[{&(0x7f0000005840)=""/249, 0xf9}, {&(0x7f0000005940)=""/25, 0x19}], 0x2, &(0x7f00000059c0)=[@cred={{0x1c}}, @rights={{0x30, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x34, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x24, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}], 0x140}}, {{0x0, 0x0, &(0x7f0000005e40)=[{&(0x7f0000005b00)=""/111, 0x6f}, {&(0x7f0000005b80)=""/17, 0x11}, {&(0x7f0000005bc0)=""/206, 0xce}, {&(0x7f0000005cc0)=""/74, 0x4a}, {&(0x7f0000005d40)=""/68, 0x44}, {&(0x7f0000005dc0)=""/84, 0x54}], 0x6, &(0x7f0000005ec0)=[@rights={{0x18, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x18, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x18, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c}}, @rights={{0x2c, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x30, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c, 0x1, 0x2, {0x0}}}], 0x128}}, {{&(0x7f0000006000)=@abs, 0x6e, &(0x7f0000006280)=[{&(0x7f0000006080)=""/136, 0x88}, {&(0x7f0000006140)=""/110, 0x6e}, {&(0x7f00000061c0)=""/15, 0xf}, {&(0x7f0000006200)=""/94, 0x5e}], 0x4}}, {{&(0x7f00000062c0)=@abs, 0x6e, &(0x7f0000006600)=[{&(0x7f0000006340)=""/127, 0x7f}, {&(0x7f00000063c0)=""/243, 0xf3}, {&(0x7f00000064c0)=""/234, 0xea}, {&(0x7f00000065c0)=""/62, 0x3e}], 0x4, &(0x7f0000006640)=[@cred={{0x1c}}, @cred={{0x1c}}, @cred={{0x1c}}], 0x60}}], 0x9, 0x40000102, &(0x7f0000006940)) perf_event_open(&(0x7f0000000100)={0x1, 0x80, 0x43, 0x5, 0x3, 0xfe, 0x0, 0x4, 0x60, 0x5, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x1, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x0, 0x1, 0x1, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x8, 0x2, @perf_bp={&(0x7f0000000040), 0x9}, 0x4840, 0x9, 0x9, 0x4, 0x177, 0x10000000, 0x8, 0x0, 0xa5b, 0x0, 0x10000}, r4, 0xb, 0xffffffffffffffff, 0x0) r5 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r5, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r5) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r5, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) [ 2518.707207] FAT-fs (loop3): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2518.713563] FAT-fs (loop3): error, invalid access to FAT (entry 0x00fffff8) [ 2518.714494] FAT-fs (loop3): Filesystem has been set read-only [ 2518.736339] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2518.738970] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2518.740205] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2518.743242] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2518.744261] FAT-fs (loop0): Filesystem has been set read-only [ 2518.745826] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2518.746815] FAT-fs (loop2): Filesystem has been set read-only [ 2518.757263] FAT-fs (loop5): Directory bread(block 64) failed [ 2518.758321] FAT-fs (loop5): Directory bread(block 65) failed [ 2518.759071] FAT-fs (loop5): Directory bread(block 66) failed [ 2518.760023] FAT-fs (loop5): Directory bread(block 67) failed [ 2518.764306] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2518.765951] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2518.766965] FAT-fs (loop6): Filesystem has been set read-only [ 2518.768949] FAT-fs (loop5): Directory bread(block 68) failed [ 2518.769807] FAT-fs (loop5): Directory bread(block 69) failed [ 2518.771415] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2518.771844] FAT-fs (loop5): Directory bread(block 70) failed [ 2518.773576] FAT-fs (loop5): Directory bread(block 71) failed [ 2518.774820] FAT-fs (loop5): Directory bread(block 72) failed [ 2518.776478] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2518.776743] FAT-fs (loop5): Directory bread(block 73) failed [ 2518.777404] FAT-fs (loop4): Filesystem has been set read-only [ 2518.799504] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2518.828529] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2518.841204] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2518.842867] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2518.842956] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2518.843933] FAT-fs (loop2): Filesystem has been set read-only [ 2518.844691] FAT-fs (loop6): Filesystem has been set read-only 10:18:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff", 0xb, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)='\x00'/27, 0x1b, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 19) 10:18:26 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 21) 10:18:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3900, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2518.938461] FAULT_INJECTION: forcing a failure. [ 2518.938461] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2518.940035] CPU: 0 PID: 13393 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2518.940871] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2518.941874] Call Trace: [ 2518.942257] dump_stack+0x107/0x167 [ 2518.942712] should_fail.cold+0x5/0xa [ 2518.943229] iov_iter_copy_from_user_atomic+0x49b/0xdb0 [ 2518.943926] ? shmem_write_begin+0xf7/0x1d0 [ 2518.944491] ? shmem_write_begin+0x100/0x1d0 [ 2518.945068] generic_perform_write+0x279/0x4f0 [ 2518.945645] ? trace_event_raw_event_file_check_and_advance_wb_err+0x4a0/0x4a0 [ 2518.946570] ? evict_inodes+0x420/0x420 [ 2518.947074] ? generic_write_checks+0x2ad/0x390 [ 2518.947682] __generic_file_write_iter+0x39d/0x5d0 [ 2518.948281] generic_file_write_iter+0xdb/0x230 [ 2518.948854] ? iov_iter_init+0x3c/0x130 [ 2518.949393] new_sync_write+0x42c/0x660 [ 2518.949915] ? new_sync_read+0x6f0/0x6f0 [ 2518.950424] ? __x64_sys_pwrite64+0x201/0x260 [ 2518.951007] ? lock_release+0x6b0/0x6b0 [ 2518.951538] ? selinux_file_permission+0x36/0x510 [ 2518.952175] vfs_write+0x747/0xa30 [ 2518.952623] __x64_sys_pwrite64+0x201/0x260 [ 2518.953194] ? ksys_pwrite64+0x1b0/0x1b0 [ 2518.953703] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2518.954371] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2518.955009] do_syscall_64+0x33/0x40 [ 2518.955476] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2518.956126] RIP: 0033:0x7f7ae829eab7 [ 2518.956588] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2518.958803] RSP: 002b:00007f7ae5860f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2518.959753] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829eab7 [ 2518.960664] RDX: 0000000000000009 RSI: 0000000020000080 RDI: 0000000000000004 [ 2518.961517] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2518.962372] R10: 0000000000004000 R11: 0000000000000293 R12: 0000000000000004 [ 2518.963284] R13: 0000000000000004 R14: 0000000020000218 R15: 0000000000000001 10:18:26 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4130, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2519.009064] FAULT_INJECTION: forcing a failure. [ 2519.009064] name failslab, interval 1, probability 0, space 0, times 0 [ 2519.010543] CPU: 1 PID: 13400 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2519.011427] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2519.012422] Call Trace: [ 2519.012748] dump_stack+0x107/0x167 [ 2519.013196] should_fail.cold+0x5/0xa [ 2519.013664] ? getname_flags.part.0+0x50/0x4f0 [ 2519.014218] should_failslab+0x5/0x20 [ 2519.014676] kmem_cache_alloc+0x5b/0x360 [ 2519.015223] getname_flags.part.0+0x50/0x4f0 [ 2519.015790] getname+0x8e/0xd0 [ 2519.016209] do_sys_openat2+0xf9/0x420 [ 2519.016675] ? build_open_flags+0x6f0/0x6f0 [ 2519.017261] ? rcu_read_lock_any_held+0x75/0xa0 [ 2519.017835] __x64_sys_openat+0x13f/0x1f0 [ 2519.018359] ? __ia32_sys_open+0x1c0/0x1c0 [ 2519.018874] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2519.019742] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2519.020413] do_syscall_64+0x33/0x40 [ 2519.020882] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2519.021529] RIP: 0033:0x7fc61b7dda04 [ 2519.021990] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2519.024440] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2519.025383] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2519.026274] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2519.027165] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2519.028079] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2519.028919] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2519.043845] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2519.045408] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2519.046395] FAT-fs (loop4): Filesystem has been set read-only 10:18:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff", 0xb, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)='\x00'/27, 0x1b, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2519.100426] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2519.108560] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2519.109513] FAT-fs (loop2): Filesystem has been set read-only [ 2519.159778] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2519.163454] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2519.164428] FAT-fs (loop6): Filesystem has been set read-only [ 2519.174901] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2519.185928] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2519.188230] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2519.189238] FAT-fs (loop6): Filesystem has been set read-only [ 2519.200927] FAT-fs (loop5): Directory bread(block 64) failed [ 2519.202046] FAT-fs (loop5): Directory bread(block 65) failed [ 2519.203045] FAT-fs (loop5): Directory bread(block 66) failed [ 2519.206574] FAT-fs (loop5): Directory bread(block 67) failed [ 2519.207304] FAT-fs (loop5): Directory bread(block 68) failed [ 2519.208116] FAT-fs (loop5): Directory bread(block 69) failed [ 2519.209343] FAT-fs (loop5): Directory bread(block 70) failed [ 2519.214771] FAT-fs (loop5): Directory bread(block 71) failed [ 2519.215517] FAT-fs (loop5): Directory bread(block 72) failed [ 2519.216279] FAT-fs (loop5): Directory bread(block 73) failed 10:18:42 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 20) 10:18:42 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4330, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:42 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa", 0x20, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2535.474951] FAULT_INJECTION: forcing a failure. [ 2535.474951] name failslab, interval 1, probability 0, space 0, times 0 [ 2535.476473] CPU: 0 PID: 13427 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2535.477328] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2535.485048] FAULT_INJECTION: forcing a failure. [ 2535.485048] name failslab, interval 1, probability 0, space 0, times 0 [ 2535.488184] Call Trace: [ 2535.488212] dump_stack+0x107/0x167 [ 2535.488233] should_fail.cold+0x5/0xa [ 2535.488252] ? create_object.isra.0+0x3a/0xa20 [ 2535.488271] should_failslab+0x5/0x20 [ 2535.488288] kmem_cache_alloc+0x5b/0x360 [ 2535.488301] ? __generic_file_write_iter+0x1a4/0x5d0 [ 2535.488317] create_object.isra.0+0x3a/0xa20 [ 2535.488331] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2535.488347] kmem_cache_alloc+0x159/0x360 [ 2535.488369] getname_flags.part.0+0x50/0x4f0 [ 2535.488385] getname+0x8e/0xd0 [ 2535.488399] do_sys_openat2+0xf9/0x420 [ 2535.488413] ? build_open_flags+0x6f0/0x6f0 [ 2535.488433] ? rcu_read_lock_any_held+0x75/0xa0 [ 2535.488447] __x64_sys_openat+0x13f/0x1f0 [ 2535.488459] ? __ia32_sys_open+0x1c0/0x1c0 [ 2535.488479] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2535.488492] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2535.488508] do_syscall_64+0x33/0x40 [ 2535.488527] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2535.488538] RIP: 0033:0x7fc61b7dda04 [ 2535.488554] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2535.488562] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2535.488582] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2535.504527] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2535.505383] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2535.506227] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2535.507036] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2535.507955] CPU: 1 PID: 13430 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2535.511408] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2535.512685] Call Trace: [ 2535.513118] dump_stack+0x107/0x167 [ 2535.513686] should_fail.cold+0x5/0xa [ 2535.514262] ? getname_flags.part.0+0x50/0x4f0 10:18:42 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) ioctl$BTRFS_IOC_GET_SUBVOL_ROOTREF(r3, 0xd000943d, &(0x7f0000000380)={0x4, [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {0x0}], 0x4, "9c8d82f7e1ced2"}) ioctl$BTRFS_IOC_INO_LOOKUP_USER(0xffffffffffffffff, 0xd000943e, &(0x7f0000001f80)={0x0, r4, "511db7f3e41f6c8d18b4ae51040cbef4da7f902b1f0069d809cd951a32e77383a8209582844df98bc2d565afcf85408b8bbe1d1b38581ed665e80c3a67e6f5ffdfd1eca556edc420fb251955c37ee1b6a94bf563b86d541cfc1b7673f7337ae4bb275740b490bd10351547552db467f964e0538bbd6cb99295e6c82435f980d4265b33622cc717ef7151df7d3160ee30353430b5c8532c523696f12ee75db8dfeed9851c062dae33f50c9bef4e4845adde0f9aac971d55770a89e9d446e1af85e33b47df3950abaa6512219bb445a93d803dcd11ec969a803a94ad3cacab105823eafc1e649cfcc5dcecee529ffda2580af9893471e8f5445aead6897a3dc334", "b0f9fcbb5bd4483cd733187f94c2dd3ebfe109133753eb69eac784f3309c947ed661916ece3a4486eec511cc5ace7edacf4350890befdd6b87decb14b8028637d8840ea2dc0c93388f7b7a99d1d0ec882c503d6a2ef36a3b35403da5c9378f8b89fe52492f9feb772adb43775ea48f550a7c852f0ff0eadff5f1ca8875dc81246f3e42a7acfa4a17d7a8d87c7bbb1982c1fc47fa53a99f4c15a5180d7616108fc70df0f72c1666b2cca4ad29cdf63537a0f93a4962f353c14a615283a0b55f39ce5c90fad5c4e8d37dc0f5dc3b987e8311d87583c8446eff3f9c32aab91d82d4ca863501b92ba89d2d08478eec96f3adde9537691a94fb5e2ad5b2e2c96aba5f8697928c8a0f6c76946ac8dacc26e4036bd1db6d7936eac5389aee16d8d696dd0a176043ad5d9c18d6f7f1289b148c9b6a7f185c290c0631c16f6280bb78d43a1ea551c0b6b105fb04e1ce1533bd740fd47511909abddb66cd5293aaeaef87e06d4cbdca83e2a1bb4042fe327f49c8bbab8a672a52fd3405a9124fc6207e3a11da577611f1e4569aae7a31551334f99d5dc75c190c9407847ebd9dd75c4da8bfd9afc167f679c2f40f9486ceb7c20b744734610cf4478cd9a9001e91e5f44e76eb30b74b7e783ba8eeffc84ce78008ebf63b16228fbc8c0c097640ca0297cbe0afd8f064f51923ec319f8b62dfee4d389d1db387374f1dd6848bc1277cc61c0fb30c436a5f272feaac731a60c1d90467f7a3ec099714f941bc76194dbd086dc43dbb7d85d28c57867a7e442c9616a4a7caa1b2e07e410ad9c58208494c8511abff067cde3816fb58d1be11bb8ab40209ac079a961aa1888e7541a502328cff2509d1306d65e3fab299e6d1276dc82d46c2765ff51d6e4b8b83c4352fce13c79e1d3cf83665978323cbbbdfa9959e5909552be08101ce50dd797a8eea58996bd2216b6a38259fcd9700f9566fa849d5d510161aef5a60b5f8344c395006464d95729a7d91ace0bfb7b5ec787d36744958f37160c73b6857309ab8883e2869a5772938e2c31ddad363b4e2f3bb851c1a8dddf7d3440d9465389249ad0279f07d15458d15df9d9e02e97b32b48e1db2fdbc09ee55a55eb2e8794bfff6ba152112d3c4889ec2ce7fe87601b25255e53c8b7e9cb23f45c9418b9722ac28fe4918ea6e2dffa36b0c26df38e10d10f4e03f33f040367097723374262e84a1db25451489a03f9425a686171cf83d1b712917906af7e43eaaa34fa8324d88fcaafe03a6385e22ba0d52b987228374edd1445baf321e359922436cc844922d3b9a226ad977aea6eb973306c955bf4790c2a8cda93f4732fc05f601069be993a3415f2f2a4221cee09dd1fc1bf53a337eb999ce02f91fdac5cf8ee0e668c905b398fb708524b0698251ac910306aacb0e9b722106023f8551ee58245e522152ba50082ddcf33d9e5ec9bdd08874cc181864c48565c549a79a0a272a78abea99c499836c29e8edc139d31d995bd779144bde3b1d0c080fdaaa2e7e5b8bf1ed417c55ecb11c3b578c16345fec2ebd37ad0f08ec9750878ce086dbbb29fd63c4a2348cbbfd4fe7fd83a1cfbea11e219949e462b52aad0c2c8d492b3a9fc8d492128bd97997dbcd2674691136fbd623b092b492c1a2aa70d91003384f5d924da48bbe39565606af389a13d2383fc49903a4e9c64f2573867f493d0538bb943f96644ac24fa7f3b210779f61e8f0b49f81bbba100a8c76ecb981c3fe0c1c889fba70634dcd616d1f3517112a661204b123a9af4937547adb4f91eb8320fc6e7c8039b66735ddf4286eaabe778e25bb5e4b78c26299de03ec0a578db92a73c8bcc106681fab121ad860c63846eae6e12e986216fb0ecdc51c5a4d88743c75caf58f01527348e0953541f19ec80851bf40d4e1fd0271073efa322ad124c9c425c006e4b089f96aac9515a1c02379bd1378967831523fb8b958d553280082a71b69208f04fa83c7fe7294cb5017aa2216c986e56770150416778066ba3353c292f8d0d990fdabac10d8707c7c0f5e2e95735ab4809f79894647e5a8328606ad65f31ea4800e0c64ae14c5136fe38c4fd88d7cb2d673d9df12ea964f2143b1912302287e66b814b0c4d50e738e15b7943e0b13a841a8a97c938c54cf3a54962f5797df5f44d1b411cc29823a291e89e9522ec310fb5e34de1d3b5a6aafb47894c1a5f2efba2192c32024baebf55fb5466903f040c002eead0b39b22596c727d04eab334cfb126c94f17585dc9f34063f7b74c09e9dc4944ee3d5bb92e0f6ed67a4e0938e3206304efb7c9890f48ff45139f2d91f49740e5f30f53cafabe74ef269fd125a12b4be68a1a71a0f274699dd7e957e6b6e3f188fd00d4d3ff9ce723613040b033a5422323f6d04969a1a20817fc9a6dfe27d94fb339cb9f65737395b9259168e413b9cc87044ca8778f02824cffe3c02073539ba70dba20e3ea98354236a9f078c500ab5ad395f0060583f87b4d394dc11275abe219ee511abdd734ae1e296d1e298feb02ccb2768a173945bc95a3bc82694f727974b73bf4061da1e29e9920ed34a0527912eb3facc97a52c344260ac00c4ae09b0d9a67ee9027b3de52374538d8d635bcc4151c450fdd92c817254e2953267e66f4007705fbf3174bcfcae7605d2a28976527f7a096f1ba9c6ef5955f1cce4333b05d326491f02bd0efaf8423ef586293790bc75f696cd2f200160295621818384fbf5a28463bc63d20e96d0deb620adc511ffeb0701203177e8e60805ac5b612d7298d5bb63de454285ae5669dbe74191493e791ad1f54cd428d248e180f456214697f387fa98438eef8e40fd8afd372c05a6f225e9cc9a1eaa4f0778a254202c2d9f1a34b31ad18084ad25dabcd36b96911a6221090c09be3c9716715b2145f7127459eea821f94ee7febcd733f8a53c5c5fe3a3cdb1b2aba59b6981ac2a1811287dd53e7e28c82e5cc0c665147573debe4c3594a096ba48f9cbb6fb370af6e821108b18e62c30c361d298b449443310f17b308fe9a883a3800caad539b1c0c4d1bd2e2e8203dc4eb8de137783900558f6f0c986ff656bc0fe3ab8442ca29262eab5533d1e671cdb544d5c3bc2b573f90ad894d68aa338d893ac33957304048381a4dfe1f468c4120a76180e36fa56ddc6028c64afb517371ba5f8cb783b1736cef9ea6068c35e4ae683e5fc9fe996fe3b55be3a21d816d90c5bfc7f151acd447944a0c09820e09e29ae8a5b9ad4948e31c33a345435999b27638fa26fb807084f87729a5a659e63d4cbd8520d249289c299ed4a17ccf0f88aea06f110ed6981de6b9d8c2721d51d4aad28b98c61d7517128dd2d7d05dc9cc239d2eec0d29611c4d0f71307ea789ddfcbad4ef9e836c10f8ab2ffad42f68bfe29f92cac71db7f84b1bb926907d26c358ee0f4db6142ee78cc89c6d3ae381faf65ded8258d40dffe74d9cb013c4b8f3552c846a7886fd3b4ae0550164ae98f2f37e38ea2a924b3017b385308ff5f34870ab10638fc7b5602fbae4efd9e2eb36b6067e4f369355cb0ed4cac676cc412305de3ed52a172a7f343ef812e98e360aa0fd9067e226e92f3ded921f785ab246fdd3ab2a0c3e0df44644ca1e1c998c88531b336b7fb020626077f9e1299771f4a7ecd6b8ab0495047c8a2438fa639c6351cac59466345d821b621e8e25a5be086cbe890ee48196e28d1918759c1407f6c5226ca0eac8e04f18b5c91484f866049e8138ec22c69272c26f1011f10a9b435f63c09703fdf483668785a20a690de8abb002c2552ad38de675488431bb277089f0f8c1ff3736a6c4d0a08ef9cdd94e076caf34d986bfe2c33087a61bc85445beb4e00509e7090e43fc7ec7d470e4a62c8eb2cd3d6b9162e310a21fc8ba2df4131dfebb7f8c14d13312a3052d9ece7927fd7eb74f8c12b4d79734b11d22dc34ce9a20f90e4045c5d46800ee84a7337ad064a9bbcf11c796a88b563c52f5e3ed0a372adb7a44661842445400aa5dca33e9d40e9300ed8c809b36c2e542ad192c4434945a6a1e7174931290b06eef01f491b194b43dc61812edff042c0f833683b824bfdabbc8c92b3c89229a83960692df7aec19fa23ac0c82bbfb0c6e1ebaec4d98a8246c934b8af9ec04b66bd737d800d48492d03c8a2e223b39027109e1bc890ac111a8ed38ca47cf47baa1838fd2530589beef645e4934a7b870dcb38a0cdb2658bc5e3aa2fce23460f65da5a650f083948e887607f1a973f742e73d20d735bf5989eae563dc7e9c47329cef8d86e2126ba4cfae739199df7fddf8af99c4c7157fd78b4d7c0a0274574885d62621515304a98ffb7b80a63969759d1daa36e9095ed45e1a51df4a2dcbd622464e54982aaabaa32fb495c327342de39594703a6813353666b89b5565fd39b183d02f0a8309be61949da5b39b257a3ea4e9b2e2322986eb26e555f0701e7c86b1da3457534ebc18b9cd1f7ff6973f34001e59be12d65bca1a961c747cad24a3e01352c924514338f1a7b8151e250f19f83a99a2c678ead73dbe958030b95ea83f024e7b0219b5933fdfb5e35044d3dea98a54f4bfa66487dfa366fefdcc3d6942c8188e14027b72f0ad755bf25661f0e8e8f5b4c12aa87c8cf96e893f15f1bbf525cc874881aea4be735a51c72078fdb4601777dae45aebf64548723a5e699bc1fda121764a596e4b203f4a8a1a6310ea1bd4e631581e808909cf8d15014df671c3c6b5abd68c4fef7d34fffc4d9490404a617296d61a36c800f7a8663c51ccb20ecc7db92f52c1592b80328a170a6c9db8aec92b8c080eb75a720dc489ba21721fba179bfde898b2bd9de156bc61626aaee47b823eb8f07ec20f53c407419cfe34082dccb5e749569b31433751efd1cd1c67876d7ebb61aa763adab5de83ee2bfcdc4b478ab6b0ff40ac94846cc8e1eeb2ca632aecc57e6c6b0c4f05fac869d54c69cfd0d9909833dc3622ea0a3a5c242f15b136487f0ece7b976160b8c23938c0f9da3953fad506ab2ba9b231970b9db1aed7485a3a9bdd88bb299981c1fc8d96c31cf199d3cf4a4f79e03abb3b2d25ced8c77a32a88401381273bb707808c73b1c688abfd084888ab3337467e88b2748f9861f25b171b3cbfbd1372eda841dc72c73de4ba5b8ba599ac7184425016676d5e1ed80ba903d532df489d2ace082cf19f1cdc50c037a3800ab774a16d7cba908c376704bf2ea8207bbad2ceeb7b0bf370f163cd1e8b504953687f1fad7317e7e603101fc4e01f1f09730711363a1fc16ea912be04fff4039d600200d28c7deef1e64ce75dda655411ca300e38acc231a1db1d6f58f3b7bdaf2e6452ed8783efa8ca63ca3bb3e4050a2c01ebe1a7f76f83a02797170b67690b5866fd2ca73c273c053243b38939c2b5"}) r5 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r5, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r5) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r5, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) 10:18:42 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 22) 10:18:42 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3a00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:42 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:42 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2535.514990] should_failslab+0x5/0x20 [ 2535.520051] kmem_cache_alloc+0x5b/0x360 [ 2535.520575] getname_flags.part.0+0x50/0x4f0 [ 2535.521120] getname+0x8e/0xd0 [ 2535.521533] do_sys_openat2+0xf9/0x420 [ 2535.522024] ? build_open_flags+0x6f0/0x6f0 [ 2535.522566] ? rcu_read_lock_any_held+0x75/0xa0 [ 2535.523150] __x64_sys_openat+0x13f/0x1f0 [ 2535.523692] ? __ia32_sys_open+0x1c0/0x1c0 [ 2535.524243] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2535.524895] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2535.525542] do_syscall_64+0x33/0x40 [ 2535.526019] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2535.526648] RIP: 0033:0x7f7ae829ea04 [ 2535.527126] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2535.529365] RSP: 002b:00007f7ae5860ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2535.530321] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829ea04 [ 2535.531233] RDX: 0000000000000002 RSI: 00007f7ae5861000 RDI: 00000000ffffff9c [ 2535.532120] RBP: 00007f7ae5861000 R08: 0000000000000000 R09: ffffffffffffffff [ 2535.532997] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2535.533867] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2535.585177] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2535.590189] FAT-fs (loop3): bogus logical sector size 527 [ 2535.590935] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2535.591728] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2535.594686] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2535.596141] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2535.597320] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2535.599330] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2535.599668] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2535.601163] FAT-fs (loop0): Filesystem has been set read-only [ 2535.602042] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2535.604257] FAT-fs (loop6): Filesystem has been set read-only [ 2535.610632] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2535.611696] FAT-fs (loop2): Filesystem has been set read-only [ 2535.617735] FAT-fs (loop5): Directory bread(block 64) failed [ 2535.619370] FAT-fs (loop5): Directory bread(block 65) failed [ 2535.622231] FAT-fs (loop5): Directory bread(block 66) failed [ 2535.625649] FAT-fs (loop5): Directory bread(block 67) failed [ 2535.627781] FAT-fs (loop5): Directory bread(block 68) failed [ 2535.628631] FAT-fs (loop5): Directory bread(block 69) failed [ 2535.630677] FAT-fs (loop5): Directory bread(block 70) failed [ 2535.631658] FAT-fs (loop5): Directory bread(block 71) failed [ 2535.652425] FAT-fs (loop5): Directory bread(block 72) failed [ 2535.657948] FAT-fs (loop5): Directory bread(block 73) failed [ 2535.668494] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2535.673011] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2535.674073] FAT-fs (loop2): Filesystem has been set read-only 10:18:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3b00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:43 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 21) 10:18:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 23) 10:18:43 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4719, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3c00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2535.795170] FAULT_INJECTION: forcing a failure. [ 2535.795170] name failslab, interval 1, probability 0, space 0, times 0 [ 2535.798538] CPU: 1 PID: 13448 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2535.800590] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2535.801359] FAT-fs (loop3): bogus logical sector size 527 [ 2535.802970] Call Trace: [ 2535.802992] dump_stack+0x107/0x167 [ 2535.803010] should_fail.cold+0x5/0xa [ 2535.803025] ? create_object.isra.0+0x3a/0xa20 [ 2535.803041] should_failslab+0x5/0x20 [ 2535.804423] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2535.805110] kmem_cache_alloc+0x5b/0x360 [ 2535.805123] ? __generic_file_write_iter+0x1a4/0x5d0 [ 2535.805139] create_object.isra.0+0x3a/0xa20 [ 2535.806071] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2535.807069] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2535.807086] kmem_cache_alloc+0x159/0x360 [ 2535.807106] getname_flags.part.0+0x50/0x4f0 [ 2535.816896] getname+0x8e/0xd0 [ 2535.817490] do_sys_openat2+0xf9/0x420 [ 2535.818140] ? build_open_flags+0x6f0/0x6f0 [ 2535.818960] ? rcu_read_lock_any_held+0x75/0xa0 [ 2535.819824] __x64_sys_openat+0x13f/0x1f0 [ 2535.820568] ? __ia32_sys_open+0x1c0/0x1c0 [ 2535.821343] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2535.822275] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2535.823206] do_syscall_64+0x33/0x40 [ 2535.823922] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2535.824831] RIP: 0033:0x7f7ae829ea04 [ 2535.825510] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2535.828739] RSP: 002b:00007f7ae5860ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2535.830080] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829ea04 [ 2535.831164] RDX: 0000000000000002 RSI: 00007f7ae5861000 RDI: 00000000ffffff9c [ 2535.832037] RBP: 00007f7ae5861000 R08: 0000000000000000 R09: ffffffffffffffff [ 2535.832880] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2535.833686] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2535.848369] FAULT_INJECTION: forcing a failure. [ 2535.848369] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2535.851113] CPU: 0 PID: 13453 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2535.853124] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2535.855447] Call Trace: [ 2535.856254] dump_stack+0x107/0x167 [ 2535.857264] should_fail.cold+0x5/0xa [ 2535.858331] strncpy_from_user+0x34/0x470 [ 2535.859474] getname_flags.part.0+0x95/0x4f0 [ 2535.860668] getname+0x8e/0xd0 [ 2535.861531] do_sys_openat2+0xf9/0x420 10:18:43 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:43 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa", 0x20, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2535.862610] ? build_open_flags+0x6f0/0x6f0 [ 2535.863867] ? rcu_read_lock_any_held+0x75/0xa0 [ 2535.865446] __x64_sys_openat+0x13f/0x1f0 [ 2535.866760] ? __ia32_sys_open+0x1c0/0x1c0 [ 2535.868198] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2535.869886] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2535.871776] do_syscall_64+0x33/0x40 [ 2535.872929] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2535.874457] RIP: 0033:0x7fc61b7dda04 [ 2535.875533] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2535.880830] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2535.883017] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2535.885095] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2535.887150] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2535.889272] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2535.891395] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:18:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2535.942312] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2535.944818] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2535.945897] FAT-fs (loop4): Filesystem has been set read-only 10:18:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 24) [ 2535.953023] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2535.958009] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2535.959079] FAT-fs (loop2): Filesystem has been set read-only [ 2535.994034] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2536.011723] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2536.014021] FAT-fs (loop0): Filesystem has been set read-only [ 2536.025077] FAULT_INJECTION: forcing a failure. [ 2536.025077] name failslab, interval 1, probability 0, space 0, times 0 [ 2536.027503] CPU: 1 PID: 13469 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2536.029514] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2536.031897] Call Trace: [ 2536.032696] dump_stack+0x107/0x167 [ 2536.033739] should_fail.cold+0x5/0xa [ 2536.034824] ? __alloc_file+0x21/0x320 [ 2536.035969] should_failslab+0x5/0x20 [ 2536.037101] kmem_cache_alloc+0x5b/0x360 [ 2536.038281] __alloc_file+0x21/0x320 [ 2536.039364] alloc_empty_file+0x6d/0x170 [ 2536.040540] path_openat+0xde/0x26d0 [ 2536.041634] ? path_lookupat+0x860/0x860 [ 2536.042818] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2536.044342] ? lock_acquire+0x197/0x490 [ 2536.045461] do_filp_open+0x190/0x3e0 [ 2536.046548] ? may_open_dev+0xf0/0xf0 [ 2536.047650] ? __alloc_fd+0x2a5/0x620 [ 2536.048751] ? lock_downgrade+0x6d0/0x6d0 [ 2536.049907] ? rwlock_bug.part.0+0x90/0x90 [ 2536.051095] ? _raw_spin_unlock+0x1a/0x30 [ 2536.052284] ? __alloc_fd+0x2a5/0x620 [ 2536.053397] do_sys_openat2+0x171/0x420 10:18:43 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x5000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:43 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x2, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x3) lseek(r2, 0xffff, 0x4) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) fstat(0xffffffffffffffff, &(0x7f0000000100)) setsockopt(r5, 0x4, 0xe6b, &(0x7f0000000040)="13e77ac68248df53e4cecd9e5a5a931769414da1d7150f1bcefdd83233c5d8df703f2496613eda0e3c03", 0x2a) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback, 0x3}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2536.054533] ? build_open_flags+0x6f0/0x6f0 [ 2536.056165] ? rcu_read_lock_any_held+0x75/0xa0 [ 2536.057612] __x64_sys_openat+0x13f/0x1f0 [ 2536.058899] ? __ia32_sys_open+0x1c0/0x1c0 [ 2536.060202] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2536.061799] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2536.063402] do_syscall_64+0x33/0x40 [ 2536.064548] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2536.066124] RIP: 0033:0x7fc61b7dda04 [ 2536.067277] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2536.072960] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2536.075352] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2536.077537] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2536.079740] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2536.081891] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2536.084107] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2536.086795] FAT-fs (loop3): bogus logical sector size 527 [ 2536.088670] FAT-fs (loop3): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2536.089980] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2536.143669] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2536.152959] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2536.154160] FAT-fs (loop0): Filesystem has been set read-only 10:18:59 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 22) 10:18:59 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) r5 = fsmount(r0, 0x1, 0x0) fallocate(r5, 0x30, 0x1, 0x3) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) [ 2552.200430] FAULT_INJECTION: forcing a failure. [ 2552.200430] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2552.202317] CPU: 1 PID: 13481 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2552.203205] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2552.204399] Call Trace: [ 2552.204776] dump_stack+0x107/0x167 [ 2552.205242] should_fail.cold+0x5/0xa [ 2552.205754] strncpy_from_user+0x34/0x470 [ 2552.206277] getname_flags.part.0+0x95/0x4f0 [ 2552.206825] getname+0x8e/0xd0 [ 2552.207229] do_sys_openat2+0xf9/0x420 [ 2552.207750] ? build_open_flags+0x6f0/0x6f0 [ 2552.208349] ? rcu_read_lock_any_held+0x75/0xa0 [ 2552.208950] __x64_sys_openat+0x13f/0x1f0 [ 2552.209461] ? __ia32_sys_open+0x1c0/0x1c0 [ 2552.210043] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2552.210715] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2552.211355] do_syscall_64+0x33/0x40 10:18:59 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3d00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:18:59 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 25) 10:18:59 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa", 0x20, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:59 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2552.211875] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2552.212519] RIP: 0033:0x7f7ae829ea04 [ 2552.212985] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2552.217137] RSP: 002b:00007f7ae5860ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2552.218098] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829ea04 [ 2552.218977] RDX: 0000000000000002 RSI: 00007f7ae5861000 RDI: 00000000ffffff9c [ 2552.223924] RBP: 00007f7ae5861000 R08: 0000000000000000 R09: ffffffffffffffff [ 2552.224802] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2552.225664] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2552.225937] FAULT_INJECTION: forcing a failure. [ 2552.225937] name failslab, interval 1, probability 0, space 0, times 0 [ 2552.228216] CPU: 0 PID: 13486 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2552.229197] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2552.230336] Call Trace: [ 2552.230676] dump_stack+0x107/0x167 [ 2552.231164] should_fail.cold+0x5/0xa [ 2552.231729] ? create_object.isra.0+0x3a/0xa20 [ 2552.232398] should_failslab+0x5/0x20 [ 2552.232919] kmem_cache_alloc+0x5b/0x360 [ 2552.233482] create_object.isra.0+0x3a/0xa20 [ 2552.234048] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2552.234735] kmem_cache_alloc+0x159/0x360 [ 2552.235299] __alloc_file+0x21/0x320 [ 2552.235781] alloc_empty_file+0x6d/0x170 [ 2552.236438] path_openat+0xde/0x26d0 [ 2552.236965] ? path_lookupat+0x860/0x860 [ 2552.237541] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2552.238307] ? lock_acquire+0x197/0x490 [ 2552.238858] do_filp_open+0x190/0x3e0 [ 2552.239403] ? may_open_dev+0xf0/0xf0 [ 2552.239883] ? __alloc_fd+0x2a5/0x620 [ 2552.240451] ? lock_downgrade+0x6d0/0x6d0 [ 2552.241027] ? rwlock_bug.part.0+0x90/0x90 [ 2552.241649] ? _raw_spin_unlock+0x1a/0x30 [ 2552.242207] ? __alloc_fd+0x2a5/0x620 [ 2552.242869] do_sys_openat2+0x171/0x420 [ 2552.243446] ? build_open_flags+0x6f0/0x6f0 [ 2552.244055] ? rcu_read_lock_any_held+0x75/0xa0 [ 2552.244750] __x64_sys_openat+0x13f/0x1f0 [ 2552.245334] ? __ia32_sys_open+0x1c0/0x1c0 [ 2552.245927] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2552.246670] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2552.247397] do_syscall_64+0x33/0x40 [ 2552.247480] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.247919] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2552.247932] RIP: 0033:0x7fc61b7dda04 [ 2552.247953] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2552.251671] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2552.252867] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2552.252886] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2552.252896] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2552.252912] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2552.253807] FAT-fs (loop6): Filesystem has been set read-only [ 2552.254840] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2552.254853] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:18:59 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:18:59 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2552.290976] FAT-fs (loop5): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.304908] FAT-fs (loop5): Directory bread(block 64) failed [ 2552.305811] FAT-fs (loop5): Directory bread(block 65) failed [ 2552.306899] FAT-fs (loop5): Directory bread(block 66) failed [ 2552.307736] FAT-fs (loop5): Directory bread(block 67) failed [ 2552.308882] FAT-fs (loop5): Directory bread(block 68) failed [ 2552.309714] FAT-fs (loop5): Directory bread(block 69) failed [ 2552.310773] FAT-fs (loop5): Directory bread(block 70) failed [ 2552.311588] FAT-fs (loop5): Directory bread(block 71) failed [ 2552.312863] FAT-fs (loop5): Directory bread(block 72) failed [ 2552.313731] FAT-fs (loop5): Directory bread(block 73) failed [ 2552.326277] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.326540] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.328801] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.331437] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2552.332573] FAT-fs (loop0): Filesystem has been set read-only [ 2552.346717] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) 10:18:59 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 23) [ 2552.347723] FAT-fs (loop2): Filesystem has been set read-only [ 2552.365836] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2552.385301] FAT-fs (loop3): Directory bread(block 64) failed [ 2552.386135] FAT-fs (loop3): Directory bread(block 65) failed [ 2552.393145] FAT-fs (loop3): Directory bread(block 66) failed [ 2552.395150] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.396155] FAT-fs (loop3): Directory bread(block 67) failed [ 2552.397805] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2552.398861] FAT-fs (loop0): Filesystem has been set read-only [ 2552.400341] FAULT_INJECTION: forcing a failure. [ 2552.400341] name failslab, interval 1, probability 0, space 0, times 0 [ 2552.401543] FAT-fs (loop3): Directory bread(block 68) failed [ 2552.403764] CPU: 0 PID: 13507 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2552.405381] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2552.406497] Call Trace: [ 2552.406846] dump_stack+0x107/0x167 [ 2552.407428] should_fail.cold+0x5/0xa [ 2552.407941] ? __alloc_file+0x21/0x320 [ 2552.408542] should_failslab+0x5/0x20 [ 2552.409037] kmem_cache_alloc+0x5b/0x360 [ 2552.409607] __alloc_file+0x21/0x320 [ 2552.410087] alloc_empty_file+0x6d/0x170 [ 2552.410683] path_openat+0xde/0x26d0 [ 2552.414481] FAT-fs (loop3): Directory bread(block 69) failed [ 2552.420897] ? path_lookupat+0x860/0x860 [ 2552.420919] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2552.420939] ? lock_acquire+0x197/0x490 [ 2552.423370] do_filp_open+0x190/0x3e0 [ 2552.423915] ? may_open_dev+0xf0/0xf0 [ 2552.424468] ? __alloc_fd+0x2a5/0x620 [ 2552.424964] ? lock_downgrade+0x6d0/0x6d0 [ 2552.425497] ? rwlock_bug.part.0+0x90/0x90 [ 2552.426038] ? _raw_spin_unlock+0x1a/0x30 [ 2552.426589] ? __alloc_fd+0x2a5/0x620 [ 2552.427110] do_sys_openat2+0x171/0x420 [ 2552.427620] ? build_open_flags+0x6f0/0x6f0 [ 2552.428244] ? rcu_read_lock_any_held+0x75/0xa0 [ 2552.428839] __x64_sys_openat+0x13f/0x1f0 [ 2552.429381] ? __ia32_sys_open+0x1c0/0x1c0 [ 2552.429931] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2552.430581] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2552.431230] do_syscall_64+0x33/0x40 [ 2552.431702] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2552.432407] RIP: 0033:0x7f7ae829ea04 [ 2552.432878] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2552.435290] RSP: 002b:00007f7ae5860ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2552.435331] FAT-fs (loop3): Directory bread(block 70) failed [ 2552.436711] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829ea04 [ 2552.436722] RDX: 0000000000000002 RSI: 00007f7ae5861000 RDI: 00000000ffffff9c [ 2552.436731] RBP: 00007f7ae5861000 R08: 0000000000000000 R09: ffffffffffffffff [ 2552.436739] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2552.436754] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2552.439829] FAT-fs (loop3): Directory bread(block 71) failed [ 2552.444719] FAT-fs (loop3): Directory bread(block 72) failed [ 2552.445477] FAT-fs (loop3): Directory bread(block 73) failed 10:18:59 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 26) 10:18:59 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2552.492701] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:19:00 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) eventfd(0x1ff) r3 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r3, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r3) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r0, 0x8140}, {r1}, {r2}, {r3, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r4 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) ioctl$EXT4_IOC_GROUP_EXTEND(0xffffffffffffffff, 0x40086607, &(0x7f00000004c0)) accept4$inet6(r3, &(0x7f0000000040)={0xa, 0x0, 0x0, @dev}, &(0x7f0000000140)=0x1c, 0x80800) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, r4, 0x0, 0x9bbb) [ 2552.504808] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2552.505873] FAT-fs (loop6): Filesystem has been set read-only [ 2552.519665] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:19:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 24) [ 2552.542667] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2552.543572] FAT-fs (loop2): Filesystem has been set read-only [ 2552.568316] FAULT_INJECTION: forcing a failure. [ 2552.568316] name failslab, interval 1, probability 0, space 0, times 0 [ 2552.569779] CPU: 1 PID: 13515 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2552.570637] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2552.571698] Call Trace: [ 2552.572057] dump_stack+0x107/0x167 [ 2552.572541] should_fail.cold+0x5/0xa [ 2552.573018] ? security_file_alloc+0x34/0x170 [ 2552.573576] should_failslab+0x5/0x20 [ 2552.574049] kmem_cache_alloc+0x5b/0x360 [ 2552.574564] security_file_alloc+0x34/0x170 [ 2552.575106] __alloc_file+0xb6/0x320 [ 2552.575598] alloc_empty_file+0x6d/0x170 [ 2552.576127] path_openat+0xde/0x26d0 [ 2552.576643] ? path_lookupat+0x860/0x860 [ 2552.577153] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2552.577805] ? lock_acquire+0x197/0x490 [ 2552.578316] do_filp_open+0x190/0x3e0 [ 2552.578830] ? may_open_dev+0xf0/0xf0 [ 2552.579322] ? __alloc_fd+0x2a5/0x620 [ 2552.579806] ? lock_downgrade+0x6d0/0x6d0 [ 2552.580375] ? rwlock_bug.part.0+0x90/0x90 [ 2552.580906] ? _raw_spin_unlock+0x1a/0x30 [ 2552.581432] ? __alloc_fd+0x2a5/0x620 [ 2552.581933] do_sys_openat2+0x171/0x420 [ 2552.582464] ? build_open_flags+0x6f0/0x6f0 [ 2552.583001] ? rcu_read_lock_any_held+0x75/0xa0 [ 2552.583608] __x64_sys_openat+0x13f/0x1f0 [ 2552.584157] ? __ia32_sys_open+0x1c0/0x1c0 [ 2552.584688] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2552.585337] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2552.585981] do_syscall_64+0x33/0x40 [ 2552.586454] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2552.587094] RIP: 0033:0x7fc61b7dda04 [ 2552.587589] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2552.589930] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2552.590852] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2552.591746] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2552.592672] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2552.593578] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2552.594485] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:19:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3e00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2552.634823] FAULT_INJECTION: forcing a failure. [ 2552.634823] name failslab, interval 1, probability 0, space 0, times 0 [ 2552.636352] CPU: 0 PID: 13517 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2552.637306] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2552.638373] Call Trace: [ 2552.638710] dump_stack+0x107/0x167 [ 2552.639161] should_fail.cold+0x5/0xa [ 2552.639685] ? create_object.isra.0+0x3a/0xa20 [ 2552.640335] should_failslab+0x5/0x20 [ 2552.640796] kmem_cache_alloc+0x5b/0x360 [ 2552.641351] create_object.isra.0+0x3a/0xa20 [ 2552.641940] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2552.642652] kmem_cache_alloc+0x159/0x360 [ 2552.643176] __alloc_file+0x21/0x320 [ 2552.643688] alloc_empty_file+0x6d/0x170 [ 2552.644202] path_openat+0xde/0x26d0 [ 2552.644798] ? path_lookupat+0x860/0x860 [ 2552.645368] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2552.646017] ? lock_acquire+0x197/0x490 [ 2552.646551] do_filp_open+0x190/0x3e0 [ 2552.647014] ? may_open_dev+0xf0/0xf0 [ 2552.647545] ? __alloc_fd+0x2a5/0x620 [ 2552.648065] ? lock_downgrade+0x6d0/0x6d0 [ 2552.648656] ? rwlock_bug.part.0+0x90/0x90 [ 2552.649182] ? _raw_spin_unlock+0x1a/0x30 [ 2552.649808] ? __alloc_fd+0x2a5/0x620 [ 2552.650336] do_sys_openat2+0x171/0x420 [ 2552.650848] ? build_open_flags+0x6f0/0x6f0 [ 2552.651459] ? rcu_read_lock_any_held+0x75/0xa0 [ 2552.652060] __x64_sys_openat+0x13f/0x1f0 [ 2552.652663] ? __ia32_sys_open+0x1c0/0x1c0 [ 2552.653203] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2552.653960] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2552.654695] do_syscall_64+0x33/0x40 [ 2552.655160] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2552.655901] RIP: 0033:0x7f7ae829ea04 [ 2552.656430] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2552.658912] RSP: 002b:00007f7ae5860ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2552.659953] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829ea04 [ 2552.660879] RDX: 0000000000000002 RSI: 00007f7ae5861000 RDI: 00000000ffffff9c [ 2552.661899] RBP: 00007f7ae5861000 R08: 0000000000000000 R09: ffffffffffffffff [ 2552.662855] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2552.663834] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:19:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2552.730982] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.732851] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2552.733798] FAT-fs (loop4): Filesystem has been set read-only [ 2552.772248] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.774389] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2552.775289] FAT-fs (loop2): Filesystem has been set read-only [ 2552.776215] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.780285] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2552.781281] FAT-fs (loop0): Filesystem has been set read-only [ 2552.842217] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.844295] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2552.846162] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2552.847105] FAT-fs (loop2): Filesystem has been set read-only [ 2552.860300] FAT-fs (loop3): Directory bread(block 64) failed [ 2552.861088] FAT-fs (loop3): Directory bread(block 65) failed [ 2552.861879] FAT-fs (loop3): Directory bread(block 66) failed [ 2552.862657] FAT-fs (loop3): Directory bread(block 67) failed [ 2552.863430] FAT-fs (loop3): Directory bread(block 68) failed [ 2552.864866] FAT-fs (loop3): Directory bread(block 69) failed [ 2552.865699] FAT-fs (loop3): Directory bread(block 70) failed [ 2552.866498] FAT-fs (loop3): Directory bread(block 71) failed [ 2552.867296] FAT-fs (loop3): Directory bread(block 72) failed [ 2552.868247] FAT-fs (loop3): Directory bread(block 73) failed 10:19:23 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4819, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:23 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:19:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:19:23 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:23 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) recvfrom(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) ioctl$FS_IOC_FSSETXATTR(0xffffffffffffffff, 0x401c5820, &(0x7f0000000040)={0xffffff79, 0x5, 0x1, 0x4, 0x2}) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:19:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 25) 10:19:23 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3f00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:23 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 27) [ 2576.335055] FAULT_INJECTION: forcing a failure. [ 2576.335055] name failslab, interval 1, probability 0, space 0, times 0 [ 2576.336463] FAULT_INJECTION: forcing a failure. [ 2576.336463] name failslab, interval 1, probability 0, space 0, times 0 [ 2576.340785] CPU: 1 PID: 13549 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2576.343039] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2576.344108] Call Trace: [ 2576.344565] dump_stack+0x107/0x167 [ 2576.345007] should_fail.cold+0x5/0xa [ 2576.345566] ? security_file_alloc+0x34/0x170 [ 2576.346120] should_failslab+0x5/0x20 [ 2576.346708] kmem_cache_alloc+0x5b/0x360 [ 2576.347214] security_file_alloc+0x34/0x170 [ 2576.347806] __alloc_file+0xb6/0x320 [ 2576.348405] alloc_empty_file+0x6d/0x170 [ 2576.348922] path_openat+0xde/0x26d0 [ 2576.349495] ? path_lookupat+0x860/0x860 [ 2576.350001] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2576.350720] do_filp_open+0x190/0x3e0 [ 2576.351182] ? may_open_dev+0xf0/0xf0 [ 2576.351686] ? __alloc_fd+0x2a5/0x620 [ 2576.352158] ? lock_downgrade+0x6d0/0x6d0 [ 2576.352762] ? rwlock_bug.part.0+0x90/0x90 [ 2576.353368] ? _raw_spin_unlock+0x1a/0x30 [ 2576.353856] ? __alloc_fd+0x2a5/0x620 [ 2576.354379] do_sys_openat2+0x171/0x420 [ 2576.354849] ? build_open_flags+0x6f0/0x6f0 [ 2576.355417] ? rcu_read_lock_any_held+0x75/0xa0 [ 2576.355963] __x64_sys_openat+0x13f/0x1f0 [ 2576.356580] ? __ia32_sys_open+0x1c0/0x1c0 [ 2576.357098] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2576.357855] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2576.358567] do_syscall_64+0x33/0x40 [ 2576.359034] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2576.359749] RIP: 0033:0x7f7ae829ea04 [ 2576.360342] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2576.362732] RSP: 002b:00007f7ae5860ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2576.365733] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829ea04 [ 2576.366667] RDX: 0000000000000002 RSI: 00007f7ae5861000 RDI: 00000000ffffff9c [ 2576.367673] RBP: 00007f7ae5861000 R08: 0000000000000000 R09: ffffffffffffffff [ 2576.368692] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2576.369632] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2576.370600] CPU: 0 PID: 13550 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2576.371619] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2576.372776] Call Trace: [ 2576.373135] dump_stack+0x107/0x167 [ 2576.373663] should_fail.cold+0x5/0xa [ 2576.374179] ? create_object.isra.0+0x3a/0xa20 [ 2576.374829] should_failslab+0x5/0x20 [ 2576.375323] kmem_cache_alloc+0x5b/0x360 [ 2576.375912] ? percpu_ref_put_many.constprop.0+0x4e/0x100 [ 2576.376700] create_object.isra.0+0x3a/0xa20 [ 2576.377261] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2576.377991] kmem_cache_alloc+0x159/0x360 [ 2576.378588] security_file_alloc+0x34/0x170 [ 2576.379149] __alloc_file+0xb6/0x320 [ 2576.379696] alloc_empty_file+0x6d/0x170 [ 2576.380233] path_openat+0xde/0x26d0 [ 2576.380805] ? path_lookupat+0x860/0x860 [ 2576.381333] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2576.382042] ? lock_acquire+0x197/0x490 [ 2576.382657] do_filp_open+0x190/0x3e0 [ 2576.383138] ? may_open_dev+0xf0/0xf0 [ 2576.383756] ? __alloc_fd+0x2a5/0x620 [ 2576.384258] ? lock_downgrade+0x6d0/0x6d0 [ 2576.385145] ? rwlock_bug.part.0+0x90/0x90 [ 2576.385752] ? _raw_spin_unlock+0x1a/0x30 [ 2576.386280] ? __alloc_fd+0x2a5/0x620 [ 2576.386839] do_sys_openat2+0x171/0x420 [ 2576.387344] ? build_open_flags+0x6f0/0x6f0 [ 2576.387984] ? rcu_read_lock_any_held+0x75/0xa0 [ 2576.388662] __x64_sys_openat+0x13f/0x1f0 [ 2576.389193] ? __ia32_sys_open+0x1c0/0x1c0 [ 2576.389804] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2576.390522] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2576.391173] do_syscall_64+0x33/0x40 [ 2576.391708] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2576.392453] RIP: 0033:0x7fc61b7dda04 [ 2576.392950] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2576.395350] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2576.396487] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2576.397427] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2576.398319] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2576.399273] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2576.400256] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2576.440973] FAT-fs (loop5): Invalid FSINFO signature: 0x00005252, 0x00000000 (sector = 1) [ 2576.443108] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2576.444747] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2576.447444] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2576.448482] FAT-fs (loop2): Filesystem has been set read-only [ 2576.452321] FAT-fs (loop5): Directory bread(block 64) failed [ 2576.453340] FAT-fs (loop5): Directory bread(block 65) failed [ 2576.454906] FAT-fs (loop5): Directory bread(block 66) failed [ 2576.455791] FAT-fs (loop5): Directory bread(block 67) failed [ 2576.456714] FAT-fs (loop5): Directory bread(block 68) failed [ 2576.457500] FAT-fs (loop5): Directory bread(block 69) failed [ 2576.458306] FAT-fs (loop5): Directory bread(block 70) failed [ 2576.458806] FAT-fs (loop3): Directory bread(block 64) failed [ 2576.459164] FAT-fs (loop5): Directory bread(block 71) failed [ 2576.460136] FAT-fs (loop3): Directory bread(block 65) failed [ 2576.461291] FAT-fs (loop5): Directory bread(block 72) failed [ 2576.462916] FAT-fs (loop5): Directory bread(block 73) failed [ 2576.471898] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2576.474239] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2576.475241] FAT-fs (loop6): Filesystem has been set read-only [ 2576.478297] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2576.480731] FAT-fs (loop3): Directory bread(block 66) failed [ 2576.481546] FAT-fs (loop3): Directory bread(block 67) failed [ 2576.483581] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2576.484519] FAT-fs (loop0): Filesystem has been set read-only [ 2576.487626] FAT-fs (loop3): Directory bread(block 68) failed [ 2576.488393] FAT-fs (loop3): Directory bread(block 69) failed [ 2576.492576] FAT-fs (loop3): Directory bread(block 70) failed [ 2576.495285] FAT-fs (loop3): Directory bread(block 71) failed [ 2576.499052] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2576.502374] FAT-fs (loop3): Directory bread(block 72) failed [ 2576.506862] FAT-fs (loop3): Directory bread(block 73) failed [ 2576.547221] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2576.553251] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2576.554184] FAT-fs (loop0): Filesystem has been set read-only [ 2576.561510] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2576.568405] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2576.569460] FAT-fs (loop2): Filesystem has been set read-only [ 2576.572637] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2576.576258] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2576.577321] FAT-fs (loop6): Filesystem has been set read-only 10:19:40 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 26) 10:19:40 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 28) 10:19:40 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_config_ext={0x5, 0x100000000}, 0x0, 0x1, 0x100000, 0x0, 0x4000004, 0x0, 0xfffe}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0xa) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0xffffffff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) syz_io_uring_submit(0x0, 0x0, &(0x7f0000000480)=@IORING_OP_ASYNC_CANCEL={0xe, 0x4, 0x0, 0x0, 0x0, 0x12345}, 0x3) syz_io_uring_submit(0x0, 0x0, &(0x7f0000000040)=@IORING_OP_EPOLL_CTL=@del={0x1d, 0x2, 0x0, r4, 0x0, r1}, 0x40) [ 2592.626476] FAULT_INJECTION: forcing a failure. [ 2592.626476] name failslab, interval 1, probability 0, space 0, times 0 [ 2592.627367] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2592.628069] CPU: 0 PID: 13577 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2592.629953] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2592.630928] Call Trace: [ 2592.631257] dump_stack+0x107/0x167 [ 2592.631693] should_fail.cold+0x5/0xa [ 2592.632199] ? create_object.isra.0+0x3a/0xa20 [ 2592.632776] should_failslab+0x5/0x20 [ 2592.633255] kmem_cache_alloc+0x5b/0x360 [ 2592.633744] ? percpu_ref_put_many.constprop.0+0x4e/0x100 [ 2592.634450] create_object.isra.0+0x3a/0xa20 [ 2592.635014] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2592.635627] kmem_cache_alloc+0x159/0x360 [ 2592.636134] security_file_alloc+0x34/0x170 [ 2592.636691] __alloc_file+0xb6/0x320 [ 2592.637196] alloc_empty_file+0x6d/0x170 [ 2592.637692] path_openat+0xde/0x26d0 [ 2592.638186] ? path_lookupat+0x860/0x860 [ 2592.638683] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2592.639364] ? lock_acquire+0x197/0x490 [ 2592.639866] do_filp_open+0x190/0x3e0 [ 2592.640159] FAT-fs (loop3): Directory bread(block 64) failed [ 2592.640330] ? may_open_dev+0xf0/0xf0 [ 2592.640355] ? __alloc_fd+0x2a5/0x620 [ 2592.641228] FAT-fs (loop3): Directory bread(block 65) failed [ 2592.641593] ? lock_downgrade+0x6d0/0x6d0 [ 2592.643240] ? rwlock_bug.part.0+0x90/0x90 [ 2592.643767] ? _raw_spin_unlock+0x1a/0x30 [ 2592.644284] ? __alloc_fd+0x2a5/0x620 [ 2592.644777] do_sys_openat2+0x171/0x420 [ 2592.644801] FAT-fs (loop3): Directory bread(block 66) failed [ 2592.645268] ? build_open_flags+0x6f0/0x6f0 [ 2592.646527] ? rcu_read_lock_any_held+0x75/0xa0 [ 2592.647122] __x64_sys_openat+0x13f/0x1f0 [ 2592.647224] FAT-fs (loop3): Directory bread(block 67) failed [ 2592.647621] ? __ia32_sys_open+0x1c0/0x1c0 [ 2592.647649] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2592.648472] FAT-fs (loop3): Directory bread(block 68) failed [ 2592.651182] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2592.651203] do_syscall_64+0x33/0x40 [ 2592.651219] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2592.651236] RIP: 0033:0x7f7ae829ea04 [ 2592.654245] FAT-fs (loop3): Directory bread(block 69) failed [ 2592.654328] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2592.654826] FAT-fs (loop3): Directory bread(block 70) failed [ 2592.655459] RSP: 002b:00007f7ae5860ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2592.655474] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae829ea04 [ 2592.655482] RDX: 0000000000000002 RSI: 00007f7ae5861000 RDI: 00000000ffffff9c [ 2592.655490] RBP: 00007f7ae5861000 R08: 0000000000000000 R09: ffffffffffffffff [ 2592.655505] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2592.660475] FAT-fs (loop3): Directory bread(block 71) failed [ 2592.660570] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2592.663109] FAULT_INJECTION: forcing a failure. [ 2592.663109] name failslab, interval 1, probability 0, space 0, times 0 [ 2592.664732] FAT-fs (loop3): Directory bread(block 72) failed [ 2592.664940] CPU: 0 PID: 13573 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2592.667026] FAT-fs (loop3): Directory bread(block 73) failed [ 2592.667188] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2592.667198] Call Trace: [ 2592.670867] dump_stack+0x107/0x167 [ 2592.671359] should_fail.cold+0x5/0xa [ 2592.671832] ? __kthread_create_on_node+0xd1/0x400 [ 2592.672462] should_failslab+0x5/0x20 [ 2592.672943] kmem_cache_alloc_trace+0x55/0x360 [ 2592.673530] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2592.674116] __kthread_create_on_node+0xd1/0x400 [ 2592.674675] ? __kthread_parkme+0x1d0/0x1d0 [ 2592.675235] ? __mutex_lock+0x425/0x12a0 [ 2592.675720] ? loop_configure+0xcb5/0x1480 [ 2592.676257] ? do_raw_spin_unlock+0x4f/0x220 [ 2592.676809] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2592.677385] kthread_create_on_node+0xbb/0x100 [ 2592.677932] ? __kthread_create_on_node+0x400/0x400 [ 2592.678547] ? lockdep_init_map_type+0x2c7/0x780 [ 2592.679144] ? lockdep_init_map_type+0x2c7/0x780 [ 2592.679738] loop_configure+0x3e3/0x1480 [ 2592.680300] lo_ioctl+0xa72/0x1760 [ 2592.680767] ? avc_has_extended_perms+0x7f1/0xec0 [ 2592.681389] ? loop_set_status_old+0x250/0x250 [ 2592.681963] ? avc_ss_reset+0x180/0x180 [ 2592.682486] ? find_held_lock+0x2c/0x110 [ 2592.683008] ? __lock_acquire+0xbb1/0x5b00 [ 2592.683554] ? selinux_inode_getsecctx+0x90/0x90 [ 2592.684142] ? generic_block_fiemap+0x60/0x60 [ 2592.684728] ? loop_set_status_old+0x250/0x250 [ 2592.685325] blkdev_ioctl+0x291/0x710 [ 2592.685798] ? blkdev_common_ioctl+0x1870/0x1870 [ 2592.686414] ? selinux_file_ioctl+0xb1/0x260 [ 2592.686965] block_ioctl+0xf9/0x140 [ 2592.687443] ? blkdev_read_iter+0x1c0/0x1c0 [ 2592.687997] __x64_sys_ioctl+0x19a/0x210 [ 2592.688516] do_syscall_64+0x33/0x40 [ 2592.688997] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2592.689639] RIP: 0033:0x7fc61b82a8d7 [ 2592.690155] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2592.692553] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2592.693496] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2592.694347] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2592.695271] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2592.696157] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2592.697071] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:19:40 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4c00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {0x0, 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:19:40 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8800000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:40 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2592.741236] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2592.743011] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2592.743982] FAT-fs (loop0): Filesystem has been set read-only [ 2592.749525] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:19:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {0x0, 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2592.752078] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2592.753277] FAT-fs (loop6): Filesystem has been set read-only [ 2592.757833] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2592.768900] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2592.769875] FAT-fs (loop2): Filesystem has been set read-only [ 2592.775285] FAT-fs (loop5): Invalid FSINFO signature: 0x00005252, 0x00000000 (sector = 1) [ 2592.785528] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2592.787186] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2592.789770] FAT-fs (loop4): Filesystem has been set read-only [ 2592.804261] FAT-fs (loop5): Directory bread(block 64) failed [ 2592.805150] FAT-fs (loop5): Directory bread(block 65) failed [ 2592.805962] FAT-fs (loop5): Directory bread(block 66) failed [ 2592.806744] FAT-fs (loop5): Directory bread(block 67) failed [ 2592.807509] FAT-fs (loop5): Directory bread(block 68) failed 10:19:40 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 29) [ 2592.811128] FAT-fs (loop5): Directory bread(block 69) failed [ 2592.811950] FAT-fs (loop5): Directory bread(block 70) failed [ 2592.812885] FAT-fs (loop5): Directory bread(block 71) failed [ 2592.813711] FAT-fs (loop5): Directory bread(block 72) failed [ 2592.814440] FAT-fs (loop5): Directory bread(block 73) failed [ 2592.834958] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2592.846224] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2592.847269] FAT-fs (loop0): Filesystem has been set read-only [ 2592.858512] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2592.861365] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2592.862249] FAT-fs (loop2): Filesystem has been set read-only [ 2592.883566] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2592.889512] FAULT_INJECTION: forcing a failure. [ 2592.889512] name failslab, interval 1, probability 0, space 0, times 0 [ 2592.892183] CPU: 1 PID: 13597 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2592.893282] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2592.894373] Call Trace: [ 2592.894744] dump_stack+0x107/0x167 [ 2592.895199] should_fail.cold+0x5/0xa [ 2592.895741] ? create_object.isra.0+0x3a/0xa20 [ 2592.896427] should_failslab+0x5/0x20 [ 2592.896937] kmem_cache_alloc+0x5b/0x360 [ 2592.897538] create_object.isra.0+0x3a/0xa20 [ 2592.898073] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2592.898756] kmem_cache_alloc_trace+0x151/0x360 [ 2592.899413] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2592.900027] __kthread_create_on_node+0xd1/0x400 [ 2592.900750] ? __kthread_parkme+0x1d0/0x1d0 [ 2592.901358] ? __mutex_lock+0x425/0x12a0 [ 2592.901901] ? loop_configure+0xcb5/0x1480 [ 2592.902511] ? do_raw_spin_unlock+0x4f/0x220 [ 2592.903049] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2592.903694] kthread_create_on_node+0xbb/0x100 [ 2592.904347] ? __kthread_create_on_node+0x400/0x400 [ 2592.905017] ? lockdep_init_map_type+0x2c7/0x780 [ 2592.905698] ? lockdep_init_map_type+0x2c7/0x780 [ 2592.906337] loop_configure+0x3e3/0x1480 [ 2592.906900] lo_ioctl+0xa72/0x1760 [ 2592.907445] ? avc_has_extended_perms+0x7f1/0xec0 [ 2592.908036] ? loop_set_status_old+0x250/0x250 [ 2592.908686] ? avc_ss_reset+0x180/0x180 [ 2592.909175] ? find_held_lock+0x2c/0x110 [ 2592.909800] ? __lock_acquire+0xbb1/0x5b00 [ 2592.910442] ? selinux_inode_getsecctx+0x90/0x90 [ 2592.911029] ? generic_block_fiemap+0x60/0x60 [ 2592.911698] ? loop_set_status_old+0x250/0x250 [ 2592.912366] blkdev_ioctl+0x291/0x710 [ 2592.912890] ? blkdev_common_ioctl+0x1870/0x1870 [ 2592.913655] ? selinux_file_ioctl+0xb1/0x260 [ 2592.914186] block_ioctl+0xf9/0x140 [ 2592.914741] ? blkdev_read_iter+0x1c0/0x1c0 [ 2592.915349] __x64_sys_ioctl+0x19a/0x210 [ 2592.915864] do_syscall_64+0x33/0x40 [ 2592.916432] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2592.917085] RIP: 0033:0x7fc61b82a8d7 [ 2592.917673] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2592.920087] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2592.921161] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2592.922106] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2592.923087] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2592.924045] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2592.925071] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2592.936036] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2592.937274] FAT-fs (loop6): Filesystem has been set read-only 10:19:40 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 27) 10:19:40 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:40 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2593.016121] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.030590] FAT-fs (loop3): Directory bread(block 64) failed [ 2593.032895] FAT-fs (loop3): Directory bread(block 65) failed [ 2593.033888] FAT-fs (loop3): Directory bread(block 66) failed [ 2593.035941] FAT-fs (loop3): Directory bread(block 67) failed [ 2593.037363] FAT-fs (loop3): Directory bread(block 68) failed [ 2593.039433] FAT-fs (loop3): Directory bread(block 69) failed [ 2593.040383] FAT-fs (loop3): Directory bread(block 70) failed [ 2593.041576] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2593.042443] FAT-fs (loop3): Directory bread(block 71) failed [ 2593.043703] FAT-fs (loop3): Directory bread(block 72) failed [ 2593.044474] FAT-fs (loop3): Directory bread(block 73) failed [ 2593.057855] FAULT_INJECTION: forcing a failure. [ 2593.057855] name failslab, interval 1, probability 0, space 0, times 0 [ 2593.059291] CPU: 1 PID: 13605 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2593.060145] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2593.061170] Call Trace: [ 2593.061504] dump_stack+0x107/0x167 [ 2593.061971] should_fail.cold+0x5/0xa [ 2593.062453] ? __kthread_create_on_node+0xd1/0x400 [ 2593.063070] should_failslab+0x5/0x20 [ 2593.063537] kmem_cache_alloc_trace+0x55/0x360 [ 2593.064115] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2593.064765] __kthread_create_on_node+0xd1/0x400 [ 2593.065357] ? __kthread_parkme+0x1d0/0x1d0 [ 2593.065903] ? __mutex_lock+0x425/0x12a0 [ 2593.066402] ? loop_configure+0xcb5/0x1480 [ 2593.066976] ? do_raw_spin_unlock+0x4f/0x220 [ 2593.067531] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2593.068157] kthread_create_on_node+0xbb/0x100 [ 2593.068739] ? __kthread_create_on_node+0x400/0x400 [ 2593.069348] ? lockdep_init_map_type+0x2c7/0x780 [ 2593.069980] ? lockdep_init_map_type+0x2c7/0x780 [ 2593.070584] loop_configure+0x3e3/0x1480 [ 2593.071122] lo_ioctl+0xa72/0x1760 [ 2593.071559] ? avc_has_extended_perms+0x7f1/0xec0 [ 2593.072204] ? loop_set_status_old+0x250/0x250 [ 2593.072816] ? avc_ss_reset+0x180/0x180 [ 2593.073313] ? find_held_lock+0x2c/0x110 [ 2593.073817] ? __lock_acquire+0xbb1/0x5b00 [ 2593.074375] ? selinux_inode_getsecctx+0x90/0x90 [ 2593.074964] ? generic_block_fiemap+0x60/0x60 [ 2593.075531] ? loop_set_status_old+0x250/0x250 [ 2593.076104] blkdev_ioctl+0x291/0x710 [ 2593.076586] ? blkdev_common_ioctl+0x1870/0x1870 [ 2593.077166] ? selinux_file_ioctl+0xb1/0x260 [ 2593.077728] block_ioctl+0xf9/0x140 [ 2593.078215] ? blkdev_read_iter+0x1c0/0x1c0 [ 2593.078790] __x64_sys_ioctl+0x19a/0x210 [ 2593.079298] do_syscall_64+0x33/0x40 [ 2593.079788] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2593.080460] RIP: 0033:0x7f7ae82eb8d7 [ 2593.080961] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2593.083240] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2593.084207] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2593.085094] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2593.086007] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2593.086926] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 10:19:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2593.087826] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2593.101473] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.104887] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2593.105993] FAT-fs (loop0): Filesystem has been set read-only 10:19:40 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2593.133660] FAT-fs (loop5): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) 10:19:40 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 30) [ 2593.163547] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.165270] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) 10:19:40 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x410000, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) recvfrom(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) write(0xffffffffffffffff, &(0x7f0000000100)="c9d6ab4304005111ad6b240d9eb9f3dd8de1e453c7cbc6f9ce6804a366aac42201b0d1552a069feca26d9efe35c7e50ac86cf02b08583660837a1518522f0d9d05770347e9872cc815174f7681073f0c3619f576153eb8bf6d18", 0x5a) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2593.166337] FAT-fs (loop0): Filesystem has been set read-only 10:19:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {0x0, 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2593.195575] FAT-fs (loop5): Directory bread(block 64) failed 10:19:40 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 28) [ 2593.212645] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.214507] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2593.215559] FAT-fs (loop2): Filesystem has been set read-only [ 2593.223633] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.227217] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2593.228206] FAT-fs (loop6): Filesystem has been set read-only [ 2593.248196] FAULT_INJECTION: forcing a failure. [ 2593.248196] name failslab, interval 1, probability 0, space 0, times 0 [ 2593.249910] CPU: 1 PID: 13622 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2593.250830] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2593.252009] Call Trace: [ 2593.252413] dump_stack+0x107/0x167 [ 2593.252965] should_fail.cold+0x5/0xa [ 2593.253516] ? create_object.isra.0+0x3a/0xa20 [ 2593.254121] should_failslab+0x5/0x20 [ 2593.254653] kmem_cache_alloc+0x5b/0x360 [ 2593.255160] ? percpu_ref_put_many.constprop.0+0x4e/0x100 [ 2593.255899] create_object.isra.0+0x3a/0xa20 [ 2593.256478] FAT-fs (loop5): Directory bread(block 65) failed [ 2593.256792] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2593.256813] kmem_cache_alloc+0x159/0x360 [ 2593.256837] security_file_alloc+0x34/0x170 [ 2593.256857] __alloc_file+0xb6/0x320 [ 2593.257685] FAT-fs (loop5): Directory bread(block 66) failed [ 2593.258314] alloc_empty_file+0x6d/0x170 [ 2593.258888] FAT-fs (loop5): Directory bread(block 67) failed [ 2593.259348] path_openat+0xde/0x26d0 [ 2593.259965] FAT-fs (loop5): Directory bread(block 68) failed [ 2593.260798] ? path_lookupat+0x860/0x860 [ 2593.260820] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2593.262804] FAT-fs (loop5): Directory bread(block 69) failed [ 2593.263601] ? lock_acquire+0x197/0x490 [ 2593.263624] do_filp_open+0x190/0x3e0 [ 2593.263639] ? may_open_dev+0xf0/0xf0 [ 2593.265406] FAT-fs (loop5): Directory bread(block 70) failed [ 2593.265625] ? __alloc_fd+0x2a5/0x620 [ 2593.265642] ? lock_downgrade+0x6d0/0x6d0 [ 2593.265660] ? rwlock_bug.part.0+0x90/0x90 [ 2593.266172] FAT-fs (loop5): Directory bread(block 71) failed [ 2593.266743] ? _raw_spin_unlock+0x1a/0x30 [ 2593.266756] ? __alloc_fd+0x2a5/0x620 [ 2593.266778] do_sys_openat2+0x171/0x420 [ 2593.266795] ? build_open_flags+0x6f0/0x6f0 [ 2593.267676] FAT-fs (loop5): Directory bread(block 72) failed [ 2593.268038] ? rcu_read_lock_any_held+0x75/0xa0 [ 2593.269800] FAT-fs (loop5): Directory bread(block 73) failed [ 2593.270328] __x64_sys_openat+0x13f/0x1f0 [ 2593.276809] ? __ia32_sys_open+0x1c0/0x1c0 [ 2593.278051] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2593.279706] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2593.281218] do_syscall_64+0x33/0x40 [ 2593.282309] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2593.283811] RIP: 0033:0x7fc61b7dda04 [ 2593.284962] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2593.290507] RSP: 002b:00007fc618d9fed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2593.292743] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b7dda04 [ 2593.294891] RDX: 0000000000000002 RSI: 00007fc618da0000 RDI: 00000000ffffff9c [ 2593.297098] RBP: 00007fc618da0000 R08: 0000000000000000 R09: ffffffffffffffff [ 2593.299228] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2593.303700] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:19:40 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4c00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2593.322733] FAULT_INJECTION: forcing a failure. [ 2593.322733] name failslab, interval 1, probability 0, space 0, times 0 [ 2593.325364] CPU: 0 PID: 13626 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2593.327129] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2593.329294] Call Trace: [ 2593.329973] dump_stack+0x107/0x167 [ 2593.330921] should_fail.cold+0x5/0xa [ 2593.331870] ? create_object.isra.0+0x3a/0xa20 [ 2593.333177] should_failslab+0x5/0x20 [ 2593.334141] kmem_cache_alloc+0x5b/0x360 [ 2593.335205] create_object.isra.0+0x3a/0xa20 [ 2593.336306] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2593.337647] kmem_cache_alloc_trace+0x151/0x360 [ 2593.338875] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2593.340185] __kthread_create_on_node+0xd1/0x400 [ 2593.341385] ? __kthread_parkme+0x1d0/0x1d0 [ 2593.342534] ? __mutex_lock+0x425/0x12a0 [ 2593.343580] ? loop_configure+0xcb5/0x1480 [ 2593.344708] ? do_raw_spin_unlock+0x4f/0x220 [ 2593.345882] ? loop_info64_to_compat+0x5f0/0x5f0 [ 2593.347087] kthread_create_on_node+0xbb/0x100 [ 2593.348283] ? __kthread_create_on_node+0x400/0x400 [ 2593.349605] ? lockdep_init_map_type+0x2c7/0x780 [ 2593.350832] ? lockdep_init_map_type+0x2c7/0x780 [ 2593.352082] loop_configure+0x3e3/0x1480 [ 2593.353179] lo_ioctl+0xa72/0x1760 [ 2593.354081] ? avc_has_extended_perms+0x7f1/0xec0 [ 2593.355360] ? loop_set_status_old+0x250/0x250 [ 2593.356530] ? avc_ss_reset+0x180/0x180 [ 2593.357534] ? find_held_lock+0x2c/0x110 [ 2593.358662] ? __lock_acquire+0xbb1/0x5b00 [ 2593.359824] ? selinux_inode_getsecctx+0x90/0x90 [ 2593.361059] ? generic_block_fiemap+0x60/0x60 [ 2593.362183] ? loop_set_status_old+0x250/0x250 [ 2593.363393] blkdev_ioctl+0x291/0x710 [ 2593.364374] ? blkdev_common_ioctl+0x1870/0x1870 [ 2593.365698] ? selinux_file_ioctl+0xb1/0x260 [ 2593.366789] block_ioctl+0xf9/0x140 [ 2593.367712] ? blkdev_read_iter+0x1c0/0x1c0 [ 2593.368813] __x64_sys_ioctl+0x19a/0x210 [ 2593.369852] do_syscall_64+0x33/0x40 [ 2593.370822] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2593.372156] RIP: 0033:0x7f7ae82eb8d7 [ 2593.373141] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2593.378006] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2593.379982] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2593.381790] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2593.383678] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2593.385508] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2593.387302] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2593.399145] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.405529] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2593.407447] FAT-fs (loop4): Filesystem has been set read-only [ 2593.411417] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:19:40 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2593.443271] FAT-fs (loop3): Directory bread(block 64) failed [ 2593.445121] FAT-fs (loop3): Directory bread(block 65) failed [ 2593.447001] FAT-fs (loop3): Directory bread(block 66) failed [ 2593.449459] FAT-fs (loop3): Directory bread(block 67) failed [ 2593.452133] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2593.453710] FAT-fs (loop3): Directory bread(block 68) failed [ 2593.454550] FAT-fs (loop3): Directory bread(block 69) failed [ 2593.456247] FAT-fs (loop3): Directory bread(block 70) failed [ 2593.461591] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.463505] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2593.464614] FAT-fs (loop6): Filesystem has been set read-only [ 2593.466736] FAT-fs (loop3): Directory bread(block 71) failed [ 2593.467669] FAT-fs (loop3): Directory bread(block 72) failed [ 2593.478948] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.484911] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.491100] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2593.493214] FAT-fs (loop0): Filesystem has been set read-only [ 2593.497099] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2593.498159] FAT-fs (loop2): Filesystem has been set read-only [ 2593.506493] FAT-fs (loop3): Directory bread(block 73) failed [ 2593.519971] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.526566] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2593.528563] FAT-fs (loop0): Filesystem has been set read-only 10:19:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 29) 10:19:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6c00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100), 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:19:41 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 31) [ 2593.620389] FAT-fs (loop5): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 2593.653686] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.659282] FAT-fs (loop5): Directory bread(block 64) failed [ 2593.661780] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2593.663785] FAT-fs (loop0): Filesystem has been set read-only [ 2593.666717] FAT-fs (loop5): Directory bread(block 65) failed [ 2593.668938] FAT-fs (loop5): Directory bread(block 66) failed [ 2593.670687] FAULT_INJECTION: forcing a failure. [ 2593.670687] name failslab, interval 1, probability 0, space 0, times 0 [ 2593.673567] CPU: 0 PID: 13648 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2593.675454] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2593.677584] Call Trace: [ 2593.678244] dump_stack+0x107/0x167 [ 2593.679157] should_fail.cold+0x5/0xa [ 2593.680103] ? __kernfs_new_node+0xd4/0x850 [ 2593.681259] should_failslab+0x5/0x20 [ 2593.682200] kmem_cache_alloc+0x5b/0x360 [ 2593.683215] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2593.684528] __kernfs_new_node+0xd4/0x850 [ 2593.685565] ? lock_chain_count+0x20/0x20 [ 2593.686631] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2593.687860] ? find_held_lock+0x2c/0x110 [ 2593.688954] ? set_user_nice.part.0+0x2fd/0x760 [ 2593.690159] kernfs_create_dir_ns+0x9c/0x230 [ 2593.691313] internal_create_group+0x793/0xb30 [ 2593.692473] ? set_user_nice.part.0+0x2fd/0x760 [ 2593.693630] ? sysfs_remove_group+0x170/0x170 [ 2593.694746] ? lockdep_init_map_type+0x2c7/0x780 [ 2593.695937] ? blk_queue_flag_set+0x22/0x30 [ 2593.697095] ? __loop_update_dio+0x2d2/0x690 [ 2593.698186] loop_configure+0x954/0x1480 [ 2593.699196] lo_ioctl+0xa72/0x1760 [ 2593.700018] FAT-fs (loop5): Directory bread(block 67) failed [ 2593.700088] ? avc_has_extended_perms+0x7f1/0xec0 [ 2593.701004] FAT-fs (loop5): Directory bread(block 68) failed [ 2593.702217] ? loop_set_status_old+0x250/0x250 [ 2593.702234] ? avc_ss_reset+0x180/0x180 [ 2593.702252] ? find_held_lock+0x2c/0x110 [ 2593.703119] FAT-fs (loop5): Directory bread(block 69) failed [ 2593.704217] ? __lock_acquire+0xbb1/0x5b00 [ 2593.704422] ? selinux_inode_getsecctx+0x90/0x90 [ 2593.704891] FAT-fs (loop5): Directory bread(block 70) failed [ 2593.705830] ? generic_block_fiemap+0x60/0x60 [ 2593.705854] ? loop_set_status_old+0x250/0x250 [ 2593.706721] FAT-fs (loop5): Directory bread(block 71) failed [ 2593.707800] blkdev_ioctl+0x291/0x710 [ 2593.707816] ? blkdev_common_ioctl+0x1870/0x1870 [ 2593.707838] ? selinux_file_ioctl+0xb1/0x260 [ 2593.708561] FAT-fs (loop5): Directory bread(block 72) failed [ 2593.709977] block_ioctl+0xf9/0x140 [ 2593.709990] ? blkdev_read_iter+0x1c0/0x1c0 [ 2593.710005] __x64_sys_ioctl+0x19a/0x210 [ 2593.710024] do_syscall_64+0x33/0x40 [ 2593.710041] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2593.710052] RIP: 0033:0x7f7ae82eb8d7 [ 2593.710069] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2593.710078] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2593.710093] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2593.710102] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2593.710110] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2593.710118] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2593.710126] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2593.741007] FAT-fs (loop5): Directory bread(block 73) failed [ 2593.741217] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.745012] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2593.746074] FAT-fs (loop4): Filesystem has been set read-only [ 2593.749240] FAULT_INJECTION: forcing a failure. [ 2593.749240] name failslab, interval 1, probability 0, space 0, times 0 [ 2593.752316] CPU: 0 PID: 13652 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2593.754067] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2593.756209] Call Trace: [ 2593.756917] dump_stack+0x107/0x167 [ 2593.757858] should_fail.cold+0x5/0xa [ 2593.758794] ? __kernfs_new_node+0xd4/0x850 [ 2593.759920] should_failslab+0x5/0x20 [ 2593.760870] kmem_cache_alloc+0x5b/0x360 [ 2593.761945] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2593.763286] __kernfs_new_node+0xd4/0x850 [ 2593.764361] ? lock_chain_count+0x20/0x20 [ 2593.765396] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2593.766570] ? lock_acquire+0x197/0x490 [ 2593.767452] ? task_rq_lock+0xab/0x270 [ 2593.768305] ? find_held_lock+0x2c/0x110 [ 2593.769352] ? set_user_nice.part.0+0x2fd/0x760 [ 2593.770505] kernfs_create_dir_ns+0x9c/0x230 [ 2593.771622] internal_create_group+0x793/0xb30 [ 2593.772830] ? set_user_nice.part.0+0x2fd/0x760 [ 2593.774035] ? sysfs_remove_group+0x170/0x170 [ 2593.775161] ? lockdep_init_map_type+0x2c7/0x780 [ 2593.776340] ? blk_queue_flag_set+0x22/0x30 [ 2593.777459] ? __loop_update_dio+0x2d2/0x690 [ 2593.778592] loop_configure+0x954/0x1480 [ 2593.779429] lo_ioctl+0xa72/0x1760 [ 2593.780187] ? avc_has_extended_perms+0x7f1/0xec0 [ 2593.781357] ? loop_set_status_old+0x250/0x250 [ 2593.782505] ? avc_ss_reset+0x180/0x180 [ 2593.783556] ? find_held_lock+0x2c/0x110 [ 2593.784636] ? __lock_acquire+0xbb1/0x5b00 [ 2593.785748] ? selinux_inode_getsecctx+0x90/0x90 [ 2593.786922] ? generic_block_fiemap+0x60/0x60 [ 2593.788122] ? loop_set_status_old+0x250/0x250 [ 2593.789329] blkdev_ioctl+0x291/0x710 [ 2593.790274] ? blkdev_common_ioctl+0x1870/0x1870 [ 2593.791463] ? selinux_file_ioctl+0xb1/0x260 [ 2593.792559] block_ioctl+0xf9/0x140 [ 2593.793492] ? blkdev_read_iter+0x1c0/0x1c0 [ 2593.794566] __x64_sys_ioctl+0x19a/0x210 [ 2593.795581] do_syscall_64+0x33/0x40 [ 2593.796514] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2593.797823] RIP: 0033:0x7fc61b82a8d7 [ 2593.798828] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2593.803600] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2593.805651] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2593.807448] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2593.809295] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2593.811183] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2593.813017] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2593.842467] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.866878] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2593.871904] FAT-fs (loop3): Directory bread(block 64) failed [ 2593.881167] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.884303] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2593.896539] FAT-fs (loop3): Directory bread(block 65) failed [ 2593.898201] FAT-fs (loop3): Directory bread(block 66) failed [ 2593.900724] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2593.902611] FAT-fs (loop6): Filesystem has been set read-only [ 2593.907129] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2593.908972] FAT-fs (loop0): Filesystem has been set read-only [ 2593.915400] FAT-fs (loop3): Directory bread(block 67) failed [ 2593.917026] FAT-fs (loop3): Directory bread(block 68) failed [ 2593.927885] FAT-fs (loop3): Directory bread(block 69) failed [ 2593.933340] FAT-fs (loop3): Directory bread(block 70) failed [ 2593.934391] FAT-fs (loop3): Directory bread(block 71) failed [ 2593.935266] FAT-fs (loop3): Directory bread(block 72) failed [ 2593.936323] FAT-fs (loop3): Directory bread(block 73) failed [ 2593.992779] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2594.000303] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2594.002460] FAT-fs (loop6): Filesystem has been set read-only 10:19:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7400, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:57 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x18000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:57 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6c00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:19:57 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:19:57 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) perf_event_open(&(0x7f0000000100)={0x3, 0x80, 0x9, 0x40, 0x81, 0x2, 0x0, 0x6, 0xa10, 0x5, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x1, 0x0, @perf_config_ext, 0x0, 0x8000, 0xffffffff, 0x6, 0x4, 0x9, 0xfff, 0x0, 0x80000001, 0x0, 0x6e2}, 0xffffffffffffffff, 0xd, r5, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e21, 0x0, @loopback, 0x8}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:19:57 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 30) 10:19:57 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 32) 10:19:57 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100), 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2610.471956] FAT-fs (loop5): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 2610.479760] FAULT_INJECTION: forcing a failure. [ 2610.479760] name failslab, interval 1, probability 0, space 0, times 0 [ 2610.481329] CPU: 0 PID: 13675 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2610.481853] FAT-fs (loop5): Directory bread(block 64) failed [ 2610.482263] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2610.482277] Call Trace: [ 2610.483108] FAT-fs (loop5): Directory bread(block 65) failed [ 2610.484138] dump_stack+0x107/0x167 [ 2610.484158] should_fail.cold+0x5/0xa [ 2610.484185] ? create_object.isra.0+0x3a/0xa20 [ 2610.484593] FAT-fs (loop5): Directory bread(block 66) failed [ 2610.485333] should_failslab+0x5/0x20 [ 2610.485895] FAT-fs (loop5): Directory bread(block 67) failed [ 2610.486319] kmem_cache_alloc+0x5b/0x360 [ 2610.487018] FAT-fs (loop5): Directory bread(block 68) failed [ 2610.487692] create_object.isra.0+0x3a/0xa20 [ 2610.487711] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2610.488254] FAT-fs (loop5): Directory bread(block 69) failed [ 2610.488945] kmem_cache_alloc+0x159/0x360 [ 2610.488963] ? lockdep_hardirqs_on_prepare+0x3e0/0x3e0 [ 2610.488984] __kernfs_new_node+0xd4/0x850 [ 2610.489550] FAT-fs (loop5): Directory bread(block 70) failed [ 2610.490177] ? lock_chain_count+0x20/0x20 [ 2610.490196] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2610.490818] FAT-fs (loop5): Directory bread(block 71) failed [ 2610.491400] ? lock_acquire+0x197/0x490 [ 2610.492189] FAT-fs (loop5): Directory bread(block 72) failed [ 2610.492649] ? task_rq_lock+0xab/0x270 [ 2610.492670] ? find_held_lock+0x2c/0x110 [ 2610.492692] ? set_user_nice.part.0+0x2fd/0x760 [ 2610.493437] FAT-fs (loop5): Directory bread(block 73) failed [ 2610.493861] kernfs_create_dir_ns+0x9c/0x230 [ 2610.493881] internal_create_group+0x793/0xb30 [ 2610.501342] ? set_user_nice.part.0+0x2fd/0x760 [ 2610.501942] ? sysfs_remove_group+0x170/0x170 [ 2610.502554] ? lockdep_init_map_type+0x2c7/0x780 [ 2610.503140] ? blk_queue_flag_set+0x22/0x30 [ 2610.503734] ? __loop_update_dio+0x2d2/0x690 [ 2610.504334] loop_configure+0x954/0x1480 [ 2610.504867] lo_ioctl+0xa72/0x1760 [ 2610.505396] ? avc_has_extended_perms+0x7f1/0xec0 [ 2610.506002] ? loop_set_status_old+0x250/0x250 [ 2610.506625] ? avc_ss_reset+0x180/0x180 [ 2610.507118] ? find_held_lock+0x2c/0x110 [ 2610.507677] ? __lock_acquire+0xbb1/0x5b00 [ 2610.508288] ? selinux_inode_getsecctx+0x90/0x90 [ 2610.508911] ? generic_block_fiemap+0x60/0x60 [ 2610.509585] ? loop_set_status_old+0x250/0x250 [ 2610.510146] blkdev_ioctl+0x291/0x710 [ 2610.510667] ? blkdev_common_ioctl+0x1870/0x1870 [ 2610.511326] ? selinux_file_ioctl+0xb1/0x260 [ 2610.511930] block_ioctl+0xf9/0x140 [ 2610.512436] ? blkdev_read_iter+0x1c0/0x1c0 [ 2610.513037] __x64_sys_ioctl+0x19a/0x210 [ 2610.513618] do_syscall_64+0x33/0x40 [ 2610.514096] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2610.514860] RIP: 0033:0x7f7ae82eb8d7 [ 2610.515383] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2610.517842] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2610.518850] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2610.519843] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2610.520811] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2610.521765] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2610.522720] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2610.569672] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.577123] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.579562] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.580148] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2610.581314] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2610.581731] FAT-fs (loop2): Filesystem has been set read-only [ 2610.582649] FAT-fs (loop6): Filesystem has been set read-only [ 2610.586521] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.588054] FAULT_INJECTION: forcing a failure. [ 2610.588054] name failslab, interval 1, probability 0, space 0, times 0 [ 2610.589574] CPU: 1 PID: 13680 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2610.590435] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2610.591470] Call Trace: [ 2610.591815] dump_stack+0x107/0x167 [ 2610.592280] should_fail.cold+0x5/0xa [ 2610.592782] ? __kernfs_new_node+0xd4/0x850 [ 2610.593329] should_failslab+0x5/0x20 [ 2610.593806] kmem_cache_alloc+0x5b/0x360 [ 2610.594324] __kernfs_new_node+0xd4/0x850 [ 2610.594854] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2610.595453] ? lock_downgrade+0x6d0/0x6d0 [ 2610.596001] ? mutex_lock_io_nested+0x1110/0x1110 [ 2610.596611] ? __kernfs_new_node+0x549/0x850 [ 2610.597198] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2610.597796] kernfs_new_node+0x93/0x120 [ 2610.598293] __kernfs_create_file+0x51/0x350 [ 2610.598861] sysfs_add_file_mode_ns+0x221/0x560 [ 2610.599468] internal_create_group+0x324/0xb30 [ 2610.600062] ? sysfs_remove_group+0x170/0x170 [ 2610.600624] ? lockdep_init_map_type+0x2c7/0x780 [ 2610.601250] ? blk_queue_flag_set+0x22/0x30 [ 2610.601793] ? __loop_update_dio+0x2d2/0x690 [ 2610.602348] loop_configure+0x954/0x1480 [ 2610.602876] lo_ioctl+0xa72/0x1760 [ 2610.603323] ? avc_has_extended_perms+0x7f1/0xec0 [ 2610.603921] ? loop_set_status_old+0x250/0x250 [ 2610.604498] ? avc_ss_reset+0x180/0x180 [ 2610.605033] ? find_held_lock+0x2c/0x110 [ 2610.605553] ? __lock_acquire+0xbb1/0x5b00 [ 2610.606136] ? selinux_inode_getsecctx+0x90/0x90 [ 2610.606731] ? generic_block_fiemap+0x60/0x60 [ 2610.607314] ? loop_set_status_old+0x250/0x250 [ 2610.607912] blkdev_ioctl+0x291/0x710 [ 2610.608387] ? blkdev_common_ioctl+0x1870/0x1870 [ 2610.609056] ? selinux_file_ioctl+0xb1/0x260 [ 2610.609613] block_ioctl+0xf9/0x140 [ 2610.610095] ? blkdev_read_iter+0x1c0/0x1c0 [ 2610.610627] __x64_sys_ioctl+0x19a/0x210 [ 2610.611133] do_syscall_64+0x33/0x40 [ 2610.611598] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2610.612280] RIP: 0033:0x7fc61b82a8d7 [ 2610.612807] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2610.615105] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2610.616046] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2610.617005] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2610.617919] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2610.618821] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2610.619763] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2610.631418] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2610.632466] FAT-fs (loop4): Filesystem has been set read-only [ 2610.633552] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.636681] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2610.638451] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2610.639550] FAT-fs (loop0): Filesystem has been set read-only [ 2610.641701] FAT-fs (loop3): Directory bread(block 64) failed [ 2610.650066] FAT-fs (loop3): Directory bread(block 65) failed [ 2610.656013] FAT-fs (loop3): Directory bread(block 66) failed [ 2610.656854] FAT-fs (loop3): Directory bread(block 67) failed [ 2610.657669] FAT-fs (loop3): Directory bread(block 68) failed [ 2610.658377] FAT-fs (loop3): Directory bread(block 69) failed [ 2610.659223] FAT-fs (loop3): Directory bread(block 70) failed [ 2610.660433] FAT-fs (loop3): Directory bread(block 71) failed [ 2610.661549] FAT-fs (loop3): Directory bread(block 72) failed [ 2610.662266] FAT-fs (loop3): Directory bread(block 73) failed [ 2610.695713] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.698419] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2610.700438] FAT-fs (loop2): Filesystem has been set read-only [ 2610.712394] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.717983] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2610.720058] FAT-fs (loop6): Filesystem has been set read-only [ 2610.774150] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2610.782374] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2610.783883] FAT-fs (loop0): Filesystem has been set read-only 10:20:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:14 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7400, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:14 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:14 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) recvmmsg$unix(r0, &(0x7f0000002140)=[{{0x0, 0x0, &(0x7f00000005c0)=[{&(0x7f0000000400)=""/13, 0xd}, {&(0x7f0000000440)=""/86, 0x56}, {&(0x7f00000004c0)=""/203, 0xcb}], 0x3, &(0x7f0000000600)=[@cred={{0x1c}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @rights={{0x20, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}, @rights={{0x18, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff]}}], 0x90}}, {{0x0, 0x0, &(0x7f00000007c0)=[{&(0x7f00000006c0)=""/146, 0x92}, {&(0x7f0000000780)=""/14, 0xe}], 0x2}}, {{&(0x7f0000000800), 0x6e, &(0x7f0000001940)=[{&(0x7f0000000880)=""/5, 0x5}, {&(0x7f00000008c0)=""/11, 0xb}, {&(0x7f0000000900)=""/4096, 0x1000}, {&(0x7f0000001900)=""/5, 0x5}], 0x4, &(0x7f0000001980)=[@rights={{0x24, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @rights={{0x28, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x24, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}], 0xa8}}, {{&(0x7f0000001a40)=@abs, 0x6e, &(0x7f0000002040)=[{&(0x7f0000001ac0)=""/119, 0x77}, {&(0x7f0000001b40)=""/131, 0x83}, {&(0x7f0000001c00)=""/101, 0x65}, {&(0x7f0000001c80)=""/85, 0x55}, {&(0x7f0000001d00)=""/74, 0x4a}, {&(0x7f0000001e00)=""/180, 0xb4}, {&(0x7f0000001f80)=""/138, 0x8a}, {&(0x7f0000001ec0)=""/60, 0x3c}], 0x8, &(0x7f00000020c0)=[@cred={{0x1c}}, @cred={{0x1c}}, @cred={{0x1c}}], 0x60}}], 0x4, 0x0, &(0x7f0000001f00)={0x0, 0x3938700}) fcntl$dupfd(0xffffffffffffffff, 0x0, r2) r3 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r3, 0x0, 0x48) r4 = eventfd(0x1ff) r5 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r5, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r5) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r4, 0x100}, {r1}, {r3}, {r5, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) 10:20:14 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 31) 10:20:14 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 33) 10:20:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100), 0x0, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:14 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1c000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2626.624935] FAT-fs (loop5): bogus number of reserved sectors [ 2626.625785] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2626.626970] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2626.638400] FAULT_INJECTION: forcing a failure. [ 2626.638400] name failslab, interval 1, probability 0, space 0, times 0 [ 2626.639896] CPU: 0 PID: 13710 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2626.640784] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2626.641871] Call Trace: [ 2626.642227] dump_stack+0x107/0x167 [ 2626.642705] should_fail.cold+0x5/0xa [ 2626.643201] ? create_object.isra.0+0x3a/0xa20 [ 2626.643783] should_failslab+0x5/0x20 [ 2626.644274] kmem_cache_alloc+0x5b/0x360 [ 2626.644798] create_object.isra.0+0x3a/0xa20 [ 2626.645430] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2626.646112] kmem_cache_alloc+0x159/0x360 [ 2626.646642] __kernfs_new_node+0xd4/0x850 [ 2626.647220] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2626.647825] ? lock_downgrade+0x6d0/0x6d0 [ 2626.648394] ? mutex_lock_io_nested+0x1110/0x1110 [ 2626.649030] ? __kernfs_new_node+0x549/0x850 [ 2626.649604] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2626.650233] kernfs_new_node+0x93/0x120 [ 2626.650745] __kernfs_create_file+0x51/0x350 [ 2626.651321] sysfs_add_file_mode_ns+0x221/0x560 [ 2626.651928] internal_create_group+0x324/0xb30 [ 2626.652532] ? sysfs_remove_group+0x170/0x170 [ 2626.653179] ? lockdep_init_map_type+0x2c7/0x780 [ 2626.653795] ? blk_queue_flag_set+0x22/0x30 [ 2626.654377] ? __loop_update_dio+0x2d2/0x690 [ 2626.654933] loop_configure+0x954/0x1480 [ 2626.655505] lo_ioctl+0xa72/0x1760 [ 2626.655973] ? avc_has_extended_perms+0x7f1/0xec0 [ 2626.656584] ? loop_set_status_old+0x250/0x250 [ 2626.658230] ? avc_ss_reset+0x180/0x180 [ 2626.658747] ? find_held_lock+0x2c/0x110 [ 2626.659306] ? __lock_acquire+0xbb1/0x5b00 [ 2626.659893] ? selinux_inode_getsecctx+0x90/0x90 [ 2626.660543] ? generic_block_fiemap+0x60/0x60 [ 2626.661189] ? loop_set_status_old+0x250/0x250 [ 2626.661756] blkdev_ioctl+0x291/0x710 [ 2626.662289] ? blkdev_common_ioctl+0x1870/0x1870 [ 2626.662895] ? selinux_file_ioctl+0xb1/0x260 [ 2626.663482] block_ioctl+0xf9/0x140 [ 2626.663943] ? blkdev_read_iter+0x1c0/0x1c0 [ 2626.664535] __x64_sys_ioctl+0x19a/0x210 [ 2626.665129] do_syscall_64+0x33/0x40 [ 2626.665598] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2626.666294] RIP: 0033:0x7fc61b82a8d7 [ 2626.666780] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2626.669151] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2626.670131] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2626.671064] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2626.671957] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2626.672859] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2626.673804] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:20:14 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x3, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_config_ext={0x6, 0xfffffffffffffff7}, 0x0, 0x20000000000, 0x0, 0x0, 0x4000004}, 0x0, 0x8, 0xffffffffffffffff, 0x8) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) sendmsg$nl_xfrm(r4, &(0x7f00000002c0)={&(0x7f0000000100), 0xc, &(0x7f0000000140)={&(0x7f0000000900)=ANY=[@ANYBLOB="8c040000190020002cbd7000fddbdf25fe8000000000000000000000000000bbff0100000000000000000000000000014e2407ff4e22007f0a00a08000000000b9db9bb8787cf22c0c113e159f9f0901b06d2c53d7e7ad715da8ce5eb4d0026caf707600662fc4c6b362be9fe972abf159b6570eae9fd0e844145e901e173e7ce9fe5ba09573467d2c672b5ec9fd93e1d73c18dfa40d484e7b5b3f818b3402134d6ac699d21fa20cd7d8a337b36b9d7f89ae68fc7debeff2fde11b1fdfcc2532b813be9fcf77484e08ab15aa29721276fb08ba2a04f3936e770b433dab4ecab6102917673786842e488a1efd3e5a404d4ed7683b65d201768980dd8bd171392800ac65d8174b900b5dcf36015ef2020c532d52f949e5", @ANYRES32=0x0, @ANYRES32, @ANYBLOB="ff7f00000000000002000000000000001f000000000000007f0000000000000000000000000000000300000000000000ff7f00000000000003000000000000000600000000000000ffffffff00000000fc2200000000000003000000000000000500000000000000010106030000000084010500ac1e0101000000000000000000000000000004d53c0000000a000000fe88000000000000000000000000000105350000000204000000000001000000ffffffff00000000000000000000000000000000000004d62b0000000a000000e0000002000000000000000000000000020000000401070008000000441d000080000000ac14142e000000000000000000000000000004d53300000002000000ffffffff0000000000000000000000000035000001030200020000000800000003000000fe880000000000000000000000000001000004d4320000000a000000000000000000000000000000000000000335000000020700080000000200000005000000ac1414bb000000000000000000000000000004d2330000000a0000000a0101010000000000000000000000000335000004006f00008000007f00000008000000ac1414aa000000000000000000000000000004d6ff00000002000000ac1e000100000000000000000000000001350000010301000000008020000000010000001c000400fdff4e24000500007f0000010000000000000000000000000800160008000000f9000800f50008000004ed006d2e4b468e31100d6c75a086551f6a718521b33bfc4694be2ed76777ffcd5001afb357922be299d534da126dbcc2eef8de248e8507de31398d104528d3d32fe864e143ebf73d4283fb60970b25968451583c691fa1b0dc05a7e42b7b934e120e92f59177a64c405b27b230d521007df1e16453883fe6a107b4a2e300b47ffffebdb479873948762802ca3e1a9705426a7b98458950df763b68ce8b260ac5ba9cc88896794aea04584b94c392072e6001737f8e93ac7630e2ee73fc2e17bbb35ecea84318c85b6c9ea5475d31dac1c4dc71d08d4a021eeb0221bc4b75df563ea91c21af1444a3145be23d16a69900000028001a00e0000001000000000000000000000000fc0100000000000000000000000000010a0000010a0010000000000000000000e40006000a010102000000000000000000000000000000000000000000000000000000004e2400004e2270000200e0806c000000", @ANYRES32=0x0, @ANYRES32=0xee01, @ANYBLOB="ac1414aa000000000000000000000000000004d633000000ac1414bb0000000000000000000000000400000000000000030000000000000043000000000000000080000000000000040000000000000007000000000000000600000000000000070000000000000002000000000000000900000000000000a80000000000000000000000000000302d0d0000010000000004000025bd7000033500000a00027f980000000000000010000a0025bd70002abd7000490600000800160002000000"], 0x48c}, 0x1, 0x0, 0x0, 0x80}, 0x40) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) syz_io_uring_submit(0x0, 0x0, &(0x7f00000003c0)=@IORING_OP_ASYNC_CANCEL={0xe, 0x1, 0x0, 0x0, 0x0, 0x23456, 0x0, 0x0, 0x1}, 0x422) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2626.723947] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2626.724525] FAULT_INJECTION: forcing a failure. [ 2626.724525] name failslab, interval 1, probability 0, space 0, times 0 [ 2626.725971] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2626.726654] CPU: 0 PID: 13709 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2626.726668] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2626.727638] FAT-fs (loop0): Filesystem has been set read-only [ 2626.728479] Call Trace: [ 2626.728506] dump_stack+0x107/0x167 [ 2626.731129] should_fail.cold+0x5/0xa [ 2626.731652] ? __kernfs_new_node+0xd4/0x850 [ 2626.732218] should_failslab+0x5/0x20 [ 2626.732691] kmem_cache_alloc+0x5b/0x360 [ 2626.733273] __kernfs_new_node+0xd4/0x850 [ 2626.733802] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2626.734412] ? lock_downgrade+0x6d0/0x6d0 [ 2626.734927] ? mutex_lock_io_nested+0x1110/0x1110 [ 2626.735530] ? __kernfs_new_node+0x549/0x850 [ 2626.736079] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2626.736680] kernfs_new_node+0x93/0x120 [ 2626.741259] __kernfs_create_file+0x51/0x350 [ 2626.741821] sysfs_add_file_mode_ns+0x221/0x560 [ 2626.742439] internal_create_group+0x324/0xb30 [ 2626.743004] ? sysfs_remove_group+0x170/0x170 [ 2626.743610] ? lockdep_init_map_type+0x2c7/0x780 [ 2626.744228] ? blk_queue_flag_set+0x22/0x30 [ 2626.744754] ? __loop_update_dio+0x2d2/0x690 [ 2626.745352] loop_configure+0x954/0x1480 [ 2626.745869] lo_ioctl+0xa72/0x1760 [ 2626.746343] ? avc_has_extended_perms+0x7f1/0xec0 [ 2626.746940] ? loop_set_status_old+0x250/0x250 [ 2626.747505] ? avc_ss_reset+0x180/0x180 [ 2626.748001] ? find_held_lock+0x2c/0x110 [ 2626.748518] ? __lock_acquire+0xbb1/0x5b00 [ 2626.749111] ? selinux_inode_getsecctx+0x90/0x90 [ 2626.749704] ? generic_block_fiemap+0x60/0x60 [ 2626.750264] ? loop_set_status_old+0x250/0x250 [ 2626.750841] blkdev_ioctl+0x291/0x710 [ 2626.751316] ? blkdev_common_ioctl+0x1870/0x1870 [ 2626.751902] ? selinux_file_ioctl+0xb1/0x260 [ 2626.752457] block_ioctl+0xf9/0x140 [ 2626.752931] ? blkdev_read_iter+0x1c0/0x1c0 [ 2626.753471] __x64_sys_ioctl+0x19a/0x210 [ 2626.753975] do_syscall_64+0x33/0x40 [ 2626.754441] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2626.755075] RIP: 0033:0x7f7ae82eb8d7 [ 2626.755538] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2626.757818] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2626.758756] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2626.759630] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2626.760513] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2626.765440] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2626.766320] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2626.782184] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2626.785950] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2626.788045] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2626.789123] FAT-fs (loop2): Filesystem has been set read-only [ 2626.792291] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2626.808598] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2626.810463] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2626.817255] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2626.818226] FAT-fs (loop4): Filesystem has been set read-only [ 2626.819832] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2626.820799] FAT-fs (loop6): Filesystem has been set read-only 10:20:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:14 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 34) [ 2626.869113] FAT-fs (loop3): Directory bread(block 64) failed [ 2626.869984] FAT-fs (loop3): Directory bread(block 65) failed [ 2626.885703] FAT-fs (loop3): Directory bread(block 66) failed [ 2626.887912] FAT-fs (loop3): Directory bread(block 67) failed [ 2626.888924] FAT-fs (loop3): Directory bread(block 68) failed 10:20:14 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:14 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 32) [ 2626.907467] FAT-fs (loop3): Directory bread(block 69) failed [ 2626.911821] FAT-fs (loop3): Directory bread(block 70) failed [ 2626.912687] FAT-fs (loop3): Directory bread(block 71) failed [ 2626.913423] FAT-fs (loop3): Directory bread(block 72) failed [ 2626.914336] FAT-fs (loop3): Directory bread(block 73) failed [ 2626.922455] FAT-fs (loop5): bogus number of reserved sectors [ 2626.923235] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2626.924269] FAT-fs (loop5): Can't find a valid FAT filesystem 10:20:14 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3f000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2626.942331] FAULT_INJECTION: forcing a failure. [ 2626.942331] name failslab, interval 1, probability 0, space 0, times 0 [ 2626.943848] CPU: 0 PID: 13734 Comm: syz-executor.1 Not tainted 5.10.168 #1 10:20:14 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x2, 0x0, 0x0, 0x5, 0x0, 0x5e, 0x20020, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x5a0}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x9, 0x40, 0x4) openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) r6 = socket$inet_udp(0x2, 0x2, 0x0) bind$inet(r6, &(0x7f0000000040)={0x2, 0x4e20, @empty}, 0x10) recvfrom(r6, 0x0, 0x0, 0x0, 0x0, 0x0) sendfile(r0, 0xffffffffffffffff, 0x0, 0x0) [ 2626.944680] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2626.945719] Call Trace: [ 2626.952924] dump_stack+0x107/0x167 [ 2626.953392] should_fail.cold+0x5/0xa [ 2626.953865] ? __kernfs_new_node+0xd4/0x850 [ 2626.954394] should_failslab+0x5/0x20 [ 2626.954906] kmem_cache_alloc+0x5b/0x360 [ 2626.955411] __kernfs_new_node+0xd4/0x850 [ 2626.955956] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2626.956545] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2626.957215] ? wait_for_completion_io+0x270/0x270 [ 2626.957839] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2626.958487] kernfs_new_node+0x93/0x120 [ 2626.959023] __kernfs_create_file+0x51/0x350 [ 2626.959583] sysfs_add_file_mode_ns+0x221/0x560 [ 2626.960160] internal_create_group+0x324/0xb30 [ 2626.960768] ? sysfs_remove_group+0x170/0x170 [ 2626.961345] ? lockdep_init_map_type+0x2c7/0x780 [ 2626.961956] ? blk_queue_flag_set+0x22/0x30 [ 2626.962478] ? __loop_update_dio+0x2d2/0x690 [ 2626.963033] loop_configure+0x954/0x1480 [ 2626.963543] lo_ioctl+0xa72/0x1760 [ 2626.963983] ? avc_has_extended_perms+0x7f1/0xec0 [ 2626.964572] ? loop_set_status_old+0x250/0x250 [ 2626.965169] ? avc_ss_reset+0x180/0x180 [ 2626.965663] ? find_held_lock+0x2c/0x110 [ 2626.966174] ? __lock_acquire+0xbb1/0x5b00 [ 2626.966734] ? selinux_inode_getsecctx+0x90/0x90 [ 2626.967316] ? generic_block_fiemap+0x60/0x60 [ 2626.967883] ? loop_set_status_old+0x250/0x250 [ 2626.968442] blkdev_ioctl+0x291/0x710 [ 2626.968961] ? blkdev_common_ioctl+0x1870/0x1870 [ 2626.969552] ? selinux_file_ioctl+0xb1/0x260 [ 2626.970142] block_ioctl+0xf9/0x140 [ 2626.970606] ? blkdev_read_iter+0x1c0/0x1c0 [ 2626.971142] __x64_sys_ioctl+0x19a/0x210 [ 2626.971643] do_syscall_64+0x33/0x40 [ 2626.972107] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2626.972757] RIP: 0033:0x7fc61b82a8d7 [ 2626.973237] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2626.975503] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2626.976478] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2626.977402] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2626.978276] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2626.979142] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2626.980025] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2627.005136] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2627.010957] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2627.012031] FAT-fs (loop6): Filesystem has been set read-only [ 2627.042926] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:20:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)='\x00'/18, 0x12, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:14 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7a00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2627.062249] FAULT_INJECTION: forcing a failure. [ 2627.062249] name failslab, interval 1, probability 0, space 0, times 0 [ 2627.063645] CPU: 0 PID: 13742 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2627.064477] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2627.069483] Call Trace: [ 2627.069811] dump_stack+0x107/0x167 [ 2627.070264] should_fail.cold+0x5/0xa [ 2627.070738] ? create_object.isra.0+0x3a/0xa20 [ 2627.071304] should_failslab+0x5/0x20 [ 2627.071771] kmem_cache_alloc+0x5b/0x360 [ 2627.072274] create_object.isra.0+0x3a/0xa20 [ 2627.072815] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2627.073470] kmem_cache_alloc+0x159/0x360 [ 2627.073995] __kernfs_new_node+0xd4/0x850 [ 2627.074509] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2627.075088] ? lock_downgrade+0x6d0/0x6d0 [ 2627.075615] ? mutex_lock_io_nested+0x1110/0x1110 [ 2627.076260] ? __kernfs_new_node+0x549/0x850 [ 2627.076821] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2627.077478] kernfs_new_node+0x93/0x120 [ 2627.078042] __kernfs_create_file+0x51/0x350 [ 2627.078719] sysfs_add_file_mode_ns+0x221/0x560 [ 2627.079336] internal_create_group+0x324/0xb30 [ 2627.079924] ? sysfs_remove_group+0x170/0x170 [ 2627.080494] ? lockdep_init_map_type+0x2c7/0x780 [ 2627.081121] ? blk_queue_flag_set+0x22/0x30 [ 2627.081663] ? __loop_update_dio+0x2d2/0x690 [ 2627.082273] loop_configure+0x954/0x1480 [ 2627.082808] lo_ioctl+0xa72/0x1760 [ 2627.083356] ? avc_has_extended_perms+0x7f1/0xec0 [ 2627.084381] ? loop_set_status_old+0x250/0x250 [ 2627.085333] ? avc_ss_reset+0x180/0x180 [ 2627.086032] ? find_held_lock+0x2c/0x110 [ 2627.086547] ? __lock_acquire+0xbb1/0x5b00 [ 2627.087170] ? selinux_inode_getsecctx+0x90/0x90 [ 2627.087785] ? generic_block_fiemap+0x60/0x60 [ 2627.088376] ? loop_set_status_old+0x250/0x250 [ 2627.089022] blkdev_ioctl+0x291/0x710 [ 2627.089511] ? blkdev_common_ioctl+0x1870/0x1870 [ 2627.090147] ? selinux_file_ioctl+0xb1/0x260 [ 2627.090714] block_ioctl+0xf9/0x140 [ 2627.091224] ? blkdev_read_iter+0x1c0/0x1c0 [ 2627.091793] __x64_sys_ioctl+0x19a/0x210 [ 2627.092330] do_syscall_64+0x33/0x40 [ 2627.092803] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2627.093511] RIP: 0033:0x7f7ae82eb8d7 [ 2627.094013] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2627.096360] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2627.097368] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2627.098285] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2627.099225] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2627.100134] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2627.105112] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2627.142804] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2627.146912] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2627.147976] FAT-fs (loop4): Filesystem has been set read-only [ 2627.234427] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2627.236098] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2627.237393] FAT-fs (loop2): Filesystem has been set read-only [ 2627.243245] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2627.245141] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2627.246144] FAT-fs (loop6): Filesystem has been set read-only [ 2627.246839] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2627.267410] FAT-fs (loop3): Directory bread(block 64) failed [ 2627.268268] FAT-fs (loop3): Directory bread(block 65) failed [ 2627.270393] FAT-fs (loop3): Directory bread(block 66) failed [ 2627.271588] FAT-fs (loop3): Directory bread(block 67) failed [ 2627.274188] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2627.275054] FAT-fs (loop3): Directory bread(block 68) failed [ 2627.277727] FAT-fs (loop3): Directory bread(block 69) failed [ 2627.278714] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2627.279644] FAT-fs (loop6): Filesystem has been set read-only [ 2627.280293] FAT-fs (loop3): Directory bread(block 70) failed [ 2627.281202] FAT-fs (loop3): Directory bread(block 71) failed [ 2627.282132] FAT-fs (loop3): Directory bread(block 72) failed [ 2627.284155] FAT-fs (loop3): Directory bread(block 73) failed 10:20:31 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7a00, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:31 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 35) 10:20:31 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r1 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r1, 0x0, 0x48) r2 = eventfd(0x1ff) r3 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r3, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r3) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r2, 0x100}, {}, {r1}, {r3, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r4 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @rand_addr=' \x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02'}, 0x1c) sendfile(r5, r4, 0x0, 0x9bbb) r6 = syz_open_pts(r0, 0x400000) preadv(r6, &(0x7f00000002c0)=[{&(0x7f0000000380)=""/255, 0xff}, {&(0x7f0000000480)=""/130, 0x82}, {&(0x7f0000000100)=""/114, 0x72}, {&(0x7f0000000540)=""/4096, 0x1000}, {&(0x7f0000000040)=""/15, 0xf}], 0x5, 0x2, 0x1) 10:20:31 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)='\x00'/18, 0x12, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:31 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 33) 10:20:31 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x67000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:31 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xec2f, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:31 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000000100000000000000020000000100060000000000", 0x38}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2643.575824] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2643.588034] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2643.591594] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2643.592573] FAT-fs (loop6): Filesystem has been set read-only [ 2643.605661] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2643.607419] FAT-fs (loop2): Filesystem has been set read-only [ 2643.618676] FAULT_INJECTION: forcing a failure. [ 2643.618676] name failslab, interval 1, probability 0, space 0, times 0 [ 2643.620248] CPU: 1 PID: 13773 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2643.621152] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2643.622242] Call Trace: [ 2643.622585] dump_stack+0x107/0x167 [ 2643.623085] should_fail.cold+0x5/0xa [ 2643.623604] ? __kernfs_new_node+0xd4/0x850 [ 2643.624161] should_failslab+0x5/0x20 [ 2643.624649] kmem_cache_alloc+0x5b/0x360 [ 2643.625417] __kernfs_new_node+0xd4/0x850 [ 2643.626422] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2643.627579] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2643.628799] ? wait_for_completion_io+0x270/0x270 [ 2643.629612] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2643.630341] kernfs_new_node+0x93/0x120 [ 2643.630867] __kernfs_create_file+0x51/0x350 [ 2643.631497] sysfs_add_file_mode_ns+0x221/0x560 [ 2643.632132] internal_create_group+0x324/0xb30 [ 2643.632729] ? sysfs_remove_group+0x170/0x170 [ 2643.633718] ? lockdep_init_map_type+0x2c7/0x780 [ 2643.635161] ? blk_queue_flag_set+0x22/0x30 [ 2643.636390] ? __loop_update_dio+0x2d2/0x690 [ 2643.637667] loop_configure+0x954/0x1480 [ 2643.638888] lo_ioctl+0xa72/0x1760 [ 2643.639949] ? avc_has_extended_perms+0x7f1/0xec0 [ 2643.641415] ? loop_set_status_old+0x250/0x250 [ 2643.642802] ? avc_ss_reset+0x180/0x180 [ 2643.644025] ? find_held_lock+0x2c/0x110 [ 2643.645312] ? __lock_acquire+0xbb1/0x5b00 [ 2643.646617] ? selinux_inode_getsecctx+0x90/0x90 [ 2643.648106] ? generic_block_fiemap+0x60/0x60 [ 2643.649495] ? loop_set_status_old+0x250/0x250 [ 2643.650863] blkdev_ioctl+0x291/0x710 [ 2643.651979] ? blkdev_common_ioctl+0x1870/0x1870 [ 2643.653427] ? selinux_file_ioctl+0xb1/0x260 [ 2643.654762] block_ioctl+0xf9/0x140 [ 2643.655826] ? blkdev_read_iter+0x1c0/0x1c0 [ 2643.657132] __x64_sys_ioctl+0x19a/0x210 [ 2643.658350] do_syscall_64+0x33/0x40 [ 2643.659498] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2643.660938] RIP: 0033:0x7f7ae82eb8d7 [ 2643.662045] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2643.667429] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2643.669571] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2643.671540] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2643.673306] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2643.675051] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2643.676763] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:20:31 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = io_uring_register$IORING_REGISTER_PERSONALITY(r0, 0x9, 0x0, 0x0) syz_io_uring_submit(0x0, 0x0, &(0x7f00000002c0)=@IORING_OP_ACCEPT={0xd, 0x4, 0x0, r2, &(0x7f0000000040)=0x80, &(0x7f0000000380)=@pppol2tpin6={0x18, 0x1, {0x0, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, {0xa, 0x0, 0x0, @private0}}}, 0x0, 0x80800, 0x0, {0x0, r4}}, 0x6) r5 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r5, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x7, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r5) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r5, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) [ 2643.693067] FAULT_INJECTION: forcing a failure. [ 2643.693067] name failslab, interval 1, probability 0, space 0, times 0 [ 2643.697896] CPU: 1 PID: 13776 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2643.698821] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2643.699904] Call Trace: [ 2643.700278] dump_stack+0x107/0x167 [ 2643.700768] should_fail.cold+0x5/0xa [ 2643.701294] ? create_object.isra.0+0x3a/0xa20 [ 2643.701888] should_failslab+0x5/0x20 [ 2643.702417] kmem_cache_alloc+0x5b/0x360 [ 2643.702949] create_object.isra.0+0x3a/0xa20 [ 2643.703519] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2643.704196] kmem_cache_alloc+0x159/0x360 [ 2643.704735] __kernfs_new_node+0xd4/0x850 [ 2643.705313] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2643.705930] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2643.706571] ? wait_for_completion_io+0x270/0x270 [ 2643.707230] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2643.707917] kernfs_new_node+0x93/0x120 [ 2643.708491] __kernfs_create_file+0x51/0x350 [ 2643.709055] sysfs_add_file_mode_ns+0x221/0x560 [ 2643.709684] internal_create_group+0x324/0xb30 [ 2643.710314] ? sysfs_remove_group+0x170/0x170 [ 2643.710892] ? lockdep_init_map_type+0x2c7/0x780 [ 2643.711556] ? blk_queue_flag_set+0x22/0x30 [ 2643.712113] ? __loop_update_dio+0x2d2/0x690 [ 2643.712680] loop_configure+0x954/0x1480 [ 2643.717281] lo_ioctl+0xa72/0x1760 [ 2643.717747] ? avc_has_extended_perms+0x7f1/0xec0 [ 2643.718416] ? loop_set_status_old+0x250/0x250 [ 2643.719016] ? avc_ss_reset+0x180/0x180 [ 2643.719556] ? find_held_lock+0x2c/0x110 [ 2643.720090] ? __lock_acquire+0xbb1/0x5b00 [ 2643.720735] ? selinux_inode_getsecctx+0x90/0x90 [ 2643.721399] ? generic_block_fiemap+0x60/0x60 [ 2643.721982] ? loop_set_status_old+0x250/0x250 [ 2643.722591] blkdev_ioctl+0x291/0x710 [ 2643.723077] ? blkdev_common_ioctl+0x1870/0x1870 [ 2643.723734] ? selinux_file_ioctl+0xb1/0x260 [ 2643.724337] block_ioctl+0xf9/0x140 [ 2643.724802] ? blkdev_read_iter+0x1c0/0x1c0 [ 2643.725416] __x64_sys_ioctl+0x19a/0x210 [ 2643.725952] do_syscall_64+0x33/0x40 [ 2643.726426] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2643.727078] RIP: 0033:0x7fc61b82a8d7 [ 2643.727592] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2643.729926] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2643.730924] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2643.731838] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2643.732773] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2643.733767] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2643.734681] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2643.742021] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2643.744232] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2643.745309] FAT-fs (loop6): Filesystem has been set read-only [ 2643.755780] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2643.757362] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2643.759800] FAT-fs (loop5): bogus number of reserved sectors [ 2643.760556] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2643.761678] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2643.767087] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2643.768035] FAT-fs (loop0): Filesystem has been set read-only [ 2643.768844] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2643.770175] FAT-fs (loop4): Filesystem has been set read-only [ 2643.772325] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2643.781788] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2643.793276] FAT-fs (loop3): Directory bread(block 64) failed [ 2643.794108] FAT-fs (loop3): Directory bread(block 65) failed [ 2643.794860] FAT-fs (loop3): Directory bread(block 66) failed [ 2643.795639] FAT-fs (loop3): Directory bread(block 67) failed [ 2643.796353] FAT-fs (loop3): Directory bread(block 68) failed [ 2643.797141] FAT-fs (loop3): Directory bread(block 69) failed [ 2643.797968] FAT-fs (loop3): Directory bread(block 70) failed [ 2643.798993] FAT-fs (loop3): Directory bread(block 71) failed [ 2643.799786] FAT-fs (loop3): Directory bread(block 72) failed [ 2643.800770] FAT-fs (loop3): Directory bread(block 73) failed [ 2643.844436] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2643.846061] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2643.847060] FAT-fs (loop0): Filesystem has been set read-only 10:20:31 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x80040000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:31 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xedc0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:31 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 34) 10:20:31 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2643.924003] FAULT_INJECTION: forcing a failure. [ 2643.924003] name failslab, interval 1, probability 0, space 0, times 0 [ 2643.925469] CPU: 1 PID: 13793 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2643.926312] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2643.927303] Call Trace: [ 2643.927666] dump_stack+0x107/0x167 [ 2643.928124] should_fail.cold+0x5/0xa [ 2643.928597] ? create_object.isra.0+0x3a/0xa20 [ 2643.929196] should_failslab+0x5/0x20 [ 2643.929670] kmem_cache_alloc+0x5b/0x360 [ 2643.930169] create_object.isra.0+0x3a/0xa20 [ 2643.930733] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2643.931348] kmem_cache_alloc+0x159/0x360 [ 2643.931901] __kernfs_new_node+0xd4/0x850 [ 2643.932411] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2643.932996] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2643.933654] ? wait_for_completion_io+0x270/0x270 [ 2643.934245] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2643.934944] kernfs_new_node+0x93/0x120 [ 2643.935445] __kernfs_create_file+0x51/0x350 [ 2643.936125] sysfs_add_file_mode_ns+0x221/0x560 [ 2643.936705] internal_create_group+0x324/0xb30 [ 2643.937348] ? sysfs_remove_group+0x170/0x170 [ 2643.937895] ? lockdep_init_map_type+0x2c7/0x780 [ 2643.938459] ? blk_queue_flag_set+0x22/0x30 [ 2643.939010] ? __loop_update_dio+0x2d2/0x690 [ 2643.939553] loop_configure+0x954/0x1480 [ 2643.940067] lo_ioctl+0xa72/0x1760 [ 2643.940508] ? avc_has_extended_perms+0x7f1/0xec0 10:20:31 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)='\x00'/18, 0x12, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:31 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 36) 10:20:31 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb51b, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2643.941172] ? loop_set_status_old+0x250/0x250 [ 2643.941748] ? avc_ss_reset+0x180/0x180 [ 2643.942240] ? find_held_lock+0x2c/0x110 [ 2643.942782] ? __lock_acquire+0xbb1/0x5b00 [ 2643.943340] ? selinux_inode_getsecctx+0x90/0x90 [ 2643.943965] ? generic_block_fiemap+0x60/0x60 [ 2643.944526] ? loop_set_status_old+0x250/0x250 [ 2643.947464] blkdev_ioctl+0x291/0x710 [ 2643.947995] ? blkdev_common_ioctl+0x1870/0x1870 [ 2643.948602] ? selinux_file_ioctl+0xb1/0x260 [ 2643.949189] block_ioctl+0xf9/0x140 [ 2643.949663] ? blkdev_read_iter+0x1c0/0x1c0 [ 2643.950222] __x64_sys_ioctl+0x19a/0x210 [ 2643.950786] do_syscall_64+0x33/0x40 [ 2643.951263] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2643.951964] RIP: 0033:0x7f7ae82eb8d7 [ 2643.952441] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2643.954851] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2643.955809] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2643.956699] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2643.957655] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2643.958549] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2643.959465] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:20:31 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r1, 0x0, 0x48) r2 = eventfd(0x1ff) r3 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) recvfrom(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) ioctl$AUTOFS_DEV_IOCTL_PROTOSUBVER(r0, 0xc0189373, &(0x7f0000000040)={{0x1, 0x1, 0x18, 0xffffffffffffffff, {0x81}}, './file0\x00'}) connect$inet(r3, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r3) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r2, 0x100}, {}, {r1}, {r3, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r4 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, r4, 0x0, 0x9bbb) [ 2643.994221] FAT-fs (loop5): bogus number of reserved sectors [ 2643.995071] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2643.996161] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2643.998502] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.014080] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2644.015042] FAT-fs (loop4): Filesystem has been set read-only 10:20:31 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2644.040691] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.042313] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2644.043258] FAT-fs (loop6): Filesystem has been set read-only [ 2644.072846] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.074474] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2644.075482] FAT-fs (loop0): Filesystem has been set read-only [ 2644.105766] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.113034] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2644.114151] FAT-fs (loop0): Filesystem has been set read-only [ 2644.122137] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.124074] FAULT_INJECTION: forcing a failure. 10:20:31 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8cffffff, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2644.124074] name failslab, interval 1, probability 0, space 0, times 0 [ 2644.125650] CPU: 0 PID: 13810 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2644.126550] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2644.127579] Call Trace: [ 2644.127929] dump_stack+0x107/0x167 [ 2644.128396] should_fail.cold+0x5/0xa [ 2644.128870] ? __kernfs_new_node+0xd4/0x850 [ 2644.129440] should_failslab+0x5/0x20 [ 2644.129916] kmem_cache_alloc+0x5b/0x360 [ 2644.130427] __kernfs_new_node+0xd4/0x850 [ 2644.130950] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2644.131538] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2644.132145] ? wait_for_completion_io+0x270/0x270 [ 2644.132743] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2644.133418] kernfs_new_node+0x93/0x120 [ 2644.133916] __kernfs_create_file+0x51/0x350 [ 2644.134474] sysfs_add_file_mode_ns+0x221/0x560 [ 2644.135060] internal_create_group+0x324/0xb30 [ 2644.135633] ? sysfs_remove_group+0x170/0x170 [ 2644.136194] ? lockdep_init_map_type+0x2c7/0x780 [ 2644.136781] ? blk_queue_flag_set+0x22/0x30 [ 2644.137388] ? __loop_update_dio+0x2d2/0x690 [ 2644.137938] loop_configure+0x954/0x1480 [ 2644.138453] lo_ioctl+0xa72/0x1760 [ 2644.138909] ? avc_has_extended_perms+0x7f1/0xec0 [ 2644.139526] ? loop_set_status_old+0x250/0x250 [ 2644.140102] ? avc_ss_reset+0x180/0x180 [ 2644.140600] ? find_held_lock+0x2c/0x110 [ 2644.141126] ? __lock_acquire+0xbb1/0x5b00 [ 2644.141697] ? selinux_inode_getsecctx+0x90/0x90 [ 2644.142291] ? generic_block_fiemap+0x60/0x60 [ 2644.142859] ? loop_set_status_old+0x250/0x250 [ 2644.143423] blkdev_ioctl+0x291/0x710 [ 2644.143900] ? blkdev_common_ioctl+0x1870/0x1870 [ 2644.144490] ? selinux_file_ioctl+0xb1/0x260 [ 2644.145045] block_ioctl+0xf9/0x140 [ 2644.145511] ? blkdev_read_iter+0x1c0/0x1c0 [ 2644.146051] __x64_sys_ioctl+0x19a/0x210 [ 2644.146555] do_syscall_64+0x33/0x40 [ 2644.147034] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2644.147701] RIP: 0033:0x7fc61b82a8d7 [ 2644.148165] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2644.150535] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2644.150970] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2644.151480] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2644.151490] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2644.151508] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2644.152475] FAT-fs (loop6): Filesystem has been set read-only [ 2644.153335] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2644.153344] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:20:31 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 35) 10:20:31 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) mmap(&(0x7f0000ff5000/0xa000)=nil, 0xa000, 0x1, 0xc2010, 0xffffffffffffffff, 0x36215000) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r3, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r3) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {0xffffffffffffffff, 0x100}, {r1}, {r2}, {r3, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r4 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r5, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x7, @private1={0xfc, 0x1, '\x00', 0x1}}, 0x1c) sendfile(r5, r4, 0x0, 0x9bbb) recvfrom(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) sendmmsg$unix(r4, &(0x7f0000001480)=[{{&(0x7f0000000100)=@file={0x1, './file0\x00'}, 0x6e, &(0x7f00000008c0)=[{&(0x7f0000000380)="a18a97ca5c59de8fedc4d5c45784c1fc5951810b4f400c83cb66f80321284bf4baca79f9d8de21941895c29b14c969d9fbf6760b0c13c36075d28d080040cdd4c4ae8385258d42837d5c71dc255b2f5861920837d2025e3512b876575ccb11a9498e30210fc20350b3f3b234a9fb56239ee63d019fecf214b534755dfb048e2e7f17176eabc7502f463fcb3fb0faf24f8d00932044d2062c450a404ed3aa6ce5a56001a8c44c4a8fd8e1921f708102983e463a6cf9ced047deea225628e6be3dd424c9393f7b2faf5ffd80a1169f2b92d4bfc6338148c1", 0xd7}, {&(0x7f0000000480)="da6eb867347493a5391611018845c002d492851351d748ee5d1f49ace6cc47c3e6fa028ba02bec522b769e693b53d6f88bb7ace1c8cc6fc5565f37b92d73bf8041d87d84a44d4c75300d41d5e49ca500f902916cfc9729cbc62070734c17643199600f802ca1a97e46c3925df9590ffa036bf6738f89c440e2d5ac979efc64cdfe5e6f4332cf3c11e71560822c9a364a54c450d3e1c1c846a41a49", 0x9b}, {&(0x7f0000000540)="2cb6020888fa5d29485c2305de71f4844147b1ce99f103b716b9aa0a9729bda9f4b09a96a3218c79fcc1be40949aa420a1cf53e4d866d1b813f304816cd517a7e7a72a9a4084e32d4174210246ee9babb1a689103a97d9ab64b06f029d082432b10d2642260f008206973cef3ffbe6dd8128d1a4efbff630ee2a54c9eb4a552db550567e6c3ff3a7ed966920ba6f4d32c3a28a8b889a", 0x96}, {&(0x7f00000002c0)="9fd8fab407ceed9b77657932413cc4c8b12e3b572bc067386eef2bfe1716c3ad1b6f6ad3f81c8fc763083fa84ea665031071fe27de8a164adf8c57d9daa8ca140246c2af25994811c1f0684cfb4b30135c0b3e2e8b268bc03a9255e2313f8b21be1d37566d06f7012f4e75ed9bc79b8c41", 0x71}, {&(0x7f0000000600)="6bef982bef5117d1f1d3591fbf682f18a1d16a56ce4fb10e66c6c766993fd098daad3b06658dc0f1d27aed0b05f89043f3d0b7d81826b0afea0f1a47441514436f26cb9b9adbd39697a881147e76c0ef390350e026038515c8c559c27b1f1acaed386a717c4cd73c185e8d8399b881c245282be7c277a44f5ba49b91f0d2191535da2e0e4870c7006ed832ed280262ee8ab62c1ce6f8b27246d774a23bd91876e3b62deb1b197c185ed411848ee4b084194d010213dca793328ba969e731816b5b3edd929bf58e53fa26ef53602fbbaa0dabd1d931d98fe27a05951d4079e52cea796f419d799d4a14c8baf66abc42f85bffe60c02120fda", 0xf8}, {&(0x7f0000000700)="0051cb5e0d3b09abf7fa32dfe2ea32f0675361b0f0448353c9c54f6198fd937dd86582fb8d12fae164593946259eef8a08486eec6737d6110805c3fc0423a2b6fff31b59136f8d07022ddd778391abd760eb5e5e6fc30552829ea364cef3c0f1de38845432e4bd449891f59c761880dc126c86b74387972c1b0c12f0f8c9925b4e41da4d1b6766c9fa3ba6", 0x8b}, {&(0x7f0000000040)="14b88f96723eee2dddc2d538e2b04be39c19a60f2b49508a3567d2a6f6324a4b", 0x20}, {&(0x7f00000007c0)="113d76209a15673b125e3f8b18e1daa8c17e23ab6af6ce2ad3b8cc6689637ad3bdb11dccc1", 0x25}, {&(0x7f0000000800)="e81962cd47a11385bc80ea2af83f6f7364bd612982f87734f63a2decfad814e7a716acde87d9906b25a5136eb8", 0x2d}, {&(0x7f0000000840)="fb2d1027f04a2ca770bc9e5729cad00f003adb2e894f3501d951888f7b5acd32561d293b41c8a8801f283120275b0ca354c2864270ce02e714869d788ec3964b9b5ba62d43afc3741c2a71c619668f3650a3ca124a", 0x55}], 0xa, &(0x7f0000000980)=[@rights={{0x24, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x1c, 0x1, 0x1, [0xffffffffffffffff, r4, r4]}}, @rights={{0x18, 0x1, 0x1, [r3, r4]}}, @cred={{0x1c, 0x1, 0x2, {0x0, 0x0, 0xffffffffffffffff}}}, @cred={{0x1c, 0x1, 0x2, {0x0, 0xffffffffffffffff, 0xffffffffffffffff}}}], 0xa0, 0x40000}}, {{&(0x7f0000000a40)=@abs={0x1, 0x0, 0x4e20}, 0x6e, &(0x7f0000000bc0)=[{&(0x7f0000000ac0)="1e13c3c68a6b6d9340c661d4b1842f23e102c55f58b604db2f3e6574c536f2b64624ebfccc98a8dc3bf23db5ea2afe3f", 0x30}, {&(0x7f0000000b00)="f73e4bf05f2f9b3e3650a2d94fa9ca9bea97f6204dd2e6a44a625d1a5bdde94af01b60ae157cd47da6a9733e9ff7a86c731af3b9ea04c42b2e77520e5cb0eea47863f03b8d373d2b9ce36fd87d9146172123cbb5433117aa7d863638b4d305ff58c477ed96ea0f1a672262a3b6e9b8f82ec38c83f996fb1fbffbc3bb937d9f52f5a3a3a641b54188ec43966311c74bbe33633346cae463dc63157fc2473998", 0x9f}], 0x2, &(0x7f0000000d80)=ANY=[@ANYBLOB="14000000000000000100000001000000", @ANYRES32, @ANYBLOB="1dd00b808a62b00fda1d557a7ec606e0dad41972a66e331c937204d501b478a00000000000000000"], 0x18, 0x40}}, {{&(0x7f0000000c40)=@abs={0x0, 0x0, 0x4e20}, 0x6e, &(0x7f0000000d40)=[{&(0x7f0000000cc0)="573a77e4d6fa53b169e2c2d9e32f567e8f78a160f92785a815154e3c5791fadab8a8d00f85c00493b637d311d0f45a332389c86b730087f84a68631a2ef4a077897d75c22aeccb9cdbd2e73147062b3f10a5f5bb2085c2caf858d88b70adc2a75b", 0x61}], 0x1, &(0x7f0000000fc0)=[@rights={{0x1c, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, r2]}}, @rights={{0x24, 0x1, 0x1, [r1, 0xffffffffffffffff, r0, 0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c, 0x1, 0x2, {0x0, 0x0, 0xee00}}}, @cred={{0x1c, 0x1, 0x2, {0xffffffffffffffff, 0xee00}}}, @rights={{0x18, 0x1, 0x1, [r3, 0xffffffffffffffff]}}], 0xa0, 0x14}}, {{&(0x7f0000001080)=@file={0x0, './file0\x00'}, 0x6e, &(0x7f0000001200)=[{&(0x7f0000001100)="d0e55a727745bd3fa647a51c4b47f574cfb1eb561567f240750c489bb5798b6b3814772f1ef1064b6ffa9474143e2ca4b2070aabca85bf8e55b48c6812de0626607b696ce8163701c0a1bba6a024ebc3713ce46c024423a44f7e93ce1fa3d086f6b67aeac4a7e4fc17f634dcc6c5abe5059b57d458a3b424c1f8a99fc50dc20a042f51325c2f0abeeab9e98be8897e3c12e2cbf096dca6844fbbf87cbd3944649a40d95d8c8686adda10aab5ea9c750e47b6c22c878e16384c0d9bb312ebe8c2ccad6d560720a09dcf2e170f9f69991baa4018ff644a7b9618be8cd031878bbc3cf564c65f32dea7a122a1eef4dc3b", 0xef}], 0x1, 0x0, 0x0, 0x800}}, {{&(0x7f0000001240)=@file={0x0, './file0\x00'}, 0x6e, &(0x7f0000001440)=[{&(0x7f00000012c0)="565eb597e3a0911d827dce44eb763ded55fd8c6f4b03ac4b352c4ffb0e5aa85c44b050b7753559d15ac0a6e7f239c577c4d55d5d8a069ca063f63593727f11f1234c59b0aba40ed9976b0ed2c1bac88761db784092cbf193c74f8d84b17f3ae2c6d97320c102b3f44a9d2bdf432ac7ec43309cdbd767210f1aeb88a083e6e5276ee931b8273077bbf2961d630174adb23a0a6dbaa4b85051c24ac7db315998032e6993a0abb076c43dc0b81994c10bb4da01ed0d2f1a3919ea1c2b596f91ca7ee416b2f6eecc1a7f8d2931ee7edb2a3dd6d9a18c5c7f9801e473fcf75264e4a11f81901edb9db56c29cf8252", 0xec}, {&(0x7f00000013c0)="7b2ecac6bf792a9963c881104b8a8722d2929cb2e111757ffd9bfb9cf2b6b45d580b5dfc1dc3c8536f87fb6eb19f424305310bcd99a87c239b3ca003d96392e55dafd987fea3808c", 0x48}], 0x2, 0x0, 0x0, 0x4000}}], 0x5, 0x20044001) [ 2644.227163] FAT-fs (loop5): bogus number of reserved sectors [ 2644.228824] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2644.230986] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2644.233465] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2644.252195] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.263825] FAULT_INJECTION: forcing a failure. [ 2644.263825] name failslab, interval 1, probability 0, space 0, times 0 [ 2644.266730] CPU: 1 PID: 13822 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2644.268266] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2644.270409] Call Trace: [ 2644.270992] dump_stack+0x107/0x167 [ 2644.271866] should_fail.cold+0x5/0xa [ 2644.272812] ? __kernfs_new_node+0xd4/0x850 [ 2644.273998] should_failslab+0x5/0x20 [ 2644.275100] kmem_cache_alloc+0x5b/0x360 [ 2644.276045] __kernfs_new_node+0xd4/0x850 [ 2644.277034] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2644.278458] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2644.279612] ? wait_for_completion_io+0x270/0x270 [ 2644.280737] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2644.281660] kernfs_new_node+0x93/0x120 [ 2644.282171] __kernfs_create_file+0x51/0x350 [ 2644.282737] sysfs_add_file_mode_ns+0x221/0x560 [ 2644.283363] internal_create_group+0x324/0xb30 [ 2644.283943] ? sysfs_remove_group+0x170/0x170 [ 2644.284552] ? lockdep_init_map_type+0x2c7/0x780 [ 2644.285218] ? blk_queue_flag_set+0x22/0x30 [ 2644.285795] ? __loop_update_dio+0x2d2/0x690 [ 2644.286344] loop_configure+0x954/0x1480 [ 2644.286860] lo_ioctl+0xa72/0x1760 [ 2644.287292] ? avc_has_extended_perms+0x7f1/0xec0 [ 2644.287866] ? loop_set_status_old+0x250/0x250 [ 2644.288477] ? avc_ss_reset+0x180/0x180 [ 2644.288972] ? find_held_lock+0x2c/0x110 [ 2644.289930] ? __lock_acquire+0xbb1/0x5b00 [ 2644.290926] ? selinux_inode_getsecctx+0x90/0x90 [ 2644.291995] ? generic_block_fiemap+0x60/0x60 [ 2644.293029] ? loop_set_status_old+0x250/0x250 [ 2644.294308] blkdev_ioctl+0x291/0x710 [ 2644.295317] ? blkdev_common_ioctl+0x1870/0x1870 [ 2644.296404] ? selinux_file_ioctl+0xb1/0x260 [ 2644.297383] block_ioctl+0xf9/0x140 [ 2644.298175] ? blkdev_read_iter+0x1c0/0x1c0 [ 2644.299172] __x64_sys_ioctl+0x19a/0x210 [ 2644.300085] do_syscall_64+0x33/0x40 [ 2644.300940] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2644.302384] RIP: 0033:0x7f7ae82eb8d7 [ 2644.303397] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2644.308035] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2644.309519] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2644.310409] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2644.311342] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2644.312243] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2644.313291] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:20:31 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 37) [ 2644.324723] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.328495] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.332509] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2644.334650] FAT-fs (loop4): Filesystem has been set read-only [ 2644.340200] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2644.341332] FAT-fs (loop2): Filesystem has been set read-only [ 2644.362506] FAT-fs (loop3): Directory bread(block 64) failed [ 2644.392312] FAT-fs (loop3): Directory bread(block 65) failed [ 2644.396282] FAT-fs (loop3): Directory bread(block 66) failed [ 2644.406829] FAT-fs (loop3): Directory bread(block 67) failed [ 2644.415134] FAT-fs (loop3): Directory bread(block 68) failed [ 2644.420662] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2644.422741] FAT-fs (loop3): Directory bread(block 69) failed [ 2644.423925] FAT-fs (loop3): Directory bread(block 70) failed [ 2644.424928] FAT-fs (loop3): Directory bread(block 71) failed [ 2644.425968] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2644.427486] FAT-fs (loop3): Directory bread(block 72) failed [ 2644.427576] FAT-fs (loop2): Filesystem has been set read-only [ 2644.428569] FAT-fs (loop3): Directory bread(block 73) failed [ 2644.435213] FAULT_INJECTION: forcing a failure. [ 2644.435213] name failslab, interval 1, probability 0, space 0, times 0 [ 2644.437103] CPU: 1 PID: 13825 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2644.438164] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2644.439219] Call Trace: [ 2644.439569] dump_stack+0x107/0x167 [ 2644.440073] should_fail.cold+0x5/0xa [ 2644.440583] ? create_object.isra.0+0x3a/0xa20 [ 2644.441192] should_failslab+0x5/0x20 [ 2644.441724] kmem_cache_alloc+0x5b/0x360 [ 2644.442234] create_object.isra.0+0x3a/0xa20 [ 2644.442806] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2644.443439] kmem_cache_alloc+0x159/0x360 [ 2644.444003] __kernfs_new_node+0xd4/0x850 [ 2644.444550] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2644.445161] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2644.445788] ? wait_for_completion_io+0x270/0x270 [ 2644.446368] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2644.447063] kernfs_new_node+0x93/0x120 [ 2644.447585] __kernfs_create_file+0x51/0x350 [ 2644.448176] sysfs_add_file_mode_ns+0x221/0x560 [ 2644.448779] internal_create_group+0x324/0xb30 [ 2644.449408] ? sysfs_remove_group+0x170/0x170 [ 2644.449969] ? lockdep_init_map_type+0x2c7/0x780 [ 2644.450558] ? blk_queue_flag_set+0x22/0x30 [ 2644.451132] ? __loop_update_dio+0x2d2/0x690 [ 2644.451709] loop_configure+0x954/0x1480 [ 2644.452218] lo_ioctl+0xa72/0x1760 [ 2644.452698] ? avc_has_extended_perms+0x7f1/0xec0 [ 2644.453326] ? loop_set_status_old+0x250/0x250 [ 2644.453929] ? avc_ss_reset+0x180/0x180 [ 2644.454427] ? find_held_lock+0x2c/0x110 [ 2644.454987] ? __lock_acquire+0xbb1/0x5b00 [ 2644.455575] ? selinux_inode_getsecctx+0x90/0x90 [ 2644.456169] ? generic_block_fiemap+0x60/0x60 [ 2644.456763] ? loop_set_status_old+0x250/0x250 [ 2644.457383] blkdev_ioctl+0x291/0x710 [ 2644.457938] ? blkdev_common_ioctl+0x1870/0x1870 [ 2644.458891] ? selinux_file_ioctl+0xb1/0x260 [ 2644.459768] block_ioctl+0xf9/0x140 [ 2644.460474] ? blkdev_read_iter+0x1c0/0x1c0 [ 2644.461141] __x64_sys_ioctl+0x19a/0x210 [ 2644.461678] do_syscall_64+0x33/0x40 [ 2644.462150] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2644.462799] RIP: 0033:0x7fc61b82a8d7 [ 2644.463271] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2644.465691] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2644.466702] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2644.467651] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2644.468539] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2644.469497] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2644.470372] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2644.505251] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2660.512219] FAT-fs (loop5): bogus number of reserved sectors [ 2660.513032] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2660.514874] FAT-fs (loop5): Can't find a valid FAT filesystem 10:20:48 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:48 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:48 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 36) 10:20:48 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) recvfrom(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f0000000040)={0x6, 0x4, 0x5}) preadv(r1, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:20:48 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf6ffffff, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:48 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb61b, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:20:48 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)='\x00'/27, 0x1b, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:20:48 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 38) [ 2660.536255] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2660.541170] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2660.542241] FAT-fs (loop2): Filesystem has been set read-only [ 2660.561728] FAULT_INJECTION: forcing a failure. [ 2660.561728] name failslab, interval 1, probability 0, space 0, times 0 [ 2660.564968] CPU: 1 PID: 13842 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2660.566948] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2660.568032] Call Trace: [ 2660.568401] dump_stack+0x107/0x167 [ 2660.568877] should_fail.cold+0x5/0xa [ 2660.569506] ? create_object.isra.0+0x3a/0xa20 [ 2660.570337] should_failslab+0x5/0x20 [ 2660.570900] kmem_cache_alloc+0x5b/0x360 [ 2660.571556] create_object.isra.0+0x3a/0xa20 [ 2660.572214] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2660.572966] kmem_cache_alloc+0x159/0x360 [ 2660.573615] __kernfs_new_node+0xd4/0x850 [ 2660.574263] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2660.574976] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2660.575702] ? wait_for_completion_io+0x270/0x270 [ 2660.576441] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2660.577264] kernfs_new_node+0x93/0x120 [ 2660.577878] __kernfs_create_file+0x51/0x350 [ 2660.578537] sysfs_add_file_mode_ns+0x221/0x560 [ 2660.579238] internal_create_group+0x324/0xb30 [ 2660.579939] ? sysfs_remove_group+0x170/0x170 [ 2660.580609] ? lockdep_init_map_type+0x2c7/0x780 [ 2660.581350] ? blk_queue_flag_set+0x22/0x30 [ 2660.581986] ? __loop_update_dio+0x2d2/0x690 [ 2660.582639] loop_configure+0x954/0x1480 [ 2660.583280] lo_ioctl+0xa72/0x1760 [ 2660.583810] ? avc_has_extended_perms+0x7f1/0xec0 [ 2660.584555] ? loop_set_status_old+0x250/0x250 [ 2660.585244] ? avc_ss_reset+0x180/0x180 [ 2660.585844] ? __lock_acquire+0x1657/0x5b00 [ 2660.586506] ? __lock_acquire+0xbb1/0x5b00 [ 2660.587201] ? selinux_inode_getsecctx+0x90/0x90 [ 2660.587908] ? generic_block_fiemap+0x60/0x60 [ 2660.588566] ? trace_event_raw_event_sched_process_wait+0x220/0x270 [ 2660.589527] ? __switch_to+0x572/0xff0 [ 2660.590126] ? __switch_to_asm+0x3a/0x60 [ 2660.590726] ? loop_set_status_old+0x250/0x250 [ 2660.591403] blkdev_ioctl+0x291/0x710 [ 2660.591972] ? blkdev_common_ioctl+0x1870/0x1870 [ 2660.592717] ? selinux_file_ioctl+0xb1/0x260 [ 2660.593400] block_ioctl+0xf9/0x140 [ 2660.593926] ? blkdev_read_iter+0x1c0/0x1c0 [ 2660.594552] __x64_sys_ioctl+0x19a/0x210 [ 2660.595154] do_syscall_64+0x33/0x40 [ 2660.595702] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2660.596455] RIP: 0033:0x7f7ae82eb8d7 [ 2660.597006] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2660.599679] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2660.600796] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2660.601830] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2660.602862] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2660.603904] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2660.604972] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2660.618856] FAULT_INJECTION: forcing a failure. [ 2660.618856] name failslab, interval 1, probability 0, space 0, times 0 [ 2660.626309] CPU: 0 PID: 13852 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2660.627290] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2660.628467] Call Trace: [ 2660.628859] dump_stack+0x107/0x167 [ 2660.629421] should_fail.cold+0x5/0xa [ 2660.629963] ? __kernfs_new_node+0xd4/0x850 [ 2660.630601] should_failslab+0x5/0x20 [ 2660.631161] kmem_cache_alloc+0x5b/0x360 [ 2660.631749] __kernfs_new_node+0xd4/0x850 [ 2660.632366] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2660.633068] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2660.633769] ? wait_for_completion_io+0x270/0x270 [ 2660.634456] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2660.635216] kernfs_new_node+0x93/0x120 [ 2660.635813] __kernfs_create_file+0x51/0x350 [ 2660.636477] sysfs_add_file_mode_ns+0x221/0x560 [ 2660.637168] internal_create_group+0x324/0xb30 [ 2660.637852] ? sysfs_remove_group+0x170/0x170 [ 2660.638525] ? lockdep_init_map_type+0x2c7/0x780 [ 2660.639222] ? blk_queue_flag_set+0x22/0x30 [ 2660.639842] ? __loop_update_dio+0x2d2/0x690 [ 2660.640484] loop_configure+0x954/0x1480 [ 2660.641082] lo_ioctl+0xa72/0x1760 [ 2660.641603] ? avc_has_extended_perms+0x7f1/0xec0 [ 2660.642232] ? loop_set_status_old+0x250/0x250 [ 2660.642842] ? avc_ss_reset+0x180/0x180 [ 2660.643457] ? find_held_lock+0x2c/0x110 [ 2660.644034] ? __lock_acquire+0xbb1/0x5b00 [ 2660.644685] ? selinux_inode_getsecctx+0x90/0x90 [ 2660.645412] ? generic_block_fiemap+0x60/0x60 [ 2660.646020] ? loop_set_status_old+0x250/0x250 [ 2660.646673] blkdev_ioctl+0x291/0x710 [ 2660.647219] ? blkdev_common_ioctl+0x1870/0x1870 [ 2660.647917] ? selinux_file_ioctl+0xb1/0x260 [ 2660.648586] block_ioctl+0xf9/0x140 [ 2660.649115] ? blkdev_read_iter+0x1c0/0x1c0 [ 2660.649773] __x64_sys_ioctl+0x19a/0x210 [ 2660.650374] do_syscall_64+0x33/0x40 [ 2660.650922] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2660.651604] RIP: 0033:0x7fc61b82a8d7 [ 2660.652073] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2660.654351] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2660.655325] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2660.656226] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2660.657100] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2660.658229] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2660.659303] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2660.670897] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2660.673725] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2660.677989] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2660.680120] FAT-fs (loop6): Filesystem has been set read-only [ 2660.692932] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2660.694151] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2660.697311] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2660.698324] FAT-fs (loop4): Filesystem has been set read-only [ 2660.704686] FAT-fs (loop3): Directory bread(block 64) failed [ 2660.705543] FAT-fs (loop3): Directory bread(block 65) failed [ 2660.706430] FAT-fs (loop3): Directory bread(block 66) failed [ 2660.707279] FAT-fs (loop3): Directory bread(block 67) failed [ 2660.709789] FAT-fs (loop3): Directory bread(block 68) failed [ 2660.710686] FAT-fs (loop3): Directory bread(block 69) failed [ 2660.711789] FAT-fs (loop3): Directory bread(block 70) failed [ 2660.711879] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2660.712718] FAT-fs (loop3): Directory bread(block 71) failed [ 2660.716249] FAT-fs (loop3): Directory bread(block 72) failed [ 2660.719667] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2660.721728] FAT-fs (loop0): Filesystem has been set read-only [ 2660.723094] FAT-fs (loop3): Directory bread(block 73) failed 10:20:48 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 37) 10:20:48 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 39) 10:20:48 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2660.780040] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2660.787729] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2660.789672] FAT-fs (loop6): Filesystem has been set read-only [ 2660.846139] FAULT_INJECTION: forcing a failure. [ 2660.846139] name failslab, interval 1, probability 0, space 0, times 0 [ 2660.847856] CPU: 1 PID: 13871 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2660.848902] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2660.850085] Call Trace: [ 2660.850484] dump_stack+0x107/0x167 [ 2660.851032] should_fail.cold+0x5/0xa [ 2660.851628] ? create_object.isra.0+0x3a/0xa20 [ 2660.852304] should_failslab+0x5/0x20 [ 2660.852884] kmem_cache_alloc+0x5b/0x360 [ 2660.853509] create_object.isra.0+0x3a/0xa20 [ 2660.854129] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2660.854914] kmem_cache_alloc+0x159/0x360 [ 2660.855543] __kernfs_new_node+0xd4/0x850 [ 2660.856190] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2660.856901] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2660.857645] ? wait_for_completion_io+0x270/0x270 [ 2660.858357] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2660.859177] kernfs_new_node+0x93/0x120 [ 2660.859779] __kernfs_create_file+0x51/0x350 [ 2660.860441] sysfs_add_file_mode_ns+0x221/0x560 [ 2660.861137] internal_create_group+0x324/0xb30 [ 2660.861815] ? sysfs_remove_group+0x170/0x170 [ 2660.862485] ? lockdep_init_map_type+0x2c7/0x780 [ 2660.863195] ? blk_queue_flag_set+0x22/0x30 [ 2660.863867] ? __loop_update_dio+0x2d2/0x690 [ 2660.864519] loop_configure+0x954/0x1480 [ 2660.865169] lo_ioctl+0xa72/0x1760 [ 2660.865693] ? avc_has_extended_perms+0x7f1/0xec0 [ 2660.866413] ? loop_set_status_old+0x250/0x250 [ 2660.867092] ? avc_ss_reset+0x180/0x180 [ 2660.867714] ? find_held_lock+0x2c/0x110 [ 2660.868322] ? __lock_acquire+0xbb1/0x5b00 [ 2660.869030] ? selinux_inode_getsecctx+0x90/0x90 [ 2660.869727] ? generic_block_fiemap+0x60/0x60 [ 2660.870393] ? loop_set_status_old+0x250/0x250 [ 2660.871087] blkdev_ioctl+0x291/0x710 [ 2660.871680] ? blkdev_common_ioctl+0x1870/0x1870 [ 2660.872396] ? selinux_file_ioctl+0xb1/0x260 [ 2660.873054] block_ioctl+0xf9/0x140 [ 2660.873596] ? blkdev_read_iter+0x1c0/0x1c0 [ 2660.874203] __x64_sys_ioctl+0x19a/0x210 [ 2660.874764] do_syscall_64+0x33/0x40 [ 2660.875237] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2660.875899] RIP: 0033:0x7fc61b82a8d7 [ 2660.876371] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2660.878690] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2660.879646] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2660.880548] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2660.881484] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2660.882553] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2660.883645] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2660.886190] FAT-fs (loop5): bogus number of reserved sectors [ 2660.887047] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2660.888311] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2660.915174] FAULT_INJECTION: forcing a failure. [ 2660.915174] name failslab, interval 1, probability 0, space 0, times 0 [ 2660.917940] CPU: 0 PID: 13875 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2660.919636] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2660.921303] Call Trace: [ 2660.921664] dump_stack+0x107/0x167 [ 2660.922095] should_fail.cold+0x5/0xa [ 2660.922547] ? __kernfs_new_node+0xd4/0x850 [ 2660.923052] should_failslab+0x5/0x20 [ 2660.923493] kmem_cache_alloc+0x5b/0x360 [ 2660.923978] __kernfs_new_node+0xd4/0x850 [ 2660.924465] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2660.925021] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2660.925837] ? wait_for_completion_io+0x270/0x270 [ 2660.926812] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2660.927863] kernfs_new_node+0x93/0x120 [ 2660.928694] __kernfs_create_file+0x51/0x350 [ 2660.929760] sysfs_add_file_mode_ns+0x221/0x560 [ 2660.930797] internal_create_group+0x324/0xb30 [ 2660.931836] ? sysfs_remove_group+0x170/0x170 [ 2660.932824] ? lockdep_init_map_type+0x2c7/0x780 [ 2660.933675] ? blk_queue_flag_set+0x22/0x30 [ 2660.934216] ? __loop_update_dio+0x2d2/0x690 [ 2660.934776] loop_configure+0x954/0x1480 [ 2660.935299] lo_ioctl+0xa72/0x1760 [ 2660.935739] ? avc_has_extended_perms+0x7f1/0xec0 [ 2660.936329] ? loop_set_status_old+0x250/0x250 [ 2660.936939] ? avc_ss_reset+0x180/0x180 [ 2660.937501] ? find_held_lock+0x2c/0x110 [ 2660.938008] ? __lock_acquire+0xbb1/0x5b00 [ 2660.938566] ? selinux_inode_getsecctx+0x90/0x90 [ 2660.939154] ? generic_block_fiemap+0x60/0x60 [ 2660.939716] ? loop_set_status_old+0x250/0x250 [ 2660.940274] blkdev_ioctl+0x291/0x710 [ 2660.940745] ? blkdev_common_ioctl+0x1870/0x1870 [ 2660.941354] ? selinux_file_ioctl+0xb1/0x260 [ 2660.942541] block_ioctl+0xf9/0x140 [ 2660.943334] ? blkdev_read_iter+0x1c0/0x1c0 [ 2660.944270] __x64_sys_ioctl+0x19a/0x210 [ 2660.945173] do_syscall_64+0x33/0x40 [ 2660.945745] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2660.946384] RIP: 0033:0x7f7ae82eb8d7 [ 2660.946858] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2660.949198] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2660.950223] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2660.951111] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2660.952024] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2660.952950] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2660.954434] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2660.963511] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2660.968430] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2660.973087] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2660.975052] FAT-fs (loop4): Filesystem has been set read-only 10:21:04 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xfcfdffff, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:04 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 38) 10:21:04 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 40) 10:21:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf904, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:04 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)='\x00'/27, 0x1b, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:04 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xb71b, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:04 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0xfd, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x1000000, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) ioctl$BTRFS_IOC_INO_LOOKUP_USER(0xffffffffffffffff, 0xd000943e, &(0x7f0000001f80)={0x0, 0x0, "d98c18158c2e55e640f7c3dccf531c25426d90f95080a7b67194f5ade074042acf48bfdb9e705c925e95163dade0902e9194dd52d02e1cf3e4661c32185e3dc8b4bf6f00fae59aea2832389f8bf401e912b5a63d889e5f93965cda7a549da8190ea5d10f0feabb97adffb8c070bfc6380b8ebc291789a0c5a7aee78418bb2e47ad8583d3ac3ab17150d0825335ffd03c963b686d973126903a972ad9a48ba779b8a674931916efe42b5cb2f1b276863446f7bd450ff4ac329642a04d5c522c49ede3d8e7e4371b6113278ac2094512ab0acfb179d7de82f26f0972897b75741b3c3d320c040880f1a185709b4126859a625bd9ee2b9f533642d5f0575c66311e", "5bc837a8170b535bd28cf074b7b401eb8ef350a4422da19cc75bba449cc86ba48356cf62a25db81c56640e18486c4cfc0d254cf03958e76c7ec5ed8c8d06e4bb0e3275f83ab51d767b9a144e8480c709447a8af9b81361a504266ced5a69cd80e22e41890475167226862ccf18e4a3dc0e1e2684761dacce6d64a6a4625ea6ee2b19742da7a646b69054c63de1a6c27b47f0043e0a32016e29d2a85c291eeb5b2a50d1d5933440582d90f0db26d01a537835a0af39b19dc7958f6fc091cad1e5b88a3551d8858f2ae9f32b6120f4ced99cd1215a4f6c656b28e3f1f21af530797e13b5a4af19ac261ca5a164f34e3a1b07e2a385c070c352fb14bb1127fdef840d9b8b2e31c65f0a5f3fdbad22aa84377d9f1ddf225d4b03cee5059d938948b59dcf3e14a6e81777fa22dd2ed72e3b19cc729f9b7a0b3fc8923531bd79d8c8f8cd237c18b684dcdb6d59c50ac2c09b04710d894e8543bc385a61cac8271099dd9673d0703aafd63d745843912fc7fac7d162d5f8fa986ac3539a8b569e61a37f7b7e7ab8e20b34ea7c4df4d536f63cf9bf5a3668120dc378ceee928ef1a115c3762c8aee673d6aa1fa1ed4916edec428e3c8af646cef0ebbadca3809eacca22a6263f0385d39695d385556a7cb1f87fbfd422afbf8876d1443a522720fa578a285d68392ab1feeb9a127b32e88555e9d11b03a45df464385cba84c1b1c9ac2cd351ed287b11c23b505729af0581ebb35940148bdc57367ac67b16c249a06826c1bb5bb7ff249e80e0c14f8b0a7633bc28d7b523084af5ba1f37097f86a1561481dd4f2903d007cdb0ab8bacc1fd4b2b7246c76b25a8c743337d48be39b455cf7cca8b5a05ad99f8fc54ad6817d29fc27d0e618129edb4b9e992e9cdf5a9b6c7e1da0c57855b3b4c12862b3d3c3ea5db1a4c76fb411ca78b3af69d982dc1ab14a2b3453701d2f843e12e33d160fb9ab5a3d00264201c8e26fc7660c2efb3c5fa7562551b4da82613441da9951ed8ea8b04888e767550907d6c1def9b806720eb214716fd2a13e3dfd6909e20419d121bf928a158ec4ad8e178c4983dd4c73b088ede285cd7a1f9f7116bb8473ec37ed3a03d6cd0b384ee4b94474322bba290374bfc9522143559e51a092138c1969df1f3e3c0f0aeb58b510f1fe0612a5d7dcb9d6421f014a30d6774694d48a46a430682ac05ab301015377efc6c9e1ca0f59bf53af9ba779ba97d3731382ad8e207cda97ea87d8fda5dc6e75cae76a0bc5df99f70efbbefbb65246c0765c740e95b438f0bd3c4083957b47f65a1f2cac8ce32ad421e02638eda6e50c74749b42781e2357b583d8b4da68dea0ddab6527a99641ce0d7160f2d80657c70bf83cf6f603310a2c1d4c4c4546b4cfcc3038b2910d242ec241ca738af38423b6b42fae426bcd0d4ad982e065b60cecfb98d4a62f9597ec1d787dcb2f4e893660dbf2bc119c94509d47f2bd88da4c3b4fc46e3f8e61509ef30e2a44a2ac1d0e9a1cfe4b412400b6eac44aa8b069e1f6c3052231910b65f5c1cebb2ad9125638a52c8f670475ed691088fe478db5a11f93b0f12508726586fc480ccf25b658e98ab622ff8544eec19b6c601be067ff85df371cb4118c978f52697a21e5b3e9826d7a8fcd46876d14493e7f6e565845b6576fc78970ded10ce34e7941ff708600b0263f015f4307974ad33bb2ad21deba97580fe19f6feacb0d55ddb2546a2d29775f288e24d16628e620103b3d779f8563eb52d7627421d1cfa473ff01066f1682a0f4231042b2eb9e775294eb3da3eefd399049608c970260bbf7b164a4c9ef2912a78d5289d39713607a45ae9e16f0428ed72e1bb9f3b9a15122751fbd1c26d5a0b2fde83eaad9855b63344c786efb085322705af4397226bd6689e6aed2ebd9c81ff453519eef0b4f9368b9f19ea0bc827903188c63d0efde021ee6fecc5da3079c281243753b5308815bb4defbcc1cb6704b03fa03b814bcb0b5b9310892996c51859430cbd49f5d55d3d6f6a5e7897f2066a9005db0344b89af44cd9fda8ae2b66cb9d8089267964f7b9477604cca91f14e5b1f96b732f24df54a8194f13c45e62f5d7907d452e553828ec2dff711e16aed6ebdc87524a41bc68e843716e2d7fae88b9a65de0e0f27087b49fdc936af4d80073b17d3cbc4b0403ad14a1862997b096883e44c86396fd2194345a69b8f3950249357e1097352534c056621e87e85cd324cc31fd7ee9e68bcd38ce8570d53430a0c6d6c1b4fceee28d09c24b0370265dc2801834ca89dcc3ff39bcd83ad6f4e89ea3dbc67881bc2b74228fe7bae3e8aa0acdd0018e19b8bf8333a1b2212472a8a63e169497e4d2307d1ed96e91a01b27004b0ed7d5f65601e9a28cb97bc9ee291f9268ca35a872fe52d2e4a1419e724dc97696e3833921665e6ed328b7c07bfde1f5f05db73667531ec60ea02ec91779249e03223930d2e5c4907742959faf7bcf508593ecd07383678454c72a0aeb175dbd212b4a312711ed43a8f85a9606ac65da7482d885027790149adf075b1acc40ed262a706775d61188ce270717a1b78534ff1a163ebc33c476dbc06c31e5d218abc3e0119af90caeb8bc90c3b55e742531e92c44aeda06f2bea0f884c316385bcf80be46ee4b92bcbbe995d418163f2732a613f435a027109e3c5e02a3bc1d75d82501de2cec961cd326a8c52dd594493657e523b57ba48145a10bcd40f2f69343d67c5adb39a9c75cdf5e90c8a5ba7a977d6aae3e84b0ff0860194b7b0f1332fe831dc36c3402083cdeacc8d1dffb13f68584c3b5179153143913a27a41a02545ab30e5cce1a542db97da0733895719602f5eed348c76064dba0e07adf8e2787caa7b693a0de2fdb5fcfcc930758b1d38b065d3d53573fbeafc5723c161a42cff00ede7c03e59ed94d143fe1c30dcb5ac50554f4fbc1dff609c82857a0d8947f27a1d7f4e67a861b3f7e9d70b18c1bea00e0e21ddf3d1502026da10624e182a7322ca2ec5268e96cf421bfd5cd389f9d90c3cf94ae1e8a76e42033d94aeae7d7bfb09bae167446b6b07e541a7b5f552f3e8bc46f351acec7ef1be912200fa607b33d6df1a3138ed4fdb11e10171a3cd6a158b7939bdb6a38997d2deb716784a82dc37f48b0283faabe09af04053adb71ec50baf8f97a83498149980a18bdac8e3f813ae7c64aac504d65a481522f7ee4bea4315b7fd5ec41c3a297a226a89921847f54533467628830735c7e5c70874d146d023ec2860b5d2674e9b3b8e3f01a42c439f054b93d2df03a417afbf439a1d4cb8144f235d2ffc45000d1585557ac8ce9986222580be66a3222224e5dce9cd9666fdf2d1df2cc68b21e4c222768edfcb483f58ffe12509188170171ea3f29ef5fb4f313cc6a3319e5967082914771ff37ca47f1103717595492adf4c23d36c96114867252bbb372b64172789cea116e3fa47300ff065a91fc563ff96263c59a78875a91123e79e386fe4f739dd734e285c69b4dc7a729d2f7bfaf4f64daae0a6c06da4b2131226f9f34ebc5dd975dc2093389c15a48b6b30e9b76645c51120d92bc91a10e5f06600939b4b1bc64bb4c8351e4f51b4aba37adae22fecd5210f82f633d9f4458e88ac52a0d6f90a0707ff0a3c57fe309d947f20106b3692259738eff8b6969ea81bf2b62e694fe499354e327505f46628b7c65c43866c9eb59a17bbde12982bce7874aac02b076e4984490f910bd5cf9529b344525a5d3faf3f45af1d74dcfbcc11504c42d1cb3ba2f38cedcb8d9b2a5b84759c65a7e4dec0c77542cc608d10640e081ab3385894264d8a056fa00f96efb311027f3ff9387eaf1505d84b1150109c732027a217c0996f13d64dac37b7e329aa35ccb87123a68f8b21a75bad83e8b4a05d10999363b9a5fa51b1c4e91d8e1a1c4b9af4a1a0dd6e9877968a4902237d19d20bc850b64044f7a835fa430e35cb87e1951cfed9306130317edc06054e4386598208982757fd378771365dfef16f13ac92f484a018cc13ae99d40022c8b22e0fd19c360f762daae76c6d516b938e764acb51613e20838863ea7254c88262e1407eae1ffeb6fd8f6cff2488b0bed5ae3c8097338c4f80546cebb96c9ba1fc685e8fe0895ee3db82e4b45908bfcadfb577ebf2255558ffbba12ceeeabb16a08482a1fafd5fa79f610b74f1e14b7717302a3fa9053261ccb47808417f2c5d7ad505d491a6781849e7546ec83c3669391df34736560a5f9f6a63178a62daf98183114de5cce843a9fc3f90c86f1ef97e0ddb3c6ccd66c04fb732c8d6f0a454b98e336314c352c7b168dfa7968abeab33328dc1a1ee9d0fe7cd6d41572e3a9c7e2b6cd8deea722758cda9e64b4688a26dcf715e784643180ecda52c33596025eb625258e0ce0a8c496f4c3aaf788b8e099be566176157205f4964018d5341d194221185e717bce2e8c896b34c27006bfd3dd3605b73310e39e3b336e36a07496b285f1389a13a944e9a90b4e9f9fa30112c78b9c672bee62cbb8b9b4ae7b0dbcd85d3e13be6ce9aa72230a721550372ecfcc8090e99b2f9bf4b3f2e0d2dbfb3ebb2004547174eb6aacc4573de11145610bf375021d155b76de904d94bb40857c97560c50271f90dec7d25f0a2a4ce5f6f1de8b922c49dbfc8ecc8902dd8c32cf188c10394f0f3b44a5516e2c87de05775cbfd636c5d3201ecc7311ac8f6ab4b2e536a3fd96277fc23ce1b09791f016446a3e8255a0290f1b27a64f593cf2f3d52cae00ae1dc0fe902507f7a0550d78a3236fd470a919b6914b0f5d673b1ac08a7dba7adc6dda19c27f78f6e548b891d6975b73e74c0481e232a3762c9516553e256cfdc0882db3e35b164f984d25b765d07bb53a839ba06a7ed2464c50cb2bc6e20fe14ffd5f8dc911427e8fcb68b3f42085125526a0742131b1ca30be9d776543d7b66290d40b0792c3a63a6cddc85622842a778d356df1b07b80ed079b300be6f4f17e980b5213a529d5dd1fb8ed80d315162fa57dae8b98daa14db5dcb6ee3e1cfe3b6826c2d10c451ba71694fea5d1bc86a08c752b068b25d6861f4cb5b3c7b909f19d4758bf94135f9570f5fe469119aa085d3c2075696d5956c440882e757e1ddf232563afde20b2d54a2b89d4b2df74cc858ac4f904519567ab9a58108759a121a5d595cc1f4689c51326cdf3b25ad499c53dd99698538e68c8f27f748c65e9618e6e7a0ebdd1072b94203d32353a548224b9ad9fbeaed9842f4f846d8af50ac11a2c60365f427d3ed409abc484387158646f648260515a54c4e882f51639e384d0f5cf00aa9ce58ca0c55c4a427add6e96a0b8aa43c532dcdbe0737adb14bdc48b3679579abcc91f8daa9c42d3729159a9876e1ecc5fde84582c74c6de1229d49b8f2720ae"}) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x2, &(0x7f0000000200)) r5 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000480)='/proc/asound/seq/clients\x00', 0x0, 0x0) ioctl$BTRFS_IOC_INO_LOOKUP_USER(r5, 0xd000943e, &(0x7f00000004c0)={0x0, 0x0, "aa537f553307133a92fd3e212e7b1c84665e3c486bfebc98c8aeff2d46a11debe36b02e0d70ba8083151a3c7d9381c7ed334800605b16474cedab529c4a08c145debf13a2734a16b152d1d3436bd579f30d4dd9bd2bf3552cfd4638a777b7613cc9d0b6a54fe20ba19d370997b3a61bc709211bfac07cdd842faaa41ead7b8fcdcccf53961dff410b9a87116bc79c909ad87fa1b27d3f5e8ae8071e0c703280982d0ae00ce9b064cd00e4da2a89c2b778d9e27ce0d0229b7ad0b27633bd41a2562890c90ce1e8ccf9229858d804057447369891971f6ffc298e3b267f5ee498638aaae8212973d5f06752892baf015e5c0ff3762547b447c384353302d360fd1", "21b499746d37e1609ed65993dd2157003b537c8a2aa93a9c434605193e4fdee70b2d75eb19a8c1979cba485c1dca2ee318779a6597d6e782f740749236fad63808ec5ddaf36f246ea3dfda2d96a37999f392d1033b8c9ed32cd1a1a61f7db5cf1b0bfd94146dcc5e7154e8c8de98fbc9d9d4134490ad34ee3aa739d6eb0ee0f5e0cc3c04c93e87a8939e6935253bd7ac70ebda4930237b959ccd4a3c7be799c83ca3b0f62daeeeae6cc2bb18554d150aa6e2ad6a5207a8100a9bb6b04b74f9bedf7e054d4d8f225bf3f22c70cfb7d188335aac7cdb84b3627effe95455f33e1065548eab4021a7cd3dbfd7786c41156ac26952098d9e93f79344540542aef6d1fa657c17f34f8a444bf77ac45ac59e834f26d71512eb3b133d1ad1fcf6cd09d01b164e8c0d6876bbf7d1e2a05778c8c00289b7836b4f4d00fcb752ff3b3158f676d4a1265c19bde11d9178e1e7e8a2a6753f47c2bbfa85afcec7b3fdd7ea23ceccfba50b9638cac001a7ee250d7eb9fe3b19c7965cc26cfaa51272d4ab4a9bdca0e57d1b75e151fcc773c3b7aa208ee6fa9231b0d2a3f3b06c332a7e92102d11d3a58d465e5d40b0cc5a25ea6d4fc5349afbd902c602117825e838cee5f258805ea40368842677418b45fd7320dd86b86be74cde9048396446caab294c9cac0ae9124ebd3583f6c91ef7c8f202ddee5938384a7659c092889540e7e0fa3cef15385d6f9fda9cec35a02f6fcb93e0d5c5defd8e33c4ff76ee802012a027e4d12f516db3a7a83c71c9947e72166f5f57234112151025f11adeb0e51a69d802264bd399c6168ae177dfbaeccc37c03b68bb4bf2181e5e9f6ced0f53a0496f8847c45b0fb4b4fa9c5b2385285b911f2eea5e224886d0b5d0d50e0707c02d75eb65c52bb005e03f1d5909b4ee6f8f9eda2eb4543b4b14f15d64483c3b05fab2815897d3576c2420f612978f4660c1210ca921a4a5a8c8d3fd306c816d004567231fe13f9890ed6f936083cd0eb11767e1bb325571e89415b814b2e9c51be98101d26685a8eb161c17f1cc03b0ffd16423481cf5c45c7ee0b1199297693443da9ba52afde82f7725476fff4b51593d2d0f4795f8e6c7c1a683adf6d156e0ba408c9fb544e44adcc3e75a6ae0ac90e257f86c0589fee98e2c5b9fefc87dd2c709ad70bd77d0bd5532cdbf579d875d86aaed6ce8b425a354b51ed90b240ff20fe6b70c6321c7090c6de9e4b8e48918fb0f0d0b96ea3224c6a036b0993e5624525e29ff057470d593382b8bccdfe9a718a53eab684ee33471308c1e55c007edaac1f6d0a588f561a72daf3f81d9b51dece25528cdd71a1a281fa5a6e05f434438ab44da751c4ab13e019ebe321370930dc321215afa072fecb0dc8d06963fe25c6102bd5c18d28d5e7566b5dc25ad7dc60910e7ccf9b659beba10c75e002d2e91e191351cc2820bbadc2161e5edbc53a1939fcf4026d7eaf67937c095e884203e2f8690a63afc4e4be71ec5393bcfc90198c6450a9d90c3db25fc4ba1348cd5dc7e03035617d8bb1f112225bde79070d4a5f807a8f6c1471716c5555598856858c39a03a54624c57ef1a154793b93da86efbc7deb60b0fbce0be4d764d8f72a3fdfe13d5d039edacc0211ff4417b06d94b2b64c40178a80fa8553093cb2fa537f1acc897e0215fabf52a86cd8428d3faee629b21b97a014c0479a9c4ed57aff8c74291983dd8bcf15c47bc92b09bbd4646695a2fcbea21a660fd6acc53ad49d08f929e74d0b00e76e0a0ae541f405cf803790b6119763e67fbbd9aff2182ba72f4761a7bb2466db79b4cca857a461ee509d8bb2dac26a4bdeb80d8ee253ed01bbc4b2800fd8b6c45a89daba8ea3999b8820eab9e51822906304fcd1affe57b84b026b2dcbb388a6dff217c94e51345d3a00c720f91a73579cd02bb5bc271cd34b6f4a22059125396c5e85c5a1a6f1c296680b2ffc8b0ee66b029e9826cf1b4e1b128f72c1d0ab8cbeb6664eb81168d981384ce6c65bed2c0628a101c7c2ea7876422273c411d5e0b2c744aaa7c41081fe6d86b53ea4a669afdd2bb390e7359c2566f38cd3e3a1ac81a92b5281d8ed750e9a80c004b60151704c741407822d0d338d669a176c943653919ba38cafe2ec4246a59235303f7117fb2860a648e2b0907707353f07f80b132efa5b89a735188a846f2f7fd63f8efa1e5bad089ae9999a947801cf2473a94d7d7640a253e6fbc5dce60c7b1608a3753716e051ce85f6fd8add46d2b7a58005cabad9f65c7b1ec25bea3827820c4661f0ba75c97c80c63fcc36e4e37c252e33bd3211a2797bbd67ea3f8a49dc7c1bb3a31f1aad25c730f11cf8b169f8d95ace8ac7d7d4f5991de7e2589a0f529386b2bb02078345e74557853ba2fe9f170d3e284d5fe95833be1d6f4acb698658ecf7771d99422c2c684498712bfc626a255a5131a4ee24c2bb8ce2e3dfed83de70b76681902a78022d55efd7ddc4a290ce54824bb92bb8efc2bfe9daa6b2a2ed8ebca69bd756860261070fd023944a2bfec4bf6701a233879097ba2923ccdf1bb852adcb493003a6c28db39ef30c0aa5555376e786b6c36f4eff2f3775bf723fd9b9232a3b7a76f0eff5eec334187cfd76ae7f1c57d5579e062d8d41efde359d243cdf7aacf12204ab662303a55c8d5d85fb2d99111a2a6bd064cb7f11a64ec704e6414b1564907b3682196b4e6300a1d6a58e5eaebd47c14f50dcd6ddc98c883d5fca5b76d62caee5205210244d98f97379ca845059b7a322461fa634bd71f6b4de69dd0a86052b7e2e68914f5d8fbfc54b7c3dbe4034efc2d050c86db70a49d527f8e957740a72dece1c54a5af99109c261db43aa293528466a2d69e39b1ce97f6f683137b15316605e25d9eb88883a0560051429c660700cf8ec40ec83bb4dadbef73f8e9d8cfadf78a47fc066e8c9d627e004d211e79b45c0d73a2a90d5c16a2c88aef08e4d0a3dc65ca4fe253a8936b54c7b6eb5c6333359a80f96557ed1571d7dfc3a0b7082e7d35c381f7d741b153373a0353273a8e30d653827c9c1b58a456dba1ac04c30565dccc4e3519f714825d81ee684b8b40136926e6646ba3160ebb6eaf7c433dbed92e23a8956f0d8d0819a452d3524a70410a8a37a65ade5a64333f4ecdd97de2ee7d0389b0e3a02972107a7f8302c393686ef2db2cd9ab73686b96eae40764e1dfc901316590651760efd0bd4d0e2759c127b663f74220c3572825378089d8a909a244d43d51bf0cbf43556d6baed44ed54faec62510757a18749a936fc9cf4c9840bac07132600e2b0d94611cab945c8fda693580e4de4303e40f2ac5244ccfa434eb37453adbb098ed81b5a7f7a7908cb70c7df1d0e26539062c1d3dedbe6a4206be15449056b2d5d9d882f627489fe9a75890601290935f1e806a07f9e9c842cfc95f8d22f26ece8cdd91641b52c3359c528bc075f2b038ac99fc64583a812ed79d3e6262e251962b1343071a496b4c1b1e01de3394496d82c59674d8fdb09444b0e7c403dfda87fd45597839a9e1ad6d8ea9d778e8876bbe25df10fe3845acd4bd55dbcdb05001c6195431a556b5bdb6a6cbbeeecec4e2bb66a6e9fbf348acd14b04fbf0b69a8ddc797eef23ab1ec9b0d7014633059d769d4ddc72972d03b6679f0b55e5d5c0f65533dbc85f8ba09c60ae71cbba0888071565086b8f8a6278e37f19ce90810461b71fb1bd18a8b2717ad224e913d1d2a71c01fdcbd85eac73e956c505747039668b49c88445ee8ef907158750f86b32a148d2c15ac6d43f2a30a45ffeecaff2125f6ba28980ae46d6b572736dea389436597be57635bf2f29ffec34df69085d0500638458c88b701bafd002955078542875eeb3fb0f49c7a0109c15d91fe5e781a78519bdaf662e86e7c72c83e05c8431629ef15e3c3f0ebe7abbc3c3cf8d6ae4edac8d2b9b3e4cafd2bb21c17fe4be0b707695976f6430e4e15e3c3acb7cd6de860e39f8346b34523609f15eda4b1acdcc2a46576c069a9bcd3988e5e65d77adf11dd0de352a9671a942cbe500583e2b8d4017e32d406b699e92140130d16977d8d2b21693e94b892e47775bef53d92c87ef9f3b96c2b255b54f1075a9209115fc896dac9f2733fc21b07bd57aee88ad011fb991539287cfb3c786b9b107963f35aaee6def22641a93662443dc30b3d7218a31c6d54f537ac1edb7ae499bd082b80e23dd1dc64be6367cde05c2cf4164321ea0721733cd77d9c41593ec024e2d01f8e4da43af326ef9a0fd2869b3440501128c13a778a8fd5047554e764e2b100ff4030db00074ab10057c38b57fc6167de910e5661c6d234c111d84a3d07ae91eb47dafe1dbb14c03e33c70ce15e958a31c8311f6e4ff79031dcdf53eb5d2171326a380014eb4072a771001cd6ec935d3d12dcf177bd76a2fff1d999551590545e272bd39e3fe2110695102cff4b325dd7fbcad0adb951cd43242671289e0b5a505dec2e7b58b622cb796447b46962f63d9fb04d9a3de9a9c2d0660ab3be5dee1dce7181df32ee87d249341c2390faca53e167df7519a489aad34b4c5e1926bf6d248496f88c0cd4de6d7cb801b42ec84b5dafb3bc939353cfb825275fb35ccadfba2e660a52cd48c60150efe1ea497ffc253aaaf82d96312589eead75bc5a471a39b0dc1ed4e5e6fc4b43f870b85848cf56a39ccdf2a739845e5e6411385c6790242d970d7381df44fa76efcf7f9f0d7d2af8df9a87bc1e918bc5c55b59691ddbdda3378256be74030a1ae52c2e735b60584dfbf100c2ec3ee3adf8e3752b6e160fcc90d632aa92550c09c7e535cca7bda7ae1216ac7df804ca31d7ea6d23a331778f0193e2ecb25c6911db22c57ade0ec5d4bc88151589cb49c7ca2f2f4874c34b8302f6f1587dd671207b9ea67731ef9bf1459895dcd7a9126c3132cb0e77f5755aa6742dbc98f110924089e0e195a960dde0b21dd761d5d5b80eb11313e75f16179236fc65be6b7d1fc41fea936eb678cf678e774e09c131ac615955eda41ee3042cc149c6dc9369c7b1b8b33e62fa369715c14680f4c2772feda578d3e93afd288ff18c660f0764aa7b58278b7e41a74590c3e4e11e209e293714b25fbe8bcadf23c2c167561e740250f9abb98a36ad081ab2023bc2e967f17fd7dd3f62aba1235df33bb1c334026f05f554dd09ff24663e67b8676ba43d5636df83d7b7ef98a5bbdd2b6cac3bdbc723367fe7656b7286ed519b732e9f3bbcfd385446ad3836d5f997c897bcfadb569eb6b28c7597a03cfab06da4487fb01a75813efac5590b6f9f758ab6d36cc93f6b8c7518e673b045f86fc5fb0fcd2791bade954b31f3958f5949784092eb3a2d7c78240951870f53b1d01096288ec187d3727dc8b12d380aaeaa7cff2052f54dd"}) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) 10:21:04 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2676.685376] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2676.687500] FAULT_INJECTION: forcing a failure. [ 2676.687500] name failslab, interval 1, probability 0, space 0, times 0 [ 2676.689725] CPU: 0 PID: 13890 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2676.690717] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2676.691935] Call Trace: [ 2676.692333] dump_stack+0x107/0x167 [ 2676.692892] should_fail.cold+0x5/0xa [ 2676.693670] ? __kernfs_new_node+0xd4/0x850 [ 2676.694326] should_failslab+0x5/0x20 [ 2676.694960] kmem_cache_alloc+0x5b/0x360 [ 2676.695542] __kernfs_new_node+0xd4/0x850 [ 2676.696119] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2676.696809] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2676.697513] ? wait_for_completion_io+0x270/0x270 [ 2676.698206] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2676.698951] kernfs_new_node+0x93/0x120 [ 2676.699514] __kernfs_create_file+0x51/0x350 [ 2676.700145] sysfs_add_file_mode_ns+0x221/0x560 [ 2676.700865] internal_create_group+0x324/0xb30 [ 2676.704972] ? sysfs_remove_group+0x170/0x170 [ 2676.705651] ? lockdep_init_map_type+0x2c7/0x780 [ 2676.706371] ? blk_queue_flag_set+0x22/0x30 [ 2676.707017] ? __loop_update_dio+0x2d2/0x690 [ 2676.707722] loop_configure+0x954/0x1480 [ 2676.708361] lo_ioctl+0xa72/0x1760 [ 2676.708913] ? avc_has_extended_perms+0x7f1/0xec0 [ 2676.709696] ? loop_set_status_old+0x250/0x250 [ 2676.710241] ? avc_ss_reset+0x180/0x180 [ 2676.710700] ? find_held_lock+0x2c/0x110 [ 2676.711177] ? __lock_acquire+0xbb1/0x5b00 [ 2676.711726] ? selinux_inode_getsecctx+0x90/0x90 [ 2676.712266] ? generic_block_fiemap+0x60/0x60 [ 2676.712851] ? loop_set_status_old+0x250/0x250 [ 2676.713422] blkdev_ioctl+0x291/0x710 [ 2676.714082] ? blkdev_common_ioctl+0x1870/0x1870 [ 2676.715185] ? selinux_file_ioctl+0xb1/0x260 [ 2676.716248] block_ioctl+0xf9/0x140 [ 2676.717104] ? blkdev_read_iter+0x1c0/0x1c0 [ 2676.718257] __x64_sys_ioctl+0x19a/0x210 [ 2676.719200] do_syscall_64+0x33/0x40 [ 2676.720101] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2676.721333] RIP: 0033:0x7fc61b82a8d7 [ 2676.722405] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2676.727198] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2676.729061] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2676.731074] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2676.732815] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2676.734830] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2676.736566] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2676.766229] FAT-fs (loop3): Directory bread(block 64) failed [ 2676.770181] FAT-fs (loop3): Directory bread(block 65) failed [ 2676.772450] FAT-fs (loop3): Directory bread(block 66) failed [ 2676.778820] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2676.780393] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2676.782559] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2676.783989] FAT-fs (loop0): Filesystem has been set read-only [ 2676.785213] FAT-fs (loop3): Directory bread(block 67) failed [ 2676.786597] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2676.789215] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2676.789426] FAT-fs (loop3): Directory bread(block 68) failed [ 2676.791353] FAT-fs (loop6): Filesystem has been set read-only 10:21:04 executing program 7: openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x7f, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r0 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r0, 0x0, 0x48) r1 = eventfd(0x1ff) r2 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r2, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r2) ppoll(&(0x7f00000001c0)=[{0xffffffffffffffff, 0xc524}, {0xffffffffffffffff, 0x9530}, {0xffffffffffffffff, 0x2504}, {r0, 0x18}, {r1, 0x4eb2e5aefcb0dc14}, {}, {r0, 0xaba149dcf1912f1}, {r2, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000100)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r3 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r4 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r4, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r4, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r4, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) ioctl$EXT4_IOC_GROUP_EXTEND(0xffffffffffffffff, 0x40086607, &(0x7f00000004c0)) openat(0xffffffffffffffff, &(0x7f0000000040)='./file0\x00', 0x200702, 0x40) sendfile(r4, r3, 0x0, 0x9bbb) [ 2676.795405] FAT-fs (loop5): bogus number of reserved sectors [ 2676.796675] FAT-fs (loop3): Directory bread(block 69) failed [ 2676.797755] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2676.798878] FAT-fs (loop3): Directory bread(block 70) failed [ 2676.799735] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2676.801856] FAT-fs (loop3): Directory bread(block 71) failed [ 2676.803036] FAT-fs (loop3): Directory bread(block 72) failed [ 2676.804182] FAT-fs (loop3): Directory bread(block 73) failed [ 2676.807079] FAULT_INJECTION: forcing a failure. [ 2676.807079] name failslab, interval 1, probability 0, space 0, times 0 [ 2676.808659] CPU: 1 PID: 13895 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2676.809682] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2676.810959] Call Trace: [ 2676.811363] dump_stack+0x107/0x167 [ 2676.811959] should_fail.cold+0x5/0xa [ 2676.812546] ? create_object.isra.0+0x3a/0xa20 [ 2676.813258] should_failslab+0x5/0x20 [ 2676.813886] kmem_cache_alloc+0x5b/0x360 [ 2676.814504] create_object.isra.0+0x3a/0xa20 [ 2676.815225] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2676.816030] kmem_cache_alloc+0x159/0x360 [ 2676.816668] __kernfs_new_node+0xd4/0x850 [ 2676.817332] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2676.818062] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2676.818833] ? wait_for_completion_io+0x270/0x270 [ 2676.819585] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2676.820397] kernfs_new_node+0x93/0x120 [ 2676.821039] __kernfs_create_file+0x51/0x350 [ 2676.821750] sysfs_add_file_mode_ns+0x221/0x560 [ 2676.822494] internal_create_group+0x324/0xb30 [ 2676.823202] ? sysfs_remove_group+0x170/0x170 [ 2676.823902] ? lockdep_init_map_type+0x2c7/0x780 [ 2676.824631] ? blk_queue_flag_set+0x22/0x30 [ 2676.825300] ? __loop_update_dio+0x2d2/0x690 [ 2676.826077] loop_configure+0x954/0x1480 [ 2676.826831] lo_ioctl+0xa72/0x1760 [ 2676.827440] ? avc_has_extended_perms+0x7f1/0xec0 [ 2676.828280] ? loop_set_status_old+0x250/0x250 [ 2676.829109] ? avc_ss_reset+0x180/0x180 [ 2676.829825] ? find_held_lock+0x2c/0x110 [ 2676.830558] ? __lock_acquire+0xbb1/0x5b00 [ 2676.831334] ? selinux_inode_getsecctx+0x90/0x90 [ 2676.832182] ? generic_block_fiemap+0x60/0x60 [ 2676.832979] ? loop_set_status_old+0x250/0x250 [ 2676.833809] blkdev_ioctl+0x291/0x710 [ 2676.834449] ? blkdev_common_ioctl+0x1870/0x1870 [ 2676.835268] ? selinux_file_ioctl+0xb1/0x260 [ 2676.836060] block_ioctl+0xf9/0x140 [ 2676.836682] ? blkdev_read_iter+0x1c0/0x1c0 [ 2676.837450] __x64_sys_ioctl+0x19a/0x210 [ 2676.838054] do_syscall_64+0x33/0x40 [ 2676.838522] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2676.839208] RIP: 0033:0x7f7ae82eb8d7 [ 2676.839675] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2676.842199] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2676.843534] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2676.844823] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2676.845932] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2676.846826] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2676.847746] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2676.861477] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2676.872382] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2676.874106] FAT-fs (loop2): Filesystem has been set read-only [ 2676.875479] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2676.877362] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2676.882533] FAT-fs (loop4): Filesystem has been set read-only 10:21:04 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)='\x00'/27, 0x1b, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:04 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 41) 10:21:04 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{0x0}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:04 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f0000000040)=[{r0, 0xc424}, {r1, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2, 0x2000}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) openat$procfs(0xffffffffffffff9c, &(0x7f0000000100)='/proc/zoneinfo\x00', 0x0, 0x0) sendfile(r6, r5, 0x0, 0x9bbb) [ 2676.959419] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2676.964756] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2676.972768] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2676.974853] FAT-fs (loop6): Filesystem has been set read-only [ 2676.979816] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2676.981660] FAT-fs (loop0): Filesystem has been set read-only 10:21:04 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 39) [ 2677.005120] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2677.008275] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2677.009831] FAT-fs (loop2): Filesystem has been set read-only 10:21:04 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xfdfdffff, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2677.084857] FAT-fs (loop5): bogus number of reserved sectors [ 2677.085809] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2677.087159] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2677.090059] FAULT_INJECTION: forcing a failure. [ 2677.090059] name failslab, interval 1, probability 0, space 0, times 0 [ 2677.091804] CPU: 1 PID: 13922 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2677.092872] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2677.094180] Call Trace: [ 2677.094579] dump_stack+0x107/0x167 [ 2677.095140] should_fail.cold+0x5/0xa [ 2677.095753] ? create_object.isra.0+0x3a/0xa20 [ 2677.096471] should_failslab+0x5/0x20 [ 2677.097043] kmem_cache_alloc+0x5b/0x360 [ 2677.097700] create_object.isra.0+0x3a/0xa20 [ 2677.098385] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2677.099152] kmem_cache_alloc+0x159/0x360 [ 2677.099817] __kernfs_new_node+0xd4/0x850 [ 2677.100459] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2677.101196] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2677.101937] ? wait_for_completion_io+0x270/0x270 [ 2677.102686] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2677.103516] kernfs_new_node+0x93/0x120 [ 2677.104149] __kernfs_create_file+0x51/0x350 [ 2677.104821] sysfs_add_file_mode_ns+0x221/0x560 [ 2677.105591] internal_create_group+0x324/0xb30 [ 2677.106284] ? sysfs_remove_group+0x170/0x170 [ 2677.106953] ? lockdep_init_map_type+0x2c7/0x780 [ 2677.107718] ? blk_queue_flag_set+0x22/0x30 [ 2677.108357] ? __loop_update_dio+0x2d2/0x690 [ 2677.109015] loop_configure+0x954/0x1480 [ 2677.109689] lo_ioctl+0xa72/0x1760 [ 2677.110257] ? avc_has_extended_perms+0x7f1/0xec0 [ 2677.110973] ? loop_set_status_old+0x250/0x250 [ 2677.111689] ? avc_ss_reset+0x180/0x180 [ 2677.112316] ? find_held_lock+0x2c/0x110 [ 2677.112934] ? __lock_acquire+0xbb1/0x5b00 [ 2677.113667] ? selinux_inode_getsecctx+0x90/0x90 [ 2677.114366] ? generic_block_fiemap+0x60/0x60 [ 2677.115050] ? loop_set_status_old+0x250/0x250 [ 2677.115728] blkdev_ioctl+0x291/0x710 [ 2677.116327] ? blkdev_common_ioctl+0x1870/0x1870 [ 2677.116946] ? selinux_file_ioctl+0xb1/0x260 [ 2677.117518] block_ioctl+0xf9/0x140 [ 2677.117978] ? blkdev_read_iter+0x1c0/0x1c0 [ 2677.118554] __x64_sys_ioctl+0x19a/0x210 [ 2677.119059] do_syscall_64+0x33/0x40 [ 2677.119546] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2677.120174] RIP: 0033:0x7fc61b82a8d7 [ 2677.120672] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2677.123274] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2677.124381] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2677.125490] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2677.126616] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2677.127683] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2677.128762] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2677.151514] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:21:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xff0f, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:04 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xedc0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2677.197835] FAULT_INJECTION: forcing a failure. [ 2677.197835] name failslab, interval 1, probability 0, space 0, times 0 [ 2677.200591] CPU: 0 PID: 13926 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2677.202319] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2677.204205] Call Trace: [ 2677.204826] dump_stack+0x107/0x167 [ 2677.205679] should_fail.cold+0x5/0xa [ 2677.206588] ? create_object.isra.0+0x3a/0xa20 [ 2677.207642] should_failslab+0x5/0x20 [ 2677.208534] kmem_cache_alloc+0x5b/0x360 [ 2677.209439] create_object.isra.0+0x3a/0xa20 [ 2677.210648] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2677.211799] kmem_cache_alloc+0x159/0x360 [ 2677.212780] __kernfs_new_node+0xd4/0x850 [ 2677.213728] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2677.214790] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2677.215878] ? wait_for_completion_io+0x270/0x270 [ 2677.216947] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2677.217922] kernfs_new_node+0x93/0x120 [ 2677.218435] __kernfs_create_file+0x51/0x350 [ 2677.218971] sysfs_add_file_mode_ns+0x221/0x560 [ 2677.219575] internal_create_group+0x324/0xb30 [ 2677.220131] ? sysfs_remove_group+0x170/0x170 [ 2677.220711] ? lockdep_init_map_type+0x2c7/0x780 [ 2677.221277] ? blk_queue_flag_set+0x22/0x30 [ 2677.221895] ? __loop_update_dio+0x2d2/0x690 [ 2677.222466] loop_configure+0x954/0x1480 [ 2677.222973] lo_ioctl+0xa72/0x1760 [ 2677.223431] ? avc_has_extended_perms+0x7f1/0xec0 [ 2677.224052] ? loop_set_status_old+0x250/0x250 [ 2677.224641] ? avc_ss_reset+0x180/0x180 [ 2677.225137] ? find_held_lock+0x2c/0x110 [ 2677.225835] ? __lock_acquire+0xbb1/0x5b00 [ 2677.226840] ? selinux_inode_getsecctx+0x90/0x90 [ 2677.227882] ? generic_block_fiemap+0x60/0x60 [ 2677.228919] ? loop_set_status_old+0x250/0x250 [ 2677.230039] blkdev_ioctl+0x291/0x710 [ 2677.230874] ? blkdev_common_ioctl+0x1870/0x1870 [ 2677.231918] ? selinux_file_ioctl+0xb1/0x260 [ 2677.232910] block_ioctl+0xf9/0x140 [ 2677.233767] ? blkdev_read_iter+0x1c0/0x1c0 [ 2677.234691] __x64_sys_ioctl+0x19a/0x210 [ 2677.235568] do_syscall_64+0x33/0x40 [ 2677.236364] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2677.237517] RIP: 0033:0x7f7ae82eb8d7 [ 2677.238470] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2677.242672] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2677.244403] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2677.246090] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2677.247705] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2677.249284] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2677.251085] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 10:21:04 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) open(&(0x7f0000000040)='./file0\x00', 0x400, 0x60) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2677.351801] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2677.356853] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2677.357796] FAT-fs (loop4): Filesystem has been set read-only [ 2677.385770] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2677.388909] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2677.393814] FAT-fs (loop2): Filesystem has been set read-only [ 2677.451101] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2677.454064] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2677.455135] FAT-fs (loop0): Filesystem has been set read-only [ 2677.501754] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2677.503577] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2677.504818] FAT-fs (loop0): Filesystem has been set read-only 10:21:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa", 0x20, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:20 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xf800, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:20 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) r7 = openat$urandom(0xffffffffffffff9c, &(0x7f00000002c0), 0x20000, 0x0) sendmsg$nl_netfilter(r0, &(0x7f0000000140)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x2000}, 0xc, &(0x7f0000000100)={&(0x7f0000000400)={0x58, 0x8, 0x6, 0x201, 0x70bd27, 0x25dfdbfc, {0xc, 0x0, 0x6}, [@nested={0xc, 0x76, 0x0, 0x1, [@typed={0x8, 0x15, 0x0, 0x0, @fd=r7}]}, @nested={0x4, 0xc}, @typed={0x8, 0x62, 0x0, 0x0, @u32=0xb26d}, @nested={0x29, 0x42, 0x0, 0x1, [@generic="c476b3b92e2d44ce35a7c96b980a79e1ee05144d166f5385039cf8ffa6860e823701110ade"]}]}, 0x58}, 0x1, 0x0, 0x0, 0x20000000}, 0x14028044) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4a20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:21:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:20 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 42) 10:21:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x80000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 40) 10:21:20 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xfeffffff, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2693.032474] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2693.034194] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2693.035249] FAT-fs (loop2): Filesystem has been set read-only [ 2693.047354] FAULT_INJECTION: forcing a failure. [ 2693.047354] name failslab, interval 1, probability 0, space 0, times 0 [ 2693.048737] CPU: 0 PID: 13949 Comm: syz-executor.4 Not tainted 5.10.168 #1 [ 2693.049564] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2693.050559] Call Trace: [ 2693.050894] dump_stack+0x107/0x167 [ 2693.051348] should_fail.cold+0x5/0xa [ 2693.051808] ? create_object.isra.0+0x3a/0xa20 [ 2693.052347] should_failslab+0x5/0x20 [ 2693.052811] kmem_cache_alloc+0x5b/0x360 [ 2693.053317] create_object.isra.0+0x3a/0xa20 [ 2693.053882] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2693.054524] kmem_cache_alloc+0x159/0x360 [ 2693.055052] __kernfs_new_node+0xd4/0x850 [ 2693.055554] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2693.056118] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2693.056687] ? wait_for_completion_io+0x270/0x270 [ 2693.057258] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2693.057899] kernfs_new_node+0x93/0x120 [ 2693.058378] __kernfs_create_file+0x51/0x350 [ 2693.058890] sysfs_add_file_mode_ns+0x221/0x560 [ 2693.059435] internal_create_group+0x324/0xb30 [ 2693.059967] ? sysfs_remove_group+0x170/0x170 [ 2693.060495] ? lockdep_init_map_type+0x2c7/0x780 [ 2693.061050] ? blk_queue_flag_set+0x22/0x30 [ 2693.061547] ? __loop_update_dio+0x2d2/0x690 [ 2693.062101] loop_configure+0x954/0x1480 [ 2693.062598] lo_ioctl+0xa72/0x1760 [ 2693.063025] ? avc_has_extended_perms+0x7f1/0xec0 [ 2693.063598] ? loop_set_status_old+0x250/0x250 [ 2693.064127] ? avc_ss_reset+0x180/0x180 [ 2693.064605] ? __lock_acquire+0xbb1/0x5b00 [ 2693.065152] ? selinux_inode_getsecctx+0x90/0x90 [ 2693.065706] ? generic_block_fiemap+0x60/0x60 [ 2693.066258] ? loop_set_status_old+0x250/0x250 [ 2693.066783] blkdev_ioctl+0x291/0x710 [ 2693.067225] ? blkdev_common_ioctl+0x1870/0x1870 [ 2693.067777] ? selinux_file_ioctl+0xb1/0x260 [ 2693.068290] block_ioctl+0xf9/0x140 [ 2693.068710] ? blkdev_read_iter+0x1c0/0x1c0 [ 2693.069208] __x64_sys_ioctl+0x19a/0x210 [ 2693.069688] do_syscall_64+0x33/0x40 [ 2693.070170] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2693.070795] RIP: 0033:0x7f7ae82eb8d7 [ 2693.071233] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2693.073313] RSP: 002b:00007f7ae5860f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2693.074200] RAX: ffffffffffffffda RBX: 00007f7ae8335970 RCX: 00007f7ae82eb8d7 [ 2693.075010] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2693.075818] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2693.076629] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2693.077436] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2693.105844] FAULT_INJECTION: forcing a failure. [ 2693.105844] name failslab, interval 1, probability 0, space 0, times 0 [ 2693.107534] CPU: 1 PID: 13960 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2693.108338] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2693.109303] Call Trace: [ 2693.109635] dump_stack+0x107/0x167 [ 2693.110097] should_fail.cold+0x5/0xa [ 2693.110563] ? radix_tree_node_alloc.constprop.0+0x1e3/0x300 [ 2693.111253] should_failslab+0x5/0x20 [ 2693.111702] kmem_cache_alloc+0x5b/0x360 [ 2693.112187] radix_tree_node_alloc.constprop.0+0x1e3/0x300 [ 2693.112840] idr_get_free+0x4b5/0x8f0 [ 2693.113298] idr_alloc_u32+0x170/0x2d0 [ 2693.113752] ? __fprop_inc_percpu_max+0x130/0x130 [ 2693.114367] ? lock_acquire+0x197/0x490 [ 2693.114847] ? __kernfs_new_node+0xff/0x850 [ 2693.115370] idr_alloc_cyclic+0x102/0x230 [ 2693.115875] ? idr_alloc+0x130/0x130 [ 2693.116323] ? rwlock_bug.part.0+0x90/0x90 [ 2693.116846] __kernfs_new_node+0x117/0x850 [ 2693.117349] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2693.117944] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2693.118531] ? wait_for_completion_io+0x270/0x270 [ 2693.119111] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2693.119724] kernfs_new_node+0x93/0x120 [ 2693.120212] __kernfs_create_file+0x51/0x350 [ 2693.120738] sysfs_add_file_mode_ns+0x221/0x560 [ 2693.121300] internal_create_group+0x324/0xb30 [ 2693.121946] ? sysfs_remove_group+0x170/0x170 [ 2693.122482] ? lockdep_init_map_type+0x2c7/0x780 [ 2693.123055] ? blk_queue_flag_set+0x22/0x30 [ 2693.123550] ? __loop_update_dio+0x2d2/0x690 [ 2693.124079] loop_configure+0x954/0x1480 [ 2693.124553] lo_ioctl+0xa72/0x1760 [ 2693.124970] ? avc_has_extended_perms+0x7f1/0xec0 [ 2693.125539] ? loop_set_status_old+0x250/0x250 [ 2693.126092] ? avc_ss_reset+0x180/0x180 [ 2693.126563] ? find_held_lock+0x2c/0x110 [ 2693.127038] ? __lock_acquire+0xbb1/0x5b00 [ 2693.127564] ? selinux_inode_getsecctx+0x90/0x90 [ 2693.128111] ? generic_block_fiemap+0x60/0x60 [ 2693.128638] ? loop_set_status_old+0x250/0x250 [ 2693.129181] blkdev_ioctl+0x291/0x710 [ 2693.129629] ? blkdev_common_ioctl+0x1870/0x1870 [ 2693.130247] ? selinux_file_ioctl+0xb1/0x260 [ 2693.130780] block_ioctl+0xf9/0x140 [ 2693.131216] ? blkdev_read_iter+0x1c0/0x1c0 [ 2693.131732] __x64_sys_ioctl+0x19a/0x210 [ 2693.132229] do_syscall_64+0x33/0x40 [ 2693.132679] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2693.133291] RIP: 0033:0x7fc61b82a8d7 [ 2693.133735] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2693.135892] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2693.136777] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2693.137624] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2693.138559] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2693.139393] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2693.140224] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2693.158964] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2693.159055] FAT-fs (loop5): bogus number of reserved sectors [ 2693.160433] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2693.160829] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2693.160843] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2693.163209] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2693.163671] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2693.165448] FAT-fs (loop4): Filesystem has been set read-only [ 2693.179182] FAT-fs (loop3): Directory bread(block 64) failed [ 2693.183153] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2693.184530] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2693.185541] FAT-fs (loop3): Directory bread(block 65) failed [ 2693.185557] FAT-fs (loop3): Directory bread(block 66) failed [ 2693.185629] FAT-fs (loop3): Directory bread(block 67) failed [ 2693.187863] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2693.188740] FAT-fs (loop0): Filesystem has been set read-only [ 2693.190262] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2693.191125] FAT-fs (loop6): Filesystem has been set read-only [ 2693.192682] FAT-fs (loop3): Directory bread(block 68) failed [ 2693.194612] FAT-fs (loop3): Directory bread(block 69) failed [ 2693.195769] FAT-fs (loop3): Directory bread(block 70) failed [ 2693.196471] FAT-fs (loop3): Directory bread(block 71) failed [ 2693.201479] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2693.202670] FAT-fs (loop3): Directory bread(block 72) failed [ 2693.203070] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2693.203370] FAT-fs (loop3): Directory bread(block 73) failed [ 2693.204227] FAT-fs (loop2): Filesystem has been set read-only 10:21:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2693.221660] FAT-fs (loop5): bogus number of reserved sectors [ 2693.222416] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2693.223414] FAT-fs (loop5): Can't find a valid FAT filesystem 10:21:20 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 43) 10:21:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 41) 10:21:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa", 0x20, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:20 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000000100)={0x1, 0x80, 0x0, 0x0, 0x4, 0x0, 0x0, 0x101, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) ioctl$AUTOFS_DEV_IOCTL_CATATONIC(r0, 0xc0189379, &(0x7f0000000040)={{0x1, 0x1, 0x18, r1}, './file0\x00'}) preadv2(r5, &(0x7f0000000380)=[{&(0x7f00000002c0)=""/116, 0x74}], 0x1, 0x1000, 0x2, 0xf) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r7, r6, 0x0, 0x9bbb) 10:21:20 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xff0f, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2693.354855] FAULT_INJECTION: forcing a failure. [ 2693.354855] name failslab, interval 1, probability 0, space 0, times 0 [ 2693.356291] CPU: 1 PID: 13982 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2693.357117] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2693.358105] Call Trace: [ 2693.358412] dump_stack+0x107/0x167 [ 2693.358828] should_fail.cold+0x5/0xa [ 2693.359268] ? create_object.isra.0+0x3a/0xa20 [ 2693.359784] should_failslab+0x5/0x20 [ 2693.360217] kmem_cache_alloc+0x5b/0x360 [ 2693.360688] create_object.isra.0+0x3a/0xa20 [ 2693.361236] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2693.362014] kmem_cache_alloc+0x159/0x360 [ 2693.362534] __kernfs_new_node+0xd4/0x850 [ 2693.363053] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2693.363648] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2693.364250] ? wait_for_completion_io+0x270/0x270 [ 2693.364864] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2693.365522] kernfs_new_node+0x93/0x120 [ 2693.366138] __kernfs_create_file+0x51/0x350 [ 2693.366696] sysfs_add_file_mode_ns+0x221/0x560 [ 2693.367281] internal_create_group+0x324/0xb30 [ 2693.367860] ? sysfs_remove_group+0x170/0x170 [ 2693.368433] ? lockdep_init_map_type+0x2c7/0x780 [ 2693.369031] ? blk_queue_flag_set+0x22/0x30 [ 2693.369566] ? __loop_update_dio+0x2d2/0x690 [ 2693.370157] loop_configure+0x954/0x1480 [ 2693.370676] lo_ioctl+0xa72/0x1760 [ 2693.371129] ? avc_has_extended_perms+0x7f1/0xec0 [ 2693.371733] ? loop_set_status_old+0x250/0x250 [ 2693.372303] ? avc_ss_reset+0x180/0x180 [ 2693.372806] ? find_held_lock+0x2c/0x110 [ 2693.373335] ? __lock_acquire+0xbb1/0x5b00 [ 2693.373995] ? selinux_inode_getsecctx+0x90/0x90 [ 2693.374568] ? generic_block_fiemap+0x60/0x60 [ 2693.375138] ? loop_set_status_old+0x250/0x250 [ 2693.375712] blkdev_ioctl+0x291/0x710 [ 2693.376194] ? blkdev_common_ioctl+0x1870/0x1870 [ 2693.376795] ? selinux_file_ioctl+0xb1/0x260 [ 2693.377373] block_ioctl+0xf9/0x140 [ 2693.377880] ? blkdev_read_iter+0x1c0/0x1c0 [ 2693.378409] __x64_sys_ioctl+0x19a/0x210 [ 2693.378927] do_syscall_64+0x33/0x40 [ 2693.379400] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2693.380096] RIP: 0033:0x7fc61b82a8d7 [ 2693.380572] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2693.382874] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2693.383821] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2693.384706] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2693.385589] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2693.386606] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2693.387495] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2693.455788] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2693.465103] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2693.485396] FAT-fs (loop3): Directory bread(block 64) failed [ 2693.486259] FAT-fs (loop3): Directory bread(block 65) failed [ 2693.487051] FAT-fs (loop3): Directory bread(block 66) failed [ 2693.487827] FAT-fs (loop3): Directory bread(block 67) failed [ 2693.491692] FAT-fs (loop3): Directory bread(block 68) failed [ 2693.492416] FAT-fs (loop3): Directory bread(block 69) failed [ 2693.493201] FAT-fs (loop3): Directory bread(block 70) failed [ 2693.494022] FAT-fs (loop3): Directory bread(block 71) failed [ 2693.495263] FAT-fs (loop3): Directory bread(block 72) failed [ 2693.496409] FAT-fs (loop3): Directory bread(block 73) failed 10:21:35 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe0000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:35 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa", 0x20, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:35 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 44) 10:21:35 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:35 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x80000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:35 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x100000, 0x0, @perf_bp={&(0x7f0000000340), 0xb}, 0x0, 0x0, 0x20000000, 0x0, 0x4000004, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3}, 0x0, 0xffffffffffffffff, r0, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) ioctl$CDROM_LOCKDOOR(r0, 0x5329, 0x1) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) io_cancel(0x0, &(0x7f0000000040)={0x0, 0x0, 0x0, 0x1, 0x3, r1, &(0x7f0000000380)="cd8268ab6b7c7de71355bc8ae0b3f5af7e5dc029e855838efaa8c01d77bad70326227e9d1a6e5a4d2d2a9f58ecfe4aa5b2bd9da68cc909aeb58a2de6bf8e6f0a413fe666c30d078103411484d780f6117cbd737cd8011ef0f9c42c1abba88bdc09c6ab6cb22ea47528c39c35750c6a0455bcaac3ee965460098fd2a4061d1739ad9d3bf992b8da12cb196654304c3342608e8caa3fd049dbd4eb75a69d96c773c11ccc2e2dd440f6e9bc5e0b2c728ecec11cea09b04810f3a28ff8a90b5283519b39c7cf615e4c3ae067b9098a6a8058332c7cc959f7b6bc5d01d5666492f309717254f7bb9a857a074e3d1c807848c4f16b918a0fd88d2fc3eda01135f4910d86d8b74b64ab099fe939443a578592488a031cb70568e0eede98869dba160fb9fc43867bd055798d382ca174ec8029c10855ca325524db2320c122df71f45d0e71d87c6c73ef267721423bfebc6733bc91a3409ce6c252d4dde13416e4e1bc90e9089a1fee139e0f9c8d15c5a50298bc40352245a43d7b5d16c7d70f234f4102600e5f90ce7c2f3a8695c91e1359fe7142fb4a482d50dfb3da885952ff94b9fc1ae47bc6e946323e5515b03c6c42d639e03ab0f5b68d8477cf252bb76ad762fc917f9db9340179c076928cb1632fe60e995fe2a0cfc56ac20f49bbf24027e34f5817c9aa9243e4a794e94ebf46d31bb51e0cabc6be80be672bbc35c262bcb10122b966cff52fe3917e1b7da28abbdc597ed187bb7300bfcdc3ece5e01d98d8baada001252c7c87bbcbd1e1cb9c01e597622aa5bcbeca748b23f66d86e6fff5d88028d04e84d152b94a32a45671166b58fc6baa705b4566df6d5ffa10273130003ef94eac1864a9662a9a6b14cad9913beda931827472a198b75cab8d807c06bedebed33db3fe8aa887b51fc40d6ef4f4bffeb4ec59d72ae5c5b47c89ac826340b128620d5534d2e2f5ee0c30d3f5a636ba8dfabf0b6153c707372c0282306be5f81fdfff8ba662235a03ad3a6b5aa0c3d4dcb8b83b438b4f89618250483692cf7a6993acd5597559a9d835dc759eeb3f736a43dee4c2097bdb1eb8920990eb550e46ddd2eb3bd99bfe76a82489c86235f08a721d0dc316180622852176c588f50e0c779245a0e91abf3aa0357df66f4b9ef00ce72a6a5b1ce238e5bca138465e900a570ab621615744457bd96112eeff2ec4e74311b2e026120016a7eb43d94a0323f230b3b60e1c65e44f18b29a5295ba79bb045bb15314f95288feb037262ada928e7e742502d8eeffdac559d1970da93e0f13a9f128618f22aa69a99591b96b7c65cd3c6b27dc804f4c2800b339f0e03ef5e3f1c449d0a809b0c32905f01290858f3e54ad50676516d3ba1848d56d7db45f1522d14ba09eb71a74127a7ef005d73dc618cb11077fc3e8181a6749ecceecab8ff61e86c6385db2bd36c89d7ff870842859abab50ae1a74ce4346fc2e2b47271782e0f1661f7645ce4f41323a98ed1bf2bac6f71891c69918ad2828b7db1ca5d775e670af84824ae9f06f36972eee4924b0d5fc9e018acdce0b607f197a452963b57de0e115ac70370f2374aab130e6a0aae1a7100aa47e31248ece95275ca1c3b86f2a0edb33a83bfe92b8ea6e74265b0680ded09cb41e5adf7cd4271072f5b82431e4cd4c7923d033e0b7970382bf37e4f875fab4496ddd0d0007a724c378d177adc76c425fbcab2310db6a21e17def319eddad7a0e334a2f3dcfcaa4cb733970d722c308fecd3065a5c852743c931ee85f854a2a473fd093d788ece4f9973c7a0425e93265889d94a313cc4f0e9dd3f20474bb981b52a1c9669b92252e2a128aad72b287da1df7feae2bf44d0b47b3bee5034b6accb1b129f004071650a657354615807a1417e24f40f8a3216fc97b30ea3f1a87b95ebf87dbafaa0272cc2ee6b951d8bdb91dd75ef6b68d605717149f8f18df58bed1faff71586534244ef364c1f9ad3290c5f5f6ac83dca19eefe764a189ea497b6825316edd56db7a5b50c6619dc0088171c09226db6432677cacda85882912c75384e321dfe65beac6d1e9c51e87facaf15921e74b0aca17f32c8885c92c5191776e4675a695e3dce5d9a185b2d700020ce4825568a95d3349e85e72af10c3e3c32701fcb3729183503c0f11c0146dd5b0e9652590f3694ac6d4a7a1e1a5387e8d8850ce94f40b45f18f983bd41cc449de7ca6ba792b18b46d7fbfda14d7c95a94363fd41ca9a8ad2069840a85a1038441c32ca7e009de5417be23474e9543632c3149992cc68fccfebf99b6b077773a769488245aa71a869a25d9920afff33288601d5b24e2d5876e9af490f637559e8c213b32abf0524f1609ba5bd98b74cca9731e1f645ff9477664cdd4510e6d9365589568060c44259f0c26c2009e4ad64f7c21113f55aa5bcb3229ba679ed683ff62a857cb9017418b70b291d5292b79fc15e7ef7c73666cdaab9bb294a560f9cd7601fe6014090a38ec5a7f554f8b1e5dec61567c781b52ec6e19423ffc8ae6b4f707b993b6f450ba3434850c755edab3beea6dccb5b6e21c3d816e0e2304f42ab1992b38b5d58934232d76e94f2af8940eb976841ef78ceddd56e29d1dd5978afadb072690e53ccb09c90954b0e84254d59bb594c503769092c3483081facc00c1d45d657cd52da0f0c40d724992cadb40fb23b780d6449825d24c4591da1029860e494f72ed1c3a2d7ff7dc60040650b6124039c241f8a64c50cfdb549f8baef8b416c286cec2c2a64e0deed8c8cc53ec344412087e115485c6779bbe5867adae73d79fa0acc16f6ac1419ac05ca77effd400bdffb56535ef31ac3f08b9f16ff2c26bcc1d1255533e4d259ddd21c81fffe4de553c8f655bfe4ef7405dd0fddef0123cbbaee098fec6f3a16c52c4dd6b9718e79fefa0ba21a4fa530d063f4f34d4a5357797ccaa0ea4c34b9b5fb57c6370263fc01c91bb62d5a8e04de95137dc16632120e15141744c5006f2600099be8cf68f7ab8133579db1a8a1ec285992cbafa2ba9fe10c94a3834a4ed68ff8855518f685170c1c7bc392c99293692714682fb754fcf3544c35800e623be370499dfe545ca7c5ef34a181658b7c9939e651fb7ccbdf891e0dd5252cc825b5dfe8466123f61db118fec2c8e19362e18d0778ef0e0c8cb0a98b974271b5c63fbb779ef5ee9c9ba3180f1104fcb6eef4a0a38b4d562658d1227cac56588ba21139e330a718620b567eaeb9a622e7281c14e968b33207aff0252916509abca27815b3f42d5c44013efe478b7302b2ad435cf7d39803c651bc422a9de03a656aa5758f0fb5982f2646e8754ca26c9a7bc54fd30d908af243e6ddf9a3c343daf8d8f8f037c47b491c5458a456f08ce6aad6126ff7c9c39581628c7e060e02c07cba642c7f15d2939ef7cc81e27f9f5eaeaaf15e8542e267f00f88093465b22211a3b9d03f9a67769227081bad835eb164fc88cb582223a1a6532f2b94d8ea7ea7a11c31f5fecb78d9155f75db280f3bd4669cf471731ee805cffc80fc371273e097a5d61519e1966d6145a0aa6916248db5bd7187df5aea0dbfa6b433209f517bebf265fd73f835b19a4d5ad9888272e082e0177fbd6c57355fa7af369abb6b438f95c0deef3e1cfedd7a1f23d2778168c681b1b9ce953c31514ace42d1c661b5c8175d8362aef2f27879140bb3457e5a4cff43612c47982d743c3c4e43081c8f5b3945b00d6e79f377a288e7bd43204a32efbe1c75ab24caaace579e6292a7264016e2d3fcbd00efe4c9f5eac0aefd0cb1642a27d6ec09a602f3de4afe35ccb92cbfdff3a8b0b3de2221861e588cf6f72212dfe0493640360b2ea39ce0eaec631d9e64e3b1b4ef41590dbf1c917d8df1e1eff2c1fe841081dfaa7681e793c2ceae09205da8877707bd24f97440735803ef09e6c4ec0e582c100075229b4172080e0f4b7fdc3bf2bfece4483598bc0bfab5d244616a3fc7bedfa8128ff650a838b07b3688a3b37a084e4e6a78182e2e4cd0870eafdcfbbacd98690151a5983dc1143e20b7a86b20df59505bc33f88b566666b929ad99907d414e5156a543ee79f84302ffa799e42ee9c22e5d2612a20389444a208e2051e6a1890b8e97279e5a86fe6e3db78c9bc63b8e249caa1254fea8337ea7ae7b30ecd220f57e6153619a2723073efbff612508e883080a798a18208ffbd608e9af49aac2bc549523375dfe0224aa46b9242a49ebf859419d785c2758d962eb7473641cdc713bd1f51ea38661e6f18949213085e519ce62146327dcffc8e63401087768fb6696f267284fbbdcf49812c52a08f242bbdf8714ca67e90d9576d937de255df188921101763ad16e7d8432ce318ed1e45733a8f32351ec5b4fca9978bb94a04cf3a918a9c1ec5e2b6ac189173591c1339037a67ca15f37e95b5f0028278e0860d838c529104a168cc5906930f5aa2116fceadecd72f7a7fabafed66c0c3a2864b59809dcc7dbfce551381370f03ebe427c49b5103d2ac3a21a0b270a4fb0dae87351b9112eb17f1e0cb5d29daa58736361b0b3b93905691c591a0275813869ccac67388c4180ccb4eafcadef89e6c4d3513828c827da8cf9e4ec05f905ced72f64de836b10dc5d9685182ebc8271b0bc3a1d46c1c6e9bac903635f4ae3815fc3c9c9b1bedff6f3d9ff0272403eeb9a815d4b1ec2d69b71e9dbf82b77c88abadd7b8aed36dbfc40cf5bd092282cf3b538e251a9e9e09559d09a9c6c74d74e89784d76ade51f0d317f61295310e93666efe337b14d2900dcfd97b9826f9af792c886baebbe9d223f2ca05923c054255d4de332c486e8bba73bd2dc3466ace2a5a23ffb50e950fefe5b6345390d0d911e0f0b371bebc194e46cd04f07ce1cc9c44f5897a239ed4f6ea5ad9492da184445e0a4a64a446894173848b94f621beca7c5ba06f3a23232496c1c01b3e7a36bfb982ad37adb90cac516d5791dfed62a70cf61e85fc722aed9fb379b78a0bf405dfccc0ff1d86ab910dc3e33945ea95592a53b9c71a75ced0dc207ff63c06fec6ae3cbd4423cd7ff86eeb007ec2189e8ae56d5f36f551fd59d969321b150a11276b237bd27659203541a324745068d49d02674b446c78d66f63fc124e58ea55d33a247af8b110cfc0df965952a5c885231cd86d69fda9de5dcd095aa7eac778d394ea70ecfb625862fd5a27a9001e5b116e5dff5333bc0ba2a25bf05aa66f57dc7fcd6e7ef733a3d594d25fcbef4a2aedd11b923e0dcd720bf4f2e59673d60defd5586ff1344982438ca05aebcb96820a41e196acf5b8e7e20ddc9b1ea440d3c03a3af99d36599da2d046bf26dc021cccfb03034b042b68cb0164fe8ea0d3d946ded1916f99cf2e550f3065ea6c8509a28d04d85211f89ead71c9110d13eb71cb9f356ef55abadc50a66dc0a74e4f9d9b9164b046184bda3b470ea5ef675084ebbff8ffebb9730abcf8182981bb61f7841da91ba283842f099da326003c7783e050b44bb760cb1482ffaa2216ec9100520fd6cf96d6b07ffd50cfcd8d6684722d38f19a49976750eceb8c9c0214737316ab4d89544aab266568ba635a2bdf59beaf83688de13d0198ac5c22c7982b47ff5147384cc0e806bbcba77790da72b099dc1496a710adcb41d5708b0c80134f3a6841072bdb067d851d823286f11dfc56d8851ddf0b81736b9f3bafe189627b2df429fff82246498359049a5007b5140dcdbe84b1f71d79bf9806657b607d702e3c584bc50e6ec608afd879938be0c967acd7798ca89b3a1", 0xff7, 0xffffffffffffff82, 0x0, 0x2, r4}, &(0x7f0000000100)) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000002c0)=[{r0, 0xc424}, {r4, 0x85b8}, {0xffffffffffffffff, 0x8101}, {0xffffffffffffffff, 0x18}, {r3, 0x118}, {r1}, {}, {r4, 0x120}, {0xffffffffffffffff, 0x100}], 0x9, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:21:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xfffffdfc, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2707.559809] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.563938] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2707.566024] FAT-fs (loop4): Filesystem has been set read-only [ 2707.567818] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.570977] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2707.571944] FAT-fs (loop0): Filesystem has been set read-only [ 2707.593492] FAULT_INJECTION: forcing a failure. [ 2707.593492] name failslab, interval 1, probability 0, space 0, times 0 [ 2707.594886] CPU: 0 PID: 14003 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2707.595662] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2707.596594] Call Trace: [ 2707.596903] dump_stack+0x107/0x167 [ 2707.597321] should_fail.cold+0x5/0xa [ 2707.597756] ? __kernfs_new_node+0xd4/0x850 [ 2707.598291] should_failslab+0x5/0x20 [ 2707.598717] kmem_cache_alloc+0x5b/0x360 [ 2707.599188] __kernfs_new_node+0xd4/0x850 [ 2707.599664] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2707.600199] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2707.600742] ? wait_for_completion_io+0x270/0x270 [ 2707.601287] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2707.601885] kernfs_new_node+0x93/0x120 [ 2707.602385] __kernfs_create_file+0x51/0x350 [ 2707.602890] sysfs_add_file_mode_ns+0x221/0x560 [ 2707.603430] internal_create_group+0x324/0xb30 [ 2707.603957] ? sysfs_remove_group+0x170/0x170 [ 2707.604466] ? lockdep_init_map_type+0x2c7/0x780 [ 2707.605012] ? blk_queue_flag_set+0x22/0x30 [ 2707.605498] ? __loop_update_dio+0x2d2/0x690 [ 2707.606012] loop_configure+0x954/0x1480 [ 2707.606486] lo_ioctl+0xa72/0x1760 [ 2707.606891] ? avc_has_extended_perms+0x7f1/0xec0 [ 2707.607433] ? loop_set_status_old+0x250/0x250 [ 2707.607948] ? avc_ss_reset+0x180/0x180 [ 2707.608401] ? find_held_lock+0x2c/0x110 [ 2707.608867] ? __lock_acquire+0xbb1/0x5b00 [ 2707.609376] ? selinux_inode_getsecctx+0x90/0x90 [ 2707.609912] ? generic_block_fiemap+0x60/0x60 [ 2707.610443] ? loop_set_status_old+0x250/0x250 [ 2707.610960] blkdev_ioctl+0x291/0x710 [ 2707.611397] ? blkdev_common_ioctl+0x1870/0x1870 [ 2707.611942] ? selinux_file_ioctl+0xb1/0x260 [ 2707.612443] block_ioctl+0xf9/0x140 [ 2707.612856] ? blkdev_read_iter+0x1c0/0x1c0 [ 2707.613343] __x64_sys_ioctl+0x19a/0x210 [ 2707.613798] do_syscall_64+0x33/0x40 [ 2707.614255] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2707.614838] RIP: 0033:0x7fc61b82a8d7 [ 2707.615253] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2707.617299] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2707.618175] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2707.618980] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2707.619777] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2707.620570] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2707.621376] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:21:35 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) bind$inet(r3, &(0x7f0000000040)={0x2, 0x4e23, @broadcast}, 0x10) [ 2707.636234] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.638154] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2707.639059] FAT-fs (loop2): Filesystem has been set read-only [ 2707.644553] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.646436] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2707.647279] FAT-fs (loop6): Filesystem has been set read-only [ 2707.654228] FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.655470] FAT-fs (loop5): bogus number of reserved sectors [ 2707.656321] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; no bootstrapping code [ 2707.657372] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2707.658459] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2707.679086] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.683210] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2707.684076] FAT-fs (loop6): Filesystem has been set read-only 10:21:35 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2707.690325] FAT-fs (loop3): Directory bread(block 64) failed [ 2707.713426] FAT-fs (loop3): Directory bread(block 65) failed 10:21:35 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe0ffff, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2707.733248] FAT-fs (loop3): Directory bread(block 66) failed [ 2707.745848] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.768251] FAT-fs (loop3): Directory bread(block 67) failed [ 2707.768991] FAT-fs (loop3): Directory bread(block 68) failed [ 2707.769717] FAT-fs (loop3): Directory bread(block 69) failed [ 2707.770418] FAT-fs (loop3): Directory bread(block 70) failed [ 2707.775817] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2707.776616] FAT-fs (loop0): Filesystem has been set read-only [ 2707.785124] FAT-fs (loop3): Directory bread(block 71) failed [ 2707.785836] FAT-fs (loop3): Directory bread(block 72) failed [ 2707.791403] FAT-fs (loop3): Directory bread(block 73) failed 10:21:35 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 45) 10:21:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xfffffdfd, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:35 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe0000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:35 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x4, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) recvmmsg$unix(r4, &(0x7f0000000740)=[{{&(0x7f0000000100), 0x6e, &(0x7f0000000040)=[{&(0x7f0000000380)=""/183, 0xb7}, {&(0x7f0000000440)=""/207, 0xcf}, {&(0x7f0000000540)=""/209, 0xd1}, {&(0x7f00000002c0)=""/124, 0x7c}], 0x4, &(0x7f0000000640)=[@cred={{0x1c}}, @rights={{0x1c, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}, @cred={{0x1c}}, @rights={{0x18, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff]}}, @cred={{0x1c}}, @rights={{0x24, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}], 0xf8}}], 0x1, 0x40002000, &(0x7f0000000780)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2707.887257] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2707.897845] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2707.898761] FAT-fs (loop6): Filesystem has been set read-only [ 2707.902475] FAT-fs (loop5): bogus number of FAT sectors [ 2707.903267] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2707.904317] FAT-fs (loop5): Can't find a valid FAT filesystem 10:21:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xffffff8c, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2707.982981] FAULT_INJECTION: forcing a failure. [ 2707.982981] name failslab, interval 1, probability 0, space 0, times 0 [ 2707.984438] CPU: 0 PID: 14037 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2707.985210] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2707.986292] Call Trace: [ 2707.986631] dump_stack+0x107/0x167 [ 2707.987043] should_fail.cold+0x5/0xa [ 2707.987532] ? create_object.isra.0+0x3a/0xa20 [ 2707.988052] should_failslab+0x5/0x20 [ 2707.988529] kmem_cache_alloc+0x5b/0x360 [ 2707.988991] create_object.isra.0+0x3a/0xa20 [ 2707.989532] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2707.990185] kmem_cache_alloc_trace+0x151/0x360 [ 2707.990796] ? dev_uevent_filter+0xd0/0xd0 [ 2707.991340] kobject_uevent_env+0x22b/0xf90 [ 2707.991839] loop_configure+0x116c/0x1480 [ 2707.992366] lo_ioctl+0xa72/0x1760 [ 2707.992776] ? avc_has_extended_perms+0x7f1/0xec0 [ 2707.993427] ? loop_set_status_old+0x250/0x250 [ 2707.993943] ? avc_ss_reset+0x180/0x180 [ 2707.994489] ? find_held_lock+0x2c/0x110 [ 2707.994956] ? __lock_acquire+0xbb1/0x5b00 [ 2707.995529] ? selinux_inode_getsecctx+0x90/0x90 [ 2707.996072] ? generic_block_fiemap+0x60/0x60 [ 2707.996634] ? loop_set_status_old+0x250/0x250 [ 2707.997156] blkdev_ioctl+0x291/0x710 [ 2707.997696] ? blkdev_common_ioctl+0x1870/0x1870 [ 2707.998334] ? selinux_file_ioctl+0xb1/0x260 [ 2707.998851] block_ioctl+0xf9/0x140 [ 2707.999334] ? blkdev_read_iter+0x1c0/0x1c0 [ 2707.999834] __x64_sys_ioctl+0x19a/0x210 [ 2708.000404] do_syscall_64+0x33/0x40 [ 2708.000830] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2708.001462] RIP: 0033:0x7fc61b82a8d7 [ 2708.001888] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2708.004144] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2708.005048] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2708.005947] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2708.006847] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2708.007700] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2708.008551] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2708.093396] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:21:49 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 46) 10:21:49 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x6, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x7, 0x80, 0x14) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) syz_io_uring_submit(0x0, 0x0, &(0x7f0000000080)=@IORING_OP_READV=@use_registered_buffer={0x1, 0x0, 0x2000, @fd_index=0x9, 0x7c5, 0x0, 0x0, 0x4, 0x0, {0x1}}, 0x4) syz_io_uring_submit(0x0, 0x0, &(0x7f0000000100)=@IORING_OP_EPOLL_CTL=@mod={0x1d, 0x2, 0x0, 0xffffffffffffffff, &(0x7f0000000040)={0x80000004}, r1}, 0x1f) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2722.470752] FAULT_INJECTION: forcing a failure. [ 2722.470752] name failslab, interval 1, probability 0, space 0, times 0 [ 2722.473454] CPU: 1 PID: 14051 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2722.474448] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2722.476470] Call Trace: [ 2722.476950] dump_stack+0x107/0x167 [ 2722.477388] should_fail.cold+0x5/0xa 10:21:49 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:49 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xe0ffff, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:49 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:49 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:21:49 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xfffffff6, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:49 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2722.478011] ? __kernfs_new_node+0xd4/0x850 [ 2722.478536] should_failslab+0x5/0x20 [ 2722.480134] kmem_cache_alloc+0x5b/0x360 [ 2722.480601] __kernfs_new_node+0xd4/0x850 [ 2722.481275] ? kernfs_dop_revalidate+0x3a0/0x3a0 [ 2722.481977] ? __mutex_unlock_slowpath+0xe1/0x600 [ 2722.482634] ? wait_for_completion_io+0x270/0x270 [ 2722.484963] ? kernfs_next_descendant_post+0x1a7/0x2a0 [ 2722.485739] kernfs_new_node+0x93/0x120 [ 2722.486305] __kernfs_create_file+0x51/0x350 [ 2722.488053] sysfs_add_file_mode_ns+0x221/0x560 [ 2722.488600] internal_create_group+0x324/0xb30 [ 2722.489498] ? sysfs_remove_group+0x170/0x170 [ 2722.490220] ? lockdep_init_map_type+0x2c7/0x780 [ 2722.491816] ? blk_queue_flag_set+0x22/0x30 [ 2722.492486] ? __loop_update_dio+0x2d2/0x690 [ 2722.493005] loop_configure+0x954/0x1480 [ 2722.493623] lo_ioctl+0xa72/0x1760 [ 2722.494207] ? avc_has_extended_perms+0x7f1/0xec0 [ 2722.495874] ? loop_set_status_old+0x250/0x250 [ 2722.496423] ? avc_ss_reset+0x180/0x180 [ 2722.497056] ? find_held_lock+0x2c/0x110 [ 2722.497540] ? __lock_acquire+0xbb1/0x5b00 [ 2722.498278] ? selinux_inode_getsecctx+0x90/0x90 [ 2722.499867] ? generic_block_fiemap+0x60/0x60 [ 2722.500597] ? loop_set_status_old+0x250/0x250 [ 2722.501285] blkdev_ioctl+0x291/0x710 [ 2722.501727] ? blkdev_common_ioctl+0x1870/0x1870 [ 2722.502472] ? selinux_file_ioctl+0xb1/0x260 [ 2722.504121] block_ioctl+0xf9/0x140 [ 2722.504551] ? blkdev_read_iter+0x1c0/0x1c0 [ 2722.505224] __x64_sys_ioctl+0x19a/0x210 [ 2722.505709] do_syscall_64+0x33/0x40 [ 2722.506369] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2722.507980] RIP: 0033:0x7fc61b82a8d7 [ 2722.508588] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2722.512116] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2722.513144] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2722.514147] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2722.516029] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2722.517160] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2722.517991] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2722.532123] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2722.577414] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.580586] FAT-fs (loop3): Invalid FSINFO signature: 0x00005252, 0x00000000 (sector = 1) [ 2722.583208] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.585889] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.588692] FAT-fs (loop5): bogus number of FAT sectors [ 2722.590409] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2722.593113] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2722.593827] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2722.595867] FAT-fs (loop4): Filesystem has been set read-only [ 2722.598213] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2722.600397] FAT-fs (loop6): Filesystem has been set read-only [ 2722.603114] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2722.605342] FAT-fs (loop2): Filesystem has been set read-only [ 2722.607504] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:21:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 47) [ 2722.614322] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2722.616372] FAT-fs (loop0): Filesystem has been set read-only [ 2722.625859] FAT-fs (loop3): Directory bread(block 64) failed [ 2722.628772] FAT-fs (loop3): Directory bread(block 65) failed [ 2722.633220] FAT-fs (loop3): Directory bread(block 66) failed [ 2722.637094] FAT-fs (loop3): Directory bread(block 67) failed [ 2722.638859] FAT-fs (loop3): Directory bread(block 68) failed [ 2722.640686] FAT-fs (loop3): Directory bread(block 69) failed [ 2722.642919] FAT-fs (loop3): Directory bread(block 70) failed [ 2722.646639] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.646974] FAT-fs (loop3): Directory bread(block 71) failed [ 2722.650886] FAT-fs (loop3): Directory bread(block 72) failed [ 2722.652641] FAT-fs (loop3): Directory bread(block 73) failed [ 2722.659028] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2722.661014] FAT-fs (loop4): Filesystem has been set read-only 10:21:50 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) r5 = syz_open_dev$char_usb(0xc, 0xb4, 0x0) preadv2(r5, 0x0, 0x0, 0x8000002, 0x40, 0x4) r6 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r7 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r7, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r7, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r7, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) fdatasync(0xffffffffffffffff) sendfile(r7, r6, 0x0, 0x9bbb) [ 2722.672729] FAULT_INJECTION: forcing a failure. [ 2722.672729] name failslab, interval 1, probability 0, space 0, times 0 [ 2722.676417] CPU: 1 PID: 14072 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2722.678695] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2722.681292] Call Trace: [ 2722.682011] dump_stack+0x107/0x167 [ 2722.683042] should_fail.cold+0x5/0xa [ 2722.684066] ? create_object.isra.0+0x3a/0xa20 [ 2722.685304] should_failslab+0x5/0x20 [ 2722.686425] kmem_cache_alloc+0x5b/0x360 [ 2722.687613] ? kmem_cache_alloc_trace+0x151/0x360 [ 2722.688887] create_object.isra.0+0x3a/0xa20 [ 2722.690084] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2722.691565] __kmalloc+0x16e/0x3f0 [ 2722.692459] kobject_get_path+0xc4/0x1d0 [ 2722.693498] kobject_uevent_env+0x251/0xf90 [ 2722.694642] loop_configure+0x116c/0x1480 [ 2722.695780] lo_ioctl+0xa72/0x1760 [ 2722.696657] ? avc_has_extended_perms+0x7f1/0xec0 [ 2722.697913] ? loop_set_status_old+0x250/0x250 [ 2722.699145] ? avc_ss_reset+0x180/0x180 [ 2722.700256] ? find_held_lock+0x2c/0x110 10:21:50 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2722.701397] ? __lock_acquire+0xbb1/0x5b00 [ 2722.702716] ? selinux_inode_getsecctx+0x90/0x90 [ 2722.703848] ? generic_block_fiemap+0x60/0x60 [ 2722.704982] ? loop_set_status_old+0x250/0x250 [ 2722.706091] blkdev_ioctl+0x291/0x710 [ 2722.707055] ? blkdev_common_ioctl+0x1870/0x1870 [ 2722.708170] ? selinux_file_ioctl+0xb1/0x260 [ 2722.709204] block_ioctl+0xf9/0x140 [ 2722.710059] ? blkdev_read_iter+0x1c0/0x1c0 [ 2722.711123] __x64_sys_ioctl+0x19a/0x210 [ 2722.712102] do_syscall_64+0x33/0x40 [ 2722.712962] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2722.714183] RIP: 0033:0x7fc61b82a8d7 [ 2722.715109] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2722.719515] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2722.721297] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2722.723017] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2722.724685] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2722.726445] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2722.728147] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2722.788019] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.789195] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2722.797419] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.803560] FAT-fs (loop5): bogus number of FAT sectors [ 2722.804483] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2722.805622] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2722.806572] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.813779] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2722.816114] FAT-fs (loop2): Filesystem has been set read-only [ 2722.818541] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2722.820521] FAT-fs (loop6): Filesystem has been set read-only [ 2722.822228] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2722.824193] FAT-fs (loop0): Filesystem has been set read-only [ 2722.890812] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.897069] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2722.899334] FAT-fs (loop4): Filesystem has been set read-only [ 2722.949576] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2722.953853] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2722.955741] FAT-fs (loop4): Filesystem has been set read-only 10:21:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:21:50 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000", 0x2a}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2722.984916] FAT-fs (loop5): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2736.691910] FAULT_INJECTION: forcing a failure. [ 2736.691910] name failslab, interval 1, probability 0, space 0, times 0 [ 2736.693232] CPU: 1 PID: 14099 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2736.693996] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2736.694914] Call Trace: [ 2736.695217] dump_stack+0x107/0x167 [ 2736.695627] should_fail.cold+0x5/0xa [ 2736.696050] ? kobject_uevent_env+0x22b/0xf90 [ 2736.696554] ? dev_uevent_filter+0xd0/0xd0 [ 2736.697019] should_failslab+0x5/0x20 [ 2736.697446] kmem_cache_alloc_trace+0x55/0x360 [ 2736.697952] ? loop_configure+0xad2/0x1480 [ 2736.698425] ? dev_uevent_filter+0xd0/0xd0 [ 2736.698913] kobject_uevent_env+0x22b/0xf90 [ 2736.699396] loop_configure+0x116c/0x1480 [ 2736.699857] lo_ioctl+0xa72/0x1760 [ 2736.700254] ? avc_has_extended_perms+0x7f1/0xec0 [ 2736.700792] ? loop_set_status_old+0x250/0x250 [ 2736.701291] ? avc_ss_reset+0x180/0x180 [ 2736.701733] ? find_held_lock+0x2c/0x110 [ 2736.702184] ? __lock_acquire+0xbb1/0x5b00 [ 2736.702715] ? selinux_inode_getsecctx+0x90/0x90 [ 2736.703233] ? generic_block_fiemap+0x60/0x60 [ 2736.703732] ? loop_set_status_old+0x250/0x250 [ 2736.704239] blkdev_ioctl+0x291/0x710 [ 2736.704658] ? blkdev_common_ioctl+0x1870/0x1870 [ 2736.705178] ? selinux_file_ioctl+0xb1/0x260 [ 2736.705662] block_ioctl+0xf9/0x140 [ 2736.706063] ? blkdev_read_iter+0x1c0/0x1c0 [ 2736.706587] __x64_sys_ioctl+0x19a/0x210 [ 2736.707038] do_syscall_64+0x33/0x40 [ 2736.707448] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2736.708007] RIP: 0033:0x7fc61b82a8d7 [ 2736.708419] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2736.710448] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2736.711305] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2736.712093] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2736.712882] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2736.713669] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2736.714460] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2736.742136] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2736.744557] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2736.745370] FAT-fs (loop0): Filesystem has been set read-only [ 2736.747305] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:22:04 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 48) 10:22:04 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1010000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:04 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000000100)={0x1, 0x80, 0xff, 0x0, 0x0, 0x35, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9, 0x4, @perf_bp={&(0x7f0000000040), 0x7}, 0x0, 0xfffffffffffffffd, 0xa5fd, 0x0, 0x4000006, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1}, 0x0, 0x7, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) openat(r5, &(0x7f00000002c0)='./file0\x00', 0x80080, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:22:04 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x5, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:04 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:22:04 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0xfffffffe, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:04 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2736.752743] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2736.753623] FAT-fs (loop6): Filesystem has been set read-only [ 2736.757751] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:22:04 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) pread64(r0, &(0x7f0000000380)=""/234, 0xea, 0x1) sendfile(r6, r5, 0x0, 0x9bbb) [ 2736.782953] FAT-fs (loop5): bogus number of FAT sectors [ 2736.783964] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2736.784933] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2736.785771] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2736.787201] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2736.788073] FAT-fs (loop2): Filesystem has been set read-only [ 2736.790657] FAT-fs (loop3): Invalid FSINFO signature: 0x00005252, 0x00000000 (sector = 1) [ 2736.792649] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2736.794255] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2736.795114] FAT-fs (loop4): Filesystem has been set read-only 10:22:04 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 49) [ 2736.814806] FAT-fs (loop3): Directory bread(block 64) failed [ 2736.815555] FAT-fs (loop3): Directory bread(block 65) failed [ 2736.821629] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2736.823080] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2736.823975] FAT-fs (loop0): Filesystem has been set read-only [ 2736.825804] FAT-fs (loop3): Directory bread(block 66) failed [ 2736.826880] FAT-fs (loop3): Directory bread(block 67) failed [ 2736.827533] FAT-fs (loop3): Directory bread(block 68) failed [ 2736.830282] FAT-fs (loop3): Directory bread(block 69) failed [ 2736.831115] FAT-fs (loop3): Directory bread(block 70) failed [ 2736.831826] FAT-fs (loop3): Directory bread(block 71) failed [ 2736.833712] FAT-fs (loop3): Directory bread(block 72) failed [ 2736.834358] FAT-fs (loop3): Directory bread(block 73) failed 10:22:04 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_config_ext={0x5, 0x34}, 0x0, 0x0, 0x3, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) ioctl$EXT4_IOC_GROUP_EXTEND(0xffffffffffffffff, 0x40086607, &(0x7f00000004c0)) openat$incfs(0xffffffffffffffff, &(0x7f0000000000)='.log\x00', 0x200, 0x180) sendmsg$nl_generic(0xffffffffffffffff, &(0x7f0000000140)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x1000}, 0xc, &(0x7f0000000100)={&(0x7f00000002c0)=ANY=[@ANYBLOB="5c020000310000042abd7000fddbdf2504000000cd003980891070d15c3586853fd07573b55ad48c17277401adb26eeb25624ec248f6e94f621930ac0715af05a7ee4abfb0bcffc9f58f7d49eb67eaad53ad186652da345ed146c2b09503ccc3bd99e214b0997f90e3c2fd87a442f7b4174fe4015a0ed5fe446df3e2dd71c9b8341afc4f203b05afc08302ebff4ea2484590e3514cd5b7b93cc325024cba9452fbd4cbcd3c82add9dff85f5cbf3169986bbf31b7a933a06552844e269cf7cc72507898d77ed9aaa462ebaa65d7fc9a5c10f61e871aab02a267114c642921d786c345e021ae1b0ac69f6c1d2400000014006800fe8000000000000000000000000000aa204a4b06da2807fbc74e3af107b9c6fe7b5665dc54eed7f21a9ef4d8b730cf5dfb1411d7a7a730024380a2aa14ad155172b54f76e70cd40a0d194fd57e83f19ad6a06016ced49d79cd9f557d95c9ee668a047144a5affb74cbb464500a6549fca82400556344886272cbc7af473695c541b4408b015a15631d1eb10e5d46a1022f06842ce9ba59d7e807d6dc43c1711491ffd4211689e48d4cccffad84d0709b6b98a5e7365275f11476f4d0b34ab9f8875ce1103f0d5190e90d0d5bd8d190f7084b21ee5cd83846d1d9269ff46edd51fb01a6270cdc077ab0b6ebe73819330e4dae22246e75b86eea93e4e61ae0bb62c7cb52048e47b73d3f04a9b1fc6d4624eef5b5db2447345f33dd48038aaefbf9217a89e6d1f2577e0d715098f68358b8a9853855b7d5b650ab03a760b46723c84d198cf510352ed6e48d9451a628a2fbeaf1a3725076819e8b7494b4d94605223acba37c9b623aaf53"], 0x25c}, 0x1, 0x0, 0x0, 0x880}, 0x8000000) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9472}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:22:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2736.896184] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2736.898341] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2736.899236] FAT-fs (loop2): Filesystem has been set read-only [ 2736.905567] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2736.907038] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2736.907932] FAT-fs (loop4): Filesystem has been set read-only 10:22:04 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa5252", 0x22, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:22:04 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1010000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:04 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2736.941953] FAULT_INJECTION: forcing a failure. [ 2736.941953] name failslab, interval 1, probability 0, space 0, times 0 [ 2736.943710] CPU: 1 PID: 14132 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2736.944476] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2736.945387] Call Trace: [ 2736.945692] dump_stack+0x107/0x167 [ 2736.946097] should_fail.cold+0x5/0xa [ 2736.946668] ? create_object.isra.0+0x3a/0xa20 [ 2736.947175] should_failslab+0x5/0x20 [ 2736.947600] kmem_cache_alloc+0x5b/0x360 [ 2736.948051] create_object.isra.0+0x3a/0xa20 [ 2736.948544] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2736.949104] kmem_cache_alloc_node+0x169/0x370 [ 2736.949614] __alloc_skb+0x6d/0x5b0 [ 2736.950023] alloc_uevent_skb+0x7b/0x210 [ 2736.950561] kobject_uevent_env+0x99a/0xf90 [ 2736.951064] loop_configure+0x116c/0x1480 [ 2736.951527] lo_ioctl+0xa72/0x1760 [ 2736.951927] ? avc_has_extended_perms+0x7f1/0xec0 [ 2736.952468] ? loop_set_status_old+0x250/0x250 [ 2736.952981] ? avc_ss_reset+0x180/0x180 [ 2736.953432] ? find_held_lock+0x2c/0x110 [ 2736.953888] ? __lock_acquire+0xbb1/0x5b00 [ 2736.954421] ? selinux_inode_getsecctx+0x90/0x90 [ 2736.954968] ? generic_block_fiemap+0x60/0x60 [ 2736.955476] ? loop_set_status_old+0x250/0x250 [ 2736.955979] blkdev_ioctl+0x291/0x710 [ 2736.956406] ? blkdev_common_ioctl+0x1870/0x1870 [ 2736.956931] ? selinux_file_ioctl+0xb1/0x260 [ 2736.957427] block_ioctl+0xf9/0x140 [ 2736.957830] ? blkdev_read_iter+0x1c0/0x1c0 [ 2736.958313] __x64_sys_ioctl+0x19a/0x210 [ 2736.958838] do_syscall_64+0x33/0x40 [ 2736.959264] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2736.959829] RIP: 0033:0x7fc61b82a8d7 [ 2736.960249] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2736.962355] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2736.963390] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2736.964268] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2736.965208] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2736.966095] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2736.966906] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:22:04 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x225c17d03, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:04 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x6, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2737.008429] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:22:04 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9535}, {0xffffffffffffffff, 0x1}, {0xffffffffffffffff, 0x8}, {r3, 0x100}, {r1, 0x2}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) mount$9p_fd(0x0, &(0x7f0000000000)='./file1\x00', &(0x7f0000000080), 0x1048018, &(0x7f0000000440)=ANY=[@ANYBLOB="642c726680006bef475f6f4110f9c6", @ANYRESHEX, @ANYBLOB="2c8266646e6f3d", @ANYRESHEX, @ANYBLOB="2c64666c7475000400003203695982522794c68a020018772df34cf7417310080611ab0ef5be1e11d504000be683fa000074d694b8bd3ff35f1207f04aa955371ab4e5e1974c7483c5d9f9b27cb108f7e317297a45b2037166e27929d30ef0d0ea3c1b6afe8bcbbf6c5b6f7ee4aeda6385b6880b42a0e45dd6228e02a614dac8000000000000000000", @ANYRESHEX=0xee00, @ANYBLOB=',smackfsdef=,\x00']) connect$inet6(0xffffffffffffffff, &(0x7f0000000040)={0xa, 0x4e24, 0x20, @mcast1, 0x1}, 0x1c) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2737.073212] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2737.084813] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2737.086247] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2737.087153] FAT-fs (loop4): Filesystem has been set read-only [ 2737.089193] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2737.089392] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2737.091109] FAT-fs (loop2): Filesystem has been set read-only [ 2737.091504] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2737.091870] FAT-fs (loop5): bogus number of FAT sectors [ 2737.092575] FAT-fs (loop0): Filesystem has been set read-only [ 2737.093165] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2737.094814] FAT-fs (loop5): Can't find a valid FAT filesystem 10:22:04 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 50) [ 2737.162941] FAT-fs (loop3): Invalid FSINFO signature: 0x00005252, 0x00000000 (sector = 1) [ 2737.197236] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2737.200939] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2737.201794] FAT-fs (loop4): Filesystem has been set read-only [ 2737.202837] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2737.205994] FAT-fs (loop3): Directory bread(block 64) failed [ 2737.206721] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2737.207485] FAT-fs (loop2): Filesystem has been set read-only [ 2737.210930] FAT-fs (loop3): Directory bread(block 65) failed [ 2737.211633] FAT-fs (loop3): Directory bread(block 66) failed [ 2737.219477] FAT-fs (loop3): Directory bread(block 67) failed [ 2737.220252] FAT-fs (loop3): Directory bread(block 68) failed [ 2737.221563] FAT-fs (loop3): Directory bread(block 69) failed [ 2737.222240] FAT-fs (loop3): Directory bread(block 70) failed [ 2737.224756] FAT-fs (loop3): Directory bread(block 71) failed [ 2737.225992] FAT-fs (loop3): Directory bread(block 72) failed [ 2737.226905] FAT-fs (loop3): Directory bread(block 73) failed [ 2737.327083] FAULT_INJECTION: forcing a failure. [ 2737.327083] name failslab, interval 1, probability 0, space 0, times 0 [ 2737.328385] CPU: 0 PID: 14154 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2737.329159] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2737.330068] Call Trace: [ 2737.330371] dump_stack+0x107/0x167 [ 2737.330804] should_fail.cold+0x5/0xa [ 2737.331232] should_failslab+0x5/0x20 [ 2737.331671] __kmalloc_node_track_caller+0x74/0x3f0 [ 2737.332216] ? alloc_uevent_skb+0x7b/0x210 [ 2737.332707] __alloc_skb+0xb1/0x5b0 [ 2737.333113] alloc_uevent_skb+0x7b/0x210 [ 2737.333565] kobject_uevent_env+0x99a/0xf90 [ 2737.334059] loop_configure+0x116c/0x1480 [ 2737.334552] lo_ioctl+0xa72/0x1760 [ 2737.334989] ? avc_has_extended_perms+0x7f1/0xec0 [ 2737.335528] ? loop_set_status_old+0x250/0x250 [ 2737.336044] ? avc_ss_reset+0x180/0x180 [ 2737.336488] ? find_held_lock+0x2c/0x110 [ 2737.336940] ? __lock_acquire+0xbb1/0x5b00 [ 2737.337450] ? selinux_inode_getsecctx+0x90/0x90 [ 2737.337981] ? generic_block_fiemap+0x60/0x60 [ 2737.338540] ? loop_set_status_old+0x250/0x250 [ 2737.339064] blkdev_ioctl+0x291/0x710 [ 2737.339495] ? blkdev_common_ioctl+0x1870/0x1870 [ 2737.340029] ? selinux_file_ioctl+0xb1/0x260 [ 2737.340514] block_ioctl+0xf9/0x140 [ 2737.340924] ? blkdev_read_iter+0x1c0/0x1c0 [ 2737.341415] __x64_sys_ioctl+0x19a/0x210 [ 2737.341872] do_syscall_64+0x33/0x40 [ 2737.342297] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2737.342911] RIP: 0033:0x7fc61b82a8d7 [ 2737.343329] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2737.345355] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2737.346198] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2737.347032] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2737.347827] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2737.348609] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2737.349398] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2737.399625] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) 10:22:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:20 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 51) [ 2752.542922] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.544578] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2752.545500] FAT-fs (loop6): Filesystem has been set read-only [ 2752.559309] FAT-fs (loop5): bogus number of FAT sectors [ 2752.560158] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2752.561331] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2752.570739] FAULT_INJECTION: forcing a failure. [ 2752.570739] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2752.572370] CPU: 1 PID: 14166 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2752.573199] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2752.574345] Call Trace: [ 2752.574686] dump_stack+0x107/0x167 [ 2752.575139] should_fail.cold+0x5/0xa [ 2752.575710] __alloc_pages_nodemask+0x182/0x680 [ 2752.576394] ? __alloc_pages_slowpath.constprop.0+0x2220/0x2220 [ 2752.577150] alloc_pages_current+0x187/0x280 [ 2752.577740] allocate_slab+0x26f/0x380 [ 2752.578216] ___slab_alloc+0x470/0x700 [ 2752.578766] ? __alloc_skb+0x6d/0x5b0 [ 2752.579286] ? __alloc_skb+0x6d/0x5b0 [ 2752.579775] ? kmem_cache_alloc_node+0x355/0x370 [ 2752.580458] kmem_cache_alloc_node+0x355/0x370 [ 2752.581032] __alloc_skb+0x6d/0x5b0 [ 2752.581547] alloc_uevent_skb+0x7b/0x210 [ 2752.582053] kobject_uevent_env+0x99a/0xf90 [ 2752.582665] loop_configure+0x116c/0x1480 [ 2752.583191] lo_ioctl+0xa72/0x1760 [ 2752.583691] ? avc_has_extended_perms+0x7f1/0xec0 [ 2752.584336] ? loop_set_status_old+0x250/0x250 [ 2752.584904] ? avc_ss_reset+0x180/0x180 [ 2752.585506] ? find_held_lock+0x2c/0x110 [ 2752.586011] ? __lock_acquire+0xbb1/0x5b00 [ 2752.586649] ? selinux_inode_getsecctx+0x90/0x90 [ 2752.587288] ? generic_block_fiemap+0x60/0x60 [ 2752.587854] ? loop_set_status_old+0x250/0x250 [ 2752.588475] blkdev_ioctl+0x291/0x710 [ 2752.588953] ? blkdev_common_ioctl+0x1870/0x1870 [ 2752.589632] ? selinux_file_ioctl+0xb1/0x260 [ 2752.590171] block_ioctl+0xf9/0x140 10:22:20 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x800800000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:20 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1300000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:20 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) recvfrom(0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) fremovexattr(0xffffffffffffffff, &(0x7f0000000100)=ANY=[@ANYBLOB="6f730400f12ea03c00"/24]) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:22:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000", 0x1c}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:22:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x7, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2752.590702] ? blkdev_read_iter+0x1c0/0x1c0 [ 2752.591293] __x64_sys_ioctl+0x19a/0x210 [ 2752.591806] do_syscall_64+0x33/0x40 [ 2752.592483] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2752.593124] RIP: 0033:0x7fc61b82a8d7 [ 2752.593681] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2752.596023] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2752.597017] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2752.598105] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2752.599590] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2752.600498] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2752.601437] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2752.620510] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.621839] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2752.624046] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2752.625010] FAT-fs (loop6): Filesystem has been set read-only [ 2752.632032] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.640504] FAT-fs (loop3): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 2752.643584] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.651186] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2752.652125] FAT-fs (loop4): Filesystem has been set read-only [ 2752.654417] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2752.655352] FAT-fs (loop0): Filesystem has been set read-only [ 2752.662142] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:22:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000", 0x23}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2752.684931] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2752.686123] FAT-fs (loop2): Filesystem has been set read-only 10:22:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x4000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2752.697329] FAT-fs (loop3): Directory bread(block 64) failed [ 2752.698153] FAT-fs (loop3): Directory bread(block 65) failed [ 2752.701128] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:22:20 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 52) [ 2752.703436] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2752.704412] FAT-fs (loop0): Filesystem has been set read-only [ 2752.706505] FAT-fs (loop3): Directory bread(block 66) failed [ 2752.710374] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.712487] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2752.713439] FAT-fs (loop4): Filesystem has been set read-only [ 2752.716447] FAT-fs (loop3): Directory bread(block 67) failed [ 2752.719978] FAT-fs (loop3): Directory bread(block 68) failed [ 2752.722422] FAT-fs (loop3): Directory bread(block 69) failed [ 2752.729704] FAT-fs (loop3): Directory bread(block 70) failed [ 2752.735160] FAT-fs (loop3): Directory bread(block 71) failed [ 2752.736980] FAT-fs (loop3): Directory bread(block 72) failed [ 2752.757467] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:22:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x8, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2752.785665] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2752.786554] FAT-fs (loop2): Filesystem has been set read-only [ 2752.788741] FAT-fs (loop3): Directory bread(block 73) failed [ 2752.811655] FAT-fs (loop5): bogus number of FAT sectors [ 2752.812460] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2752.813949] FAT-fs (loop5): Can't find a valid FAT filesystem 10:22:20 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x2000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2752.877589] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.879898] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2752.880905] FAT-fs (loop6): Filesystem has been set read-only [ 2752.885912] FAULT_INJECTION: forcing a failure. [ 2752.885912] name failslab, interval 1, probability 0, space 0, times 0 [ 2752.887403] CPU: 1 PID: 14200 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2752.888269] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2752.889300] Call Trace: [ 2752.889636] dump_stack+0x107/0x167 [ 2752.890101] should_fail.cold+0x5/0xa [ 2752.890582] ? skb_clone+0x14f/0x3d0 [ 2752.891078] should_failslab+0x5/0x20 [ 2752.891553] kmem_cache_alloc+0x5b/0x360 [ 2752.892067] skb_clone+0x14f/0x3d0 [ 2752.892527] netlink_broadcast_filtered+0xa08/0xdc0 [ 2752.893166] netlink_broadcast+0x35/0x50 [ 2752.893677] kobject_uevent_env+0x93d/0xf90 [ 2752.894269] loop_configure+0x116c/0x1480 [ 2752.894836] lo_ioctl+0xa72/0x1760 [ 2752.895308] ? avc_has_extended_perms+0x7f1/0xec0 [ 2752.895909] ? loop_set_status_old+0x250/0x250 [ 2752.896524] ? avc_ss_reset+0x180/0x180 [ 2752.897047] ? find_held_lock+0x2c/0x110 [ 2752.897566] ? __lock_acquire+0xbb1/0x5b00 [ 2752.898156] ? selinux_inode_getsecctx+0x90/0x90 [ 2752.898813] ? generic_block_fiemap+0x60/0x60 [ 2752.899400] ? loop_set_status_old+0x250/0x250 [ 2752.899960] blkdev_ioctl+0x291/0x710 [ 2752.900439] ? blkdev_common_ioctl+0x1870/0x1870 [ 2752.901027] ? selinux_file_ioctl+0xb1/0x260 [ 2752.901588] block_ioctl+0xf9/0x140 [ 2752.902041] ? blkdev_read_iter+0x1c0/0x1c0 [ 2752.902577] __x64_sys_ioctl+0x19a/0x210 [ 2752.903115] do_syscall_64+0x33/0x40 [ 2752.903586] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2752.904228] RIP: 0033:0x7fc61b82a8d7 [ 2752.904689] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2752.906992] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2752.907941] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2752.908819] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2752.909707] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2752.910586] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2752.911508] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 10:22:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:22:20 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) clock_getres(0x6, &(0x7f0000000040)) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2752.970953] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.971635] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.972534] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2752.974085] FAT-fs (loop6): Filesystem has been set read-only [ 2752.978661] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2752.979425] FAT-fs (loop4): Filesystem has been set read-only [ 2752.984477] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2752.993294] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2752.999902] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2753.000988] FAT-fs (loop0): Filesystem has been set read-only [ 2753.022068] FAT-fs (loop3): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 2753.036067] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2753.038382] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2753.039389] FAT-fs (loop4): Filesystem has been set read-only [ 2753.052018] FAT-fs (loop3): Directory bread(block 64) failed [ 2753.058956] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2753.060722] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2753.061636] FAT-fs (loop0): Filesystem has been set read-only [ 2753.067079] FAT-fs (loop3): Directory bread(block 65) failed [ 2753.068020] FAT-fs (loop3): Directory bread(block 66) failed [ 2753.074564] FAT-fs (loop3): Directory bread(block 67) failed [ 2753.075408] FAT-fs (loop3): Directory bread(block 68) failed [ 2753.080706] FAT-fs (loop3): Directory bread(block 69) failed [ 2753.081469] FAT-fs (loop3): Directory bread(block 70) failed [ 2753.083573] FAT-fs (loop3): Directory bread(block 71) failed [ 2753.084379] FAT-fs (loop3): Directory bread(block 72) failed [ 2753.086195] FAT-fs (loop3): Directory bread(block 73) failed [ 2769.165181] FAT-fs (loop5): bogus number of FAT sectors [ 2769.165942] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2769.167105] FAT-fs (loop5): Can't find a valid FAT filesystem 10:22:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000", 0x23}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:22:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa525261", 0x23, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:22:36 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0xff, 0x0, 0x5ff10172, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_config_ext={0x1, 0x5}, 0x0, 0x0, 0x0, 0x1, 0x4000004, 0x858e, 0x8000, 0x0, 0x8}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x2) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) perf_event_open(&(0x7f0000000100)={0x4, 0x80, 0x5, 0xd4, 0xf9, 0x0, 0x0, 0x4, 0x80400, 0xa, 0x0, 0x1, 0x0, 0x1, 0x1, 0x1, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x1, 0x1, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x1, 0x1, 0x1, 0x0, 0x6, 0x4, @perf_bp={&(0x7f0000000040), 0xa}, 0x0, 0xffffffffffffffff, 0x3ff, 0x9, 0x4, 0x9, 0x5000, 0x0, 0x4, 0x0, 0x3}, 0x0, 0xc, r1, 0x0) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) fchmod(r5, 0x82) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) 10:22:36 executing program 6: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x5000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:36 executing program 2: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x1000000000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:36 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 53) 10:22:36 executing program 0: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x3000000, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) 10:22:36 executing program 4: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x9, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f80000200040000300000000000000010000000000000002", 0x2d}, {&(0x7f0000000080)="f8ffff0fffffff0ff8", 0x9, 0x4000}], 0x0, &(0x7f0000000140)) [ 2769.193285] FAT-fs (loop3): Invalid FSINFO signature: 0x00615252, 0x00000000 (sector = 1) [ 2769.230213] FAULT_INJECTION: forcing a failure. [ 2769.230213] name failslab, interval 1, probability 0, space 0, times 0 [ 2769.231759] CPU: 1 PID: 14234 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2769.232611] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2769.233621] Call Trace: [ 2769.233957] dump_stack+0x107/0x167 [ 2769.234414] should_fail.cold+0x5/0xa [ 2769.234935] ? create_object.isra.0+0x3a/0xa20 [ 2769.235528] should_failslab+0x5/0x20 [ 2769.236011] kmem_cache_alloc+0x5b/0x360 [ 2769.236517] ? find_held_lock+0x2c/0x110 [ 2769.237028] create_object.isra.0+0x3a/0xa20 [ 2769.237573] ? __kasan_kmalloc.constprop.0+0xc9/0xd0 [ 2769.238209] kmem_cache_alloc+0x159/0x360 [ 2769.238733] skb_clone+0x14f/0x3d0 [ 2769.239543] netlink_broadcast_filtered+0xa08/0xdc0 [ 2769.240233] netlink_broadcast+0x35/0x50 [ 2769.240746] kobject_uevent_env+0x93d/0xf90 [ 2769.241328] loop_configure+0x116c/0x1480 [ 2769.241860] lo_ioctl+0xa72/0x1760 [ 2769.242355] ? avc_has_extended_perms+0x7f1/0xec0 [ 2769.242993] ? loop_set_status_old+0x250/0x250 [ 2769.243561] ? avc_ss_reset+0x180/0x180 [ 2769.244064] ? find_held_lock+0x2c/0x110 [ 2769.244577] ? __lock_acquire+0xbb1/0x5b00 [ 2769.245144] ? selinux_inode_getsecctx+0x90/0x90 [ 2769.245728] ? generic_block_fiemap+0x60/0x60 [ 2769.246292] ? loop_set_status_old+0x250/0x250 [ 2769.246861] blkdev_ioctl+0x291/0x710 [ 2769.247369] ? blkdev_common_ioctl+0x1870/0x1870 [ 2769.247950] ? selinux_file_ioctl+0xb1/0x260 [ 2769.248500] block_ioctl+0xf9/0x140 [ 2769.248953] ? blkdev_read_iter+0x1c0/0x1c0 [ 2769.249489] __x64_sys_ioctl+0x19a/0x210 [ 2769.249998] do_syscall_64+0x33/0x40 [ 2769.250466] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2769.255141] RIP: 0033:0x7fc61b82a8d7 [ 2769.255633] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2769.257967] RSP: 002b:00007fc618d9ff48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2769.258949] RAX: ffffffffffffffda RBX: 00007fc61b874970 RCX: 00007fc61b82a8d7 [ 2769.259863] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2769.260743] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2769.261675] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2769.262551] R13: 0000000000000004 R14: 0000000020000248 R15: 0000000000000003 [ 2769.268741] FAT-fs (loop3): Directory bread(block 64) failed [ 2769.269547] FAT-fs (loop3): Directory bread(block 65) failed [ 2769.273594] FAT-fs (loop3): Directory bread(block 66) failed [ 2769.279094] FAT-fs (loop3): Directory bread(block 67) failed [ 2769.280334] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2769.284832] FAT-fs (loop3): Directory bread(block 68) failed [ 2769.285687] FAT-fs (loop3): Directory bread(block 69) failed [ 2769.287759] FAT-fs (loop3): Directory bread(block 70) failed [ 2769.290509] FAT-fs (loop3): Directory bread(block 71) failed [ 2769.291515] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2769.292839] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2769.293896] FAT-fs (loop6): Filesystem has been set read-only [ 2769.295761] FAT-fs (loop3): Directory bread(block 72) failed [ 2769.297824] FAT-fs (loop3): Directory bread(block 73) failed 10:22:36 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x400000, 0x18e) r1 = perf_event_open(&(0x7f0000000100)={0x3, 0x80, 0x0, 0x8, 0x0, 0x0, 0x0, 0x1, 0x4402e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, @perf_bp={&(0x7f0000000340)}, 0x0, 0x6, 0x0, 0x0, 0x8, 0x0, 0xfffd, 0x0, 0x3f, 0x0, 0xffffffffffffffff}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x3) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) eventfd(0x1ff) r3 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r3, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, 0xffffffffffffffff) ppoll(&(0x7f0000000380)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {0xffffffffffffffff, 0x128}, {r1}, {r2}, {r3, 0x400}, {0xffffffffffffffff, 0x8204}, {0xffffffffffffffff, 0x27c0}], 0xa, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r4 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r5, 0x6, 0x9, &(0x7f0000000180)=0x7e, 0x4) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) ioctl$F2FS_IOC_START_VOLATILE_WRITE(r6, 0xf503, 0x0) bind$inet6(0xffffffffffffffff, &(0x7f0000000040)={0xa, 0x4e23, 0x0, @initdev={0xfe, 0x88, '\x00', 0x20, 0x0}, 0x8}, 0x1c) connect$inet6(r5, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r5, r4, 0x0, 0x9bbb) [ 2769.312292] FAT-fs (loop1): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) [ 2769.313970] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2769.321673] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2769.322615] FAT-fs (loop0): Filesystem has been set read-only [ 2769.324104] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2769.328527] FAT-fs (loop2): Filesystem has been set read-only [ 2769.341240] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) 10:22:36 executing program 7: r0 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) r1 = perf_event_open(&(0x7f0000001d80)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @perf_bp={&(0x7f0000000340), 0x2}, 0x0, 0x0, 0x0, 0x0, 0x4000004}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r2 = socket$nl_xfrm(0x10, 0x3, 0x6) write$binfmt_elf64(r2, 0x0, 0x48) r3 = eventfd(0x1ff) r4 = openat$procfs(0xffffffffffffff9c, &(0x7f0000000080)='/proc/consoles\x00', 0x0, 0x0) preadv(0xffffffffffffffff, &(0x7f0000001f40)=[{0x0}], 0x1, 0x0, 0x0) connect$inet(r4, &(0x7f0000000280)={0x2, 0x4e22, @empty}, 0x10) clock_gettime(0x0, &(0x7f0000000200)) ioctl$sock_inet_SIOCSIFADDR(0xffffffffffffffff, 0x8916, &(0x7f0000000040)={'bridge0\x00', {0x2, 0x0, @empty}}) ioctl$PERF_EVENT_IOC_SET_OUTPUT(0xffffffffffffffff, 0x2405, r4) ppoll(&(0x7f00000001c0)=[{r0, 0xc424}, {0xffffffffffffffff, 0x9530}, {}, {0xffffffffffffffff, 0x18}, {r3, 0x100}, {r1}, {r2}, {r4, 0x400}], 0x8, &(0x7f0000000240), &(0x7f0000000280)={[0x4]}, 0x8) preadv2(0xffffffffffffffff, 0x0, 0x0, 0x2, 0x40, 0x4) r5 = openat(0xffffffffffffff9c, &(0x7f0000000080)='/proc/self/exe\x00', 0x0, 0x0) r6 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_int(r6, 0x6, 0xa, &(0x7f0000000180)=0x2, 0x4) bind$inet6(0xffffffffffffffff, &(0x7f0000000100)={0xa, 0x4e22, 0xffffffff, @empty, 0x9}, 0x1c) bind$inet6(r6, &(0x7f00000000c0)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) connect$inet6(r6, &(0x7f0000000000)={0xa, 0x4e20, 0x0, @loopback}, 0x1c) sendfile(r6, r5, 0x0, 0x9bbb) [ 2769.360335] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2769.361451] FAT-fs (loop4): Filesystem has been set read-only 10:22:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f800002000400003000000000000", 0x23}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) 10:22:36 executing program 1: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001", 0x25}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24, 0x1e0}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)) (fail_nth: 54) 10:22:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000000), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000200)=[{&(0x7f0000010000)="eb58906d6b66732e66617400028020000400000004f8000020004000030000000000000001000000000000000200000001000600000000000000000000000000800029293ac6f153595a4b414c4c4552202046415433322020200e1fbe777cac22c0740b56b40ebb0700cd105eebf032", 0x70}, {&(0x7f0000010100)="00000000000000000000000000000000000000000000000000000000000055aa52526141", 0x24}, {&(0x7f0000000080)="f8ffff0fffffff0ff8ffff0f", 0xc, 0x4000}], 0x0, &(0x7f0000000140)={[{@fat=@dos1xfloppy}, {@numtail}, {@shortname_win95}, {@fat=@discard}]}) [ 2769.439805] FAT-fs (loop6): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2769.441011] FAT-fs (loop0): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2769.448810] FAT-fs (loop5): bogus number of FAT sectors [ 2769.449614] FAT-fs (loop5): This doesn't look like a DOS 1.x volume; DOS 2.x BPB is non-zero [ 2769.450766] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2769.454906] FAT-fs (loop6): error, invalid access to FAT (entry 0x000000f8) [ 2769.455906] FAT-fs (loop6): Filesystem has been set read-only [ 2769.456832] FAT-fs (loop0): error, invalid access to FAT (entry 0x000000f8) [ 2769.457899] FAT-fs (loop0): Filesystem has been set read-only [ 2769.468279] FAT-fs (loop4): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2769.472633] FAT-fs (loop4): error, invalid access to FAT (entry 0x000000f8) [ 2769.473629] FAT-fs (loop4): Filesystem has been set read-only [ 2769.481653] FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) [ 2769.483255] FAT-fs (loop2): error, invalid access to FAT (entry 0x000000f8) [ 2769.484286] FAT-fs (loop2): Filesystem has been set read-only [ 2769.488663] FAULT_INJECTION: forcing a failure. [ 2769.488663] name failslab, interval 1, probability 0, space 0, times 0 [ 2769.490145] CPU: 1 PID: 14261 Comm: syz-executor.1 Not tainted 5.10.168 #1 [ 2769.491012] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2769.492036] Call Trace: [ 2769.492372] dump_stack+0x107/0x167 [ 2769.492829] should_fail.cold+0x5/0xa [ 2769.493305] ? getname_flags.part.0+0x50/0x4f0 [ 2769.493875] should_failslab+0x5/0x20 [ 2769.494356] kmem_cache_alloc+0x5b/0x360 [ 2769.494865] getname_flags.part.0+0x50/0x4f0 [ 2769.495398] getname_flags+0x9a/0xe0 [ 2769.495853] do_mkdirat+0x8d/0x2a0 [ 2769.496269] ? user_path_create+0xf0/0xf0 [ 2769.496771] ? lockdep_hardirqs_on_prepare+0x277/0x3e0 [ 2769.497394] ? syscall_enter_from_user_mode+0x1d/0x50 [ 2769.498030] do_syscall_64+0x33/0x40 [ 2769.498503] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 2769.499166] RIP: 0033:0x7fc61b829c27 [ 2769.499634] Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2769.501893] RSP: 002b:00007fc618d9ffa8 EFLAGS: 00000213 ORIG_RAX: 0000000000000053 [ 2769.502837] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fc61b829c27 [ 2769.503740] RDX: 0000000000000004 RSI: 00000000000001ff RDI: 0000000020000100 [ 2769.504619] RBP: 00007fc618da0040 R08: 0000000000000000 R09: ffffffffffffffff [ 2769.505505] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000020000000 [ 2769.506384] R13: 0000000020000100 R14: 00007fc618da0000 R15: 0000000020000140 BUG: leak checking failed VM DIAGNOSIS: 10:22:37 Registers: info registers vcpu 0 RAX=ffffed1001095000 RBX=dffffc0000000000 RCX=ffff8880084b7610 RDX=0000000000000200 RSI=0000000000000cc0 RDI=ffff88800f046000 RBP=0000000000000001 RSP=ffff8880084b74a8 R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000001 R11=0000000000000001 R12=0000000000000287 R13=0000000000000001 R14=ffff88800f046000 R15=0000000000000cc0 RIP=ffffffff816de049 RFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 00007f487e973900 00000000 00000000 GS =0000 ffff88806ce00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=000055a8efecb138 CR3=0000000008876000 CR4=00350ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=7379732f646d65747379732f6e75722f XMM02=00000000ff0000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM05=00000000000000000000000000000000 XMM06=00000000000000000000000500000007 XMM07=00000000000000000000000000000000 XMM08=65646362613938373635343332313040 XMM09=00000000000000000000000000000000 XMM10=00000000000000000000202000200000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000 info registers vcpu 1 RAX=0446a518580e5549 RBX=0446a518580e5549 RCX=0000000000006c14 RDX=ffffffff86125740 RSI=0000000000000008 RDI=ffffffff86125758 RBP=ffffffff867836e0 RSP=ffff88801916fb70 R8 =0000000000000000 R9 =ffffffff867996e7 R10=fffffbfff0cf32dc R11=0000000000000001 R12=ffff888008e80000 R13=ffff888008e808b8 R14=dffffc0000000000 R15=0000000000000001 RIP=ffffffff8126a442 RFL=00000046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 00000000 00000000 FS =0000 00007f313b9b28c0 00000000 00000000 GS =0000 ffff88806cf00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe000004a000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000048000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=000055a8efecb138 CR3=000000000c750000 CR4=00350ee0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 XMM00=00000000000000000000000000000000 XMM01=ffffffffffffff00ffffff0000000000 XMM02=7269762f736563697665642f7379732f XMM03=622f6c6175747269762f736563697665 XMM04=2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f XMM05=000055a8efecfe20000055a8efecfea0 XMM06=00000000000000000000000300000004 XMM07=00000000000000000000000000000000 XMM08=2f63697361622f6372732f2e2e000d0a XMM09=00000000000000000000000000000000 XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000