00100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:29:20 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = syz_open_dev$vcsn(&(0x7f0000000040), 0x7, 0xc20c0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) write$bt_hci(r1, &(0x7f0000000080)={0x1, @read_clock_offset={{0x41f, 0x2}, {0xc9}}}, 0x6) lseek(r0, 0x0, 0x3) 22:29:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:29:20 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x5000000, 0x0) [ 1760.934707] loop4: detected capacity change from 0 to 40 22:29:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xd000000, 0x0) 22:29:20 executing program 7: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$AUTOFS_DEV_IOCTL_TIMEOUT(0xffffffffffffffff, 0xc018937a, &(0x7f0000000940)=ANY=[@ANYBLOB="010000000100000018000000f00eb589a4743735f9ba8b5b874c20c70b154de3f72f9154f6e48cbaeca6ced86a6bf45f690649839dcc7ed9b7c4a436fe450cdecf8d518c7881fe43dc1752eb42e61c76f92fe2c80a3a52f4f85d5d11caa89be02021acab2dc5f59edb8ae7ca3a222bdb9f54644816cdc4e36eb425def64c3c468c8ccdd9d0e71caae1197d26d0df9b0af0bfccad068a0eda510eda81c8f4abdfd2be030f9cb3b37b8aabb526112f6df9b6d0807948fa397e21ac0897dfc4cb849370144ecbbe5f12c5061f60", @ANYRES32=r0, @ANYBLOB="06000000000000002e2f66696c653100"]) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) connect$unix(r2, &(0x7f00000008c0)=@abs={0x1, 0x0, 0x4e21}, 0x6e) write(r1, &(0x7f0000000180)="3ddbc87bb7f65eeb7edebc1f48d0b45e6c9c11c0e7f015380d795eb7f4204840cb7252ef66f676b1f7f6187dd55be5bf761dd3d7176c0047b32faf2117831689e9a50a1c91dcf47cbcf56ee0f3e8fdca4ed97e5a717ce9e1f0a4f7f852a6a02dbcce2223360124b823bd6d93924bceaed1ee7998a242af57aba78570a97b94c7547812c2ce0314c660a5a6a5fb86c1f2134ff14c7119633de182695f377668e970f013c504c523fcb7145e31bf5b1008e35c659a41eb0cae51eca59d32d75d6f311d7446a7437223fd3bd6de907c8641a2cd611a396d1d2483365bdb8c7716e5", 0xe0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r3 = syz_mount_image$nfs4(&(0x7f0000000280), &(0x7f00000002c0)='./file1\x00', 0x5, 0x6, &(0x7f0000000700)=[{&(0x7f0000000380)="081b2e5fdbc24f17053f7b28d6b78b69ebf00893035514b04ea4f84b758801fa56b97acc17c6582113b8ad1d1dbafa477aa0330686bacac6a8859f80e4cc9595eea54d1f229e3bbef654e9d8aff59602aa4914cca9f4f7b34d11e80075ff67a18651a6abb288c1108535d1a56328752bad777c30c9e6bdde48948fa1b924b3e287e67685700620c49c4a97eee9d8adea66a4ba", 0x93, 0xffffffff}, {&(0x7f0000000440)="46bd5619d6ceba7d353d98d50c6c04bb1b6e33cca52ec70423f3659500035b1ec57799e791ecdacc4dc2ee90112fe3d8134183d4cabacb1c499730cef6c87ba2435a84a7022bb3bc89374f68eeb2969b88c7afb2db60b0429b90e62a5dc7d779d6f614ff4768941d0baa8f95c0e665f6dce520febccc7e3e7899f36d759263872d2d2c7a747428e34fbe5325c3b63c24ec6cf97de96756dc2d226cdba7a168479d714924868b4a6855613f5a697e3062b0dec44149fed54f4349ffc716228edfa47179f4d65801ffbe22fcd403a7a4c839c9021a7ad15e690d45f68298b056e2cbfad165fb1d26cac56a24787122658c820402d2", 0xf4, 0x3}, {&(0x7f0000000300)="5651c8a4cbd1ea34f6685f15ef39a2e8bf9ae81a06e912fff897561685e5c8b0bcf9c69bea2f", 0x26, 0x9}, {&(0x7f0000000540)="b86c4ac841a3a9d8e2c1918f460286cfd81d611d11cca9c74c75a1bf6a7a37b3c9ebd7b4100d0b8d4942b9710e16986f0b9b8e52699cf0983793ba4e2ccd9c193e07eccf76ddb7e075c92043fd1b8b0a4258795c120b5ddff355d4b8be0fdcf1390fb0308da9b3bfa95ae62a69985c561049ce083980f39342de68fbb50acda47dac3b81872c8b20297a", 0x8a, 0x7}, {&(0x7f0000000600), 0x0, 0xfff}, {&(0x7f0000000640)="71cc5c775eb11292600407924a659630db65e5dfec0454d2d34b78fbf31a503bc359d3f49e752f6566093a46cd739dc5424c052f23ad858f30cdfd11a249591799f077ea302cd34f081daa3aa054c068eddf3f7c2cbee4315535d082e8900550b3854a3d01c80ea7d835f2ca6cfe12a48a9ae59f502470764a925cd14562fc95a31876bd88f6d5f8e1fe68a9ba93a0fa", 0x90, 0x401}], 0x4, &(0x7f00000007c0)=ANY=[@ANYBLOB='-},:{,7,-){-,[,.%-!],permit_directio,\x00']) openat2(r3, &(0x7f0000000800)='./file1\x00', &(0x7f0000000840)={0x10080, 0x1, 0x28}, 0x18) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r5 = socket$nl_route(0x10, 0x3, 0x0) accept4(r5, 0x0, &(0x7f0000000ac0), 0x80800) ioctl$F2FS_IOC_MOVE_RANGE(r4, 0xc020f509, &(0x7f0000000600)={r1, 0xfd0, 0x3, 0xfff}) mknodat$loop(r6, &(0x7f0000000880)='./file1\x00', 0x2000, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r4, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r4, &(0x7f0000000040)=[{&(0x7f0000000a40)="76f16fc5054f13234fe81ef8de839f23e6964b89995dd4223f979fafe21da0134f5083efabc8cfc4dca38a71b43eee63dfe13f1d9f09c0ce832c5cb8fdf8dee378f4741fb3d0f45f477c286ada37125fe5fa9ca6fbab3b08ce34052365d37de20108e2967510dc", 0x67}], 0x1, 0x0, 0x7) openat(r4, &(0x7f0000000080)='./file1\x00', 0x4000, 0x28) lseek(r0, 0x0, 0x3) 22:29:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x4800000000000000, 0x700000000}) 22:29:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x500, 0x0) [ 1760.949641] loop3: detected capacity change from 0 to 40 [ 1760.951986] loop6: detected capacity change from 0 to 40 [ 1760.986807] loop5: detected capacity change from 0 to 40 22:29:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff, 0x0) [ 1761.311218] FAT-fs (loop5): Unrecognized mount option "P" or missing value [ 1761.316039] loop0: detected capacity change from 0 to 40 [ 1761.317167] loop7: detected capacity change from 0 to 264192 [ 1761.317880] nfs4: Unknown parameter '-}' [ 1761.324121] loop5: detected capacity change from 0 to 40 [ 1761.331530] loop1: detected capacity change from 0 to 40 22:29:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x600, 0x0) 22:29:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x4c00000000000000, 0x700000000}) 22:29:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1761.465265] kworker/u4:11: attempt to access beyond end of device [ 1761.465265] loop4: rw=1, sector=2100, nr_sectors = 2008 limit=40 [ 1761.467804] kworker/u4:11: attempt to access beyond end of device [ 1761.467804] loop4: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1761.468658] Buffer I/O error on dev loop4, logical block 1027, lost async page write [ 1761.476481] loop6: detected capacity change from 0 to 40 22:29:20 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = syz_open_dev$vcsn(&(0x7f0000000040), 0x7, 0xc20c0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) write$bt_hci(r1, &(0x7f0000000080)={0x1, @read_clock_offset={{0x41f, 0x2}, {0xc9}}}, 0x6) lseek(r0, 0x0, 0x3) 22:29:20 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1761.582550] loop7: detected capacity change from 0 to 264192 [ 1761.583790] nfs4: Unknown parameter '-}' [ 1761.753975] loop6: detected capacity change from 0 to 40 [ 1761.762293] loop5: detected capacity change from 0 to 40 [ 1761.800320] loop3: detected capacity change from 0 to 40 22:29:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x10000000, 0x0) [ 1761.818227] kworker/u4:1: attempt to access beyond end of device [ 1761.818227] loop0: rw=1, sector=3420, nr_sectors = 688 limit=40 [ 1761.820430] kworker/u4:1: attempt to access beyond end of device [ 1761.820430] loop0: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1761.821938] Buffer I/O error on dev loop0, logical block 1027, lost async page write 22:29:21 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x6000000, 0x0) [ 1761.873583] loop1: detected capacity change from 0 to 40 [ 1761.874836] loop4: detected capacity change from 0 to 40 22:29:21 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x900, 0x0) 22:29:21 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x6800000000000000, 0x700000000}) 22:29:21 executing program 7: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r0, 0x0, 0x3) r1 = syz_mount_image$ext4(&(0x7f0000000040)='ext4\x00', &(0x7f0000000080)='./file1\x00', 0x3, 0x8, &(0x7f0000001640)=[{&(0x7f0000000180)="b04f05914b5b9bc9ddee69ee4d1e", 0xe}, {&(0x7f00000001c0)="4ea154e853680ff01404282b5f4ed250734ca7dc03472c0e263624269fcb539d6d0f2e65fec525d19b87a28ee3cd894fbe7ed1f183647f8cea966687ab8f2f4f880863a025053b672ff221b368e4560a65af75e35962ffe95007b89b89ef8260cfcff21da5ca66710e094005584612f9a36a406bc3b07bb3d456bd613ac8446eb7de50813777e1bbcc762cffde468e9e0ef8f6d08dea3d955b908fc96753856bf54e93a633a9d731a41ef5d75979d091b327d5115c269bea75ab527c4487a886683905529592f47b", 0xc8, 0xee}, {&(0x7f00000002c0)="018d0651d01f36a79889ada826364c371d2e7b83ffec3616f797871f1317db1b7b0343f745c045a127baeac7a1f1d4327711c30cd032f9887158773325d71b71ea82740900143cb609a304b646190d739e284631689042dbeb1992dbc5aa4ae9aa", 0x61, 0x2}, {&(0x7f0000000340)="b83184a761f3592f5a89c2b150118516f870b7958610f84433dc355e2b14d81be36eac5e1d0b673ad2a92bb3d9db47e38a85d948928662259b53868eba5bd1405cd4fe656a0b18190326f3e9166fa736c96406edc081773b43ff8ed18592ab962a069476cfb553a35d0b192075093673de2fb3b0fd9e0e055323b5e6ca488614c1bf0927a9fcc03c7cf79aee00b10d9eb499b65b25c7c52671f9d4d5c2efac793a50f02f1b9fada232f5ec4dcef98911deaae893a3c2dd48e2", 0xb9, 0x1}, {&(0x7f0000000400)="ea747a8927f5ad502b575e8dcf2eb7dcd96b5e545cfb7450e0986b818f5819aab84c623e16718cc57f0cc23f4ac3200b770bfa61991241db851cdeafc9b209ffab458973b89a186f5d1549eebfedc76cc768808939ac4ff4f837772ba09d2fe896ce387de64f5f9a981c309e6e1c28dc440fcdfb316e7fb4e1afac73e0e7027e07b025a59b2ff4725401524bb48bf658e3ebb8cceebaca96eaf5aa", 0x9b, 0x1}, {&(0x7f00000004c0)="0f951d100a809ee324940cecc19eb8dd6f78ccd91b031940657c205e5a3d2c7ab9a2335d6edef770c9804c3c579054c7185039a39f2a7de7bb4a69b385635b15d37ea0947fa376f3314bb77dbb22a5392f36bebaada6980383d78b63551aa1a8113c180fb82cdb898bdf22eaaa2d91c2cef359b8a9d5263db38429baa3622f55b0e5fde263ad56322dfe750a9a8cb76f748dcd05d28d53865e925e806ab99424b32098e6495f09019fdd9bffc8009732649c8a93b59373a00d8eae048fee26b22f227a0edfc705bb44485e9a26a0400e025d5502c04a1c0d2531b2abd2327f48c513143ee11ddc28e0150322c3ed989a8cea50e5199ec80ff31feaa945ae8a679319c047e9241faca7fa68eeba52ae54e696a616543e5cd44250a8e407a50d643b8c843414edac44f43e586842e4c306c24b28968309327eff83db1e7cb364532c825b51bca35170d1d2ba11ea4ec8610394ff18d0c2a305c4b6de6214e5293aaffeec115e0bb1b123f8e1c1d7344a54580fdb27140b4f91705628a9ff6bed9be978f019f525cdc02bb435365858fbe5b1d5adc208d4a72a08f0ed2284d4dca79e902c7aa7048340d32d8ce89249647db756e3752e2bb7404c58e2aa9bb37411bb8c9238e4e1ebd12edcbc66e0685a84078c1def5ebf5f713dd3a07744deeda34d19cfe1c84057de4d70f4d3b74a3d79a95e26551a6739bad7aac70c226e33210e4485685476b411feb20cb1160d160bf0ccc50f3ce15b97d8489898d75021e7d2cce506b1ed5a8d73b06cd0c04bb4da606cfa03e8f59c58b7d4265ae64995e8ac5e7b1c08d70a84c9b30fd2775f9f1c1f1a3d25e8a698fcc83a75134e869ed8f721a50a986fa6c799d0a2a001ccc399b37cd70714774b172e43563bff04ae04f68c6d49050b7c1812bd927f39543305eb221b8f44730c880b9467bb9ab46ecf64526a2c667fc8d876bf6da9452a0e0bdd5c4ada203f0806175f90e20233f176bacf659ca10ab443206e428dd82c75420514443b0e0a1e9f55589760c810be0a6a046e809cb5f18d70b2de3b03fb4d61301a1ea16f1bc6b571abf05f8d4c6ef09a42446fb42469d99772a9900cb9a197bd98d83bfcc817c19fadb69c9f3dc0452d6bdaa4d6429d9fdf36e2be39175e234428cfa650cdfb80be265c3f023f9379ee74abdc21c41e7d6dbbf7ea487ee421d3fc4494bbd0e6fda4b35d548001c63236df622649085340f630292f66fddb856e9d37fa48f444e81841b5aa450e31fe2537b0ebf4c0bc405686ab9920c20a714f1e22f053378a7c9beddb0e339ea75f884774d73395e3de5ac5a5510962167164646a3aef09848d8e5422818f6f64be0ac96ea8e5d2f12bfef82068174c874a8595f779a7f19b2499481742f8c5c75ebbf52d3a60dbcb49538b8ef0b9c4f570e017c7775544e0fa7d5ed46210e0a2ebf15d95c6a6f25c9ae2fe9483a8f1c926477db7739b6c64b5317a1d454381cb5d2350d1bc1ce899459e5c139704fac2c7d14b5a396436b4da7280ae269c26bbab3c130997e6a7ac48f0b2f9138940b83dd814cac5435a7ef52735c719597ba0f2665864990b6fe1e4afb1657461970db7fffcef9e08a5a02c888ec9007f87e4ad5254a3e8e8a282b799841275f5fae9916b1f3b98e1911973157ce092e3b5abb6cfcb3b2ac75dbc532faabf526ed3bbc77ac56c5d7ecc91ab18d0d9f4d8a83a0d930a6e02aa95d11d5d31f4244e5208173ae2d0831f31ea206f5534206cc6507dd6f2dffc852409ade22bc851962ccab381d68472ad6d64d6debb4629a427945ac24a442ef61d1c57baeb071a8c1eec7f483c38b606aef973f973e196b69a6783f6ac19597d50af84247407f571b8c4d071688bdfc73b87ee9d35bcdba8c3042ccc40cbf7ef55c4248d50bbb222e988ebc65bb579b3ad5d1ef4e112875ff830537f1c847ee9ac341668d0c6d4d3fa135d8b3e93616122308192664d05b121dd3b23daa1c6e0a5447f636a4d0218deab29d521faf4b6e32240ddf5c415b48973d80516fc5c5cff0e872f0c672810c7d77fb21360f7fbad5a61078dff40543505f1a6dcecb666d10c88dc42ff3ff2b32ea9abca05b6f7ee7de95f12db3a327f512d4feacec544db7240a61bee54e37637a09cf8e2323410a0a59bbd3afcef3e8b52faf6aeb807914cbe9c840c508cbb99f8bf2c8533387baaabacdc6c9789f1dcf649b7e41d89f8daf86c1adbf8e33de4ec19ed26c14a187549cc3bb600ba39167fc59fa3ecbb9385da7a2c25769f9e33e44493b8213bd050418262b3cb92c4d57a495b215c6c0f473f1d8864bb78291f77d037901feb4d626590861609559e5736ad5cfbb049fa68cedda5fe52ff73e9af867d1305fc947fb7001191e929d38ae73ddfb9e19b632c12f3d7094e556dc74cecd0dc3fb7dbf535bdf625c0a4b1ba3dd717ac6b66dd920a126c0160d761ec04ed967bf45b06fe9517a5427fc6d66180fd4fb3ed5979a5176e7188d1341c11bd4d8a83af565e4f87bc87aed10a8f2d076cd823a98ff063d0505a0fa8cfaa06051767532c84993d658e7579e5f9c7c92c032d2f2fc8099808dda100baea910817d9193b044f73184a4da13a47be34bbbadff9eaace654c65775958d4d2c84ed98564a11505a1f6a6395c055ca9d34f8f52f88c1af3f58270a2c8a7c3fea7f441eb68112280a658341b3fe1f1a55e0ad1624ea910d6f9bd186da987b88c21a6fc99f393cc3ebd0e905049a80a61503a0b5f05274035bc0b90c08bbc3b3d3b1bf5043f2586c8ff88220f3055e684686c04669714ec5ecebf15e0683caf8bab70f457c6b780e8e975f24715f71b282b59c10de8e5c5b99a08661ff64a75b5d72ff37a1f8436ad17bba830c32873d5ba8f417d449e7dfaf65e67f9324b0bf99e10edf1acccf1f57ea516a5d4f9b64ddd49cade1031dbafe912219a78eb46b99277075f708e4261e46f3f71bb9db333a3cbe5802a7df7fe0c2b3be663cf51ebef5d558b3c12b1ebc87fa6214b0927c8cb8d6e78e040219e1a6de06e8a211e286362cb721b4bbfa2aea03d3e799220531c7768dd69b9f9b20e55df05b8ef6035839cdc7044bacdc26e4e59ec2919936c1d99a34694225f75770ab63312a10204448e8e449a873b0d3ab023b6ebb875677a92c08ab654ec47cd6389fa858c0d79266fe917ef9903a124f5182e51c8c209712eebca2781bc208f6663dc96fb170266b64238df29358f019588672904dd12fe75a3c175adadfcdfd8ead5b1680dcab22f4e1e7b0899fbaa59aa375b9e45470531fe5f7c73836fceaf464d75eb073c5cad989435cf879c1fc2639bfea0d7b41faa76ec4aaf63da0c35d6269a48a104f4cfa0ce3855735dd30497046140effadebfd4131d76bbb0f20574bbc2458612792bdee4ee23087b31f0b6d7c62870aa94f6330e551e48303c2f3e174e8540c963adf4fa711a0ef0e382faa9196d6b53714f4acc0eef89231ec3b5a344fdfc6bbaf71f07f7b937f16c1d4412487f4ae543d3d176d0b57b208fbb62ec6ebfb72d5bcc8e389bd8d592aff18ec9dc87315b73f7c227c0f0600d6e4d52b1a60a44f3b07db8df6de3c0693f2fc6ad74a16c674c620557502f6ee19a926604235442182ee379d2f6fc769d8501d82b2b97fc7636b695e523676768bac04a12640b19f0b7f999c506fd6c6ce5b0e66c44811322862dab7179fb8911a475d269d67456aed413149660815c7b95a476a95f0e1e6b84363ce56ca65069ac4afdd94f6d3a7e0bbcb180e00f6c3a6618bb59b58883636c33f9ff26c9c2e18d539b2fb30cd203119c45a38c97802caf7ba0e9a501c8e495592e1f6869181b1c2f795e786b494ab0d6ca76eec0db5192b4e500ac6cc6b7e9296fff482947426f4c8bde435697be581f45fcc2805829d0cce9dc7e8f02c3a4b4a9e7f2959ad3e87ef737a94cbcb4f8406806e28eb2ce5bb8398bdb4976628d53c45d01cd693773f552e95e86b5b0f5caa69fde8b2c99a1be5951bca8cbccaaef7e3027e34433f10efc6da7390112e61fde757e37189c5dc2ee9bdb36149b1f93c3b146c32debd3498d8d576b9379d8d8568aaabf7a9ab72ced0b7eb387452477e48a340e7e3c44708a28016cd8c08ad254b7fdf6a20ac35672596784a43fa00a0c2e04637f3ad9bc562144bcb4e010f4c82fceae55d2b3f0ef89d08ac0f1bd98889042e0718c6275a23b325606bdb436175664dbc6eb2fb323da9f586617fa84e9d7fd9a71cd671760b746327f3fe3b80e5e2250948943161441f6b3f12ca48b1dab0b1ac084490ed43851bf58666199af1af1f1868e66e32800a514903e04430c66e67ba1c192015b7e89c7a521599c6bbc0639bed554c8079b58997c0984c741874559bbbc5504aac80173c6178939280a190d75e4257fd8d8e4d894751aa8479f75de3476d9b08484a62029c508d86321a5073c5d0b99f7023ec3d2dfebee2fb6ba09a1153d1d31106fb0cbb638ae5adb86ba9bf33e2c9bb5cffde30f8720b7782f656f5ccb1d68d65481755c2949cf132b60d054fbb018aab257ef4b1dbc76422b57c00a58965ac60e2739a514d22ee9119f6c0730e91ef13940b18af3e12b740cc54573362d8c7337c9c671c4bc05d9e759c4d7e61261264fd9a5eb73ddb73517e54221ecde45d75ed8c712c8fa2eaa328b47600ff9f8793a1aa3edcf9fa907840a1c92add031907bee5f4104cec9eb27c1dd4486871207db408f8e4ac99bb3e55d8c1e21d0964af1f047c428dab414079d738c793ed1294704376acc23111aafa3d16e632cb77225a19d8cc572bf3a1e38ac802f034c6fde1c92a728cd2574ef0e4ea0426e734598e474c8aa927e0e41e6a342c3966efdb92b7d76a5a6de82bedaee9d022a8a42eed110c92f559625af37f1cd2fa9a9441c791c94efecfb05d6495ca3ae894d600645d1c81364472101a5e2773735a1d979857c6e1cf96c62f79fdba077bb01105e12014c6d48a9197aaec008c9a876e3f7ec09767bd0da0a3d66849e844c43a5e2f4c9b6d04c0d75d37dc7f622dc5816621fda84ab519a719ab417a9e5a2252acf30d85813d6e61de34af53c45d1bad0e8d20659d5fea6b785a98f345bf74e684a5a8063464917be0479d6cf3446129d0ee32cfc4f4675cf3ed821cc8b4d7732e89f7aa8f47b4e130c263248418b3d5c86b5df91cfc1e9a5a5cffa4e918a81c627734dec4394893baeadd393685a09dbef04fdf99ffc19c367fd92f8476e5e70617f32f6afcdb0f78034cf141cdb037f1b73562b6166f50c03d3aedb7db43e5f64363e256d531ea01d12a6584da58b7c33d925bdb6432af12aa2bb2f946846018a454bb50c77c4f31d938309dd1360d11e3121986d14c0c87eda0b9b26328edb657d3822b03af3f56b0dcb705e9ce6f5fdc23fd773568e28dd9378109c7d92564d9bb4ef56da4abc10f6bb4882f4936e6b80cbdc493f5af2d328ce2b59d244e29abf43cb05dbc89e015a816556bd1d8e31f035f440fd7e3fa346abb39d7a1d6165d605e5f67de0b84a764821c673c6b15d8c7d3a48ad82c22d28c8d018732ba94ae606e46089bd1167730480d5a3925d16a70188b5df486e892acbf5640e94fbcc36c916c444102150eb8a0c3728979574a8ea0f29c0d850ab61933230d45d2920a8f01b9e20911344b063cddeca140c7c06ed66f292c7fdae5bb2e8c6c0eb2460a8a1d04024416cd7dde57eb603660f3d07cbe15beafa83ce0c30952467565fa22f0a40fe034a6ff060973b34df769b448202281fbb40d", 0x1000}, {&(0x7f00000014c0)="ced4bdf9a534bba778fcec01aaf563e471bebba09d1e8c33d324beca733039414f1707ccd2924f258c5a1a33197d3d0b64ccea435cfabdfd605f485f915a19a52f0830bb716304e7351ad6b4cce8ff5807f81405ab14780ff8b6c52202dd3eb9e95e235e491012ebb661d12551ea1c354148b413fece3073142cae6b75078140becb7971a47d1dd8d4ce85ff9f03b869ba3eee923185d3a134ef982b81559ae6b7034ff51ee8a67d3e476dda9e4cd6e20e3eef04acfdd87c646d33f0ef558508", 0xc0, 0x9}, {&(0x7f0000001580)="bce76ab81ef2b32c09cda295e9231cc69f7b96a6ac63ced0473c78e6ffe7baf0ce27ac89d104d6037e661c2f85a7ba7e31f5e43af3c14ef732eead182a77f8b2e5b5dece51fff0f851840c6619d409666bba23279efbf17ac3fd151276f0649bdb65ad5cee674467465233292053a4df5bac79fad3e57ca52ac2bba06c6f5fa9fd54103c00657b2989050c2b2d32a6cce7750f5258bd94c225bce1b363fb18b823d007217aab312775a0a16be123dc06c119e9edb4dbee0f", 0xb8, 0x6}], 0x20000, &(0x7f0000001700)={[{@discard}, {@grpjquota_path={'grpjquota', 0x3d, './file1'}}, {@grpjquota_path={'grpjquota', 0x3d, './file0'}}, {@auto_da_alloc}, {@resgid={'resgid', 0x3d, 0xee01}}], [{@fowner_eq={'fowner', 0x3d, 0xffffffffffffffff}}, {@measure}]}) openat(r1, &(0x7f0000001780)='./file1/file0\x00', 0x140, 0x20) [ 1762.010648] loop3: detected capacity change from 0 to 40 [ 1762.011347] loop6: detected capacity change from 0 to 40 [ 1762.011558] loop5: detected capacity change from 0 to 40 22:29:21 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:29:21 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x6c00000000000000, 0x700000000}) [ 1762.132863] loop0: detected capacity change from 0 to 40 [ 1762.138404] loop7: detected capacity change from 0 to 8 22:29:21 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xa00, 0x0) [ 1762.203306] loop7: detected capacity change from 0 to 8 [ 1762.316231] loop3: detected capacity change from 0 to 40 [ 1762.321903] loop1: detected capacity change from 0 to 40 [ 1762.353545] loop5: detected capacity change from 0 to 40 [ 1762.402926] kworker/u4:1: attempt to access beyond end of device [ 1762.402926] loop4: rw=1, sector=2220, nr_sectors = 1888 limit=40 [ 1762.404909] kworker/u4:1: attempt to access beyond end of device [ 1762.404909] loop4: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1762.405704] Buffer I/O error on dev loop4, logical block 1027, lost async page write [ 1762.531743] kworker/u4:9: attempt to access beyond end of device [ 1762.531743] loop0: rw=1, sector=4100, nr_sectors = 8 limit=40 [ 1762.533580] kworker/u4:9: attempt to access beyond end of device [ 1762.533580] loop0: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1762.535486] Buffer I/O error on dev loop0, logical block 1027, lost async page write 22:29:33 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = syz_open_dev$vcsn(&(0x7f0000000040), 0x7, 0xc20c0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) write$bt_hci(r1, &(0x7f0000000080)={0x1, @read_clock_offset={{0x41f, 0x2}, {0xc9}}}, 0x6) lseek(r0, 0x0, 0x3) 22:29:33 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x8800000, 0x0) 22:29:33 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xd00, 0x0) 22:29:33 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:29:33 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x11000000, 0x0) 22:29:33 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x7400000000000000, 0x700000000}) 22:29:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:29:33 executing program 7: r0 = openat(0xffffffffffffffff, &(0x7f0000000100)='./file1\x00', 0x141142, 0x40) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000180)="d51071ac303e89c38f6541eb77d1adf038faaf1cee9aa12532c09b9afdde6bffaa978e96831dd74e7c3837017f895b27dab6cd91d08caf14441845706641aeb9cc417523cd3033d9855bb3836e8732740edf0adcc2ee6a13b7a1408b52a0fe3cf85dc305d061ee4e45e36111fd4e217933e378815181874c8b488fd294abe573768ca86e3e747201921c331c063119f97338493099ec8259ea1a9d896520da86086254983f3db99c8a1ba9bd062a37cfac87951c4a616aa75c95ebfe56f885a37a641fee1333ac947634713625e5f95bbfda2cd09c2c7b29aed6414712847f8b4dcc914769d80d2a2341ad2a0992b74db4d09c0abd0f4dee7d256f980106be46b86408cbf42a13ff75582e170527fc99310000000000000000", 0x119}], 0x1, 0x0, 0x0) lseek(r0, 0x0, 0x3) r1 = creat(&(0x7f0000000000)='./file1\x00', 0xc3) fcntl$setlease(r1, 0x400, 0x1) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r3 = openat$nvram(0xffffffffffffff9c, &(0x7f0000000540), 0x600, 0x0) ioctl$F2FS_IOC_MOVE_RANGE(r1, 0xc020f509, &(0x7f0000000780)={r1, 0x9, 0x4}) r5 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r5, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r5, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r5, 0x6, 0x13, &(0x7f0000000000), 0x4) r6 = syz_init_net_socket$802154_raw(0x24, 0x3, 0x0) r7 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r7, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r7, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) io_submit(0x0, 0xa, &(0x7f0000000c00)=[&(0x7f00000003c0)={0x0, 0x0, 0x0, 0x6, 0x2, 0xffffffffffffffff, &(0x7f00000002c0)="2d9628bedec7d2d2a66a6b8102897b2299dcb24743eeff1b58a2aca2dbd39404151c174f9e30d12b69f11a6e0b60154257e37f8fafb9597b31bcc866d32e31da9a7c8c3bcf41a049f04180b3719e6ed971c46b97e8ea126668034521a5acf51f93569aacc4c6f648b06b21335bbd08c95b6e2db61acbd91e70249fe208a6572778cd583102b4abc665f42d7dfe82f00e8782eddc483cff84134acfa9f139005b1c8dae7b93fdcafce6c98718415ae2f7f2768c918edf53b5af099da3c35ed94d142fe5c24e37396cfb1a3be55e984f75766cd1206136fde2623afa09cfd8f8dc498d161725ef5e37de8283bf7610c4dba7cfd8e4a3d7", 0xf6, 0x800, 0x0, 0x1}, &(0x7f0000000500)={0x0, 0x0, 0x0, 0x1, 0x1, 0xffffffffffffffff, &(0x7f0000000400)="2629f3f7c45eedafd0b0f4012c2d10932ff6eac2a4ebde49d62711687036e2b8dc453173ceef8dd72fb8f3d67883a741230ff8db4445af4cb10d7348727733b1650c713d078b261de361090bc284689f4ebe12a2568098785b4ab4a21a29450d3abb21693c56a44e0eccebc7829253070eaebb5e49f50d2306fb963293a07bac7565d77c975849cc21b5bbff94274c5e48e76c42d9ec1a2514ba289c001737128e4d7a537846b0d3331f10952b77da37bfeff78249d6ab56fc5906a80c09cdfa9309989c8774c5e7c87cd5a9a6ec445371b2376ce5fa613bfafb16cfcda667d62fd3c71b3dd4ab2be59401024cfab5d6de1d70c7107aa74f", 0xf8, 0xffffffff, 0x0, 0x2, r2}, &(0x7f0000000600)={0x0, 0x0, 0x0, 0x5, 0x3, r3, &(0x7f0000000580)="d6603cdd9bfe56b66aced50f2476885237ea0093628d7e21984499a08aad9654d1ae871dbb12577858167a0ca7977e60db92c1e3cd66a5d3055eb10c8d6958ea4fd4d63b22364e3c44fb3701", 0x4c, 0xd64, 0x0, 0x1, r1}, &(0x7f0000000700)={0x0, 0x0, 0x0, 0x8, 0x2, r1, &(0x7f0000000640)="8c909ff71a9a9ffc4bbf55d16ecbd67e04c8aea9441e380dad0dde63a5894a95339ee0235b2e5679439e2dc9f227c2ac5113735ca9e389c420e9bcbbba02ba0ae29e5a87408de0fd6c16c1c48face90ea3cb008a4cde22f9224e6951aaa1a43a8e1c7929fd123a4e72cf940def42e60e1baab7fb0fbc2d4165c3b6dfab7bb490fc21ea2d4150cc0ee4828f4883e22030e89cb9d4d310c5f5c4fe8941", 0x9c, 0xdf2b, 0x0, 0x0, r1}, &(0x7f0000000040)={0x0, 0x0, 0x0, 0x3, 0x6, r0, &(0x7f0000000740)="ea27d5673eda6f506cd2c0dfc3b5d34dee7dcbf6bb9af2fe376f4855", 0x1c, 0x400, 0x0, 0x3, r4}, &(0x7f0000000880)={0x0, 0x0, 0x0, 0x3, 0x7, r5, &(0x7f0000000800)="460c69bdfb7b7ec75b94009d5b3e3d619de2684c034d4c5aa46286160fc63fc345e5cfb5a0fb6c761c4f534228f72759071d8d44c2a4d1832a803ff6c3704f9cada31bb14e5f272ccf9d59b86f364bb531cfade21538c4215df0ec2ad0", 0x5d, 0xc16, 0x0, 0x6, r1}, &(0x7f00000009c0)={0x0, 0x0, 0x0, 0x3, 0xff9b, r6, &(0x7f00000008c0)="fe508a7de78a09c54b9dd8f91cb6ea0d15f616be70caa1cbbbb3615504d24e70b3379cee7aa38c81dae60f0b41dcade7879e3e93527a47cca9c8211df41eee535090658c1b86d1f5b934021f0ff2537503d1f3650387ff756a612a6f3a7c13ebc2f103dce18f50b0b875d2dce1c7047cc3becb5295aecbbcea2ed3c206763ab7c5e3751edb56966f8fc10ff6dab4c882839681e7158fc40ee1cccd36fb1f7526be890e1be16726c2759fe6c867844bff48ac3511422a8546abe9d22ff116e20befc08f99245593d742a9abd98e6f43f612785562a5e9837935c1e711aed1701252d49a46b4", 0xe5, 0xff, 0x0, 0x3}, &(0x7f0000000ac0)={0x0, 0x0, 0x0, 0x0, 0x7c9c, r0, &(0x7f0000000c80)="0c853ba081aeecef832aaadea018532f8c8b989897559ac83dae4d59e02a6d48edffadcd06b0824d4d6e080557cd7055ba1c77c0fb8eba5dda78f1b80edc336a1668234770b42223cacd5f62ef81977db9d515d8ba75be52771f5bd46613eaa801d975e7bc2943c669bd6cc017deeac5adc3fadebe2cb4fedeafff8cb083c895d290fe2fe7340a23d2431f6d6fc75750c9f15364fd9e7853de799dfb308121aef306a7413f1d607e5ae51602f4c630cd18f8d5c3b1cce2f18cc9", 0xba, 0xffffffffffffffff, 0x0, 0x3}, &(0x7f0000000b40)={0x0, 0x0, 0x0, 0x8, 0x4, r1, &(0x7f0000000b00)="cb47", 0x2, 0x1ff, 0x0, 0x2, r7}, &(0x7f0000000bc0)={0x0, 0x0, 0x0, 0x7, 0x80, 0xffffffffffffffff, &(0x7f0000000b80)="d6699fc90db8a3dde321f45926beeefd", 0x10, 0x8, 0x0, 0x1, r1}]) [ 1774.361123] loop3: detected capacity change from 0 to 40 [ 1774.364954] loop4: detected capacity change from 0 to 40 [ 1774.371996] loop5: detected capacity change from 0 to 40 [ 1774.374709] loop6: detected capacity change from 0 to 40 [ 1774.381492] loop0: detected capacity change from 0 to 40 [ 1774.384018] loop1: detected capacity change from 0 to 40 [ 1774.727531] loop0: detected capacity change from 0 to 40 22:29:45 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:29:45 executing program 7: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141000, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r1, &(0x7f0000000040)='./file1\x00', 0x0, 0x0) lseek(r0, 0x0, 0x3) 22:29:45 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x9000000, 0x0) 22:29:45 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x7707000000000000, 0x700000000}) 22:29:45 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x18010000, 0x0) 22:29:45 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:29:45 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x2ff8, 0x0, 0x0) 22:29:45 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf00, 0x0) [ 1786.767111] loop6: detected capacity change from 0 to 40 [ 1786.772400] loop5: detected capacity change from 0 to 40 [ 1786.775771] loop3: detected capacity change from 0 to 40 [ 1786.860801] loop2: detected capacity change from 0 to 40 [ 1786.864433] loop1: detected capacity change from 0 to 40 [ 1786.868849] loop4: detected capacity change from 0 to 40 [ 1787.094048] FAT-fs (loop4): Unrecognized mount option "P" or missing value [ 1787.105887] loop0: detected capacity change from 0 to 40 22:29:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x7a00000000000000, 0x700000000}) 22:29:46 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x20000000, 0x0) 22:29:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:29:46 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:29:46 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1100, 0x0) 22:29:46 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(0xffffffffffffffff, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = ioctl$TIOCGPTPEER(r0, 0x5441, 0x8) ioctl$VT_DISALLOCATE(r1, 0x5608) open$dir(0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r3, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f00000001c0)=0x4) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$TIOCGSOFTCAR(r2, 0x5419, &(0x7f0000000040)) ioctl$VT_DISALLOCATE(0xffffffffffffffff, 0x5608) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r4, 0x4004662b, &(0x7f00000000c0)) pwritev(r4, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) open_tree(0xffffffffffffffff, &(0x7f0000000180)='./file0\x00', 0x1001) lseek(r4, 0x2, 0x3) connect$inet6(0xffffffffffffffff, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) 22:29:46 executing program 7: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) open$dir(0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f00000000c0)) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$F2FS_IOC_GET_FEATURES(r0, 0x8004f50c, &(0x7f0000000080)) lseek(r1, 0x2, 0x3) write$cgroup_devices(r1, &(0x7f0000000040)={'a', ' *:* ', 'rw\x00'}, 0x9) [ 1787.205529] loop4: detected capacity change from 0 to 40 22:29:46 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xa000000, 0x0) [ 1787.214527] loop1: detected capacity change from 0 to 40 [ 1787.223546] loop3: detected capacity change from 0 to 40 [ 1787.226530] loop5: detected capacity change from 0 to 40 [ 1787.235723] loop6: detected capacity change from 0 to 40 [ 1787.257917] loop0: detected capacity change from 0 to 40 22:29:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0xf6ff000000000000, 0x700000000}) 22:29:46 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000, 0x0) 22:29:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:29:46 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:29:46 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xa010000, 0x0) 22:29:46 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x3b0bd84c, 0x0) [ 1787.535022] loop5: detected capacity change from 0 to 40 [ 1787.535946] loop3: detected capacity change from 0 to 40 [ 1787.555036] syz-executor.5: attempt to access beyond end of device [ 1787.555036] loop5: rw=2049, sector=44, nr_sectors = 4 limit=40 [ 1787.594794] loop0: detected capacity change from 0 to 40 [ 1787.599275] loop4: detected capacity change from 0 to 40 [ 1787.614207] loop6: detected capacity change from 0 to 40 22:30:00 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) openat(r2, &(0x7f0000000ac0)='./file1\x00', 0x10000, 0x80) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r1, 0x84009422, &(0x7f0000000100)={0x0, 0x0, {0x0, @struct, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}}) 22:30:00 executing program 7: r0 = seccomp$SECCOMP_SET_MODE_FILTER_LISTENER(0x1, 0xc, &(0x7f0000003600)={0x8, &(0x7f00000035c0)=[{0x6, 0x3f, 0x6, 0xfffffff9}, {0x3f, 0x3, 0x10, 0x9}, {0x1, 0x80, 0x2, 0x401}, {0xf3, 0x7, 0x44, 0x3}, {0x1, 0x6, 0xf8, 0x7fff}, {0x8, 0x9, 0x0, 0x9}, {0xd182, 0x0, 0x3, 0x7}, {0x7ff, 0x9, 0x7, 0x1ff}]}) fcntl$F_SET_RW_HINT(r0, 0x40c, &(0x7f0000003640)=0x5) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r1, 0x0, 0x3) 22:30:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x3f000000, 0x0) 22:30:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:30:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0xfff7ffff00000000, 0x700000000}) 22:30:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x3f00, 0x0) 22:30:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xb010000, 0x0) 22:30:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1801.597754] loop4: detected capacity change from 0 to 40 [ 1801.602288] loop0: detected capacity change from 0 to 40 [ 1801.602801] loop5: detected capacity change from 0 to 40 [ 1801.606420] loop3: detected capacity change from 0 to 40 [ 1801.624275] syz-executor.5: attempt to access beyond end of device [ 1801.624275] loop5: rw=2049, sector=52, nr_sectors = 8 limit=40 22:30:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:30:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1801.661352] loop6: detected capacity change from 0 to 40 22:30:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x8008, 0x0) 22:30:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0xffffffff00000000, 0x700000000}) 22:30:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xd000000, 0x0) [ 1801.791856] loop4: detected capacity change from 0 to 40 [ 1801.801507] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1801.810581] loop2: detected capacity change from 0 to 264192 [ 1802.051931] loop5: detected capacity change from 0 to 40 [ 1802.060280] loop0: detected capacity change from 0 to 40 [ 1802.064720] syz-executor.5: attempt to access beyond end of device [ 1802.064720] loop5: rw=2049, sector=92, nr_sectors = 4 limit=40 [ 1802.088103] loop3: detected capacity change from 0 to 40 22:30:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000002}) 22:30:14 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) openat(r2, &(0x7f0000000ac0)='./file1\x00', 0x10000, 0x80) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r1, 0x84009422, &(0x7f0000000100)={0x0, 0x0, {0x0, @struct, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}}) 22:30:14 executing program 4: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:30:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x9300, 0x0) 22:30:14 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:30:14 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf000000, 0x0) 22:30:14 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x4cd80b3b, 0x0) 22:30:14 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1815.479781] loop7: detected capacity change from 0 to 40 [ 1815.484810] loop3: detected capacity change from 0 to 40 [ 1815.486566] loop0: detected capacity change from 0 to 40 [ 1815.491491] loop5: detected capacity change from 0 to 40 [ 1815.495894] FAT-fs (loop1): bogus number of reserved sectors [ 1815.496352] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1815.522203] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1815.523938] loop6: detected capacity change from 0 to 40 [ 1815.538525] loop2: detected capacity change from 0 to 264192 [ 1815.543013] syz-executor.3: attempt to access beyond end of device [ 1815.543013] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1815.546681] syz-executor.5: attempt to access beyond end of device [ 1815.546681] loop5: rw=2049, sector=100, nr_sectors = 4 limit=40 22:30:14 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff, 0x0) 22:30:14 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:30:14 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:30:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000003}) 22:30:14 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x57010000, 0x0) 22:30:14 executing program 4: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:30:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf000, 0x0) [ 1815.786925] loop0: detected capacity change from 0 to 40 [ 1815.802654] FAT-fs (loop1): bogus number of reserved sectors [ 1815.803451] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1815.856297] loop5: detected capacity change from 0 to 40 22:30:15 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1815.908817] loop7: detected capacity change from 0 to 40 [ 1815.930142] syz-executor.5: attempt to access beyond end of device [ 1815.930142] loop5: rw=2049, sector=148, nr_sectors = 4 limit=40 [ 1815.931053] loop3: detected capacity change from 0 to 40 [ 1815.938190] loop6: detected capacity change from 0 to 40 22:30:15 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x10000000, 0x0) 22:30:15 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) openat(r2, &(0x7f0000000ac0)='./file1\x00', 0x10000, 0x80) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r1, 0x84009422, &(0x7f0000000100)={0x0, 0x0, {0x0, @struct, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}}) [ 1815.975242] FAT-fs (loop1): bogus number of reserved sectors [ 1815.976188] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1815.978960] syz-executor.3: attempt to access beyond end of device [ 1815.978960] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:30:15 executing program 4: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:30:15 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf6ff, 0x0) 22:30:15 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1816.056511] loop0: detected capacity change from 0 to 40 22:30:15 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x7f510100, 0x0) 22:30:15 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1816.097404] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1816.109904] loop2: detected capacity change from 0 to 264192 [ 1816.297421] loop5: detected capacity change from 0 to 40 [ 1816.306866] loop6: detected capacity change from 0 to 40 [ 1816.312586] loop7: detected capacity change from 0 to 40 [ 1816.315837] FAT-fs (loop1): bogus number of reserved sectors [ 1816.316593] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1816.332226] syz-executor.5: attempt to access beyond end of device [ 1816.332226] loop5: rw=2049, sector=148, nr_sectors = 4 limit=40 22:30:29 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:30:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000004}) 22:30:29 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:30:29 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) openat(r2, &(0x7f0000000ac0)='./file1\x00', 0x10000, 0x80) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 1830.032490] loop7: detected capacity change from 0 to 40 [ 1830.038134] loop0: detected capacity change from 0 to 40 [ 1830.054858] loop6: detected capacity change from 0 to 40 22:30:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x11000000, 0x0) 22:30:29 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:30:29 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x8a140000, 0x0) 22:30:29 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xff0f, 0x0) [ 1830.073964] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO 22:30:29 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1830.088089] loop2: detected capacity change from 0 to 264192 [ 1830.099158] FAT-fs (loop1): bogus number of reserved sectors [ 1830.100011] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1830.104094] loop4: detected capacity change from 0 to 40 [ 1830.105892] loop3: detected capacity change from 0 to 40 [ 1830.107633] loop5: detected capacity change from 0 to 40 [ 1830.303317] loop7: detected capacity change from 0 to 40 [ 1830.314000] syz-executor.3: attempt to access beyond end of device [ 1830.314000] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1830.319067] syz-executor.5: attempt to access beyond end of device [ 1830.319067] loop5: rw=2049, sector=148, nr_sectors = 8 limit=40 [ 1843.604980] loop3: detected capacity change from 0 to 40 [ 1843.612224] syz-executor.3: attempt to access beyond end of device [ 1843.612224] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:30:42 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:30:42 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x20000000, 0x0) 22:30:42 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:30:42 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfff6, 0x0) 22:30:42 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xc0000000, 0x0) 22:30:42 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000005}) 22:30:42 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:30:42 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) openat(r2, &(0x7f0000000ac0)='./file1\x00', 0x10000, 0x80) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) [ 1843.652553] loop5: detected capacity change from 0 to 40 [ 1843.663923] loop0: detected capacity change from 0 to 40 [ 1843.666910] loop6: detected capacity change from 0 to 40 [ 1843.668010] loop4: detected capacity change from 0 to 40 [ 1843.670866] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1843.673511] loop7: detected capacity change from 0 to 40 [ 1843.674702] FAT-fs (loop1): bogus number of reserved sectors [ 1843.675455] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1843.679001] loop2: detected capacity change from 0 to 264192 [ 1843.714337] syz-executor.5: attempt to access beyond end of device [ 1843.714337] loop5: rw=2049, sector=148, nr_sectors = 8 limit=40 22:30:42 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000006}) 22:30:42 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2ea50100, 0x0) 22:30:42 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:30:43 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:30:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1843.951910] loop0: detected capacity change from 0 to 40 22:30:43 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1517f, 0x0) 22:30:43 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) openat(r1, &(0x7f0000000ac0)='./file1\x00', 0x10000, 0x80) 22:30:43 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xc5a80100, 0x0) [ 1844.003204] loop1: detected capacity change from 0 to 40 [ 1844.027268] loop3: detected capacity change from 0 to 40 22:30:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2fa50100, 0x0) [ 1844.029286] FAT-fs (loop1): bogus number of reserved sectors [ 1844.030255] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1844.055017] loop7: detected capacity change from 0 to 40 [ 1844.061573] loop4: detected capacity change from 0 to 40 [ 1844.081541] syz-executor.3: attempt to access beyond end of device [ 1844.081541] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1844.120932] loop5: detected capacity change from 0 to 40 [ 1844.123922] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1844.124378] loop6: detected capacity change from 0 to 40 [ 1844.128411] loop2: detected capacity change from 0 to 264192 22:30:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1844.156177] loop0: detected capacity change from 0 to 40 [ 1844.169263] syz-executor.5: attempt to access beyond end of device [ 1844.169263] loop5: rw=2049, sector=196, nr_sectors = 4 limit=40 [ 1844.245179] loop1: detected capacity change from 0 to 40 [ 1844.255567] FAT-fs (loop1): bogus number of reserved sectors [ 1844.256308] FAT-fs (loop1): Can't find a valid FAT filesystem 22:30:57 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:30:57 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1858.509656] loop1: detected capacity change from 0 to 40 [ 1858.526418] loop3: detected capacity change from 0 to 40 [ 1858.528766] loop5: detected capacity change from 0 to 40 [ 1858.538282] loop0: detected capacity change from 0 to 40 22:30:57 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x3f000000, 0x0) 22:30:57 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) 22:30:57 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000007}) 22:30:57 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:30:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf4ffffff, 0x0) 22:30:57 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x80000, 0x0) [ 1858.547143] syz-executor.3: attempt to access beyond end of device [ 1858.547143] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1858.555674] FAT-fs (loop1): bogus number of reserved sectors [ 1858.556446] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1858.562165] loop7: detected capacity change from 0 to 40 [ 1858.578991] loop4: detected capacity change from 0 to 40 [ 1858.584632] syz-executor.5: attempt to access beyond end of device [ 1858.584632] loop5: rw=2049, sector=1052, nr_sectors = 4 limit=40 [ 1858.586801] loop6: detected capacity change from 0 to 40 22:30:57 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x7f510100, 0x0) 22:30:57 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000008}) [ 1858.595759] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1858.622269] loop2: detected capacity change from 0 to 264192 22:30:57 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:30:57 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1858.671351] loop7: detected capacity change from 0 to 40 [ 1858.691483] loop3: detected capacity change from 0 to 40 [ 1858.705004] loop0: detected capacity change from 0 to 40 22:30:57 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:30:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf5ffffff, 0x0) 22:30:57 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) 22:30:57 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xa0000, 0x0) [ 1858.739165] loop1: detected capacity change from 0 to 40 [ 1858.739315] syz-executor.3: attempt to access beyond end of device [ 1858.739315] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1858.749356] FAT-fs (loop1): bogus number of reserved sectors [ 1858.749899] FAT-fs (loop1): Can't find a valid FAT filesystem 22:30:57 executing program 7: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1858.752255] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1858.756659] loop6: detected capacity change from 0 to 40 [ 1858.758315] loop4: detected capacity change from 0 to 40 22:30:57 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf4ffffff, 0x0) 22:30:57 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:30:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf6ff0000, 0x0) [ 1858.820785] loop5: detected capacity change from 0 to 40 [ 1858.826919] loop0: detected capacity change from 0 to 40 [ 1858.847643] loop1: detected capacity change from 0 to 40 [ 1858.849035] loop6: detected capacity change from 0 to 40 [ 1858.852962] FAT-fs (loop1): bogus number of reserved sectors [ 1858.853410] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1858.929058] syz-executor.5: attempt to access beyond end of device [ 1858.929058] loop5: rw=2049, sector=1308, nr_sectors = 4 limit=40 22:31:11 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x100000, 0x0) 22:31:11 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000009}) [ 1872.652100] loop4: detected capacity change from 0 to 40 [ 1872.664900] loop5: detected capacity change from 0 to 40 [ 1872.678128] loop3: detected capacity change from 0 to 40 [ 1872.696927] loop0: detected capacity change from 0 to 40 [ 1872.707436] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1872.710059] loop6: detected capacity change from 0 to 40 [ 1872.718412] syz-executor.3: attempt to access beyond end of device [ 1872.718412] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1872.720110] loop1: detected capacity change from 0 to 40 22:31:11 executing program 7: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:31:11 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:31:11 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:31:11 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf5ffffff, 0x0) 22:31:11 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfbffffff, 0x0) [ 1872.738704] FAT-fs (loop1): bogus number of reserved sectors [ 1872.739454] FAT-fs (loop1): Can't find a valid FAT filesystem 22:31:11 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:31:11 executing program 7: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:31:11 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1872.937525] syz-executor.5: attempt to access beyond end of device [ 1872.937525] loop5: rw=2049, sector=2076, nr_sectors = 4 limit=40 22:31:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xff0f0000, 0x0) 22:31:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf0ffff, 0x0) 22:31:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf6ff0000, 0x0) [ 1887.507128] loop7: detected capacity change from 0 to 40 [ 1887.507442] loop0: detected capacity change from 0 to 40 22:31:26 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:31:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000000a}) 22:31:26 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:31:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1887.520356] loop6: detected capacity change from 0 to 40 22:31:26 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) [ 1887.549199] loop3: detected capacity change from 0 to 40 [ 1887.551120] loop1: detected capacity change from 0 to 40 [ 1887.552778] FAT-fs (loop1): bogus number of reserved sectors [ 1887.553206] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1887.559386] loop5: detected capacity change from 0 to 40 22:31:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfbffffff, 0x0) [ 1887.572334] syz-executor.3: attempt to access beyond end of device [ 1887.572334] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1887.588664] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO 22:31:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:31:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000000d}) 22:31:26 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:31:26 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1887.661505] loop0: detected capacity change from 0 to 40 22:31:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfff7ffff, 0x0) 22:31:26 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) [ 1887.695392] loop7: detected capacity change from 0 to 40 22:31:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1887.715106] loop3: detected capacity change from 0 to 40 [ 1887.727756] loop1: detected capacity change from 0 to 40 [ 1887.740691] FAT-fs (loop1): bogus number of reserved sectors [ 1887.741100] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1887.748019] syz-executor.3: attempt to access beyond end of device [ 1887.748019] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:31:26 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1887.753627] loop6: detected capacity change from 0 to 40 [ 1887.772418] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1887.827962] FAT-fs (loop4): bogus number of reserved sectors [ 1887.828464] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1887.843309] loop7: detected capacity change from 0 to 40 [ 1887.888901] kworker/u4:3: attempt to access beyond end of device [ 1887.888901] loop5: rw=1, sector=2396, nr_sectors = 1712 limit=40 [ 1887.896552] kworker/u4:3: attempt to access beyond end of device [ 1887.896552] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1887.898129] Buffer I/O error on dev loop5, logical block 1027, lost async page write 22:31:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffff000, 0x0) 22:31:39 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:31:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xff0f0000, 0x0) 22:31:39 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(0xffffffffffffffff, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) [ 1900.088402] loop6: detected capacity change from 0 to 40 22:31:39 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1900.112578] loop3: detected capacity change from 0 to 40 [ 1900.115419] loop5: detected capacity change from 0 to 40 [ 1900.121680] loop0: detected capacity change from 0 to 40 22:31:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000000f}) 22:31:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:31:39 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1900.132661] syz-executor.3: attempt to access beyond end of device [ 1900.132661] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1900.136984] loop1: detected capacity change from 0 to 40 [ 1900.137822] FAT-fs (loop4): bogus number of reserved sectors [ 1900.138473] FAT-fs (loop1): bogus number of reserved sectors [ 1900.138592] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1900.139409] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1900.151253] loop7: detected capacity change from 0 to 40 22:31:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffff7ff, 0x0) 22:31:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000011}) 22:31:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xff100000, 0x0) 22:31:39 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1900.223187] loop6: detected capacity change from 0 to 40 [ 1900.242429] loop3: detected capacity change from 0 to 40 [ 1900.253414] syz-executor.3: attempt to access beyond end of device [ 1900.253414] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:31:39 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:31:39 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(0xffffffffffffffff, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:31:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xffffff0f, 0x0) 22:31:39 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:31:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000048}) [ 1900.331065] loop1: detected capacity change from 0 to 40 [ 1900.335851] loop6: detected capacity change from 0 to 40 [ 1900.347181] FAT-fs (loop1): bogus number of reserved sectors [ 1900.348055] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1900.348983] FAT-fs (loop4): bogus number of reserved sectors [ 1900.349770] FAT-fs (loop4): Can't find a valid FAT filesystem 22:31:39 executing program 2: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(0xffffffffffffffff, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) [ 1900.362905] loop0: detected capacity change from 0 to 40 22:31:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff4, 0x0) [ 1900.403266] loop7: detected capacity change from 0 to 40 [ 1900.434802] loop6: detected capacity change from 0 to 40 22:31:39 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:31:39 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1900.480396] loop3: detected capacity change from 0 to 40 [ 1900.486138] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1900.533896] syz-executor.3: attempt to access beyond end of device [ 1900.533896] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1900.556736] kworker/u4:8: attempt to access beyond end of device [ 1900.556736] loop5: rw=1, sector=2340, nr_sectors = 1768 limit=40 [ 1900.560017] kworker/u4:8: attempt to access beyond end of device [ 1900.560017] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1900.561028] loop1: detected capacity change from 0 to 40 [ 1900.561445] Buffer I/O error on dev loop5, logical block 1027, lost async page write [ 1900.572676] FAT-fs (loop1): bogus number of reserved sectors [ 1900.573079] FAT-fs (loop1): Can't find a valid FAT filesystem 22:31:53 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:31:53 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfff7ffff, 0x0) [ 1913.939329] loop1: detected capacity change from 0 to 40 22:31:53 executing program 2: r0 = syz_open_dev$sg(0x0, 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:31:53 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:31:53 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff5, 0x0) 22:31:53 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:31:53 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1010000, 0x0) 22:31:53 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000004c}) [ 1913.943447] loop6: detected capacity change from 0 to 40 [ 1913.948857] FAT-fs (loop1): bogus number of reserved sectors [ 1913.949255] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1913.971273] loop0: detected capacity change from 0 to 40 [ 1913.976551] loop3: detected capacity change from 0 to 40 22:31:53 executing program 2: r0 = syz_open_dev$sg(0x0, 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:31:53 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1913.997235] syz-executor.3: attempt to access beyond end of device [ 1913.997235] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1914.016084] loop5: detected capacity change from 0 to 40 [ 1914.024371] loop7: detected capacity change from 0 to 40 22:31:53 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000068}) [ 1914.040672] FAT-fs (loop4): bogus number of reserved sectors [ 1914.041440] FAT-fs (loop4): Can't find a valid FAT filesystem 22:31:53 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffffb, 0x0) [ 1914.071663] loop1: detected capacity change from 0 to 40 [ 1914.073786] FAT-fs (loop1): invalid media value (0x00) [ 1914.074153] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1914.092462] loop3: detected capacity change from 0 to 40 22:31:53 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffff000, 0x0) 22:31:53 executing program 2: r0 = syz_open_dev$sg(0x0, 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) [ 1914.131339] loop6: detected capacity change from 0 to 40 [ 1914.142380] syz-executor.3: attempt to access beyond end of device [ 1914.142380] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1914.175473] loop0: detected capacity change from 0 to 40 [ 1914.273733] kworker/u4:4: attempt to access beyond end of device [ 1914.273733] loop5: rw=1, sector=2708, nr_sectors = 1400 limit=40 [ 1914.275234] kworker/u4:4: attempt to access beyond end of device [ 1914.275234] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1914.276081] Buffer I/O error on dev loop5, logical block 1027, lost async page write 22:32:06 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:32:06 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffff7ff, 0x0) 22:32:06 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xffffffff, 0x0) 22:32:06 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:32:06 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:32:06 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000006c}) 22:32:06 executing program 2: syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(0xffffffffffffffff, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:32:06 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1927.673569] loop5: detected capacity change from 0 to 40 [ 1927.684837] loop1: detected capacity change from 0 to 40 [ 1927.687776] FAT-fs (loop1): invalid media value (0x00) [ 1927.688321] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1927.704088] loop6: detected capacity change from 0 to 40 [ 1927.724716] FAT-fs (loop4): bogus number of reserved sectors [ 1927.725127] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1927.742971] loop3: detected capacity change from 0 to 40 [ 1927.759096] loop0: detected capacity change from 0 to 40 22:32:06 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:32:06 executing program 2: syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(0xffffffffffffffff, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) [ 1927.796462] loop1: detected capacity change from 0 to 40 [ 1927.801381] FAT-fs (loop1): invalid media value (0x00) [ 1927.801768] FAT-fs (loop1): Can't find a valid FAT filesystem 22:32:06 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x3000000, 0x0) [ 1927.814396] kworker/u4:3: attempt to access beyond end of device [ 1927.814396] loop5: rw=1, sector=3220, nr_sectors = 888 limit=40 [ 1927.825276] syz-executor.3: attempt to access beyond end of device 22:32:07 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1927.825276] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1927.848729] kworker/u4:3: attempt to access beyond end of device [ 1927.848729] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1927.850303] Buffer I/O error on dev loop5, logical block 1027, lost async page write [ 1927.851411] loop1: detected capacity change from 0 to 40 [ 1927.854432] FAT-fs (loop1): invalid media value (0x00) [ 1927.854820] FAT-fs (loop1): Can't find a valid FAT filesystem 22:32:07 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 1927.923878] loop6: detected capacity change from 0 to 40 [ 1928.018249] loop5: detected capacity change from 0 to 40 [ 1928.173651] kworker/u4:8: attempt to access beyond end of device [ 1928.173651] loop5: rw=1, sector=3516, nr_sectors = 592 limit=40 [ 1928.179703] kworker/u4:8: attempt to access beyond end of device [ 1928.179703] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1928.181235] Buffer I/O error on dev loop5, logical block 1027, lost async page write 22:32:24 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x4000000, 0x0) 22:32:24 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:32:24 executing program 2: syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(0xffffffffffffffff, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:32:24 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xffffff0f, 0x0) 22:32:24 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:32:24 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:32:24 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000074}) [ 1945.397016] loop6: detected capacity change from 0 to 40 22:32:24 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2) [ 1945.402593] FAT-fs (loop4): bogus number of reserved sectors [ 1945.403178] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1945.404353] loop1: detected capacity change from 0 to 40 [ 1945.409956] loop0: detected capacity change from 0 to 40 [ 1945.414905] FAT-fs (loop1): invalid media value (0x00) [ 1945.416264] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1945.440285] loop3: detected capacity change from 0 to 40 [ 1945.442193] loop5: detected capacity change from 0 to 40 [ 1945.474822] syz-executor.3: attempt to access beyond end of device [ 1945.474822] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:32:24 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:32:24 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, 0x0) 22:32:24 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:32:24 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:32:24 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff4, 0x0) 22:32:24 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4) [ 1945.563447] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1945.566210] loop1: detected capacity change from 0 to 40 [ 1945.569191] loop4: detected capacity change from 0 to 40 [ 1945.577644] FAT-fs (loop1): invalid media value (0x00) [ 1945.578028] FAT-fs (loop1): Can't find a valid FAT filesystem 22:32:24 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000007a}) [ 1945.592675] FAT-fs (loop4): bogus number of reserved sectors [ 1945.593440] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1945.641310] loop6: detected capacity change from 0 to 40 [ 1945.641597] loop3: detected capacity change from 0 to 40 [ 1945.646271] syz-executor.3: attempt to access beyond end of device [ 1945.646271] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:32:24 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1945.656317] loop0: detected capacity change from 0 to 40 [ 1945.746569] kworker/u4:4: attempt to access beyond end of device [ 1945.746569] loop5: rw=1, sector=2524, nr_sectors = 1584 limit=40 [ 1945.749324] kworker/u4:4: attempt to access beyond end of device [ 1945.749324] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1945.750159] Buffer I/O error on dev loop5, logical block 1027, lost async page write [ 1945.753327] loop1: detected capacity change from 0 to 40 [ 1945.762488] FAT-fs (loop1): bogus number of FAT sectors [ 1945.762906] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1959.003099] loop6: detected capacity change from 0 to 40 [ 1959.006409] loop1: detected capacity change from 0 to 40 [ 1959.008573] FAT-fs (loop1): bogus number of FAT sectors [ 1959.009087] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1959.014043] loop5: detected capacity change from 0 to 40 22:32:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:32:38 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:32:38 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, 0x0) 22:32:38 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:32:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff5, 0x0) 22:32:38 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x5) 22:32:38 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x5000000, 0x0) 22:32:38 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000300}) [ 1959.029395] loop4: detected capacity change from 0 to 40 [ 1959.034165] FAT-fs (loop7): bogus number of reserved sectors [ 1959.034791] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1959.058329] loop0: detected capacity change from 0 to 40 [ 1959.061057] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO 22:32:38 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1959.065694] FAT-fs (loop4): bogus number of reserved sectors [ 1959.067460] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1959.077244] loop3: detected capacity change from 0 to 40 22:32:38 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:32:38 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x6) [ 1959.114518] loop1: detected capacity change from 0 to 40 [ 1959.121857] FAT-fs (loop1): bogus number of FAT sectors [ 1959.122243] FAT-fs (loop1): Can't find a valid FAT filesystem [ 1959.129673] syz-executor.3: attempt to access beyond end of device [ 1959.129673] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1959.136245] loop6: detected capacity change from 0 to 40 [ 1959.142732] FAT-fs (loop7): bogus number of reserved sectors [ 1959.143193] FAT-fs (loop7): Can't find a valid FAT filesystem 22:32:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffffb, 0x0) 22:32:38 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, 0x0) 22:32:38 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:32:38 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:32:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1959.243389] loop0: detected capacity change from 0 to 40 [ 1959.248029] loop1: detected capacity change from 0 to 40 [ 1959.256035] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1959.268946] loop4: detected capacity change from 0 to 40 [ 1959.275908] FAT-fs (loop7): bogus number of reserved sectors [ 1959.276354] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1959.278057] FAT-fs (loop4): bogus number of reserved sectors [ 1959.278477] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1959.397469] kworker/u4:11: attempt to access beyond end of device [ 1959.397469] loop5: rw=1, sector=2364, nr_sectors = 1744 limit=40 [ 1959.399198] kworker/u4:11: attempt to access beyond end of device [ 1959.399198] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1959.400036] Buffer I/O error on dev loop5, logical block 1027, lost async page write [ 1971.383228] loop1: detected capacity change from 0 to 40 22:32:50 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x6000000, 0x0) 22:32:50 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xffffffff, 0x0) 22:32:50 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x0, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:32:50 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000500}) 22:32:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1971.392500] loop5: detected capacity change from 0 to 40 22:32:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:32:50 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1971.406303] loop6: detected capacity change from 0 to 40 [ 1971.406813] loop4: detected capacity change from 0 to 40 [ 1971.407477] loop0: detected capacity change from 0 to 40 22:32:50 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8) [ 1971.412928] FAT-fs (loop4): bogus number of reserved sectors [ 1971.413506] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1971.414710] FAT-fs (loop7): bogus number of reserved sectors [ 1971.415642] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1971.448793] loop3: detected capacity change from 0 to 40 22:32:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1971.455357] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO 22:32:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1971.497934] syz-executor.3: attempt to access beyond end of device [ 1971.497934] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1971.498844] loop1: detected capacity change from 0 to 40 [ 1971.504335] loop4: detected capacity change from 0 to 40 [ 1971.508381] FAT-fs (loop4): bogus number of reserved sectors [ 1971.508912] FAT-fs (loop4): Can't find a valid FAT filesystem 22:32:50 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x9) 22:32:50 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:32:50 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x0, 0x0, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:32:50 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:32:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:32:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 1971.592240] loop6: detected capacity change from 0 to 40 [ 1971.603967] loop0: detected capacity change from 0 to 40 [ 1971.630184] loop1: detected capacity change from 0 to 40 [ 1971.631967] loop4: detected capacity change from 0 to 40 [ 1971.645698] FAT-fs (loop4): bogus number of reserved sectors [ 1971.646128] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1971.666455] FAT-fs (loop7): bogus number of reserved sectors [ 1971.667254] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1971.668916] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1971.814108] kworker/u4:8: attempt to access beyond end of device [ 1971.814108] loop5: rw=1, sector=2764, nr_sectors = 1344 limit=40 [ 1971.815931] kworker/u4:8: attempt to access beyond end of device [ 1971.815931] loop5: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1971.816722] Buffer I/O error on dev loop5, logical block 1027, lost async page write 22:33:03 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x8800000, 0x0) 22:33:03 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa) 22:33:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:33:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000600}) 22:33:03 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:03 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:03 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2) 22:33:03 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x0, 0x0, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) [ 1984.215926] loop0: detected capacity change from 0 to 40 [ 1984.218863] loop5: detected capacity change from 0 to 40 [ 1984.225051] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1984.226539] loop6: detected capacity change from 0 to 40 [ 1984.229930] loop1: detected capacity change from 0 to 40 [ 1984.232577] loop4: detected capacity change from 0 to 40 [ 1984.234598] loop3: detected capacity change from 0 to 40 [ 1984.244935] FAT-fs (loop4): bogus number of reserved sectors [ 1984.245778] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1984.247315] FAT-fs (loop7): bogus number of reserved sectors [ 1984.248096] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1984.270376] syz-executor.3: attempt to access beyond end of device [ 1984.270376] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:33:03 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x0, 0x0, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) 22:33:03 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:03 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x9000000, 0x0) 22:33:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:33:03 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd) 22:33:03 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3) 22:33:03 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000700}) [ 1984.435671] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 1984.465971] loop1: detected capacity change from 0 to 40 [ 1984.466505] loop5: detected capacity change from 0 to 40 [ 1984.472363] loop7: detected capacity change from 0 to 40 [ 1984.485944] FAT-fs (loop7): bogus number of reserved sectors [ 1984.486742] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1984.495592] loop0: detected capacity change from 0 to 40 [ 1984.504859] loop4: detected capacity change from 0 to 40 [ 1984.512539] loop3: detected capacity change from 0 to 40 [ 1984.515322] loop6: detected capacity change from 0 to 40 [ 1984.517255] FAT-fs (loop4): bogus number of reserved sectors [ 1984.518122] FAT-fs (loop4): Can't find a valid FAT filesystem 22:33:03 executing program 2: r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x0, 0x0, 0x3}) [ 1984.548161] syz-executor.3: attempt to access beyond end of device [ 1984.548161] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1984.626124] program syz-executor.2 is using a deprecated SCSI ioctl, please convert it to SG_IO 22:33:16 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:33:16 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xa000000, 0x0) 22:33:16 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:16 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4) 22:33:16 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:16 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000777}) 22:33:16 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10) 22:33:16 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 1997.029041] loop3: detected capacity change from 0 to 40 [ 1997.031377] loop1: detected capacity change from 0 to 40 [ 1997.039445] loop6: detected capacity change from 0 to 40 [ 1997.040282] loop2: detected capacity change from 0 to 40 [ 1997.048926] loop4: detected capacity change from 0 to 40 [ 1997.050519] syz-executor.3: attempt to access beyond end of device [ 1997.050519] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1997.063804] loop7: detected capacity change from 0 to 40 [ 1997.067085] FAT-fs (loop4): bogus number of reserved sectors [ 1997.067947] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1997.073031] FAT-fs (loop7): bogus number of reserved sectors [ 1997.073438] FAT-fs (loop7): Can't find a valid FAT filesystem 22:33:16 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1997.094315] loop0: detected capacity change from 0 to 40 [ 1997.097390] loop5: detected capacity change from 0 to 40 22:33:16 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000900}) 22:33:16 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 1997.165496] loop1: detected capacity change from 0 to 40 [ 1997.173954] loop3: detected capacity change from 0 to 40 22:33:16 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x5) 22:33:16 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:16 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xd000000, 0x0) 22:33:16 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x11) [ 1997.211784] syz-executor.3: attempt to access beyond end of device [ 1997.211784] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 1997.225014] loop7: detected capacity change from 0 to 40 [ 1997.237744] FAT-fs (loop7): bogus number of reserved sectors [ 1997.238166] FAT-fs (loop7): Can't find a valid FAT filesystem 22:33:16 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) [ 1997.252335] loop4: detected capacity change from 0 to 40 [ 1997.263640] FAT-fs (loop4): bogus number of reserved sectors [ 1997.264055] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1997.288517] loop6: detected capacity change from 0 to 40 [ 1997.293575] loop0: detected capacity change from 0 to 40 [ 1997.313021] loop5: detected capacity change from 0 to 40 [ 1997.313237] loop1: detected capacity change from 0 to 40 [ 1997.392833] kworker/u4:8: attempt to access beyond end of device [ 1997.392833] loop2: rw=1, sector=2724, nr_sectors = 1384 limit=40 [ 1997.407191] kworker/u4:8: attempt to access beyond end of device [ 1997.407191] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 1997.408825] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2011.059776] loop6: detected capacity change from 0 to 40 22:33:30 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000a00}) 22:33:30 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf000000, 0x0) 22:33:30 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:33:30 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xc0) 22:33:30 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:30 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:33:30 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x0, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:30 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x6) [ 2011.090402] loop7: detected capacity change from 0 to 40 [ 2011.092231] loop5: detected capacity change from 0 to 40 [ 2011.093400] loop3: detected capacity change from 0 to 40 [ 2011.096189] FAT-fs (loop7): bogus number of reserved sectors [ 2011.096594] FAT-fs (loop7): Can't find a valid FAT filesystem 22:33:30 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf0) [ 2011.101503] loop1: detected capacity change from 0 to 40 [ 2011.117367] loop0: detected capacity change from 0 to 40 [ 2011.118285] syz-executor.3: attempt to access beyond end of device [ 2011.118285] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2011.123654] loop2: detected capacity change from 0 to 40 [ 2011.132806] loop4: detected capacity change from 0 to 40 [ 2011.148719] FAT-fs (loop4): bogus number of reserved sectors [ 2011.149504] FAT-fs (loop4): Can't find a valid FAT filesystem 22:33:30 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:33:30 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x0, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:30 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000d00}) [ 2011.186537] loop6: detected capacity change from 0 to 40 22:33:30 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff, 0x0) [ 2011.230476] loop7: detected capacity change from 0 to 40 [ 2011.241803] FAT-fs (loop7): bogus number of reserved sectors [ 2011.242201] FAT-fs (loop7): Can't find a valid FAT filesystem 22:33:30 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8) [ 2011.255230] loop3: detected capacity change from 0 to 40 22:33:30 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:30 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x118) [ 2011.296895] loop5: detected capacity change from 0 to 40 [ 2011.299287] syz-executor.3: attempt to access beyond end of device [ 2011.299287] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2011.330142] loop1: detected capacity change from 0 to 40 [ 2011.333072] loop6: detected capacity change from 0 to 40 [ 2011.372868] loop4: detected capacity change from 0 to 40 [ 2011.395868] loop0: detected capacity change from 0 to 40 [ 2011.398853] FAT-fs (loop4): bogus number of reserved sectors [ 2011.399641] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2011.489394] kworker/u4:0: attempt to access beyond end of device [ 2011.489394] loop2: rw=1, sector=2676, nr_sectors = 1432 limit=40 [ 2011.490974] kworker/u4:0: attempt to access beyond end of device [ 2011.490974] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2011.491763] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:33:43 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:33:43 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2024.173640] loop7: detected capacity change from 0 to 40 [ 2024.187878] loop3: detected capacity change from 0 to 40 [ 2024.190255] loop5: detected capacity change from 0 to 40 [ 2024.197143] loop0: detected capacity change from 0 to 40 [ 2024.199205] FAT-fs (loop7): bogus number of reserved sectors [ 2024.199666] FAT-fs (loop7): Can't find a valid FAT filesystem 22:33:43 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x157) 22:33:43 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:43 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x10000000, 0x0) 22:33:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x0, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000f00}) 22:33:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x9) [ 2024.203474] loop6: detected capacity change from 0 to 40 [ 2024.209876] syz-executor.3: attempt to access beyond end of device [ 2024.209876] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2024.251547] loop1: detected capacity change from 0 to 40 [ 2024.256961] loop2: detected capacity change from 0 to 40 22:33:43 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700001100}) [ 2024.259834] loop4: detected capacity change from 0 to 40 22:33:43 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa) 22:33:43 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2024.281897] FAT-fs (loop4): invalid media value (0x00) [ 2024.282722] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2024.317990] loop7: detected capacity change from 0 to 40 [ 2024.321324] loop3: detected capacity change from 0 to 40 [ 2024.334182] FAT-fs (loop7): bogus number of reserved sectors [ 2024.334596] FAT-fs (loop7): Can't find a valid FAT filesystem 22:33:43 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x11000000, 0x0) [ 2024.348431] loop0: detected capacity change from 0 to 40 [ 2024.351358] syz-executor.3: attempt to access beyond end of device [ 2024.351358] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:33:43 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x500) 22:33:43 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:43 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:43 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2024.446744] loop5: detected capacity change from 0 to 40 [ 2024.462848] loop6: detected capacity change from 0 to 40 [ 2024.477892] loop4: detected capacity change from 0 to 40 [ 2024.479452] loop1: detected capacity change from 0 to 40 [ 2024.491191] FAT-fs (loop4): invalid media value (0x00) [ 2024.491954] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2024.542756] loop7: detected capacity change from 0 to 40 [ 2024.559763] FAT-fs (loop7): bogus number of reserved sectors [ 2024.560532] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2024.716276] kworker/u4:4: attempt to access beyond end of device [ 2024.716276] loop2: rw=1, sector=2708, nr_sectors = 1400 limit=40 [ 2024.722135] kworker/u4:4: attempt to access beyond end of device [ 2024.722135] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2024.723732] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:33:56 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:33:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:33:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700002000}) 22:33:56 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:56 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x20000000, 0x0) 22:33:56 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x600) 22:33:56 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd) [ 2037.757346] loop0: detected capacity change from 0 to 40 [ 2037.765326] loop1: detected capacity change from 0 to 40 [ 2037.767156] loop5: detected capacity change from 0 to 40 [ 2037.772907] loop2: detected capacity change from 0 to 40 [ 2037.773180] loop6: detected capacity change from 0 to 40 [ 2037.776354] loop4: detected capacity change from 0 to 40 [ 2037.780103] loop7: detected capacity change from 0 to 40 [ 2037.783475] loop3: detected capacity change from 0 to 40 [ 2037.794468] FAT-fs (loop4): invalid media value (0x00) [ 2037.795316] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2037.803026] FAT-fs (loop7): bogus number of reserved sectors [ 2037.803906] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2037.818424] syz-executor.3: attempt to access beyond end of device [ 2037.818424] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:33:57 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x3f00, 0x700000000}) 22:33:57 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2dd064c6, 0x0) 22:33:57 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:33:57 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf) 22:33:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x900) 22:33:57 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700003f00}) 22:33:57 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:33:57 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2037.977556] loop2: detected capacity change from 0 to 40 [ 2037.983271] loop5: detected capacity change from 0 to 40 [ 2037.987037] loop1: detected capacity change from 0 to 40 [ 2038.022262] loop0: detected capacity change from 0 to 40 [ 2038.031280] loop4: detected capacity change from 0 to 40 [ 2038.044173] loop7: detected capacity change from 0 to 40 [ 2038.045549] loop3: detected capacity change from 0 to 40 [ 2038.047884] loop6: detected capacity change from 0 to 40 [ 2038.048725] FAT-fs (loop4): invalid media value (0x00) [ 2038.049386] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2038.058180] FAT-fs (loop7): bogus number of reserved sectors [ 2038.058979] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2038.082356] syz-executor.3: attempt to access beyond end of device [ 2038.082356] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:33:57 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2038.173351] loop2: detected capacity change from 0 to 40 22:34:10 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:34:10 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x3f000000, 0x0) 22:34:10 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700004800}) 22:34:10 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, 0x0) 22:34:10 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10) 22:34:10 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 2050.922675] loop4: detected capacity change from 0 to 40 22:34:10 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa00) [ 2050.930861] loop7: detected capacity change from 0 to 40 22:34:10 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2050.940770] loop2: detected capacity change from 0 to 40 [ 2050.941262] FAT-fs (loop7): bogus number of reserved sectors [ 2050.941784] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2050.942352] FAT-fs (loop4): invalid media value (0x00) [ 2050.942833] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2050.953361] loop6: detected capacity change from 0 to 40 [ 2050.961330] loop0: detected capacity change from 0 to 40 [ 2050.989304] loop5: detected capacity change from 0 to 40 [ 2050.995342] loop1: detected capacity change from 0 to 40 [ 2050.999491] loop3: detected capacity change from 0 to 40 22:34:10 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:34:10 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:34:10 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2051.042022] syz-executor.3: attempt to access beyond end of device [ 2051.042022] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:34:10 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x11) [ 2051.073418] loop4: detected capacity change from 0 to 40 22:34:10 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd00) [ 2051.081371] loop7: detected capacity change from 0 to 40 [ 2051.087175] loop2: detected capacity change from 0 to 40 [ 2051.087508] FAT-fs (loop4): invalid media value (0x00) [ 2051.088264] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2051.089812] FAT-fs (loop7): bogus number of reserved sectors [ 2051.090309] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2051.091111] loop0: detected capacity change from 0 to 40 22:34:10 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, 0x0) 22:34:10 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x7f510100, 0x0) [ 2051.161158] loop6: detected capacity change from 0 to 40 22:34:10 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:34:10 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2051.207210] loop5: detected capacity change from 0 to 40 [ 2051.215229] loop2: detected capacity change from 0 to 40 [ 2051.219294] loop1: detected capacity change from 0 to 40 [ 2051.241066] loop7: detected capacity change from 0 to 40 [ 2051.251658] FAT-fs (loop7): invalid media value (0x00) [ 2051.252105] FAT-fs (loop7): Can't find a valid FAT filesystem 22:34:24 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:34:24 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x93000000, 0x0) 22:34:24 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:34:24 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1100) [ 2064.970237] loop7: detected capacity change from 0 to 40 22:34:24 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700004c00}) 22:34:24 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf0) 22:34:24 executing program 2: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:34:24 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, 0x0) [ 2064.989906] loop5: detected capacity change from 0 to 40 [ 2064.996251] loop1: detected capacity change from 0 to 40 [ 2064.996851] FAT-fs (loop7): invalid media value (0x00) [ 2064.997738] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2064.997864] loop6: detected capacity change from 0 to 40 [ 2065.000562] loop3: detected capacity change from 0 to 40 [ 2065.002389] loop4: detected capacity change from 0 to 40 [ 2065.007328] FAT-fs (loop4): bogus number of FAT sectors [ 2065.007755] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2065.008179] loop0: detected capacity change from 0 to 40 [ 2065.019662] syz-executor.3: attempt to access beyond end of device [ 2065.019662] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:34:36 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000}) 22:34:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xc664d02d, 0x0) 22:34:36 executing program 2: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:34:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700006800}) 22:34:36 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x148a) [ 2077.826567] loop1: detected capacity change from 0 to 40 22:34:37 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 2077.843820] loop6: detected capacity change from 0 to 40 [ 2077.847507] loop3: detected capacity change from 0 to 40 [ 2077.847921] loop4: detected capacity change from 0 to 40 [ 2077.856400] FAT-fs (loop4): bogus number of FAT sectors [ 2077.857009] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2077.870845] syz-executor.1: attempt to access beyond end of device [ 2077.870845] loop1: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2077.886410] loop5: detected capacity change from 0 to 40 22:34:37 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10a) 22:34:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2077.910087] loop7: detected capacity change from 0 to 40 [ 2077.911318] syz-executor.3: attempt to access beyond end of device [ 2077.911318] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2077.930121] loop0: detected capacity change from 0 to 40 [ 2077.934483] FAT-fs (loop7): invalid media value (0x00) [ 2077.935378] FAT-fs (loop7): Can't find a valid FAT filesystem 22:34:37 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1801) 22:34:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700006c00}) 22:34:37 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:34:37 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000}) [ 2078.071047] loop1: detected capacity change from 0 to 40 22:34:37 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf4ffffff, 0x0) 22:34:37 executing program 2: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2078.115397] loop3: detected capacity change from 0 to 40 [ 2078.122384] loop6: detected capacity change from 0 to 40 [ 2078.123463] syz-executor.1: attempt to access beyond end of device [ 2078.123463] loop1: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2078.126463] loop4: detected capacity change from 0 to 40 [ 2078.134049] FAT-fs (loop4): bogus number of FAT sectors [ 2078.134801] FAT-fs (loop4): Can't find a valid FAT filesystem 22:34:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:34:37 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000}) [ 2078.190388] loop5: detected capacity change from 0 to 40 [ 2078.192853] syz-executor.3: attempt to access beyond end of device [ 2078.192853] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2078.197265] loop7: detected capacity change from 0 to 40 [ 2078.203897] FAT-fs (loop7): invalid media value (0x00) [ 2078.204785] FAT-fs (loop7): Can't find a valid FAT filesystem 22:34:37 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10b) 22:34:37 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 2078.292514] loop0: detected capacity change from 0 to 40 [ 2078.298367] loop1: detected capacity change from 0 to 40 22:34:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2078.337235] syz-executor.1: attempt to access beyond end of device [ 2078.337235] loop1: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:34:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700007400}) 22:34:37 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2000) 22:34:37 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf5ffffff, 0x0) 22:34:37 executing program 2: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2078.399885] loop4: detected capacity change from 0 to 40 [ 2078.401986] loop7: detected capacity change from 0 to 40 [ 2078.420299] loop3: detected capacity change from 0 to 40 [ 2078.426743] FAT-fs (loop7): invalid media value (0x00) [ 2078.427470] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2078.432942] loop5: detected capacity change from 0 to 40 [ 2078.450567] syz-executor.3: attempt to access beyond end of device [ 2078.450567] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:34:37 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x300) [ 2078.489059] loop6: detected capacity change from 0 to 40 [ 2078.489835] loop2: detected capacity change from 0 to 40 [ 2078.565744] loop0: detected capacity change from 0 to 40 22:34:50 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x500) 22:34:50 executing program 2: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:34:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00}) 22:34:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:34:50 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:34:50 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700007707}) 22:34:50 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3f00) 22:34:50 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xf6ff0000, 0x0) [ 2091.714263] loop7: detected capacity change from 0 to 40 [ 2091.718254] loop1: detected capacity change from 0 to 40 [ 2091.728134] loop2: detected capacity change from 0 to 40 [ 2091.732188] FAT-fs (loop7): invalid media value (0x00) [ 2091.732591] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2091.750306] loop5: detected capacity change from 0 to 40 22:34:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00}) [ 2091.781753] loop6: detected capacity change from 0 to 40 [ 2091.783163] loop3: detected capacity change from 0 to 40 [ 2091.786147] loop4: detected capacity change from 0 to 40 [ 2091.787994] loop0: detected capacity change from 0 to 40 22:34:50 executing program 2: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:34:50 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2091.817474] syz-executor.3: attempt to access beyond end of device [ 2091.817474] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2091.839093] loop1: detected capacity change from 0 to 40 [ 2091.841991] loop2: detected capacity change from 0 to 40 [ 2091.851324] loop7: detected capacity change from 0 to 40 [ 2091.862580] FAT-fs (loop7): bogus number of FAT sectors [ 2091.863245] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2103.789290] loop1: detected capacity change from 0 to 40 22:35:02 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:35:02 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfbffffff, 0x0) 22:35:02 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x3f00}) 22:35:02 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700007a00}) 22:35:02 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 2103.806160] loop4: detected capacity change from 0 to 40 [ 2103.806244] loop7: detected capacity change from 0 to 40 22:35:02 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:02 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x600) 22:35:02 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x5701) [ 2103.813860] loop0: detected capacity change from 0 to 40 [ 2103.818186] loop2: detected capacity change from 0 to 40 [ 2103.820111] loop5: detected capacity change from 0 to 40 [ 2103.830153] loop6: detected capacity change from 0 to 40 [ 2103.830729] FAT-fs (loop7): bogus number of FAT sectors [ 2103.831466] FAT-fs (loop7): Can't find a valid FAT filesystem 22:35:03 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 2103.867179] loop3: detected capacity change from 0 to 40 [ 2103.889096] syz-executor.3: attempt to access beyond end of device [ 2103.889096] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2103.894265] loop4: detected capacity change from 0 to 40 22:35:03 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8008) 22:35:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2103.965766] loop7: detected capacity change from 0 to 40 22:35:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000f6ff}) [ 2103.989654] loop1: detected capacity change from 0 to 40 [ 2103.997654] FAT-fs (loop7): bogus number of FAT sectors [ 2103.997883] loop6: detected capacity change from 0 to 40 [ 2103.998032] FAT-fs (loop7): Can't find a valid FAT filesystem 22:35:03 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:03 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:35:03 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xff0f0000, 0x0) 22:35:03 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x900) 22:35:03 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2104.002798] loop4: detected capacity change from 0 to 40 [ 2104.005290] FAT-fs (loop1): bogus number of FAT sectors [ 2104.005744] FAT-fs (loop1): Can't find a valid FAT filesystem 22:35:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2104.028153] loop2: detected capacity change from 0 to 40 [ 2104.093061] loop7: detected capacity change from 0 to 40 [ 2104.095914] loop5: detected capacity change from 0 to 40 [ 2104.103227] loop0: detected capacity change from 0 to 40 [ 2104.106999] loop3: detected capacity change from 0 to 40 [ 2104.148920] syz-executor.3: attempt to access beyond end of device [ 2104.148920] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:35:17 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70000fff6}) 22:35:17 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700006800}) [ 2118.122402] loop3: detected capacity change from 0 to 40 [ 2118.124085] loop0: detected capacity change from 0 to 40 [ 2118.127655] syz-executor.3: attempt to access beyond end of device [ 2118.127655] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:35:17 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfff7ffff, 0x0) 22:35:17 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8a14) 22:35:17 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:35:17 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:17 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:35:17 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa00) [ 2118.137053] loop5: detected capacity change from 0 to 40 22:35:17 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700080000}) [ 2118.157234] loop6: detected capacity change from 0 to 40 [ 2118.162751] loop7: detected capacity change from 0 to 40 [ 2118.173400] loop4: detected capacity change from 0 to 40 22:35:17 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffff000, 0x0) [ 2118.195379] loop2: detected capacity change from 0 to 40 [ 2118.204825] loop1: detected capacity change from 0 to 40 [ 2118.240962] syz-executor.1: attempt to access beyond end of device [ 2118.240962] loop1: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2118.256974] loop5: detected capacity change from 0 to 40 [ 2118.275013] loop3: detected capacity change from 0 to 40 22:35:17 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xc000) 22:35:17 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2118.307465] syz-executor.3: attempt to access beyond end of device [ 2118.307465] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2118.364275] loop6: detected capacity change from 0 to 40 22:35:17 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:35:17 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:35:17 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa01) 22:35:17 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffff7ff, 0x0) 22:35:17 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:17 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700e0ffff}) [ 2118.435431] loop0: detected capacity change from 0 to 40 [ 2118.443863] loop7: detected capacity change from 0 to 40 [ 2118.468058] loop4: detected capacity change from 0 to 40 [ 2118.470921] loop1: detected capacity change from 0 to 40 [ 2118.491396] FAT-fs (loop1): invalid media value (0x00) [ 2118.492137] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2118.519999] loop3: detected capacity change from 0 to 40 [ 2118.540757] loop5: detected capacity change from 0 to 40 [ 2118.556472] syz-executor.3: attempt to access beyond end of device [ 2118.556472] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:35:30 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf000) 22:35:30 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:30 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xffffff0f, 0x0) 22:35:30 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700003f00}) 22:35:30 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:35:30 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xb01) 22:35:30 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x701000000}) 22:35:30 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2131.276206] loop5: detected capacity change from 0 to 40 [ 2131.276972] loop0: detected capacity change from 0 to 40 [ 2131.284866] loop7: detected capacity change from 0 to 40 [ 2131.285978] loop4: detected capacity change from 0 to 40 [ 2131.293012] loop1: detected capacity change from 0 to 40 [ 2131.329792] loop3: detected capacity change from 0 to 40 [ 2131.335791] loop6: detected capacity change from 0 to 40 [ 2131.344318] syz-executor.1: attempt to access beyond end of device [ 2131.344318] loop1: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2131.374203] syz-executor.3: attempt to access beyond end of device [ 2131.374203] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2131.379335] loop5: detected capacity change from 0 to 40 [ 2131.383525] loop0: detected capacity change from 0 to 40 22:35:30 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff4, 0x0) 22:35:30 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd00) 22:35:30 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:30 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2131.402539] loop7: detected capacity change from 0 to 40 22:35:30 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:35:30 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10) [ 2131.493514] loop1: detected capacity change from 0 to 40 [ 2131.506553] loop4: detected capacity change from 0 to 40 22:35:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:35:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf00) 22:35:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffff5, 0x0) 22:35:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:35:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x702000000}) [ 2145.602508] loop6: detected capacity change from 0 to 40 22:35:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf6ff) 22:35:44 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:44 executing program 1: perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xffffffff, 0x0, @perf_config_ext, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfffffffd}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r0 = syz_open_dev$sg(&(0x7f0000000000), 0x0, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x2271, 0x0) ioctl$SCSI_IOCTL_SEND_COMMAND(r0, 0x1, &(0x7f0000000500)={0x80, 0x4, 0x3, "fbb715abcaa2a403f1545d43338f04865b0f72092e9e3f283bfc77fb4af21fb1d6dcf97b6917868eeb99026d3c3d3fca48771ffe05bad734fae5d3c65aca628275aae70909b4ac14ef6123fbb0c2922b06b7dc9313ebe5d8a49e92f98690921ac8da0a805ec2ea8487645ff0a9e1d437c9b26aee9ab3570a8db9390eed80f51c"}) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000005c0)='./file1\x00', 0x53e313fc, 0x6, &(0x7f0000000900)=[{&(0x7f0000000600)="e4365c63afcd896fc3a561bf19f899618f3b1edf7ebcd972be48e3843155861fa8d4e0a6beacb17d28e59c8365f2766ed2dd71e3b1ed0b8436b476624ce70b1c97aad1e6c2a714476fd0e938f768c8c94f8e9d8457fa5a749a9f7888051fb3a64cc34dc03a30e8d60bfe7315529b60499cc553260880b95bfb25d03229aa91cfef8dc290daa187f9c7f762bd0bf3c7d551717dbb4e28ae5c721c8bba461af3d969294dcf911c56682637bcb2826b71321dd58ba1", 0xb4, 0x10000}, {&(0x7f00000006c0)="00844504fe569c614ec3b886e9d023849343f59a6772bcae0ce4dc18d427de60de6f403145fa0b1ce36f28956f6b7b52d1ca0510b0e983b41dd2b991687a0383cfb332e30c28d3a50e3adf350a", 0x4d, 0xfffffffffffffffb}, {&(0x7f0000000740), 0x0, 0x9a}, {&(0x7f0000000780)="c299f4b6abc20586b2b7fd8b7a57011ccea251f653a2ce0bed5644c0354cc07fc257ccdd1c4de80c7c065ec867ba17357a91a1fe02deff85b0487bd7db4fca3687d88519cf77c789bb2d76fef7f85c2403283bfaa8ab025eb6164e4fb44e09a68ad1", 0x62, 0xc00000000000000}, {&(0x7f0000000800), 0x0, 0x7}, {&(0x7f0000000840)="89c27be828d4d59af8f61073e5b48c84fcc9e730ca11ddd25d3a59ea934425461e7328c82b8955fee78ea2899fe5f7264bb0f22ed4eb366b71f26dfef7f5df32dc040ba0137160ca008debf48361cc6e77b3f4cb7761ed26c59272c8b1d7941b9e1e3989a964f811d6baa3237a4232d61d344d7aba97f38c69cae6a8f28b75b34661df389be9bb", 0x87, 0x9}], 0x40000, &(0x7f00000009c0)={[{'/dev/sg#\x00'}, {'.'}, {'/dev/sg#\x00'}], [{@dont_appraise}, {@smackfsroot}, {@dont_appraise}, {@uid_gt={'uid>', 0xee01}}, {@obj_user={'obj_user', 0x3d, '(}\\@,/+\xec'}}, {@fowner_eq}, {@measure}, {@seclabel}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}, {@euid_gt={'euid>', 0xee00}}]}) [ 2145.610671] FAT-fs (loop2): bogus number of reserved sectors [ 2145.611119] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2145.624381] loop4: detected capacity change from 0 to 40 22:35:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff0f) [ 2145.636111] loop3: detected capacity change from 0 to 40 [ 2145.656809] program syz-executor.1 is using a deprecated SCSI ioctl, please convert it to SG_IO [ 2145.657957] loop5: detected capacity change from 0 to 40 [ 2145.659919] loop0: detected capacity change from 0 to 40 [ 2145.663966] loop7: detected capacity change from 0 to 40 [ 2145.668790] loop1: detected capacity change from 0 to 264192 [ 2145.672454] syz-executor.3: attempt to access beyond end of device [ 2145.672454] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:35:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:35:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:35:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10ff) 22:35:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x703000000}) 22:35:44 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x3, 0x0, 0x0) 22:35:44 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:35:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xfffffffb, 0x0) [ 2145.775187] loop6: detected capacity change from 0 to 40 [ 2145.780028] loop4: detected capacity change from 0 to 40 [ 2145.780478] FAT-fs (loop2): bogus number of reserved sectors [ 2145.780907] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2145.814515] loop3: detected capacity change from 0 to 40 [ 2145.822975] loop0: detected capacity change from 0 to 40 [ 2145.823880] loop5: detected capacity change from 0 to 40 [ 2145.834738] syz-executor.3: attempt to access beyond end of device [ 2145.834738] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2145.869763] loop7: detected capacity change from 0 to 40 [ 2145.873784] loop1: detected capacity change from 0 to 40 [ 2162.510203] loop5: detected capacity change from 0 to 40 [ 2162.539401] loop3: detected capacity change from 0 to 40 [ 2162.540915] FAT-fs (loop2): bogus number of reserved sectors [ 2162.541381] FAT-fs (loop2): Can't find a valid FAT filesystem 22:36:01 executing program 1: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) ioctl$TCSBRKP(r0, 0x5425, 0x4) ioctl$BTRFS_IOC_SCRUB_PROGRESS(0xffffffffffffffff, 0xc400941d, &(0x7f0000000180)={0x0, 0x101, 0x10000, 0x1}) ioctl$BTRFS_IOC_SCRUB(r0, 0xc400941b, &(0x7f0000000580)={r1, 0xe08e, 0x9, 0x1}) syz_open_procfs$userns(0x0, &(0x7f0000000080)) r2 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r2, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r2, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r2, 0x6, 0x13, &(0x7f0000000000), 0x4) socket$packet(0x11, 0x3, 0x300) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r3, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r4 = syz_mount_image$tmpfs(&(0x7f0000000980), &(0x7f0000001140)='./file0\x00', 0x2, 0xa, &(0x7f0000001380)=[{&(0x7f0000000a00)="f2588deee3126b47a60b79bf63226e92f68270b1c6df02b3835926ce3c477bba770f16a87d34d7cfa67291bf2a917985a2e0726d3b8c901d5530e36f955aa0637748e77b5fb5f9f45b95abbca74994e9ff177add4dce5a0a5016e8ff136ebe25972ca715681f7763e92043d5b36f478fdc8f7ce779d91ffdea10f5d60cd2b37231fb7fc09910335c446cbcb324313efb36bdde31eb1dbbbc898eb724e4a1eb6e2ef97e7516d468b368db7c8ea8ca9b124bdbceff2a57adc9143930e86b812e09bbee3a04b9908c90e128f8321c6a1ea3e90614b900d6d12dd8a46c08", 0xdc, 0x7}, {&(0x7f0000000b00)="27017f32c8cb780203fa8c778468ec1beda180e8d3d3718cc7dd5b57b66a431a5ca9e60875c1a4d94ad795eebd029464721360fc51d596282dad3302d8b8938aa30da5255e8b71e87027d04f8e149e98e8768ce7e380eaca9fac2cb78487829ddaa9349283b2367845e3331014c1b23520163d14f0090300669ed6ed9124b6ea3f29b9cd3faf18bfa04d253c335c3c2f68989d599679e5aa5359dc73e74a870c4f18f9ff79db1da4157a93d98ffa9ffbc043d3789265357f49bdd9be25a71c77bd91aabcc1ce05a0536a04b0cd26dd17fb8a811db558f0eca757572ddcb28ee3794b6cb62994", 0xe6, 0xfffffffffffff892}, {&(0x7f0000000c00)="d55882e4b3233eccccf13decd0169ab31254c0658e2717b650d1b4a78c495e30a4e9988c18c2d63da6c54100110babfd24913d203610b8400a2b44b1a952be9429c76b67a69ad98eebce957bb32dfde62ac5628ab48ea2abd708e4459cc21d53a73e7076676f492ad444f7b693ae19c704e4a894112b1edf557b72b594a37e7e624184a057a3f923e09f10036d4ea018338285bafb8224df890c68e4149467b11f2b6c5199d5e7fbe8c8e0b44373e4ac9c706c00080ba4d5e5d26116c7bdf447dca81754", 0xc4, 0xe9b}, {&(0x7f0000000d00)="1b5b753dc7d32711f1279251c2bd3d21f9c58cecb50dd8b605b4c2282a48f9cdf3801b02e507d59cc69f179fe70a6b2f765c376a69a039891a877e85a1c2b67b0135d509b5c6506fd663fe0bed74a9ae4786d0ce1049f3454bfc583b3fe3a10bbe75040d9c016894507e0842d78cdbe00ad554d15a525967f923c23934ffa0e3577824b5584d8f9fccf5f909717f81c8e6febdfbf33a2f21960b20588ce03b82e91fd3da063cee6a7344b64bc85fa3ae9cbb48edb87b069df2fc3bad31dcf8afff28656bb6464530edd0b8cf5d1297d1c0b4782fd35a5024afd1128be521789e3775", 0xe2, 0x1}, {&(0x7f0000000e00)="0ecc3857f453dc5c5b398453edead3aa51019c56e99965979e7b6f2bc98b2205706d8030b7030d0332988a2ed138a37890fd80e3e6742861227e592c6525975752daff5c8684", 0x46, 0x8}, {&(0x7f0000000e80)="ed80f0d0c48b863292777e8e5637e345bede9f951a58149c61b23bb9943cbd309490216cd9318d8fdf4f9499b500090865c1b80648f622c3f4f1553ca8d6361e8a1bbf5956410bfaeb96d413ca5352f430413ba82cd1a7", 0x57, 0x2}, {&(0x7f0000000f00)="37f542951c7bf9537d61816147d8e6ddd500182999b28d086c671ffec4a81a09f74bda6b4eabc04c850eee8cbedefd28805fdb2fb74329efd0d25de01ebfd89e4e4a104095b8eb7adaba88e9f3cf86daf7d182e395f2dfb3c7bbf1670cab1a53c3eeeaa26da4603fe118641909b300cc7452eb8c17e3fadf000f836c8445e5107d839e05a42637b41e442a535d82019d6564f77adbd9804deaabc63a0c93401bbab39ffa69d5d1fc8a75a1699155d5f1dea24eef86be5b366d8c8d044b180eb111aaed7e7d0db183d021c22ceef74be5fe7b6eb68ae7f8c5e79a679654485bdd2a510232b439", 0x105, 0x5}, {&(0x7f0000001000)="f55347be408ab9911b91c1abab3479b15c9250f514aaac43707d35866dea7b47316aa4d3ab9ff1dca34cc764c754c7ad4331211cb9a123e70eb79ba56dd0b34e43b05ce08427bb76240092a7d8685685e2a0375d80ffbe863068de471d62fdad13b9e210ceccd8269375e76e15eaa97ffff0df66d80c04cdb5c5baba03aa5bdb5062661c2392993f28ec4df75d1e020c05eeadfd504b9b8c3f4966964655b35a55feb56d901b70c5599e678779954e032e958d8287dd95", 0xb7, 0x7}, {&(0x7f00000010c0)="47801a5f7972ae077b56c50e564f77607414e2577248c73bb386253aca623717b009bc858fe2c8aefa81afa63bb1a15a65a47ef4cbc8e5ef9617ad6552f24cc0ffeda7225a3ab1d62a68405698e33a171980d771decef0d202381f72c9a4f06a13184776eb6491765de78978cad0", 0x6e, 0x1000}, {&(0x7f0000001240)="2e1d3a48464caa3a7c058189e7dac65ff28d8ff473419373109ba5", 0x1b, 0x3}], 0x101440, &(0x7f00000012c0)=ANY=[@ANYBLOB="68a167653d616c776179732c687567653d616c776179732c6f626a5f757365723d6e732f75736572002c6f626a5f75736572292001002c7065726d69745f646972656374696f2c6673636f6e746578743d757365725f753f00000000000000e06c313f63fa52fc018ee409121cde6c08dcf67bad62c873165566737520984b06ff7c3644545a3015c6b28b9ed20f8d665677eafc8b6c84f7cdbf8abbfb00"/172]) tee(r3, r4, 0x5f4, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r0, 0x0, 0x3) r5 = socket$inet6_icmp(0xa, 0x2, 0x3a) ioctl$ifreq_SIOCGIFINDEX_wireguard(r5, 0x8933, &(0x7f0000000040)={'wg2\x00'}) 22:36:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:36:01 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:36:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x704000000}) 22:36:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:36:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfff6) 22:36:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1100) 22:36:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0xffffffff, 0x0) [ 2162.552811] loop7: detected capacity change from 0 to 40 22:36:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2162.707239] loop6: detected capacity change from 0 to 40 [ 2162.713262] loop0: detected capacity change from 0 to 40 [ 2162.717684] FAT-fs (loop7): Unrecognized mount option "P" or missing value [ 2162.719469] loop4: detected capacity change from 0 to 40 22:36:01 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:36:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1517f) 22:36:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:36:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:36:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2000) 22:36:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x705000000}) [ 2162.878337] loop5: detected capacity change from 0 to 40 [ 2162.892859] loop1: detected capacity change from 0 to 16376 [ 2162.923943] loop7: detected capacity change from 0 to 40 [ 2162.925303] loop4: detected capacity change from 0 to 40 [ 2162.926909] loop3: detected capacity change from 0 to 40 [ 2162.927815] FAT-fs (loop2): bogus number of reserved sectors [ 2162.928207] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2162.944724] syz-executor.3: attempt to access beyond end of device [ 2162.944724] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2162.973513] loop6: detected capacity change from 0 to 40 22:36:02 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2162.996897] loop0: detected capacity change from 0 to 40 [ 2163.035326] loop7: detected capacity change from 0 to 40 22:36:16 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) 22:36:16 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1a8c5) 22:36:16 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:36:16 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3f00) 22:36:16 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x706000000}) [ 2177.440384] loop0: detected capacity change from 0 to 40 22:36:16 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:36:16 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2) 22:36:16 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:36:16 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8008) [ 2177.474060] loop6: detected capacity change from 0 to 40 [ 2177.487303] loop7: detected capacity change from 0 to 40 [ 2177.491332] FAT-fs (loop2): bogus number of reserved sectors [ 2177.491754] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2177.521508] loop1: detected capacity change from 0 to 40 [ 2177.523300] loop5: detected capacity change from 0 to 40 [ 2177.525194] loop3: detected capacity change from 0 to 40 [ 2177.534972] loop4: detected capacity change from 0 to 40 [ 2177.550498] loop0: detected capacity change from 0 to 40 22:36:16 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2177.559539] syz-executor.3: attempt to access beyond end of device [ 2177.559539] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:36:16 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x80000) 22:36:16 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2177.620865] loop7: detected capacity change from 0 to 40 22:36:16 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf000) [ 2177.632814] FAT-fs (loop2): bogus number of reserved sectors [ 2177.633221] FAT-fs (loop2): Can't find a valid FAT filesystem 22:36:16 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:36:16 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3) 22:36:16 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x707000000}) 22:36:16 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) [ 2177.652675] loop6: detected capacity change from 0 to 40 22:36:16 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2177.713008] loop4: detected capacity change from 0 to 40 22:36:16 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2177.726478] loop7: detected capacity change from 0 to 40 22:36:16 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf6ff) [ 2177.762028] loop5: detected capacity change from 0 to 40 22:36:16 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x2000000, 0x0) 22:36:16 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) [ 2177.791798] loop1: detected capacity change from 0 to 40 [ 2177.801542] loop3: detected capacity change from 0 to 40 [ 2177.829925] loop4: detected capacity change from 0 to 40 [ 2177.839676] loop7: detected capacity change from 0 to 40 [ 2177.845225] syz-executor.3: attempt to access beyond end of device [ 2177.845225] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2177.861422] loop2: detected capacity change from 0 to 40 [ 2177.864190] FAT-fs (loop2): bogus number of reserved sectors [ 2177.864713] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2189.946358] loop2: detected capacity change from 0 to 40 22:36:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:36:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x709000000}) 22:36:29 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:36:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff0f) 22:36:29 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4) [ 2189.957515] loop6: detected capacity change from 0 to 40 22:36:29 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa0000) 22:36:29 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x2ff9}], 0x1, 0x0, 0x0) 22:36:29 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x2000000, 0x0) [ 2189.964292] loop1: detected capacity change from 0 to 40 [ 2189.971022] FAT-fs (loop2): bogus number of reserved sectors [ 2189.971458] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2190.001238] loop7: detected capacity change from 0 to 40 [ 2190.009960] loop5: detected capacity change from 0 to 40 [ 2190.013143] loop0: detected capacity change from 0 to 40 [ 2190.014834] loop3: detected capacity change from 0 to 40 [ 2190.021102] loop4: detected capacity change from 0 to 40 22:36:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:36:29 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:36:29 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x100000) [ 2190.045933] syz-executor.3: attempt to access beyond end of device [ 2190.045933] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:36:29 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x0, 0x0) [ 2190.091705] loop2: detected capacity change from 0 to 40 [ 2190.097172] loop1: detected capacity change from 0 to 40 [ 2190.100223] loop6: detected capacity change from 0 to 40 [ 2190.103182] FAT-fs (loop2): bogus number of reserved sectors [ 2190.103573] FAT-fs (loop2): Can't find a valid FAT filesystem 22:36:29 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x2000000, 0x0) 22:36:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70a000000}) 22:36:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff10) [ 2190.170319] loop7: detected capacity change from 0 to 40 [ 2190.211105] loop0: detected capacity change from 0 to 40 [ 2190.214743] loop3: detected capacity change from 0 to 40 [ 2190.221142] syz-executor.3: attempt to access beyond end of device [ 2190.221142] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2190.232326] loop4: detected capacity change from 0 to 40 22:36:42 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x2000000, 0x0) 22:36:42 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x0, 0x0) [ 2203.509774] loop5: detected capacity change from 0 to 40 [ 2203.514943] loop4: detected capacity change from 0 to 40 [ 2203.528362] loop7: detected capacity change from 0 to 40 [ 2203.544111] loop3: detected capacity change from 0 to 40 [ 2203.549851] loop6: detected capacity change from 0 to 40 22:36:42 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x5) 22:36:42 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf0ffff) 22:36:42 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:36:42 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:36:42 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfff6) 22:36:42 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70d000000}) [ 2203.559156] loop2: detected capacity change from 0 to 40 [ 2203.561156] FAT-fs (loop2): bogus number of reserved sectors [ 2203.561626] FAT-fs (loop2): Can't find a valid FAT filesystem 22:36:42 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x2000000, 0x0) [ 2203.572037] loop0: detected capacity change from 0 to 40 [ 2203.576367] loop1: detected capacity change from 0 to 40 [ 2203.579548] syz-executor.3: attempt to access beyond end of device [ 2203.579548] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:36:42 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x6) 22:36:42 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x0, 0x0) 22:36:42 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1000000) 22:36:42 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x70f000000}) [ 2203.656845] loop7: detected capacity change from 0 to 40 [ 2203.667373] loop5: detected capacity change from 0 to 40 [ 2203.670899] loop4: detected capacity change from 0 to 40 [ 2203.762838] loop6: detected capacity change from 0 to 40 [ 2203.775141] loop3: detected capacity change from 0 to 40 [ 2203.805494] syz-executor.3: attempt to access beyond end of device [ 2203.805494] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:36:54 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x711000000}) 22:36:54 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:36:54 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2000000) [ 2214.925878] loop6: detected capacity change from 0 to 40 22:36:54 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1517f) 22:36:54 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2214.935575] loop1: detected capacity change from 0 to 40 22:36:54 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x0, 0x0) 22:36:54 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x2000000, 0x0) 22:36:54 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8) [ 2214.946323] loop3: detected capacity change from 0 to 40 [ 2214.949918] loop4: detected capacity change from 0 to 40 [ 2214.951427] loop7: detected capacity change from 0 to 40 [ 2214.959254] loop5: detected capacity change from 0 to 40 [ 2214.978480] loop0: detected capacity change from 0 to 40 [ 2214.982723] loop2: detected capacity change from 0 to 40 [ 2214.998432] syz-executor.3: attempt to access beyond end of device [ 2214.998432] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2215.001376] FAT-fs (loop2): bogus number of reserved sectors [ 2215.002229] FAT-fs (loop2): Can't find a valid FAT filesystem 22:36:54 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x9) 22:36:54 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x0, 0x0) 22:36:54 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4000000) 22:36:54 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x2000000, 0x0) 22:36:54 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:36:54 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1a52e) 22:36:54 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2215.090879] loop7: detected capacity change from 0 to 40 [ 2215.100758] loop6: detected capacity change from 0 to 40 22:36:54 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x720000000}) [ 2215.120385] loop1: detected capacity change from 0 to 40 [ 2215.125114] loop2: detected capacity change from 0 to 40 [ 2215.133063] loop5: detected capacity change from 0 to 40 [ 2215.137450] loop4: detected capacity change from 0 to 40 [ 2215.144486] FAT-fs (loop2): bogus number of reserved sectors [ 2215.145021] FAT-fs (loop2): Can't find a valid FAT filesystem 22:36:54 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x0, 0x0) 22:36:54 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x5000000) 22:36:54 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2215.195441] loop0: detected capacity change from 0 to 40 [ 2215.197992] loop3: detected capacity change from 0 to 40 22:36:54 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2215.222267] loop7: detected capacity change from 0 to 40 [ 2215.228222] syz-executor.3: attempt to access beyond end of device [ 2215.228222] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2215.255241] loop6: detected capacity change from 0 to 40 [ 2215.256225] loop1: detected capacity change from 0 to 40 22:36:54 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x2000000, 0x0) [ 2215.273998] loop2: detected capacity change from 0 to 40 [ 2215.282067] FAT-fs (loop2): bogus number of reserved sectors [ 2215.282645] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2215.369957] loop4: detected capacity change from 0 to 40 22:37:07 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1a52f) 22:37:07 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x0, 0x0) 22:37:07 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x73f000000}) [ 2228.224255] loop1: detected capacity change from 0 to 40 22:37:07 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x6000000) 22:37:07 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:37:07 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:37:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa) 22:37:07 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x2000000, 0x0) [ 2228.233868] loop4: detected capacity change from 0 to 40 [ 2228.245701] loop5: detected capacity change from 0 to 40 [ 2228.258544] loop0: detected capacity change from 0 to 40 [ 2228.271824] loop3: detected capacity change from 0 to 40 [ 2228.287788] loop6: detected capacity change from 0 to 40 [ 2228.295480] loop2: detected capacity change from 0 to 40 [ 2228.297445] FAT-fs (loop2): bogus number of reserved sectors [ 2228.297975] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2228.304154] loop7: detected capacity change from 0 to 40 22:37:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd) [ 2228.316897] syz-executor.3: attempt to access beyond end of device [ 2228.316897] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:37:07 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x80000) 22:37:07 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x2000000, 0x0) 22:37:07 executing program 1: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2228.402685] loop5: detected capacity change from 0 to 40 [ 2228.410030] loop0: detected capacity change from 0 to 40 [ 2228.454753] loop4: detected capacity change from 0 to 40 22:37:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x2000000, 0x0) 22:37:20 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa0000) 22:37:20 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:37:20 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x0, 0x0) 22:37:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8800000) [ 2241.047222] loop4: detected capacity change from 0 to 40 [ 2241.055328] loop3: detected capacity change from 0 to 40 [ 2241.056893] loop7: detected capacity change from 0 to 40 22:37:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf) 22:37:20 executing program 1: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:37:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x748000000}) [ 2241.070421] loop2: detected capacity change from 0 to 40 [ 2241.074647] loop5: detected capacity change from 0 to 40 [ 2241.078008] loop0: detected capacity change from 0 to 40 [ 2241.079566] syz-executor.3: attempt to access beyond end of device [ 2241.079566] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2241.081092] loop6: detected capacity change from 0 to 40 [ 2241.094970] FAT-fs (loop2): bogus number of reserved sectors [ 2241.096096] FAT-fs (loop2): Can't find a valid FAT filesystem 22:37:20 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x0, 0x0) [ 2241.165403] loop7: detected capacity change from 0 to 40 22:37:33 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:37:33 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x74c000000}) 22:37:33 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10) 22:37:33 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x9000000) 22:37:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x2000000, 0x0) 22:37:33 executing program 1: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:37:33 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x100000) 22:37:33 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x0, 0x0) [ 2253.914832] loop5: detected capacity change from 0 to 40 [ 2253.920240] loop0: detected capacity change from 0 to 40 [ 2253.922122] loop3: detected capacity change from 0 to 40 [ 2253.925166] loop2: detected capacity change from 0 to 40 [ 2253.930196] loop4: detected capacity change from 0 to 40 [ 2253.930999] loop7: detected capacity change from 0 to 40 [ 2253.934746] loop6: detected capacity change from 0 to 40 [ 2253.949053] FAT-fs (loop2): bogus number of reserved sectors [ 2253.949927] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2253.965914] syz-executor.3: attempt to access beyond end of device [ 2253.965914] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:37:33 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:37:33 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x0, 0x0) 22:37:33 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x11) 22:37:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:37:33 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf0ffff) 22:37:33 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x768000000}) 22:37:33 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:37:33 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd000000) [ 2254.119704] loop1: detected capacity change from 0 to 40 [ 2254.151477] loop5: detected capacity change from 0 to 40 [ 2254.178519] loop3: detected capacity change from 0 to 40 [ 2254.191839] loop7: detected capacity change from 0 to 40 [ 2254.201965] loop4: detected capacity change from 0 to 40 [ 2254.209971] syz-executor.3: attempt to access beyond end of device [ 2254.209971] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2254.211185] loop2: detected capacity change from 0 to 40 [ 2254.218713] FAT-fs (loop2): bogus number of reserved sectors [ 2254.219485] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2254.223170] loop0: detected capacity change from 0 to 40 [ 2254.231989] loop6: detected capacity change from 0 to 40 22:37:33 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:37:33 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x0, 0x0) 22:37:33 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x93) 22:37:33 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x76c000000}) 22:37:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:37:33 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1000000) [ 2254.358213] loop1: detected capacity change from 0 to 40 [ 2254.422557] loop3: detected capacity change from 0 to 40 [ 2254.426367] loop7: detected capacity change from 0 to 40 [ 2254.431053] loop5: detected capacity change from 0 to 40 [ 2254.447136] syz-executor.3: attempt to access beyond end of device [ 2254.447136] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2254.451473] loop4: detected capacity change from 0 to 40 [ 2254.464473] loop0: detected capacity change from 0 to 40 22:37:47 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:37:47 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2000000) [ 2268.450962] loop5: detected capacity change from 0 to 40 [ 2268.454636] loop1: detected capacity change from 0 to 40 [ 2268.456921] loop2: detected capacity change from 0 to 40 [ 2268.459457] FAT-fs (loop2): bogus number of reserved sectors [ 2268.459905] FAT-fs (loop2): Can't find a valid FAT filesystem 22:37:47 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:37:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:37:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x774000000}) 22:37:47 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf0) 22:37:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff) 22:37:47 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4) [ 2268.471902] loop4: detected capacity change from 0 to 40 [ 2268.485810] loop6: detected capacity change from 0 to 40 [ 2268.491932] loop0: detected capacity change from 0 to 40 [ 2268.506823] loop3: detected capacity change from 0 to 40 [ 2268.507787] loop7: detected capacity change from 0 to 40 22:37:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2268.540976] syz-executor.3: attempt to access beyond end of device [ 2268.540976] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:37:47 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x300) 22:37:47 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2268.593963] loop5: detected capacity change from 0 to 40 [ 2268.596980] loop2: detected capacity change from 0 to 40 [ 2268.600365] FAT-fs (loop2): invalid media value (0x00) [ 2268.600806] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2268.603534] loop1: detected capacity change from 0 to 40 22:37:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10000000) 22:37:47 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3000000) 22:37:47 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x709000000}) 22:37:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x777070000}) 22:37:47 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x500) [ 2268.685310] loop0: detected capacity change from 0 to 40 [ 2268.697472] loop5: detected capacity change from 0 to 40 [ 2268.719573] loop6: detected capacity change from 0 to 40 [ 2268.731337] loop7: detected capacity change from 0 to 40 [ 2268.734699] loop3: detected capacity change from 0 to 40 [ 2268.754927] syz-executor.3: attempt to access beyond end of device [ 2268.754927] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2268.758732] syz-executor.7: attempt to access beyond end of device [ 2268.758732] loop7: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:38:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x77a000000}) 22:38:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:38:00 executing program 7: r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) fcntl$setown(r0, 0x8, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r0, 0x0, 0x3) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$BTRFS_IOC_QGROUP_ASSIGN(r0, 0x40189429, &(0x7f0000000080)={0x1, 0xa1, 0x5}) fcntl$getown(r1, 0x9) 22:38:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4000000) 22:38:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x600) 22:38:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x11000000) 22:38:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2281.563832] loop1: detected capacity change from 0 to 40 [ 2281.566539] loop3: detected capacity change from 0 to 40 [ 2281.572447] loop6: detected capacity change from 0 to 40 [ 2281.572548] loop4: detected capacity change from 0 to 40 [ 2281.575717] loop5: detected capacity change from 0 to 40 [ 2281.583397] syz-executor.3: attempt to access beyond end of device [ 2281.583397] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2281.593311] loop2: detected capacity change from 0 to 40 [ 2281.596513] loop0: detected capacity change from 0 to 40 [ 2281.603507] FAT-fs (loop2): invalid media value (0x00) [ 2281.604407] FAT-fs (loop2): Can't find a valid FAT filesystem 22:38:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x7f6ff0000}) 22:38:00 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000080)='./file1\x00', 0x141042, 0x1cd) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r0, 0x0, 0x3) ioctl$BTRFS_IOC_SUBVOL_SETFLAGS(r0, 0x4008941a, &(0x7f0000000040)) openat$ptmx(0xffffffffffffff9c, &(0x7f00000002c0), 0x10040, 0x0) r1 = syz_open_dev$ptys(0xc, 0x3, 0x1) ioctl$GIO_UNIMAP(r1, 0x4b66, &(0x7f0000000380)={0xb, &(0x7f00000003c0)=[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}]}) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) ioctl$AUTOFS_DEV_IOCTL_VERSION(r0, 0xc0189371, &(0x7f0000000240)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) ioctl$INCFS_IOC_PERMIT_FILL(r0, 0x40046721, &(0x7f0000000280)={r3}) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r4 = openat$hpet(0xffffffffffffff9c, &(0x7f0000000180), 0x20000, 0x0) clock_gettime(0x0, &(0x7f00000001c0)={0x0, 0x0}) setsockopt$sock_timeval(r4, 0x1, 0x42, &(0x7f0000000200)={r5, r6/1000+60000}, 0x10) openat(r2, &(0x7f0000000100)='./file1\x00', 0x109000, 0xb0) 22:38:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x900) 22:38:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x18010000) 22:38:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x5000000) 22:38:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2281.840442] loop3: detected capacity change from 0 to 40 [ 2281.851531] syz-executor.3: attempt to access beyond end of device [ 2281.851531] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2281.858771] loop1: detected capacity change from 0 to 40 [ 2281.864931] loop6: detected capacity change from 0 to 40 [ 2281.866801] loop5: detected capacity change from 0 to 40 [ 2281.961314] loop0: detected capacity change from 0 to 40 [ 2281.978800] loop2: detected capacity change from 0 to 40 [ 2281.980558] FAT-fs (loop2): invalid media value (0x00) [ 2281.981337] FAT-fs (loop2): Can't find a valid FAT filesystem 22:38:15 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x6000000) 22:38:15 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x7fff7ffff}) 22:38:15 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', 0x1412c0, 0x4a) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) openat(0xffffffffffffffff, &(0x7f00000001c0)='./file1\x00', 0x200000, 0xc5) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = openat(r1, &(0x7f0000000080)='./file1\x00', 0x400000, 0x4) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) lseek(r0, 0x0, 0x3) ioctl$AUTOFS_DEV_IOCTL_FAIL(r2, 0xc0189377, &(0x7f0000000180)={{0x1, 0x1, 0x18, r2, {0xe5, 0x6}}, './file1\x00'}) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x753442, 0x0) recvmsg$unix(0xffffffffffffffff, &(0x7f0000000900)={0x0, 0x0, &(0x7f0000000800)=[{&(0x7f0000000300)}, {&(0x7f0000000380)=""/28, 0x1c}, {&(0x7f00000003c0)=""/14, 0xe}, {&(0x7f0000000400)=""/85, 0x55}, {&(0x7f0000000480)=""/72, 0x48}, {&(0x7f0000000500)=""/225, 0xe1}, {&(0x7f0000000600)=""/44, 0x2c}, {&(0x7f0000000640)=""/99, 0x63}, {&(0x7f00000006c0)=""/98, 0x62}, {&(0x7f0000000740)=""/175, 0xaf}], 0xa, &(0x7f00000008c0)=[@cred={{0x1c}}], 0x20}, 0x2000) ioctl$EXT4_IOC_CHECKPOINT(r4, 0x4004662b, &(0x7f0000000340)=0x1) sendmsg$NL80211_CMD_ADD_TX_TS(r3, &(0x7f00000002c0)={&(0x7f0000000200)={0x10, 0x0, 0x0, 0x2000}, 0xc, &(0x7f0000000280)={&(0x7f0000000240)={0x40, 0x0, 0x20, 0x70bd2c, 0x25dfdbfc, {{}, {@val={0x8}, @val={0xc, 0x99, {0x400, 0x31}}}}, [@NL80211_ATTR_MAC={0xa, 0x6, @device_b}, @NL80211_ATTR_MAC={0xa, 0x6, @device_b}]}, 0x40}, 0x1, 0x0, 0x0, 0x200080d0}, 0x4000040) pwritev(r4, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$F2FS_IOC_WRITE_CHECKPOINT(r4, 0xf507, 0x0) openat$cgroup_ro(r4, &(0x7f0000000000)='hugetlb.1GB.usage_in_bytes\x00', 0x0, 0x0) [ 2296.140374] loop7: detected capacity change from 0 to 40 [ 2296.149239] loop5: detected capacity change from 0 to 40 [ 2296.152324] loop3: detected capacity change from 0 to 40 22:38:15 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:15 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:38:15 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa00) 22:38:15 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:15 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x20000000) [ 2296.168758] loop6: detected capacity change from 0 to 40 [ 2296.360429] loop0: detected capacity change from 0 to 40 [ 2296.367554] syz-executor.3: attempt to access beyond end of device [ 2296.367554] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2296.370112] loop2: detected capacity change from 0 to 40 [ 2296.383704] FAT-fs (loop2): invalid media value (0x00) [ 2296.384409] FAT-fs (loop2): Can't find a valid FAT filesystem 22:38:15 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x7f6ff0000}) 22:38:15 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:15 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', 0x1412c0, 0x4a) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) openat(0xffffffffffffffff, &(0x7f00000001c0)='./file1\x00', 0x200000, 0xc5) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = openat(r1, &(0x7f0000000080)='./file1\x00', 0x400000, 0x4) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) lseek(r0, 0x0, 0x3) ioctl$AUTOFS_DEV_IOCTL_FAIL(r2, 0xc0189377, &(0x7f0000000180)={{0x1, 0x1, 0x18, r2, {0xe5, 0x6}}, './file1\x00'}) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x753442, 0x0) recvmsg$unix(0xffffffffffffffff, &(0x7f0000000900)={0x0, 0x0, &(0x7f0000000800)=[{&(0x7f0000000300)}, {&(0x7f0000000380)=""/28, 0x1c}, {&(0x7f00000003c0)=""/14, 0xe}, {&(0x7f0000000400)=""/85, 0x55}, {&(0x7f0000000480)=""/72, 0x48}, {&(0x7f0000000500)=""/225, 0xe1}, {&(0x7f0000000600)=""/44, 0x2c}, {&(0x7f0000000640)=""/99, 0x63}, {&(0x7f00000006c0)=""/98, 0x62}, {&(0x7f0000000740)=""/175, 0xaf}], 0xa, &(0x7f00000008c0)=[@cred={{0x1c}}], 0x20}, 0x2000) ioctl$EXT4_IOC_CHECKPOINT(r4, 0x4004662b, &(0x7f0000000340)=0x1) sendmsg$NL80211_CMD_ADD_TX_TS(r3, &(0x7f00000002c0)={&(0x7f0000000200)={0x10, 0x0, 0x0, 0x2000}, 0xc, &(0x7f0000000280)={&(0x7f0000000240)={0x40, 0x0, 0x20, 0x70bd2c, 0x25dfdbfc, {{}, {@val={0x8}, @val={0xc, 0x99, {0x400, 0x31}}}}, [@NL80211_ATTR_MAC={0xa, 0x6, @device_b}, @NL80211_ATTR_MAC={0xa, 0x6, @device_b}]}, 0x40}, 0x1, 0x0, 0x0, 0x200080d0}, 0x4000040) pwritev(r4, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$F2FS_IOC_WRITE_CHECKPOINT(r4, 0xf507, 0x0) openat$cgroup_ro(r4, &(0x7f0000000000)='hugetlb.1GB.usage_in_bytes\x00', 0x0, 0x0) 22:38:15 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3b0bd84c) 22:38:15 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x7ffffe000}) 22:38:15 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd00) 22:38:15 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8800000) [ 2296.517164] loop7: detected capacity change from 0 to 40 [ 2296.539142] loop3: detected capacity change from 0 to 40 [ 2296.557866] syz-executor.7: attempt to access beyond end of device [ 2296.557866] loop7: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:38:15 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2296.574448] syz-executor.3: attempt to access beyond end of device [ 2296.574448] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2296.581229] loop0: detected capacity change from 0 to 40 [ 2296.583756] loop6: detected capacity change from 0 to 40 [ 2296.765352] loop5: detected capacity change from 0 to 40 [ 2296.790647] loop2: detected capacity change from 0 to 40 [ 2296.804653] FAT-fs (loop2): invalid media value (0x00) [ 2296.805357] FAT-fs (loop2): Can't find a valid FAT filesystem 22:38:28 executing program 7: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x1410c2, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)=0x1) fcntl$addseals(r0, 0x409, 0x2) pwritev(r0, &(0x7f0000000080)=[{&(0x7f0000000000)="02", 0x1}, {&(0x7f0000000180)="171009ef99eeccfe06fb593fb3a89e6a9e089f3c41eac9564eb4399f60d452992a908d8063b0a5361dd570279cfd415e28ac0c7810f959a4d41f335e15118b83e2ca05c399cb11e4dd428d6efd7169", 0x4f}], 0x2, 0x1, 0x0) lseek(r0, 0x0, 0x3) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) sendfile(r1, 0xffffffffffffffff, &(0x7f0000000040)=0x5, 0x1) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x7) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = syz_init_net_socket$802154_raw(0x24, 0x3, 0x0) ioctl$TIOCGSID(0xffffffffffffffff, 0x5429, &(0x7f0000000340)=0x0) pidfd_open(r3, 0x0) fcntl$setown(r2, 0x8, r3) 22:38:28 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3f000000) 22:38:28 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) r1 = open$dir(0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f00000000c0)) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r4 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r4, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}, {0x0, @usage, 0x0}}) setsockopt$IPT_SO_SET_ADD_COUNTERS(0xffffffffffffffff, 0x0, 0x41, &(0x7f00000003c0)=ANY=[@ANYBLOB="26909b126ce294868cae38ed48a0ff000000000700000000a857000000000000f200b9ca65a481d37a3f000000bafecaddf88c11e2050045009bc8bf1f7a78dd010000a20000000000000000000040e6aaf842b51f0572c7a30008000000000000010000000017339d754195234c1810d6342740fec30fb235cc5b8ce24b9a731d013fb02742f4a05ae3715efe368581b7bf2f60d5abf28810d4eec8a41d3aed39fff356137a628cdda0f62663630926b24c17ec21f8d5b0282087e70b30736232a088fd538212994fe73631f8caf43ff71688d470ddddb83cb89d1ba2cf16307777b56160921b5b730456d0c0fd9f5cc6e0a7846c4e6e74f3f5491dfda800000000000000005850b49f8170e43c46881de46216670ee2799ef0f93a56f098d1e8b2d90ac927712645d99931c94f9f9b9503c14223d05df186b452b6cff282f34d0718860fa40fc4e7fb56873c2fcd4e653bdb266a1c643d8efdab10a1408a26292ec10000000000015fa135bbdf7d36bc75ffa90b779a00000000000000000000000000a6ded8aeeda9320e8e1cab119722183ba452f48479248e58fb0481d0d727841300d72eccd6e5e25a43d28773669cceec366b", @ANYRES32, @ANYRESDEC=r5, @ANYRESOCT], 0x48) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0xa, 0x10, r2, 0x82c50000) ioctl$BTRFS_IOC_SUBVOL_CREATE_V2(r2, 0x50009418, &(0x7f0000000280)={{r1}, r3, 0x1c, @unused=[0x1, 0x7, 0x6, 0xc9c], @devid=r5}) lseek(r2, 0x2, 0x3) connect$inet6(0xffffffffffffffff, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) connect(r4, &(0x7f0000001280)=@isdn={0x22, 0x9, 0x5, 0x1, 0xff}, 0x80) [ 2309.656088] loop2: detected capacity change from 0 to 40 [ 2309.658208] FAT-fs (loop2): invalid media value (0x00) [ 2309.658590] FAT-fs (loop2): Can't find a valid FAT filesystem 22:38:28 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:38:28 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:28 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf00) 22:38:28 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x9000000) 22:38:28 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x7fffff7ff}) [ 2309.764531] loop0: detected capacity change from 0 to 40 [ 2309.765436] loop5: detected capacity change from 0 to 40 [ 2309.777205] loop6: detected capacity change from 0 to 40 [ 2309.779746] loop3: detected capacity change from 0 to 40 [ 2309.814338] syz-executor.3: attempt to access beyond end of device [ 2309.814338] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:38:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:38:29 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:29 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4cd80b3b) [ 2309.882176] loop2: detected capacity change from 0 to 40 [ 2309.888644] FAT-fs (loop2): bogus number of FAT sectors [ 2309.890180] FAT-fs (loop2): Can't find a valid FAT filesystem 22:38:29 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1100) [ 2309.915480] FAT-fs (loop1): bogus number of reserved sectors [ 2309.915995] FAT-fs (loop1): Can't find a valid FAT filesystem 22:38:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa000000) 22:38:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x2}) [ 2309.932297] loop6: detected capacity change from 0 to 40 22:38:29 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) r1 = open$dir(0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f00000000c0)) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r4 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r4, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}, {0x0, @usage, 0x0}}) setsockopt$IPT_SO_SET_ADD_COUNTERS(0xffffffffffffffff, 0x0, 0x41, &(0x7f00000003c0)=ANY=[@ANYBLOB="26909b126ce294868cae38ed48a0ff000000000700000000a857000000000000f200b9ca65a481d37a3f000000bafecaddf88c11e2050045009bc8bf1f7a78dd010000a20000000000000000000040e6aaf842b51f0572c7a30008000000000000010000000017339d754195234c1810d6342740fec30fb235cc5b8ce24b9a731d013fb02742f4a05ae3715efe368581b7bf2f60d5abf28810d4eec8a41d3aed39fff356137a628cdda0f62663630926b24c17ec21f8d5b0282087e70b30736232a088fd538212994fe73631f8caf43ff71688d470ddddb83cb89d1ba2cf16307777b56160921b5b730456d0c0fd9f5cc6e0a7846c4e6e74f3f5491dfda800000000000000005850b49f8170e43c46881de46216670ee2799ef0f93a56f098d1e8b2d90ac927712645d99931c94f9f9b9503c14223d05df186b452b6cff282f34d0718860fa40fc4e7fb56873c2fcd4e653bdb266a1c643d8efdab10a1408a26292ec10000000000015fa135bbdf7d36bc75ffa90b779a00000000000000000000000000a6ded8aeeda9320e8e1cab119722183ba452f48479248e58fb0481d0d727841300d72eccd6e5e25a43d28773669cceec366b", @ANYRES32, @ANYRESDEC=r5, @ANYRESOCT], 0x48) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0xa, 0x10, r2, 0x82c50000) ioctl$BTRFS_IOC_SUBVOL_CREATE_V2(r2, 0x50009418, &(0x7f0000000280)={{r1}, r3, 0x1c, @unused=[0x1, 0x7, 0x6, 0xc9c], @devid=r5}) lseek(r2, 0x2, 0x3) connect$inet6(0xffffffffffffffff, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) connect(r4, &(0x7f0000001280)=@isdn={0x22, 0x9, 0x5, 0x1, 0xff}, 0x80) 22:38:29 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 1) 22:38:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2309.977879] loop5: detected capacity change from 0 to 40 [ 2310.011387] loop7: detected capacity change from 0 to 40 [ 2310.038359] loop3: detected capacity change from 0 to 40 [ 2310.059276] loop2: detected capacity change from 0 to 40 [ 2310.061083] loop0: detected capacity change from 0 to 40 [ 2310.065449] FAULT_INJECTION: forcing a failure. [ 2310.065449] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2310.066256] CPU: 1 PID: 12018 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2310.066767] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2310.067302] Call Trace: [ 2310.067476] [ 2310.067636] dump_stack_lvl+0xc1/0xf0 [ 2310.067904] should_fail_ex+0x4b4/0x5b0 [ 2310.068187] _copy_from_user+0x2e/0x180 [ 2310.068464] iovec_from_user+0x23e/0x3c0 [ 2310.068758] __import_iovec+0x68/0x600 [ 2310.069042] import_iovec+0x87/0xb0 [ 2310.069305] vfs_writev+0xc1/0x660 [ 2310.069576] ? __pfx_vfs_writev+0x10/0x10 [ 2310.069862] ? __fget_files+0x24e/0x480 [ 2310.070142] ? lock_release+0x1e3/0x710 [ 2310.070426] ? __pfx_lock_release+0x10/0x10 [ 2310.070721] ? trace_lock_acquire+0x170/0x1e0 [ 2310.071037] ? __pfx___fget_files+0x10/0x10 [ 2310.071332] ? lock_acquire+0x32/0xc0 [ 2310.071602] ? __pfx___fget_files+0x10/0x10 [ 2310.071898] ? __fget_files+0x270/0x480 [ 2310.072187] __x64_sys_pwritev+0x233/0x310 [ 2310.072492] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2310.072844] do_syscall_64+0x3f/0x90 [ 2310.073101] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2310.073468] RIP: 0033:0x7fdf12d79b19 [ 2310.073737] 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 [ 2310.074976] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2310.075506] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2310.076003] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2310.076490] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2310.076995] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000001 [ 2310.077488] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2310.078010] [ 2310.089261] FAT-fs (loop2): bogus number of FAT sectors [ 2310.089701] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2310.096855] syz-executor.3: attempt to access beyond end of device [ 2310.096855] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:38:41 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 2) 22:38:41 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:41 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2322.655350] loop6: detected capacity change from 0 to 40 22:38:41 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) r1 = open$dir(0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f00000000c0)) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r4 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r4, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}, {0x0, @usage, 0x0}}) setsockopt$IPT_SO_SET_ADD_COUNTERS(0xffffffffffffffff, 0x0, 0x41, &(0x7f00000003c0)=ANY=[@ANYBLOB="26909b126ce294868cae38ed48a0ff000000000700000000a857000000000000f200b9ca65a481d37a3f000000bafecaddf88c11e2050045009bc8bf1f7a78dd010000a20000000000000000000040e6aaf842b51f0572c7a30008000000000000010000000017339d754195234c1810d6342740fec30fb235cc5b8ce24b9a731d013fb02742f4a05ae3715efe368581b7bf2f60d5abf28810d4eec8a41d3aed39fff356137a628cdda0f62663630926b24c17ec21f8d5b0282087e70b30736232a088fd538212994fe73631f8caf43ff71688d470ddddb83cb89d1ba2cf16307777b56160921b5b730456d0c0fd9f5cc6e0a7846c4e6e74f3f5491dfda800000000000000005850b49f8170e43c46881de46216670ee2799ef0f93a56f098d1e8b2d90ac927712645d99931c94f9f9b9503c14223d05df186b452b6cff282f34d0718860fa40fc4e7fb56873c2fcd4e653bdb266a1c643d8efdab10a1408a26292ec10000000000015fa135bbdf7d36bc75ffa90b779a00000000000000000000000000a6ded8aeeda9320e8e1cab119722183ba452f48479248e58fb0481d0d727841300d72eccd6e5e25a43d28773669cceec366b", @ANYRES32, @ANYRESDEC=r5, @ANYRESOCT], 0x48) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0xa, 0x10, r2, 0x82c50000) ioctl$BTRFS_IOC_SUBVOL_CREATE_V2(r2, 0x50009418, &(0x7f0000000280)={{r1}, r3, 0x1c, @unused=[0x1, 0x7, 0x6, 0xc9c], @devid=r5}) lseek(r2, 0x2, 0x3) connect$inet6(0xffffffffffffffff, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) connect(r4, &(0x7f0000001280)=@isdn={0x22, 0x9, 0x5, 0x1, 0xff}, 0x80) 22:38:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x57010000) 22:38:41 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2000) 22:38:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa010000) 22:38:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x3}) [ 2322.662055] FAT-fs (loop1): bogus number of reserved sectors [ 2322.662866] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2322.664310] loop7: detected capacity change from 0 to 40 [ 2322.702083] loop2: detected capacity change from 0 to 40 [ 2322.704789] FAT-fs (loop2): bogus number of FAT sectors [ 2322.705198] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2322.706058] loop5: detected capacity change from 0 to 40 [ 2322.710134] FAULT_INJECTION: forcing a failure. [ 2322.710134] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2322.711045] CPU: 1 PID: 12037 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2322.711584] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2322.712143] Call Trace: [ 2322.712329] [ 2322.712495] dump_stack_lvl+0xc1/0xf0 [ 2322.712777] should_fail_ex+0x4b4/0x5b0 [ 2322.713074] prepare_alloc_pages+0x178/0x500 [ 2322.713399] __alloc_pages+0x149/0x510 [ 2322.713701] ? __pfx___alloc_pages+0x10/0x10 [ 2322.714019] ? __pfx___lock_acquire+0x10/0x10 [ 2322.714351] ? __pfx_mark_lock.part.0+0x10/0x10 [ 2322.714690] ? __pfx_mark_lock.part.0+0x10/0x10 [ 2322.715039] alloc_pages+0x1a0/0x260 [ 2322.715308] filemap_alloc_folio+0x374/0x410 [ 2322.715637] ? __pfx_lock_release+0x10/0x10 [ 2322.715952] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2322.716309] ? xas_start+0x14e/0x710 [ 2322.716578] ? xas_load+0x6a/0x140 [ 2322.716829] __filemap_get_folio+0x32b/0xcd0 [ 2322.717152] ? __pfx___filemap_get_folio+0x10/0x10 [ 2322.717506] ? mark_lock.part.0+0xef/0x2f30 [ 2322.717822] pagecache_get_page+0x2e/0x130 [ 2322.718137] ? __pfx_fat_get_block+0x10/0x10 [ 2322.718439] block_write_begin+0x35/0x450 [ 2322.718747] cont_write_begin+0x4fe/0x700 [ 2322.719032] ? __lock_acquire+0x18df/0x6380 [ 2322.719351] ? __pfx_fat_get_block+0x10/0x10 [ 2322.719667] ? __pfx_cont_write_begin+0x10/0x10 [ 2322.720003] ? __pfx___lock_acquire+0x10/0x10 [ 2322.720334] fat_write_begin+0x89/0x180 [ 2322.720616] ? __pfx_fat_get_block+0x10/0x10 [ 2322.720934] cont_write_begin+0x2fc/0x700 [ 2322.721239] ? __pfx_fat_get_block+0x10/0x10 [ 2322.721554] ? __pfx_cont_write_begin+0x10/0x10 [ 2322.721911] ? lock_release+0x1e3/0x710 [ 2322.722225] ? __pfx_fault_in_readable+0x10/0x10 [ 2322.722567] fat_write_begin+0x89/0x180 [ 2322.722851] ? __pfx_fat_get_block+0x10/0x10 [ 2322.723167] generic_perform_write+0x25a/0x580 [ 2322.723494] ? __pfx_generic_perform_write+0x10/0x10 [ 2322.723844] ? __pfx_fat_update_time+0x10/0x10 [ 2322.724179] ? __pfx_file_update_time+0x10/0x10 [ 2322.724515] ? generic_write_checks+0x2c0/0x400 [ 2322.724838] __generic_file_write_iter+0x308/0x4b0 [ 2322.725189] generic_file_write_iter+0xe7/0x350 [ 2322.725524] do_iter_readv_writev+0x211/0x3c0 [ 2322.725867] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2322.726223] ? avc_policy_seqno+0xd/0x70 [ 2322.726527] ? security_file_permission+0xb5/0xe0 [ 2322.726883] do_iter_write+0x18b/0x700 [ 2322.727168] ? __x64_sys_pwritev+0x233/0x310 [ 2322.727480] ? lock_is_held_type+0x9f/0x120 [ 2322.727798] vfs_writev+0x1ae/0x660 [ 2322.728062] ? __pfx_vfs_writev+0x10/0x10 [ 2322.728361] ? __fget_files+0x24e/0x480 [ 2322.728646] ? lock_release+0x1e3/0x710 [ 2322.728953] ? lock_acquire+0x32/0xc0 [ 2322.729234] ? __pfx___fget_files+0x10/0x10 [ 2322.729541] ? __fget_files+0x270/0x480 [ 2322.729848] __x64_sys_pwritev+0x233/0x310 [ 2322.730148] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2322.730478] do_syscall_64+0x3f/0x90 [ 2322.730749] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2322.731093] RIP: 0033:0x7fdf12d79b19 [ 2322.731359] 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 [ 2322.732517] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2322.733037] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2322.733525] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2322.734042] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2322.734526] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000001 [ 2322.735008] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2322.735516] [ 2322.738028] loop3: detected capacity change from 0 to 40 [ 2322.739895] loop0: detected capacity change from 0 to 40 [ 2322.757998] syz-executor.3: attempt to access beyond end of device [ 2322.757998] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:38:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x7f510100) 22:38:42 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:38:42 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3f00) 22:38:42 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4}) 22:38:42 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:42 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) r1 = open$dir(0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f00000000c0)) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r4 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r4, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}, {0x0, @usage, 0x0}}) setsockopt$IPT_SO_SET_ADD_COUNTERS(0xffffffffffffffff, 0x0, 0x41, &(0x7f00000003c0)=ANY=[@ANYBLOB="26909b126ce294868cae38ed48a0ff000000000700000000a857000000000000f200b9ca65a481d37a3f000000bafecaddf88c11e2050045009bc8bf1f7a78dd010000a20000000000000000000040e6aaf842b51f0572c7a30008000000000000010000000017339d754195234c1810d6342740fec30fb235cc5b8ce24b9a731d013fb02742f4a05ae3715efe368581b7bf2f60d5abf28810d4eec8a41d3aed39fff356137a628cdda0f62663630926b24c17ec21f8d5b0282087e70b30736232a088fd538212994fe73631f8caf43ff71688d470ddddb83cb89d1ba2cf16307777b56160921b5b730456d0c0fd9f5cc6e0a7846c4e6e74f3f5491dfda800000000000000005850b49f8170e43c46881de46216670ee2799ef0f93a56f098d1e8b2d90ac927712645d99931c94f9f9b9503c14223d05df186b452b6cff282f34d0718860fa40fc4e7fb56873c2fcd4e653bdb266a1c643d8efdab10a1408a26292ec10000000000015fa135bbdf7d36bc75ffa90b779a00000000000000000000000000a6ded8aeeda9320e8e1cab119722183ba452f48479248e58fb0481d0d727841300d72eccd6e5e25a43d28773669cceec366b", @ANYRES32, @ANYRESDEC=r5, @ANYRESOCT], 0x48) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0xa, 0x10, r2, 0x82c50000) ioctl$BTRFS_IOC_SUBVOL_CREATE_V2(r2, 0x50009418, &(0x7f0000000280)={{r1}, r3, 0x1c, @unused=[0x1, 0x7, 0x6, 0xc9c], @devid=r5}) lseek(r2, 0x2, 0x3) connect$inet6(0xffffffffffffffff, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) [ 2322.843518] loop6: detected capacity change from 0 to 40 [ 2322.858047] FAT-fs (loop1): bogus number of reserved sectors [ 2322.858467] FAT-fs (loop1): Can't find a valid FAT filesystem 22:38:42 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xb010000) [ 2322.935873] loop3: detected capacity change from 0 to 40 [ 2322.940204] syz-executor.3: attempt to access beyond end of device [ 2322.940204] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2322.943016] loop2: detected capacity change from 0 to 40 [ 2322.952225] loop5: detected capacity change from 0 to 40 [ 2322.982531] loop0: detected capacity change from 0 to 40 22:38:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8a140000) 22:38:55 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8008) 22:38:55 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd000000) 22:38:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x5}) 22:38:55 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:55 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) r1 = open$dir(0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f00000000c0)) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r4 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r4, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}, {0x0, @usage, 0x0}}) setsockopt$IPT_SO_SET_ADD_COUNTERS(0xffffffffffffffff, 0x0, 0x41, &(0x7f00000003c0)=ANY=[@ANYBLOB="26909b126ce294868cae38ed48a0ff000000000700000000a857000000000000f200b9ca65a481d37a3f000000bafecaddf88c11e2050045009bc8bf1f7a78dd010000a20000000000000000000040e6aaf842b51f0572c7a30008000000000000010000000017339d754195234c1810d6342740fec30fb235cc5b8ce24b9a731d013fb02742f4a05ae3715efe368581b7bf2f60d5abf28810d4eec8a41d3aed39fff356137a628cdda0f62663630926b24c17ec21f8d5b0282087e70b30736232a088fd538212994fe73631f8caf43ff71688d470ddddb83cb89d1ba2cf16307777b56160921b5b730456d0c0fd9f5cc6e0a7846c4e6e74f3f5491dfda800000000000000005850b49f8170e43c46881de46216670ee2799ef0f93a56f098d1e8b2d90ac927712645d99931c94f9f9b9503c14223d05df186b452b6cff282f34d0718860fa40fc4e7fb56873c2fcd4e653bdb266a1c643d8efdab10a1408a26292ec10000000000015fa135bbdf7d36bc75ffa90b779a00000000000000000000000000a6ded8aeeda9320e8e1cab119722183ba452f48479248e58fb0481d0d727841300d72eccd6e5e25a43d28773669cceec366b", @ANYRES32, @ANYRESDEC=r5, @ANYRESOCT], 0x48) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0xa, 0x10, r2, 0x82c50000) ioctl$BTRFS_IOC_SUBVOL_CREATE_V2(r2, 0x50009418, &(0x7f0000000280)={{r1}, r3, 0x1c, @unused=[0x1, 0x7, 0x6, 0xc9c], @devid=r5}) lseek(r2, 0x2, 0x3) 22:38:55 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 3) 22:38:55 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2336.286590] loop2: detected capacity change from 0 to 40 [ 2336.288159] loop3: detected capacity change from 0 to 40 [ 2336.292065] loop0: detected capacity change from 0 to 40 [ 2336.295182] loop5: detected capacity change from 0 to 40 [ 2336.295473] loop7: detected capacity change from 0 to 40 [ 2336.299374] loop6: detected capacity change from 0 to 40 [ 2336.307105] FAT-fs (loop1): bogus number of reserved sectors [ 2336.307517] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2336.339116] syz-executor.3: attempt to access beyond end of device [ 2336.339116] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:38:55 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:38:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xc0000000) 22:38:55 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:38:55 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf000000) 22:38:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6}) [ 2336.453706] loop0: detected capacity change from 0 to 40 [ 2336.454982] loop6: detected capacity change from 0 to 40 [ 2336.460699] FAT-fs (loop1): bogus number of reserved sectors [ 2336.461102] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2336.462565] loop2: detected capacity change from 0 to 40 22:38:55 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x9300) [ 2336.489394] loop3: detected capacity change from 0 to 40 [ 2336.508581] syz-executor.3: attempt to access beyond end of device [ 2336.508581] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:38:55 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f00000000c0)) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r2 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r2, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}, {0x0, @usage, 0x0}}) setsockopt$IPT_SO_SET_ADD_COUNTERS(0xffffffffffffffff, 0x0, 0x41, &(0x7f00000003c0)=ANY=[@ANYBLOB="26909b126ce294868cae38ed48a0ff000000000700000000a857000000000000f200b9ca65a481d37a3f000000bafecaddf88c11e2050045009bc8bf1f7a78dd010000a20000000000000000000040e6aaf842b51f0572c7a30008000000000000010000000017339d754195234c1810d6342740fec30fb235cc5b8ce24b9a731d013fb02742f4a05ae3715efe368581b7bf2f60d5abf28810d4eec8a41d3aed39fff356137a628cdda0f62663630926b24c17ec21f8d5b0282087e70b30736232a088fd538212994fe73631f8caf43ff71688d470ddddb83cb89d1ba2cf16307777b56160921b5b730456d0c0fd9f5cc6e0a7846c4e6e74f3f5491dfda800000000000000005850b49f8170e43c46881de46216670ee2799ef0f93a56f098d1e8b2d90ac927712645d99931c94f9f9b9503c14223d05df186b452b6cff282f34d0718860fa40fc4e7fb56873c2fcd4e653bdb266a1c643d8efdab10a1408a26292ec10000000000015fa135bbdf7d36bc75ffa90b779a00000000000000000000000000a6ded8aeeda9320e8e1cab119722183ba452f48479248e58fb0481d0d727841300d72eccd6e5e25a43d28773669cceec366b", @ANYRES32, @ANYRESDEC=r3, @ANYRESOCT], 0x48) mmap(&(0x7f0000ffc000/0x1000)=nil, 0x1000, 0xa, 0x10, r1, 0x82c50000) lseek(r1, 0x2, 0x3) [ 2336.549413] loop5: detected capacity change from 0 to 40 [ 2336.643918] kworker/u4:8: attempt to access beyond end of device [ 2336.643918] loop7: rw=1, sector=2492, nr_sectors = 1616 limit=40 [ 2336.650953] kworker/u4:8: attempt to access beyond end of device [ 2336.650953] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2336.652738] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:39:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f00000000c0)) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r2 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r2, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}, {0x0, @usage, 0x0}}) setsockopt$IPT_SO_SET_ADD_COUNTERS(0xffffffffffffffff, 0x0, 0x41, &(0x7f00000003c0)=ANY=[@ANYBLOB="26909b126ce294868cae38ed48a0ff000000000700000000a857000000000000f200b9ca65a481d37a3f000000bafecaddf88c11e2050045009bc8bf1f7a78dd010000a20000000000000000000040e6aaf842b51f0572c7a30008000000000000010000000017339d754195234c1810d6342740fec30fb235cc5b8ce24b9a731d013fb02742f4a05ae3715efe368581b7bf2f60d5abf28810d4eec8a41d3aed39fff356137a628cdda0f62663630926b24c17ec21f8d5b0282087e70b30736232a088fd538212994fe73631f8caf43ff71688d470ddddb83cb89d1ba2cf16307777b56160921b5b730456d0c0fd9f5cc6e0a7846c4e6e74f3f5491dfda800000000000000005850b49f8170e43c46881de46216670ee2799ef0f93a56f098d1e8b2d90ac927712645d99931c94f9f9b9503c14223d05df186b452b6cff282f34d0718860fa40fc4e7fb56873c2fcd4e653bdb266a1c643d8efdab10a1408a26292ec10000000000015fa135bbdf7d36bc75ffa90b779a00000000000000000000000000a6ded8aeeda9320e8e1cab119722183ba452f48479248e58fb0481d0d727841300d72eccd6e5e25a43d28773669cceec366b", @ANYRES32, @ANYRESDEC=r3, @ANYRESOCT], 0x48) lseek(r1, 0x2, 0x3) 22:39:08 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 4) 22:39:08 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:08 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff) 22:39:08 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x7}) 22:39:08 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf000) 22:39:08 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xc5a80100) 22:39:08 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2349.351336] loop7: detected capacity change from 0 to 40 [ 2349.390191] loop2: detected capacity change from 0 to 40 [ 2349.411168] loop3: detected capacity change from 0 to 40 [ 2349.414884] loop6: detected capacity change from 0 to 40 [ 2349.429248] loop5: detected capacity change from 0 to 40 [ 2349.452454] loop0: detected capacity change from 0 to 40 22:39:08 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2349.455154] FAT-fs (loop1): bogus number of reserved sectors [ 2349.455565] FAT-fs (loop1): Can't find a valid FAT filesystem 22:39:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f00000000c0)) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) r2 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$BTRFS_IOC_BALANCE_PROGRESS(r2, 0x84009422, &(0x7f0000000980)={0x0, 0x0, {0x0, @struct}, {0x0, @usage, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @struct}}) lseek(r1, 0x2, 0x3) [ 2349.488208] syz-executor.3: attempt to access beyond end of device [ 2349.488208] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:39:08 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2349.522775] loop2: detected capacity change from 0 to 40 22:39:08 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 5) 22:39:08 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf6ff) [ 2349.549756] kworker/u4:3: attempt to access beyond end of device [ 2349.549756] loop7: rw=1, sector=2108, nr_sectors = 2000 limit=40 [ 2349.552287] kworker/u4:3: attempt to access beyond end of device [ 2349.552287] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2349.553101] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:39:08 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10000000) 22:39:08 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:08 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf4ffffff) 22:39:08 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x8}) [ 2349.626328] loop5: detected capacity change from 0 to 40 [ 2349.659561] loop2: detected capacity change from 0 to 40 [ 2349.661380] loop1: detected capacity change from 0 to 40 [ 2349.679809] loop0: detected capacity change from 0 to 40 [ 2349.681820] FAT-fs (loop1): bogus number of reserved sectors [ 2349.682219] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2349.731830] loop6: detected capacity change from 0 to 40 22:39:08 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f00000000c0)) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) socket$inet_udp(0x2, 0x2, 0x0) lseek(r1, 0x2, 0x3) 22:39:08 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff0f) 22:39:08 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2349.757479] loop3: detected capacity change from 0 to 40 [ 2349.766450] loop7: detected capacity change from 0 to 40 22:39:08 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x11000000) [ 2349.783343] loop5: detected capacity change from 0 to 40 [ 2349.786849] loop2: detected capacity change from 0 to 40 [ 2349.803220] syz-executor.3: attempt to access beyond end of device [ 2349.803220] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2349.864364] loop0: detected capacity change from 0 to 40 [ 2349.962175] kworker/u4:0: attempt to access beyond end of device [ 2349.962175] loop7: rw=1, sector=2476, nr_sectors = 1632 limit=40 [ 2349.964228] kworker/u4:0: attempt to access beyond end of device [ 2349.964228] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2349.965011] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:39:22 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 6) 22:39:22 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:39:22 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x20000000) 22:39:22 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf5ffffff) 22:39:22 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) [ 2363.111805] loop5: detected capacity change from 0 to 40 [ 2363.113465] loop2: detected capacity change from 0 to 40 22:39:22 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfff6) [ 2363.125050] loop3: detected capacity change from 0 to 40 22:39:22 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x9}) 22:39:22 executing program 4: r0 = syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f00000000c0)) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) ioctl$BTRFS_IOC_SET_RECEIVED_SUBVOL(r0, 0xc0c89425, &(0x7f0000000180)={"2066bd820799ec5d15fed8d72c12ca7a", 0x0, 0x0, {0x6, 0x2}, {0x1, 0x4}, 0x8, [0xa60, 0x4, 0x3ff, 0x5000000, 0xa7, 0x8001, 0xa0, 0x2, 0x2c, 0x93, 0x3, 0x0, 0x8, 0x0, 0x3, 0x5]}) lseek(r1, 0x2, 0x3) [ 2363.163125] loop1: detected capacity change from 0 to 40 [ 2363.165282] loop7: detected capacity change from 0 to 40 [ 2363.167388] loop0: detected capacity change from 0 to 40 [ 2363.169345] loop6: detected capacity change from 0 to 40 [ 2363.176492] syz-executor.3: attempt to access beyond end of device [ 2363.176492] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2363.180336] FAT-fs (loop1): bogus number of reserved sectors [ 2363.181362] FAT-fs (loop1): Can't find a valid FAT filesystem 22:39:22 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:22 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) prctl$PR_SET_MM(0x23, 0x7, &(0x7f0000ffc000/0x1000)=nil) lseek(r0, 0x2, 0x3) [ 2363.259953] loop2: detected capacity change from 0 to 40 22:39:22 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xa}) [ 2363.328165] loop3: detected capacity change from 0 to 40 [ 2363.361941] syz-executor.3: attempt to access beyond end of device [ 2363.361941] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2363.414498] kworker/u4:5: attempt to access beyond end of device [ 2363.414498] loop7: rw=1, sector=2812, nr_sectors = 1296 limit=40 [ 2363.417345] kworker/u4:5: attempt to access beyond end of device [ 2363.417345] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2363.418168] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:39:34 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1517f) 22:39:34 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xd}) 22:39:34 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 7) 22:39:34 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:39:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf6ff0000) 22:39:34 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2ea50100) 22:39:34 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:34 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2375.429034] loop0: detected capacity change from 0 to 40 [ 2375.467168] loop7: detected capacity change from 0 to 40 [ 2375.470046] loop3: detected capacity change from 0 to 40 [ 2375.470188] loop6: detected capacity change from 0 to 40 [ 2375.475111] loop5: detected capacity change from 0 to 40 [ 2375.477920] loop1: detected capacity change from 0 to 40 [ 2375.481013] loop2: detected capacity change from 0 to 40 [ 2375.488341] FAT-fs (loop1): bogus number of reserved sectors [ 2375.489078] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2375.497245] syz-executor.3: attempt to access beyond end of device [ 2375.497245] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:39:34 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r0, 0x2, 0x3) 22:39:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfbffffff) 22:39:34 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xf}) 22:39:34 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2fa50100) 22:39:34 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:34 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:39:34 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x80000) [ 2375.607126] loop3: detected capacity change from 0 to 40 [ 2375.631501] syz-executor.3: attempt to access beyond end of device [ 2375.631501] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2375.667383] loop5: detected capacity change from 0 to 40 22:39:34 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r0, 0x2, 0x3) [ 2375.708582] loop0: detected capacity change from 0 to 40 [ 2375.722123] loop6: detected capacity change from 0 to 40 22:39:34 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa0000) [ 2375.743292] loop2: detected capacity change from 0 to 40 [ 2375.766070] loop1: detected capacity change from 0 to 40 [ 2375.771579] loop5: detected capacity change from 0 to 40 [ 2375.782702] FAT-fs (loop1): bogus number of reserved sectors [ 2375.783561] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2375.832143] kworker/u4:3: attempt to access beyond end of device [ 2375.832143] loop7: rw=1, sector=2700, nr_sectors = 1408 limit=40 [ 2375.834344] kworker/u4:3: attempt to access beyond end of device [ 2375.834344] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2375.835623] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:39:47 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:39:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff0f0000) 22:39:47 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) lseek(r0, 0x2, 0x3) 22:39:47 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3f000000) 22:39:47 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x100000) 22:39:47 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 8) 22:39:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x11}) [ 2388.223634] loop0: detected capacity change from 0 to 40 [ 2388.233887] loop2: detected capacity change from 0 to 40 [ 2388.240115] loop7: detected capacity change from 0 to 40 [ 2388.241477] loop1: detected capacity change from 0 to 40 [ 2388.258223] loop6: detected capacity change from 0 to 40 [ 2388.266874] FAT-fs (loop1): bogus number of reserved sectors [ 2388.267838] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2388.325768] loop3: detected capacity change from 0 to 40 [ 2388.329880] loop5: detected capacity change from 0 to 40 [ 2388.355123] syz-executor.3: attempt to access beyond end of device [ 2388.355123] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:39:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:47 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:39:47 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000000c0)) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:39:47 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 9) 22:39:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x48}) [ 2388.394500] loop2: detected capacity change from 0 to 40 [ 2388.396321] kworker/u4:5: attempt to access beyond end of device [ 2388.396321] loop7: rw=1, sector=3188, nr_sectors = 920 limit=40 22:39:47 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x7f510100) [ 2388.421999] kworker/u4:5: attempt to access beyond end of device [ 2388.421999] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2388.423132] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:39:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfff7ffff) [ 2388.463371] loop3: detected capacity change from 0 to 40 [ 2388.477308] syz-executor.3: attempt to access beyond end of device [ 2388.477308] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:39:47 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf0ffff) [ 2388.508262] loop1: detected capacity change from 0 to 40 22:39:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4c}) [ 2388.529366] loop2: detected capacity change from 0 to 40 [ 2388.531260] loop6: detected capacity change from 0 to 40 [ 2388.534657] FAT-fs (loop1): bogus number of reserved sectors [ 2388.535465] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2388.537997] loop0: detected capacity change from 0 to 40 22:39:47 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2388.612113] loop7: detected capacity change from 0 to 40 [ 2388.620346] loop3: detected capacity change from 0 to 40 [ 2388.641020] loop5: detected capacity change from 0 to 40 [ 2388.654152] syz-executor.3: attempt to access beyond end of device [ 2388.654152] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2388.669214] FAULT_INJECTION: forcing a failure. [ 2388.669214] name failslab, interval 1, probability 0, space 0, times 0 [ 2388.670719] CPU: 0 PID: 12315 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2388.671734] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2388.672770] Call Trace: [ 2388.673118] [ 2388.673431] dump_stack_lvl+0xc1/0xf0 [ 2388.673952] should_fail_ex+0x4b4/0x5b0 [ 2388.674536] ? fat_cache_add.part.0+0x5b4/0xb50 [ 2388.675167] should_failslab+0x9/0x20 [ 2388.675690] kmem_cache_alloc+0x5a/0x320 [ 2388.676246] fat_cache_add.part.0+0x5b4/0xb50 [ 2388.676879] fat_get_cluster+0x922/0xd40 [ 2388.677456] ? __pfx_fat_get_cluster+0x10/0x10 [ 2388.678085] ? __brelse+0x88/0xa0 [ 2388.678605] fat_get_mapped_cluster+0x216/0x4a0 [ 2388.679278] ? __pfx_fat_get_mapped_cluster+0x10/0x10 [ 2388.680027] fat_bmap+0x1fc/0x460 [ 2388.680546] fat_get_block+0x33e/0x9f0 [ 2388.681120] ? __pfx_fat_get_block+0x10/0x10 [ 2388.681746] ? do_raw_spin_unlock+0x53/0x220 [ 2388.682384] __block_write_begin_int+0x380/0x13d0 [ 2388.683078] ? __pfx_fat_get_block+0x10/0x10 [ 2388.683719] ? __pfx___block_write_begin_int+0x10/0x10 [ 2388.684443] ? PageHeadHuge+0x92/0xb0 [ 2388.684987] ? __pfx_fat_get_block+0x10/0x10 [ 2388.685614] block_write_begin+0xb9/0x450 [ 2388.686218] cont_write_begin+0x4fe/0x700 [ 2388.686830] ? __lock_acquire+0x18df/0x6380 [ 2388.687464] ? __pfx_fat_get_block+0x10/0x10 [ 2388.688090] ? __pfx_cont_write_begin+0x10/0x10 [ 2388.688758] ? __pfx___lock_acquire+0x10/0x10 [ 2388.689419] fat_write_begin+0x89/0x180 [ 2388.689985] ? __pfx_fat_get_block+0x10/0x10 [ 2388.690630] cont_write_begin+0x2fc/0x700 [ 2388.691224] ? __pfx_fat_get_block+0x10/0x10 [ 2388.691850] ? __pfx_cont_write_begin+0x10/0x10 [ 2388.692508] ? lock_release+0x1e3/0x710 [ 2388.693095] ? __pfx_fault_in_readable+0x10/0x10 [ 2388.693776] fat_write_begin+0x89/0x180 [ 2388.694340] ? __pfx_fat_get_block+0x10/0x10 [ 2388.694980] generic_perform_write+0x25a/0x580 [ 2388.695635] ? __pfx_generic_perform_write+0x10/0x10 [ 2388.696296] ? __pfx_fat_update_time+0x10/0x10 [ 2388.696931] ? __pfx_file_update_time+0x10/0x10 [ 2388.697598] ? generic_write_checks+0x2c0/0x400 [ 2388.698257] __generic_file_write_iter+0x308/0x4b0 [ 2388.698973] generic_file_write_iter+0xe7/0x350 [ 2388.699637] do_iter_readv_writev+0x211/0x3c0 [ 2388.700277] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2388.700980] ? avc_policy_seqno+0xd/0x70 [ 2388.701577] ? security_file_permission+0xb5/0xe0 [ 2388.702248] do_iter_write+0x18b/0x700 [ 2388.702831] ? __x64_sys_pwritev+0x233/0x310 [ 2388.703448] ? lock_is_held_type+0x9f/0x120 [ 2388.704083] vfs_writev+0x1ae/0x660 [ 2388.704620] ? __pfx_vfs_writev+0x10/0x10 [ 2388.705216] ? __fget_files+0x24e/0x480 [ 2388.705784] ? lock_release+0x1e3/0x710 [ 2388.706383] ? lock_acquire+0x32/0xc0 [ 2388.706947] ? __pfx___fget_files+0x10/0x10 [ 2388.707573] ? __fget_files+0x270/0x480 [ 2388.708165] __x64_sys_pwritev+0x233/0x310 [ 2388.708750] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2388.709432] do_syscall_64+0x3f/0x90 [ 2388.709968] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2388.710692] RIP: 0033:0x7fdf12d79b19 [ 2388.711207] 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 [ 2388.713572] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2388.714600] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2388.715555] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2388.716506] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2388.717454] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000001 [ 2388.718404] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2388.719409] [ 2388.871152] kworker/u4:8: attempt to access beyond end of device [ 2388.871152] loop7: rw=1, sector=3436, nr_sectors = 672 limit=40 [ 2388.876709] kworker/u4:8: attempt to access beyond end of device [ 2388.876709] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2388.878272] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:39:59 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 10) 22:39:59 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x68}) 22:39:59 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf4ffffff) 22:39:59 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) 22:39:59 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffff000) 22:39:59 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1000000) 22:39:59 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(0xffffffffffffffff, 0x2, 0x3) 22:39:59 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2400.752895] loop0: detected capacity change from 0 to 40 [ 2400.765902] loop1: detected capacity change from 0 to 40 [ 2400.766016] loop3: detected capacity change from 0 to 40 [ 2400.767416] FAT-fs (loop1): bogus number of reserved sectors [ 2400.767933] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2400.771526] loop2: detected capacity change from 0 to 40 [ 2400.773384] loop5: detected capacity change from 0 to 40 [ 2400.776964] loop6: detected capacity change from 0 to 40 [ 2400.779865] loop7: detected capacity change from 0 to 40 [ 2400.802534] syz-executor.3: attempt to access beyond end of device [ 2400.802534] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2400.912993] kworker/u4:8: attempt to access beyond end of device [ 2400.912993] loop7: rw=1, sector=2844, nr_sectors = 1264 limit=40 [ 2400.914408] kworker/u4:8: attempt to access beyond end of device [ 2400.914408] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2400.915169] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:40:12 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 11) 22:40:12 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(0xffffffffffffffff, 0x2, 0x3) 22:40:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffff7ff) 22:40:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1010000) 22:40:12 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x1000000, 0x0) 22:40:12 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf5ffffff) 22:40:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c}) [ 2413.653390] loop6: detected capacity change from 0 to 40 [ 2413.654491] loop7: detected capacity change from 0 to 40 [ 2413.654978] loop1: detected capacity change from 0 to 40 [ 2413.657388] loop0: detected capacity change from 0 to 40 [ 2413.658062] loop3: detected capacity change from 0 to 40 [ 2413.669800] loop2: detected capacity change from 0 to 40 [ 2413.674080] loop5: detected capacity change from 0 to 40 [ 2413.675170] FAT-fs (loop1): bogus number of reserved sectors [ 2413.675960] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2413.683357] FAULT_INJECTION: forcing a failure. [ 2413.683357] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2413.684691] CPU: 0 PID: 12368 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2413.685484] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2413.686324] Call Trace: [ 2413.686592] [ 2413.686838] dump_stack_lvl+0xc1/0xf0 [ 2413.687236] should_fail_ex+0x4b4/0x5b0 [ 2413.687683] prepare_alloc_pages+0x178/0x500 [ 2413.688172] __alloc_pages+0x149/0x510 [ 2413.688587] ? __pfx___alloc_pages+0x10/0x10 [ 2413.689063] ? __pfx___lock_acquire+0x10/0x10 [ 2413.689569] ? __pfx_perf_trace_lock_acquire+0x10/0x10 [ 2413.690119] alloc_pages+0x1a0/0x260 [ 2413.690520] filemap_alloc_folio+0x374/0x410 [ 2413.691004] ? __pfx_lock_release+0x10/0x10 [ 2413.691469] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2413.691988] ? xas_start+0x14e/0x710 [ 2413.692386] ? xas_load+0x6a/0x140 [ 2413.692775] __filemap_get_folio+0x32b/0xcd0 [ 2413.693241] ? __pfx___filemap_get_folio+0x10/0x10 [ 2413.693769] ? lock_is_held_type+0x9f/0x120 [ 2413.694222] ? find_held_lock+0x2c/0x110 [ 2413.694656] pagecache_get_page+0x2e/0x130 [ 2413.695136] ? __pfx_fat_get_block+0x10/0x10 [ 2413.695604] block_write_begin+0x35/0x450 [ 2413.696047] cont_write_begin+0x4fe/0x700 [ 2413.696498] ? lock_is_held_type+0x9f/0x120 [ 2413.696962] ? __pfx_fat_get_block+0x10/0x10 [ 2413.697434] ? __pfx_cont_write_begin+0x10/0x10 [ 2413.697922] ? __mark_inode_dirty+0x249/0xee0 [ 2413.698411] ? generic_write_end+0x1fe/0x3d0 [ 2413.698905] fat_write_begin+0x89/0x180 [ 2413.699316] ? __pfx_fat_get_block+0x10/0x10 [ 2413.699791] cont_write_begin+0x2fc/0x700 [ 2413.700244] ? __pfx_fat_get_block+0x10/0x10 [ 2413.700712] ? __pfx_cont_write_begin+0x10/0x10 [ 2413.701191] ? lock_release+0x1e3/0x710 [ 2413.701618] ? __pfx_fault_in_readable+0x10/0x10 [ 2413.702119] fat_write_begin+0x89/0x180 [ 2413.702535] ? __pfx_fat_get_block+0x10/0x10 [ 2413.702907] generic_perform_write+0x25a/0x580 [ 2413.703380] ? __pfx_generic_perform_write+0x10/0x10 [ 2413.703896] ? __pfx_fat_update_time+0x10/0x10 [ 2413.704382] ? __pfx_file_update_time+0x10/0x10 [ 2413.704874] ? generic_write_checks+0x2c0/0x400 [ 2413.705370] __generic_file_write_iter+0x308/0x4b0 [ 2413.705890] generic_file_write_iter+0xe7/0x350 [ 2413.706383] do_iter_readv_writev+0x211/0x3c0 [ 2413.706872] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2413.707408] ? __sanitizer_cov_trace_pc+0x3b/0x70 [ 2413.707909] do_iter_write+0x18b/0x700 [ 2413.708330] ? __x64_sys_pwritev+0x233/0x310 [ 2413.708790] ? lock_is_held_type+0x9f/0x120 [ 2413.709259] vfs_writev+0x1ae/0x660 [ 2413.709662] ? __pfx_vfs_writev+0x10/0x10 [ 2413.710099] ? __fget_files+0x24e/0x480 [ 2413.710519] ? lock_release+0x1e3/0x710 [ 2413.710873] ? lock_acquire+0x32/0xc0 [ 2413.711266] ? __pfx___fget_files+0x10/0x10 [ 2413.711723] ? __fget_files+0x270/0x480 [ 2413.712155] __x64_sys_pwritev+0x233/0x310 [ 2413.712587] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2413.713089] do_syscall_64+0x3f/0x90 [ 2413.713483] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2413.714004] RIP: 0033:0x7fdf12d79b19 [ 2413.714389] 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 [ 2413.715725] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2413.716480] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2413.717011] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2413.717701] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2413.718232] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2413.718942] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2413.719665] [ 2413.729429] syz-executor.3: attempt to access beyond end of device [ 2413.729429] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:40:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf6ff0000) 22:40:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xffffff0f) 22:40:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x74}) 22:40:12 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x1000000, 0x0) 22:40:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2000000) 22:40:13 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2413.838110] loop0: detected capacity change from 0 to 40 [ 2413.838964] loop6: detected capacity change from 0 to 40 [ 2413.866077] loop3: detected capacity change from 0 to 40 [ 2413.886707] loop2: detected capacity change from 0 to 40 [ 2413.891788] loop1: detected capacity change from 0 to 40 [ 2413.896342] FAT-fs (loop1): bogus number of reserved sectors [ 2413.896801] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2413.905098] loop5: detected capacity change from 0 to 40 22:40:13 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) open$dir(0x0, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(0xffffffffffffffff, 0x2, 0x3) 22:40:13 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x1000000, 0x0) [ 2413.942970] syz-executor.3: attempt to access beyond end of device [ 2413.942970] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:40:13 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 12) 22:40:13 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff4) 22:40:13 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfbffffff) 22:40:13 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:13 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x7a}) [ 2413.995006] loop6: detected capacity change from 0 to 40 22:40:13 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3000000) [ 2414.031064] loop0: detected capacity change from 0 to 40 [ 2414.042492] loop1: detected capacity change from 0 to 40 [ 2414.050852] FAT-fs (loop1): bogus number of reserved sectors [ 2414.051163] loop2: detected capacity change from 0 to 40 [ 2414.051239] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2414.061474] loop3: detected capacity change from 0 to 40 [ 2414.076067] loop5: detected capacity change from 0 to 40 [ 2414.083446] syz-executor.3: attempt to access beyond end of device [ 2414.083446] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2414.105842] loop7: detected capacity change from 0 to 40 22:40:13 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:13 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff0f0000) 22:40:13 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x300}) [ 2414.189882] loop1: detected capacity change from 0 to 40 [ 2414.213288] loop3: detected capacity change from 0 to 40 [ 2414.213344] loop0: detected capacity change from 0 to 40 [ 2414.216547] FAT-fs (loop1): bogus number of reserved sectors [ 2414.217370] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2414.221730] syz-executor.3: attempt to access beyond end of device [ 2414.221730] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2414.397712] kworker/u4:7: attempt to access beyond end of device [ 2414.397712] loop7: rw=1, sector=3636, nr_sectors = 472 limit=40 [ 2414.401284] kworker/u4:7: attempt to access beyond end of device [ 2414.401284] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2414.402699] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:40:27 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) ioctl$TIOCGLCKTRMIOS(0xffffffffffffffff, 0x5456, &(0x7f0000000040)={0x10001, 0x20, 0x9, 0x7ba3, 0xd, "a811ae65799fe46bb9dc3b0b6e6c9118a46f9e"}) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:40:27 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 13) 22:40:27 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff100000) 22:40:27 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:27 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x4000000) 22:40:27 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff5) 22:40:27 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x1000000, 0x0) 22:40:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x500}) [ 2428.532740] loop2: detected capacity change from 0 to 40 [ 2428.540785] loop0: detected capacity change from 0 to 40 [ 2428.545114] loop3: detected capacity change from 0 to 40 [ 2428.551095] loop1: detected capacity change from 0 to 40 [ 2428.551342] loop5: detected capacity change from 0 to 40 [ 2428.554920] loop7: detected capacity change from 0 to 40 [ 2428.554987] loop6: detected capacity change from 0 to 40 [ 2428.568669] FAT-fs (loop1): bogus number of reserved sectors [ 2428.569194] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2428.577143] syz-executor.3: attempt to access beyond end of device [ 2428.577143] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:40:27 executing program 4: syz_open_dev$tty20(0xc, 0x4, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:40:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x600}) 22:40:27 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffffb) [ 2428.716861] loop6: detected capacity change from 0 to 40 [ 2428.718092] loop3: detected capacity change from 0 to 40 [ 2428.732017] syz-executor.3: attempt to access beyond end of device [ 2428.732017] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2428.857576] kworker/u4:7: attempt to access beyond end of device [ 2428.857576] loop7: rw=1, sector=2596, nr_sectors = 1512 limit=40 [ 2428.860034] kworker/u4:7: attempt to access beyond end of device [ 2428.860034] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2428.861078] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2441.495270] loop2: detected capacity change from 0 to 40 22:40:40 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 14) 22:40:40 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xffffffff) 22:40:40 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x5000000) 22:40:40 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfff7ffff) 22:40:40 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x700}) 22:40:40 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:40:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x1000000, 0x0) [ 2441.514796] loop7: detected capacity change from 0 to 40 22:40:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x1000000, 0x0) [ 2441.530442] loop1: detected capacity change from 0 to 40 [ 2441.534432] FAT-fs (loop1): invalid media value (0x00) [ 2441.534960] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2441.540425] loop5: detected capacity change from 0 to 40 [ 2441.557327] loop6: detected capacity change from 0 to 40 [ 2441.566264] loop3: detected capacity change from 0 to 40 [ 2441.580285] loop0: detected capacity change from 0 to 40 [ 2441.584000] loop2: detected capacity change from 0 to 40 22:40:40 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:40 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x6000000) 22:40:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x1000000, 0x0) [ 2441.623220] syz-executor.3: attempt to access beyond end of device [ 2441.623220] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:40:40 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2441.674246] loop2: detected capacity change from 0 to 40 22:40:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x777}) 22:40:40 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffff000) 22:40:40 executing program 6: sendmsg$IPVS_CMD_DEL_SERVICE(0xffffffffffffffff, &(0x7f0000000300)={&(0x7f00000001c0)={0x10, 0x0, 0x0, 0x40000}, 0xc, &(0x7f00000002c0)={&(0x7f0000000200)={0xac, 0x0, 0x10, 0x70bd25, 0x25dfdbff, {}, [@IPVS_CMD_ATTR_TIMEOUT_TCP_FIN={0x8, 0x5, 0x8001}, @IPVS_CMD_ATTR_TIMEOUT_UDP={0x8, 0x6, 0x35ba95fa}, @IPVS_CMD_ATTR_TIMEOUT_UDP={0x8, 0x6, 0x8}, @IPVS_CMD_ATTR_SERVICE={0x18, 0x1, 0x0, 0x1, [@IPVS_SVC_ATTR_FLAGS={0xc, 0x7, {0x4}}, @IPVS_SVC_ATTR_AF={0x6, 0x1, 0x2}]}, @IPVS_CMD_ATTR_TIMEOUT_UDP={0x8, 0x6, 0x7fffffff}, @IPVS_CMD_ATTR_DAEMON={0x18, 0x3, 0x0, 0x1, [@IPVS_DAEMON_ATTR_MCAST_GROUP6={0x14, 0x6, @empty}]}, @IPVS_CMD_ATTR_TIMEOUT_TCP={0x8, 0x4, 0x9e}, @IPVS_CMD_ATTR_TIMEOUT_TCP={0x8, 0x4, 0x8}, @IPVS_CMD_ATTR_DEST={0x30, 0x2, 0x0, 0x1, [@IPVS_DEST_ATTR_U_THRESH={0x8, 0x5, 0x800}, @IPVS_DEST_ATTR_TUN_PORT={0x6, 0xe, 0x4e23}, @IPVS_DEST_ATTR_PORT={0x6, 0x2, 0x4e21}, @IPVS_DEST_ATTR_ADDR={0x14, 0x1, @ipv6=@mcast1}]}, @IPVS_CMD_ATTR_TIMEOUT_TCP_FIN={0x8, 0x5, 0x7}]}, 0xac}}, 0x4000) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = syz_open_dev$sg(&(0x7f0000000040), 0x4, 0x402000) r2 = socket$inet_udp(0x2, 0x2, 0x0) sendfile(r1, r2, &(0x7f00000000c0)=0x7, 0xb7) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2441.747523] loop3: detected capacity change from 0 to 40 [ 2441.754763] loop0: detected capacity change from 0 to 40 [ 2441.757725] loop1: detected capacity change from 0 to 40 [ 2441.760460] FAT-fs (loop1): invalid media value (0x00) [ 2441.760869] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2441.766261] loop5: detected capacity change from 0 to 40 22:40:40 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 15) 22:40:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x1000000, 0x0) 22:40:40 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2441.773390] syz-executor.3: attempt to access beyond end of device [ 2441.773390] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2441.779386] kworker/u4:8: attempt to access beyond end of device [ 2441.779386] loop7: rw=1, sector=2932, nr_sectors = 1176 limit=40 [ 2441.785240] kworker/u4:8: attempt to access beyond end of device [ 2441.785240] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2441.786041] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2441.811519] loop2: detected capacity change from 0 to 40 [ 2441.832995] loop6: detected capacity change from 0 to 40 22:40:41 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:41 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x1000000, 0x0) 22:40:41 executing program 4: r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:40:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x900}) [ 2441.913793] loop1: detected capacity change from 0 to 40 [ 2441.924189] FAT-fs (loop1): invalid media value (0x00) [ 2441.924558] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2441.930057] loop7: detected capacity change from 0 to 40 [ 2441.946147] loop3: detected capacity change from 0 to 40 [ 2441.946771] loop2: detected capacity change from 0 to 40 [ 2441.959818] syz-executor.3: attempt to access beyond end of device [ 2441.959818] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2442.058482] kworker/u4:8: attempt to access beyond end of device [ 2442.058482] loop7: rw=1, sector=2828, nr_sectors = 1280 limit=40 [ 2442.060088] kworker/u4:8: attempt to access beyond end of device [ 2442.060088] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2442.060930] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:40:53 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 16) 22:40:53 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x1000000, 0x0) 22:40:53 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x8800000) 22:40:53 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffff7ff) 22:40:53 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x482001, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:40:53 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2453.889421] loop5: detected capacity change from 0 to 40 [ 2453.892931] loop2: detected capacity change from 0 to 40 [ 2453.904947] loop1: detected capacity change from 0 to 40 [ 2453.906002] loop6: detected capacity change from 0 to 40 22:40:53 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:40:53 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xa00}) [ 2453.912273] FAT-fs (loop1): invalid media value (0x00) [ 2453.912458] loop0: detected capacity change from 0 to 40 [ 2453.912902] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2453.925311] loop3: detected capacity change from 0 to 40 [ 2453.942414] syz-executor.3: attempt to access beyond end of device [ 2453.942414] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2453.947587] loop7: detected capacity change from 0 to 40 22:40:53 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x1000000, 0x0) 22:40:53 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x9000000) [ 2453.985368] FAULT_INJECTION: forcing a failure. [ 2453.985368] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2453.987006] CPU: 1 PID: 12547 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2453.988101] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2453.989175] Call Trace: [ 2453.989522] [ 2453.989837] dump_stack_lvl+0xc1/0xf0 [ 2453.990363] should_fail_ex+0x4b4/0x5b0 [ 2453.990932] prepare_alloc_pages+0x178/0x500 [ 2453.991577] __alloc_pages+0x149/0x510 [ 2453.992127] ? __pfx___alloc_pages+0x10/0x10 [ 2453.992743] ? __pfx___lock_acquire+0x10/0x10 [ 2453.993392] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2453.994022] alloc_pages+0x1a0/0x260 [ 2453.994542] filemap_alloc_folio+0x374/0x410 [ 2453.995173] ? __pfx_lock_release+0x10/0x10 [ 2453.995831] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2453.996532] ? xas_load+0x6a/0x140 [ 2453.997039] __filemap_get_folio+0x32b/0xcd0 [ 2453.997667] ? __pfx___filemap_get_folio+0x10/0x10 [ 2453.998349] ? lock_is_held_type+0x9f/0x120 [ 2453.998956] ? find_held_lock+0x2c/0x110 [ 2453.999563] pagecache_get_page+0x2e/0x130 [ 2454.000162] ? __pfx_fat_get_block+0x10/0x10 [ 2454.000773] block_write_begin+0x35/0x450 [ 2454.001364] cont_write_begin+0x4fe/0x700 [ 2454.001940] ? lock_is_held_type+0x9f/0x120 [ 2454.002548] ? __pfx_fat_get_block+0x10/0x10 [ 2454.003174] ? __pfx_cont_write_begin+0x10/0x10 [ 2454.003848] ? __mark_inode_dirty+0x249/0xee0 [ 2454.004498] ? generic_write_end+0x1fe/0x3d0 [ 2454.005119] fat_write_begin+0x89/0x180 [ 2454.005666] ? __pfx_fat_get_block+0x10/0x10 [ 2454.006279] cont_write_begin+0x2fc/0x700 [ 2454.006878] ? __pfx_fat_get_block+0x10/0x10 [ 2454.007527] ? __pfx_cont_write_begin+0x10/0x10 [ 2454.008166] ? lock_release+0x1e3/0x710 [ 2454.008742] ? __pfx_fault_in_readable+0x10/0x10 [ 2454.009394] fat_write_begin+0x89/0x180 [ 2454.009941] ? __pfx_fat_get_block+0x10/0x10 [ 2454.010554] generic_perform_write+0x25a/0x580 [ 2454.011180] ? __pfx_generic_perform_write+0x10/0x10 [ 2454.011895] ? __pfx_fat_update_time+0x10/0x10 [ 2454.012540] ? __pfx_file_update_time+0x10/0x10 [ 2454.013212] ? generic_write_checks+0x2c0/0x400 [ 2454.013882] __generic_file_write_iter+0x308/0x4b0 [ 2454.014580] generic_file_write_iter+0xe7/0x350 [ 2454.015239] do_iter_readv_writev+0x211/0x3c0 [ 2454.015919] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2454.016629] ? avc_policy_seqno+0xd/0x70 [ 2454.017221] ? security_file_permission+0xb5/0xe0 [ 2454.017918] do_iter_write+0x18b/0x700 [ 2454.018491] ? __x64_sys_pwritev+0x233/0x310 [ 2454.019105] ? lock_is_held_type+0x9f/0x120 [ 2454.019764] vfs_writev+0x1ae/0x660 [ 2454.020301] ? __pfx_vfs_writev+0x10/0x10 [ 2454.020893] ? __fget_files+0x24e/0x480 [ 2454.021455] ? lock_release+0x1e3/0x710 [ 2454.022053] ? lock_acquire+0x32/0xc0 [ 2454.022612] ? __pfx___fget_files+0x10/0x10 [ 2454.023230] ? __fget_files+0x270/0x480 [ 2454.023848] __x64_sys_pwritev+0x233/0x310 [ 2454.024438] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2454.025119] do_syscall_64+0x3f/0x90 [ 2454.025642] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2454.026353] RIP: 0033:0x7fdf12d79b19 [ 2454.026870] 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 [ 2454.028565] loop5: detected capacity change from 0 to 40 [ 2454.029273] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2454.029309] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2454.029971] loop2: detected capacity change from 0 to 40 [ 2454.030657] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2454.030680] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2454.033140] loop1: detected capacity change from 0 to 40 [ 2454.033767] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2454.033792] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2454.036153] 22:40:53 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:40:53 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xd00}) [ 2454.041505] FAT-fs (loop1): invalid media value (0x00) [ 2454.042006] FAT-fs (loop1): Can't find a valid FAT filesystem 22:40:53 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:40:53 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) syz_open_procfs(0xffffffffffffffff, &(0x7f0000000040)='oom_score\x00') [ 2454.104164] loop3: detected capacity change from 0 to 40 [ 2454.116516] syz-executor.3: attempt to access beyond end of device [ 2454.116516] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2454.165014] loop6: detected capacity change from 0 to 40 22:41:07 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000040)='./file0\x00') chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = perf_event_open$cgroup(&(0x7f00000001c0)={0x1, 0x80, 0x2, 0x3, 0x9, 0x7, 0x0, 0x9, 0x4008, 0x4, 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x3, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1ff, 0x1, @perf_bp={&(0x7f0000000140), 0x8}, 0x11000, 0x39, 0x3, 0x4, 0x3, 0x5, 0x5, 0x0, 0x74b2, 0x0, 0x800}, r0, 0xb, 0xffffffffffffffff, 0x0) pwritev(r1, &(0x7f0000000240)=[{&(0x7f0000000000)="1a", 0x1}], 0x1, 0x0, 0x8000) 22:41:07 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xf00}) 22:41:07 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xffffff0f) [ 2468.477903] loop3: detected capacity change from 0 to 40 22:41:07 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404a", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:41:07 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x1000000, 0x0) 22:41:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xa000000) 22:41:07 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 17) 22:41:07 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2468.497689] loop6: detected capacity change from 0 to 40 [ 2468.501938] syz-executor.3: attempt to access beyond end of device [ 2468.501938] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2468.503712] loop0: detected capacity change from 0 to 40 [ 2468.511015] loop7: detected capacity change from 0 to 40 [ 2468.529110] loop2: detected capacity change from 0 to 40 [ 2468.549264] loop5: detected capacity change from 0 to 40 [ 2468.550791] loop1: detected capacity change from 0 to 40 22:41:07 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x1100}) [ 2468.563729] FAT-fs (loop1): invalid media value (0x00) [ 2468.564437] FAT-fs (loop1): Can't find a valid FAT filesystem 22:41:07 executing program 6: sendmsg$NL80211_CMD_CRIT_PROTOCOL_START(0xffffffffffffffff, &(0x7f0000000240)={&(0x7f00000000c0)={0x10, 0x0, 0x0, 0x10000000}, 0xc, &(0x7f0000000200)={&(0x7f00000001c0)={0xffffffffffffff00, 0x0, 0x800, 0x70bd27, 0x25dfdbff, {{}, {@void, @void}}, [@NL80211_ATTR_MAX_CRIT_PROT_DURATION={0x6, 0xb4, 0x130d}, @NL80211_ATTR_MAX_CRIT_PROT_DURATION={0x6, 0xb4, 0x315}, @NL80211_ATTR_MAX_CRIT_PROT_DURATION={0x6, 0xb4, 0x830}]}, 0x2c}, 0x1, 0x0, 0x0, 0x4001}, 0x24004805) fcntl$setsig(0xffffffffffffffff, 0xa, 0x12) r0 = syz_mount_image$vfat(&(0x7f0000000380), &(0x7f00000003c0)='./file0\x00', 0x0, 0x3, &(0x7f0000000480)=[{&(0x7f0000000340)="601c6d6b08010100044000404af8010000000000000000", 0x17, 0x29f4}, {0x0, 0x0, 0x800000000002800}, {&(0x7f0000000400)="e3e403b32bd9903fe981e3a3d74387c3af406153abfd217fa0c1c5f1ad150e3dbdc210a1304f197c4cca5bfcd03671d6013b855b787d3f3802a602bbb6183da7836f24f7a905fa4ae852a58a", 0x4c, 0x401}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$AUTOFS_DEV_IOCTL_CATATONIC(0xffffffffffffffff, 0xc0189379, &(0x7f0000000280)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) openat(r1, &(0x7f00000002c0)='./file0\x00', 0x501000, 0x8) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) openat(r0, &(0x7f0000000040)='./file0\x00', 0x408400, 0x44) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r2, &(0x7f0000000300)='\x00', 0x0, 0x8) 22:41:07 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff4) 22:41:07 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2468.621583] loop3: detected capacity change from 0 to 40 [ 2468.623954] loop6: detected capacity change from 0 to 264192 [ 2468.634001] FAT-fs (loop6): bogus number of reserved sectors [ 2468.634493] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2468.636104] syz-executor.3: attempt to access beyond end of device [ 2468.636104] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:41:07 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2468.670319] loop6: detected capacity change from 0 to 264192 [ 2468.675247] FAT-fs (loop6): Unrecognized mount option "P" or missing value [ 2468.681015] loop0: detected capacity change from 0 to 40 [ 2468.739933] loop2: detected capacity change from 0 to 40 [ 2468.822771] kworker/u4:3: attempt to access beyond end of device [ 2468.822771] loop7: rw=1, sector=2572, nr_sectors = 1536 limit=40 [ 2468.828040] kworker/u4:3: attempt to access beyond end of device [ 2468.828040] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2468.829557] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:41:22 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 18) 22:41:22 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xd000000) [ 2483.745811] loop1: detected capacity change from 0 to 40 22:41:22 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:22 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x10641, 0x0) r1 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r1, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f0000000000), 0x4) sendfile(r1, r0, 0x0, 0x5598) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:22 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:41:22 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x2000}) [ 2483.754068] loop3: detected capacity change from 0 to 40 [ 2483.759506] loop6: detected capacity change from 0 to 40 [ 2483.761229] loop0: detected capacity change from 0 to 40 [ 2483.762090] loop7: detected capacity change from 0 to 40 22:41:22 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff5) 22:41:22 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2483.774915] FAT-fs (loop1): bogus number of FAT sectors [ 2483.775298] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2483.777860] loop2: detected capacity change from 0 to 40 [ 2483.785666] syz-executor.3: attempt to access beyond end of device [ 2483.785666] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:41:22 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2483.822224] loop5: detected capacity change from 0 to 40 22:41:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x3f00}) 22:41:23 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:23 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:41:23 executing program 6: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) fcntl$setown(r0, 0x8, 0x0) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:23 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffffb) 22:41:23 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf000000) [ 2483.917410] loop1: detected capacity change from 0 to 40 [ 2483.920815] FAT-fs (loop1): bogus number of FAT sectors [ 2483.921199] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2483.925852] loop3: detected capacity change from 0 to 40 [ 2483.943055] loop2: detected capacity change from 0 to 40 [ 2483.944046] loop0: detected capacity change from 0 to 40 [ 2484.049782] loop6: detected capacity change from 0 to 40 [ 2484.086281] loop5: detected capacity change from 0 to 40 [ 2484.091366] syz-executor.3: attempt to access beyond end of device [ 2484.091366] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2484.101473] loop0: detected capacity change from 0 to 40 22:41:23 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2484.154748] kworker/u4:3: attempt to access beyond end of device [ 2484.154748] loop7: rw=1, sector=3076, nr_sectors = 1032 limit=40 [ 2484.166709] kworker/u4:3: attempt to access beyond end of device [ 2484.166709] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2484.167964] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:41:35 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4800}) 22:41:35 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:41:35 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r2, &(0x7f0000000040)='./file0/file0\x00', 0x1010c0, 0x2) openat(r0, &(0x7f00000000c0)='./file0\x00', 0xca00, 0xa0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff) 22:41:35 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xffffffff) 22:41:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf5ffffff) 22:41:35 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 19) 22:41:35 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2496.548965] loop1: detected capacity change from 0 to 40 [ 2496.549357] loop5: detected capacity change from 0 to 40 [ 2496.551345] loop3: detected capacity change from 0 to 40 [ 2496.556432] loop0: detected capacity change from 0 to 40 22:41:35 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2496.573754] FAT-fs (loop1): bogus number of FAT sectors [ 2496.573975] syz-executor.3: attempt to access beyond end of device [ 2496.573975] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2496.574463] FAT-fs (loop1): Can't find a valid FAT filesystem [ 2496.579569] loop6: detected capacity change from 0 to 40 [ 2496.587551] loop7: detected capacity change from 0 to 40 [ 2496.593288] loop2: detected capacity change from 0 to 40 22:41:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x10000000) 22:41:35 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4c00}) [ 2496.638065] FAULT_INJECTION: forcing a failure. [ 2496.638065] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2496.639125] CPU: 1 PID: 12683 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2496.639682] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2496.640262] Call Trace: [ 2496.640454] [ 2496.640616] dump_stack_lvl+0xc1/0xf0 [ 2496.640893] should_fail_ex+0x4b4/0x5b0 [ 2496.641185] prepare_alloc_pages+0x178/0x500 [ 2496.641499] __alloc_pages+0x149/0x510 [ 2496.641774] ? __pfx___alloc_pages+0x10/0x10 [ 2496.642082] ? __pfx___lock_acquire+0x10/0x10 [ 2496.642404] ? __lock_acquire+0x18df/0x6380 [ 2496.642714] alloc_pages+0x1a0/0x260 [ 2496.642976] filemap_alloc_folio+0x374/0x410 [ 2496.643294] ? __pfx_lock_release+0x10/0x10 [ 2496.643601] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2496.643958] ? xas_load+0x6a/0x140 [ 2496.644214] __filemap_get_folio+0x32b/0xcd0 [ 2496.644521] ? __pfx___filemap_get_folio+0x10/0x10 [ 2496.644860] ? lock_is_held_type+0x9f/0x120 [ 2496.645175] ? find_held_lock+0x2c/0x110 [ 2496.645465] pagecache_get_page+0x2e/0x130 [ 2496.645768] ? __pfx_fat_get_block+0x10/0x10 [ 2496.646084] block_write_begin+0x35/0x450 [ 2496.646377] cont_write_begin+0x4fe/0x700 [ 2496.646675] ? lock_is_held_type+0x9f/0x120 [ 2496.646983] ? __pfx_fat_get_block+0x10/0x10 [ 2496.647300] ? __pfx_cont_write_begin+0x10/0x10 [ 2496.647625] ? __mark_inode_dirty+0x249/0xee0 [ 2496.647961] ? generic_write_end+0x1fe/0x3d0 [ 2496.648266] fat_write_begin+0x89/0x180 [ 2496.648543] ? __pfx_fat_get_block+0x10/0x10 [ 2496.648851] cont_write_begin+0x2fc/0x700 [ 2496.649150] ? __pfx_fat_get_block+0x10/0x10 [ 2496.649453] ? __pfx_cont_write_begin+0x10/0x10 [ 2496.649774] ? lock_release+0x1e3/0x710 [ 2496.650058] ? __pfx_fault_in_readable+0x10/0x10 [ 2496.650391] fat_write_begin+0x89/0x180 [ 2496.650673] ? __pfx_fat_get_block+0x10/0x10 [ 2496.650987] generic_perform_write+0x25a/0x580 [ 2496.651322] ? __pfx_generic_perform_write+0x10/0x10 [ 2496.651664] ? __pfx_fat_update_time+0x10/0x10 [ 2496.652011] ? __pfx_file_update_time+0x10/0x10 [ 2496.652347] ? generic_write_checks+0x2c0/0x400 [ 2496.652673] __generic_file_write_iter+0x308/0x4b0 [ 2496.653020] generic_file_write_iter+0xe7/0x350 [ 2496.653354] do_iter_readv_writev+0x211/0x3c0 [ 2496.653677] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2496.654031] ? avc_policy_seqno+0xd/0x70 [ 2496.654327] ? security_file_permission+0xb5/0xe0 [ 2496.654683] do_iter_write+0x18b/0x700 [ 2496.654963] ? __x64_sys_pwritev+0x233/0x310 [ 2496.655284] ? lock_is_held_type+0x9f/0x120 [ 2496.655598] vfs_writev+0x1ae/0x660 [ 2496.655871] ? __pfx_vfs_writev+0x10/0x10 [ 2496.656178] ? __fget_files+0x24e/0x480 [ 2496.656456] ? lock_release+0x1e3/0x710 [ 2496.656764] ? lock_acquire+0x32/0xc0 [ 2496.657047] ? __pfx___fget_files+0x10/0x10 [ 2496.657347] ? __fget_files+0x270/0x480 [ 2496.657652] __x64_sys_pwritev+0x233/0x310 [ 2496.657941] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2496.658291] do_syscall_64+0x3f/0x90 [ 2496.658554] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2496.658907] RIP: 0033:0x7fdf12d79b19 [ 2496.659170] 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 [ 2496.660347] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2496.660858] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2496.661329] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2496.661805] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2496.662294] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2496.662764] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2496.663266] 22:41:35 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2496.721602] loop5: detected capacity change from 0 to 40 [ 2496.726811] loop3: detected capacity change from 0 to 40 22:41:35 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="761c786b646f732b000801010004e700404ad05978797f", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') mount(&(0x7f0000000040)=@filename='./file0\x00', &(0x7f00000000c0)='./file1\x00', &(0x7f00000001c0)='virtiofs\x00', 0x0, &(0x7f0000000200)='vfat\x00') openat$dir(0xffffffffffffff9c, &(0x7f0000000340)='./file0\x00', 0xc001, 0x184) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000240)="508328aec86cd101cea0cc7bd3feb207fb8819ffa46c192d8afc18ff24963ba1a3dfeeef7ef5dcb577908aaa6598695bf51a02074cbf8807e1af9af4e2b67b9df38b9460a77f9f32f8a3b8752c28f56393b1b09269811832ad31847a846399b3b0dd4ffb72cd6c937cf66b93fded4ff620564082d13417d807c75a22bfd25dfdd5fa82826c04221fa257fa7a61a81d090ff28ab0569fd4ffa72932eb649d4cef5fbc5fdf760e74fae07399fa45ac7cbeb9aadeb70bd318199eb27b0d18d3ee6c22fec61d77bb6e1ce15810001067a40f5b901364b0aec1db90ffb9f345657fb9bd1e66476ad58a0f8c74e159", 0x1}], 0x1000015b, 0x0, 0x0) 22:41:35 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = openat$hpet(0xffffffffffffff9c, &(0x7f0000000040), 0x200000, 0x0) io_uring_enter(r1, 0x459c, 0x8e0, 0x0, &(0x7f00000000c0)={[0x8]}, 0x8) r2 = openat$incfs(r1, &(0x7f00000001c0)='.log\x00', 0x0, 0x188) openat(r2, &(0x7f0000000200)='./file0/file0\x00', 0x464000, 0x5a) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4800}) [ 2496.743364] syz-executor.3: attempt to access beyond end of device [ 2496.743364] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2496.745784] loop1: detected capacity change from 0 to 40 [ 2496.768720] loop0: detected capacity change from 0 to 40 [ 2496.788729] FAT-fs (loop0): invalid media value (0x79) [ 2496.789106] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2496.808911] loop0: detected capacity change from 0 to 40 [ 2496.823648] FAT-fs (loop0): invalid media value (0x79) [ 2496.824010] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2496.842873] loop6: detected capacity change from 0 to 40 [ 2496.846517] loop2: detected capacity change from 0 to 40 [ 2496.881375] syz-executor.2: attempt to access beyond end of device [ 2496.881375] loop2: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:41:48 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:41:48 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) fcntl$setown(r0, 0x8, 0x0) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:48 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000040)=[{&(0x7f00000001c0)="451c6d6b646f7376d8a02b0008010100044000404af8018e67b573dab787a35612fbf754108fb79faabf5b9b115e27d9ee8b917e95edb30e3a22325f80408e31a9bc8931cf04b45468a6932243a32f10bec6d5a2", 0x54, 0x3}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:41:48 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 20) 22:41:48 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x11000000) 22:41:48 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6800}) 22:41:48 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2509.843976] loop2: detected capacity change from 0 to 40 22:41:49 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f00000001c0)) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r0, &(0x7f0000000040)='./file0\x00', 0x200, 0x23) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x48) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2509.890156] loop6: detected capacity change from 0 to 40 [ 2509.892169] loop5: detected capacity change from 0 to 40 [ 2509.892997] loop7: detected capacity change from 0 to 40 [ 2509.901722] FAT-fs (loop6): invalid media value (0x00) [ 2509.902428] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2509.928893] loop0: detected capacity change from 0 to 40 [ 2509.940007] loop6: detected capacity change from 0 to 40 [ 2509.943236] loop1: detected capacity change from 0 to 40 [ 2509.954303] FAT-fs (loop6): Unrecognized mount option "P" or missing value [ 2509.957767] loop3: detected capacity change from 0 to 40 [ 2510.039005] syz-executor.3: attempt to access beyond end of device [ 2510.039005] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:41:49 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:41:49 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x20000000) 22:41:49 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x0, 0x40) 22:41:49 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:41:49 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c00}) 22:41:49 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file1\x00', 0x0, 0x0, &(0x7f0000000200), 0x200000, &(0x7f0000000000)=ANY=[]) getsockopt$sock_cred(0xffffffffffffffff, 0x1, 0x11, &(0x7f0000000580)={0x0, 0x0}, &(0x7f00000005c0)=0xc) r1 = syz_mount_image$tmpfs(&(0x7f0000000040), &(0x7f0000000200)='./file0\x00', 0x80000200, 0x5, &(0x7f0000000500)=[{&(0x7f0000000240)="869fe19ad2079094680d145d643ae90831e5b9977e02c25ad8c40ec0f6db0de8331651acaefea3b115929b5cb31b18830c958b025b95b6c43ca164eaf50e4db064347a08fff9f89f7ac1bcd562d3341ddcbe79a26c7b3f05e6bab19967b099c2a3e6232fbc46cc2c35fb0284cb6f8308df6c18604c5a795814d604b211fea6b5b1c4f2630b6f2d43c5f9a43f1816ceb4d9cfffa3a233cc1a12804c333e375e36ba48e889c89bea9db6dbfc654e3a6d27d92b555c4e9edf486474", 0xba, 0x2}, {&(0x7f0000000300)="704847a371c4375f637f123ba07dce7d1fc356326c1501000080000000001224f6c01fb0dd878ddb", 0x28, 0x7f}, {&(0x7f0000000340)="c3811c78a48f0e312d17b497a6513ca0483449fa09e9910be12b47e54eb21cd4aedd488a7593d6347b277d9aeadcf742cfe50c5b5a2cd021d0a50a2da15bfeba32937bb0636c131544687039c18af425f1a3b35df12143e92de9cd2f2f0fc4260801b9321a18613f8d85fb2126ac2969248cad33bb4ae257b2e8033d340337543042ed3a59c79c4e5ba670be404137496b899a6b0b1f05df86c47905bda487295465", 0xa2, 0x20}, {&(0x7f0000000400)="bb7cd7cd178a8816c6926aed7ea5fb6e0725fd3e646f0c5d359b8edec70dd28dfc08ce3050e034cc4a6ccb1000c6845b60034c06a0d2484eb51bf1070b56d96d9f29bc3f6ae426ce35caf0bfed9492394633867d5dbda93d4c623f9994f4727f0c41da7f2981b03fd51fe8018e33acc253280f425d15690e91b93d35f469f724f13c55e223ca03546292fea5", 0x8c, 0x101}, {&(0x7f00000004c0)="26b0b49fd2612903229f", 0xa, 0x3}], 0x241000, &(0x7f0000000600)={[{@huge_always}], [{@dont_measure}, {@subj_type={'subj_type', 0x3d, '^^]'}}, {@smackfsroot={'smackfsroot', 0x3d, '\vfat\x00'}}, {@audit}, {@uid_eq={'uid', 0x3d, r0}}]}) chdir(&(0x7f0000000180)='./file0\x00') r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x103000, 0x10d) r3 = openat$ptmx(0xffffffffffffff9c, &(0x7f00000000c0), 0x80, 0x0) ioctl$AUTOFS_DEV_IOCTL_TIMEOUT(0xffffffffffffffff, 0xc018937a, &(0x7f0000000000)={{0x1, 0x1, 0x18, r1}, './file0\x00'}) ioctl$KDADDIO(r4, 0x4b34, 0x3) sendfile(r2, r3, &(0x7f00000001c0)=0x80, 0x80) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000680)="50c9c8e461942b522962d189e14cd9411104e815b3d8820215b411f803ddb77cf9e1eaac4a6ef03c54028b3e0d875a9a4fdc700b20d3ca977cedce65e7864427ea191a95f943acec331b06d485d04e1e1e845cf3b2dfaee594517f8aa5b9dbd3c818a0b507a498a1c0ba75a57afc", 0x1}], 0x134c, 0x0, 0x0) lseek(r2, 0x4, 0x2) [ 2510.190958] loop5: detected capacity change from 0 to 40 [ 2510.196766] loop6: detected capacity change from 0 to 40 22:41:49 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:41:49 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2510.254058] FAT-fs (loop0): bogus number of reserved sectors [ 2510.254824] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2510.266201] loop0: detected capacity change from 0 to 264192 [ 2510.269384] loop1: detected capacity change from 0 to 40 [ 2510.317916] FAT-fs (loop0): Unrecognized mount option "" or missing value [ 2510.327876] loop0: detected capacity change from 0 to 264192 [ 2510.343397] loop3: detected capacity change from 0 to 40 [ 2510.362030] syz-executor.3: attempt to access beyond end of device [ 2510.362030] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2510.372177] FAT-fs (loop2): bogus number of reserved sectors [ 2510.372939] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2510.465485] kworker/u4:9: attempt to access beyond end of device [ 2510.465485] loop7: rw=1, sector=2388, nr_sectors = 1720 limit=40 [ 2510.470432] kworker/u4:9: attempt to access beyond end of device [ 2510.470432] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2510.471846] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:42:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 21) 22:42:03 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x2dd064c6) 22:42:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x7400}) [ 2524.508905] loop7: detected capacity change from 0 to 40 22:42:03 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:42:03 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) faccessat(r0, &(0x7f0000000040)='./file0\x00', 0x10a) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:42:03 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) 22:42:03 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$EXT4_IOC_PRECACHE_EXTENTS(r0, 0x6612) [ 2524.518839] loop0: detected capacity change from 0 to 40 [ 2524.528820] loop1: detected capacity change from 0 to 40 [ 2524.539006] loop5: detected capacity change from 0 to 40 [ 2524.546094] loop6: detected capacity change from 0 to 40 22:42:03 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 1) 22:42:03 executing program 0: syz_mount_image$vfat(&(0x7f0000000040), &(0x7f0000000100)='./file0\x00', 0x0, 0x4, &(0x7f00000003c0)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x400}, {&(0x7f00000001c0)="e12867873fb5ba646be709521abaea2f8523770e3fb2329af152d2f46ef7c4cf23f68e7544c15eff245acc48323a5a77d89e129b717b98a36280666724f07bc742a1fb03968d614a532a51a36f66bdaf6c75de898f74d1cdc4a6ced0e578ecfeee2190c9e6f33827295561d76cf87d820d29cfae2e6c77be2cc1117dadd14bc762d78091e3136a49059f1a4c9b5db501b00a52bc55717430c47d8d0cdd8cbe29edddbfe62995b8861f08bc0c344efce4dc9234dd7f9be6ffe5c35d62d9ba52b0a0e9814c2a6f47268a", 0xc9, 0x7f}, {&(0x7f00000002c0)="f34a45d9cf2afe7d6ef29cc9e1271129a4acf39461809e10bbbb554aa7246c4827aa9803c6aa69d40eca791a662adc7223b298a4b8791ce669c46e1eb13faa2d01a998449ef5ad1b159899bd3b8c4438fbf91155674392f5308a7068d8af7b6e657fb198c4e93d32e127e28116cb83f971dc33ee6967094906aa8e0e0a965c3ce5a8f0caa8681fd9fa9fc18eeb1aa21e548c6f23c55157695faaa3ae908db3f5c6286ba6adadcda452d04124e48601705517c054703a7b57989fb9db7ff850e661cb17ae3d13ea693961", 0xca, 0x3}], 0x10006, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000080)="00421d9a718f6d02c2bad3682bbea0aed1d8881a4ae00c011d14a38166abf1ff1fe487bc9782533b31a7d34b999a66a75f28d92cde3fa79dde665db044f26fd4aad841d72a6d14211a16c6234ded", 0x4e}], 0x1, 0x0, 0x1) [ 2524.581361] loop3: detected capacity change from 0 to 40 [ 2524.584351] loop2: detected capacity change from 0 to 40 22:42:03 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2524.613036] syz-executor.3: attempt to access beyond end of device [ 2524.613036] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2524.615121] FAULT_INJECTION: forcing a failure. [ 2524.615121] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2524.616590] CPU: 0 PID: 12786 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2524.617557] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2524.618552] Call Trace: [ 2524.618878] [ 2524.619178] dump_stack_lvl+0xc1/0xf0 [ 2524.619676] should_fail_ex+0x4b4/0x5b0 [ 2524.620207] _copy_from_user+0x2e/0x180 [ 2524.620733] iovec_from_user+0x23e/0x3c0 [ 2524.621270] __import_iovec+0x68/0x600 [ 2524.621791] import_iovec+0x87/0xb0 [ 2524.622272] vfs_writev+0xc1/0x660 [ 2524.622746] ? __pfx_vfs_writev+0x10/0x10 [ 2524.623295] ? __fget_files+0x24e/0x480 [ 2524.623802] ? lock_release+0x1e3/0x710 [ 2524.624356] ? __pfx_lock_release+0x10/0x10 [ 2524.624927] ? trace_lock_acquire+0x170/0x1e0 [ 2524.625530] ? __pfx___fget_files+0x10/0x10 [ 2524.626101] ? lock_acquire+0x32/0xc0 [ 2524.626619] ? __pfx___fget_files+0x10/0x10 [ 2524.627200] ? __fget_files+0x270/0x480 [ 2524.627743] __x64_sys_pwritev+0x233/0x310 [ 2524.628296] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2524.628927] do_syscall_64+0x3f/0x90 [ 2524.629415] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2524.630085] RIP: 0033:0x7fe786258b19 [ 2524.630564] 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 [ 2524.632831] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2524.633780] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2524.634677] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2524.635575] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2524.636500] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000001 [ 2524.637400] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2524.638318] 22:42:03 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x3) [ 2524.659296] loop1: detected capacity change from 0 to 40 [ 2524.669945] loop0: detected capacity change from 0 to 4 [ 2524.671436] FAT-fs (loop0): invalid media value (0xf3) [ 2524.671936] FAT-fs (loop0): Can't find a valid FAT filesystem 22:42:03 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) acct(&(0x7f00000004c0)='./file1\x00') ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) pwritev(r2, &(0x7f0000000480)=[{&(0x7f00000006c0)="38fb18bfdde1845957623d4ce994a18df91aa40ea013264497f5061a3e7e66fd5a4513b7295395b1f7515d2d31c210e4f92f2104a6a38da55c8c8c30328a92ef6b27f97accecbeefe941faf1890629b944518a2a8d1b360ca67577e6923cd0cba6ab2e61169dac316f811ae3558446710cda50c89c0a5401f391232be853acae1a8a30f39ec93c2b3014251587a56e441baa21c6fbd6babd", 0x98}, {&(0x7f0000000580)="6bd2c5014f5d45c41dc953b456cd10003eee118bad7f3abdb1881898e572dde881b634ca0b0fd84c963fcd10c9fe44f95749b389e51cd737f1fe1fdbac9721fe6398610e68cd26163fcc8083e4ea523cbe3d9b3924db25128dcc64ad6c649340ccac03e7cea48fb37de8517f088c6c38308d80472051a873f5928fb6b2c7194c0136772fb75e326eafe559c8fd04fc160c987b25cc0bb8355d4ff2ee630d4c15eb142a7a5a32e7b8d96d7621ad706c4d9cd8378d5c8d", 0xb6}, {&(0x7f0000000640)="3c0d01c665535611ce5f1de257182085be52d91106de31675537e145a9188c9de13aba593c8058fa61c862c9a7b3107cea97458f85c7a5170d8439532a9327d432059faa7aab1f920d7cf70e336d3db2", 0x50}], 0x3, 0x0, 0x1be) openat(r0, &(0x7f0000000500)='./file0\x00', 0x1000, 0x80) r3 = openat(r1, &(0x7f0000000040)='./file0\x00', 0x80100, 0x26) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r4 = openat$cgroup_type(r3, &(0x7f00000000c0), 0x2, 0x0) vmsplice(r4, &(0x7f0000000440)=[{&(0x7f00000001c0)="4aa62c71a45762a0ce47e2864548b4b79bc0f32ec565e6c91722fa08172af0b97d20c2ce981b189a7893b2d343558f3452621a08f34314c3d5236838d97c1a974f94b4783e0284992f5e80010bb69c91b1cc46ff4dfd39fd0aad02dff187b3fa39e8abd703e0e5ff4d32706253f1eced9918cc88fe77a1a9a8719008c21833c2a46fd56e247e8973fdea8242c1ddb8d99ff13a2daaedadf4fb9d1a1d38e24169b85f61689fee974dd1bdcf3df966e3d1f7a67d9b7990f358ebe6726c366fee64f703501057b9", 0xc6}, {&(0x7f00000002c0)="2b7763fb4857b8fee3e87a2e9b0742c662b3fb8bec130809bc064964443077e7b1f8a10f5ecf5452a2f18877c72b8fc195f202ea964d1d37d5e689de6e428021e8cc67b78ac3de55fbc48664960746403d9d64288a247fe9d34dc8014c1487e3a8285d9408a8905835811b759d10eef698", 0x71}, {&(0x7f0000000380)="5e66a8057cd0b941ccafe823dc0c272211fc141d4c73dcaa28d362faf7f7cc4e9a85d1fe86c7ea52801be0d875d37b1d7ca089e70cdb974a5ca1cdbad78e4943afe03a7fc757c0f6580d0e60f8619f6ee154537cc94071464b2bf79f983c92ebbe54db49df6aca73661631ed233e5d47b0e276cec4c41fce46957b3dae56dd134ec3ffd4d5e8992abff7458f2d7fb68337c110126ce256e6e8963ba4f92548ddc4e93ac4", 0xa4}], 0x3, 0x1) [ 2524.703923] loop0: detected capacity change from 0 to 4 [ 2524.706771] FAT-fs (loop0): invalid media value (0xf3) [ 2524.707130] FAT-fs (loop0): Can't find a valid FAT filesystem 22:42:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x7707}) [ 2524.761566] loop6: detected capacity change from 0 to 40 [ 2524.797304] kworker/u4:9: attempt to access beyond end of device [ 2524.797304] loop7: rw=1, sector=2476, nr_sectors = 1632 limit=40 [ 2524.798943] kworker/u4:9: attempt to access beyond end of device [ 2524.798943] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2524.799703] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2524.804349] loop3: detected capacity change from 0 to 40 [ 2524.817573] Process accounting resumed [ 2524.838349] syz-executor.3: attempt to access beyond end of device [ 2524.838349] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2524.855185] Process accounting resumed 22:42:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:42:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x7a00}) 22:42:18 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r0, &(0x7f0000000040)='./file0\x00', 0x1, 0x2) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2539.090577] loop3: detected capacity change from 0 to 40 22:42:18 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x3f000000) 22:42:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 2) 22:42:18 executing program 0: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(r0, &(0x7f0000000040)='./file0\x00', 0x1, 0x3) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:42:18 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 22) 22:42:18 executing program 4: openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(0xffffffffffffffff, 0x2, 0x3) [ 2539.101566] loop1: detected capacity change from 0 to 40 [ 2539.110440] loop6: detected capacity change from 0 to 40 [ 2539.115233] syz-executor.3: attempt to access beyond end of device [ 2539.115233] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2539.137956] loop5: detected capacity change from 0 to 40 [ 2539.143886] loop2: detected capacity change from 0 to 40 22:42:18 executing program 4: openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(0xffffffffffffffff, 0x2, 0x3) [ 2539.159509] FAULT_INJECTION: forcing a failure. 22:42:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xf6ff}) [ 2539.159509] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2539.160533] CPU: 0 PID: 12825 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2539.161083] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2539.161645] Call Trace: [ 2539.161829] [ 2539.161999] dump_stack_lvl+0xc1/0xf0 [ 2539.162285] should_fail_ex+0x4b4/0x5b0 [ 2539.162583] prepare_alloc_pages+0x178/0x500 [ 2539.162911] __alloc_pages+0x149/0x510 [ 2539.163202] ? __pfx___alloc_pages+0x10/0x10 [ 2539.163531] ? __pfx___lock_acquire+0x10/0x10 [ 2539.163866] ? __pfx_mark_lock.part.0+0x10/0x10 [ 2539.164209] ? __pfx_mark_lock.part.0+0x10/0x10 [ 2539.164566] alloc_pages+0x1a0/0x260 [ 2539.164846] filemap_alloc_folio+0x374/0x410 [ 2539.165172] ? __pfx_lock_release+0x10/0x10 [ 2539.165488] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2539.165850] ? xas_start+0x14e/0x710 [ 2539.166126] ? xas_load+0x6a/0x140 [ 2539.166389] __filemap_get_folio+0x32b/0xcd0 [ 2539.166712] ? __pfx___filemap_get_folio+0x10/0x10 [ 2539.167075] ? mark_lock.part.0+0xef/0x2f30 [ 2539.167401] pagecache_get_page+0x2e/0x130 [ 2539.167718] ? __pfx_fat_get_block+0x10/0x10 [ 2539.168039] block_write_begin+0x35/0x450 [ 2539.168364] cont_write_begin+0x4fe/0x700 [ 2539.168671] ? __lock_acquire+0x18df/0x6380 [ 2539.168998] ? __pfx_fat_get_block+0x10/0x10 [ 2539.169324] ? __pfx_cont_write_begin+0x10/0x10 [ 2539.169670] ? __pfx___lock_acquire+0x10/0x10 [ 2539.170013] fat_write_begin+0x89/0x180 [ 2539.170303] ? __pfx_fat_get_block+0x10/0x10 [ 2539.170628] cont_write_begin+0x2fc/0x700 [ 2539.170938] ? __pfx_fat_get_block+0x10/0x10 [ 2539.171265] ? __pfx_cont_write_begin+0x10/0x10 [ 2539.171603] ? lock_release+0x1e3/0x710 [ 2539.171902] ? __pfx_fault_in_readable+0x10/0x10 [ 2539.172250] fat_write_begin+0x89/0x180 [ 2539.172541] ? __pfx_fat_get_block+0x10/0x10 [ 2539.172791] loop7: detected capacity change from 0 to 40 [ 2539.172862] generic_perform_write+0x25a/0x580 [ 2539.173971] ? __pfx_generic_perform_write+0x10/0x10 [ 2539.174331] ? __pfx_fat_update_time+0x10/0x10 [ 2539.174668] ? __pfx_file_update_time+0x10/0x10 [ 2539.175012] ? generic_write_checks+0x2c0/0x400 [ 2539.175359] __generic_file_write_iter+0x308/0x4b0 [ 2539.175721] generic_file_write_iter+0xe7/0x350 [ 2539.176070] do_iter_readv_writev+0x211/0x3c0 [ 2539.176422] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2539.176794] ? avc_policy_seqno+0xd/0x70 [ 2539.177102] ? security_file_permission+0xb5/0xe0 [ 2539.177432] loop0: detected capacity change from 0 to 40 [ 2539.177831] do_iter_write+0x18b/0x700 [ 2539.178126] ? __x64_sys_pwritev+0x233/0x310 [ 2539.178444] ? lock_is_held_type+0x9f/0x120 [ 2539.178766] vfs_writev+0x1ae/0x660 [ 2539.179044] ? __pfx_vfs_writev+0x10/0x10 [ 2539.179354] ? __fget_files+0x24e/0x480 [ 2539.179648] ? lock_release+0x1e3/0x710 [ 2539.179959] ? lock_acquire+0x32/0xc0 [ 2539.180247] ? __pfx___fget_files+0x10/0x10 [ 2539.180570] ? __fget_files+0x270/0x480 [ 2539.180877] __x64_sys_pwritev+0x233/0x310 [ 2539.181176] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2539.181527] do_syscall_64+0x3f/0x90 [ 2539.181798] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2539.182160] RIP: 0033:0x7fe786258b19 [ 2539.182423] 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 [ 2539.183638] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2539.184173] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2539.184670] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2539.185159] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2539.185651] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000001 [ 2539.186147] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2539.186658] 22:42:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2539.393162] FAULT_INJECTION: forcing a failure. [ 2539.393162] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2539.394885] CPU: 1 PID: 12826 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2539.395928] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2539.397011] Call Trace: [ 2539.397373] [ 2539.397693] dump_stack_lvl+0xc1/0xf0 [ 2539.398229] should_fail_ex+0x4b4/0x5b0 [ 2539.398795] prepare_alloc_pages+0x178/0x500 [ 2539.399425] __alloc_pages+0x149/0x510 [ 2539.399986] ? __pfx___alloc_pages+0x10/0x10 [ 2539.400619] ? __pfx___lock_acquire+0x10/0x10 [ 2539.401260] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2539.401902] alloc_pages+0x1a0/0x260 [ 2539.402436] filemap_alloc_folio+0x374/0x410 [ 2539.403066] ? __pfx_lock_release+0x10/0x10 [ 2539.403670] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2539.404388] ? xas_load+0x6a/0x140 [ 2539.404909] __filemap_get_folio+0x32b/0xcd0 [ 2539.405542] ? __pfx___filemap_get_folio+0x10/0x10 [ 2539.406221] ? lock_is_held_type+0x9f/0x120 [ 2539.406829] ? find_held_lock+0x2c/0x110 [ 2539.407399] pagecache_get_page+0x2e/0x130 [ 2539.407988] ? __pfx_fat_get_block+0x10/0x10 [ 2539.408604] block_write_begin+0x35/0x450 [ 2539.409190] cont_write_begin+0x4fe/0x700 [ 2539.409775] ? lock_is_held_type+0x9f/0x120 [ 2539.410374] ? __pfx_fat_get_block+0x10/0x10 [ 2539.410988] ? __pfx_cont_write_begin+0x10/0x10 [ 2539.411621] ? __mark_inode_dirty+0x249/0xee0 [ 2539.412245] ? generic_write_end+0x1fe/0x3d0 [ 2539.412876] fat_write_begin+0x89/0x180 [ 2539.413416] ? __pfx_fat_get_block+0x10/0x10 [ 2539.414031] cont_write_begin+0x2fc/0x700 [ 2539.414619] ? __pfx_fat_get_block+0x10/0x10 [ 2539.415225] ? __pfx_cont_write_begin+0x10/0x10 [ 2539.415857] ? lock_release+0x1e3/0x710 [ 2539.416442] ? __pfx_fault_in_readable+0x10/0x10 [ 2539.417091] fat_write_begin+0x89/0x180 [ 2539.417636] ? __pfx_fat_get_block+0x10/0x10 [ 2539.418248] generic_perform_write+0x25a/0x580 [ 2539.418879] ? __pfx_generic_perform_write+0x10/0x10 [ 2539.419551] ? __pfx_fat_update_time+0x10/0x10 [ 2539.420174] ? __pfx_file_update_time+0x10/0x10 [ 2539.420838] ? generic_write_checks+0x2c0/0x400 [ 2539.421489] __generic_file_write_iter+0x308/0x4b0 [ 2539.422161] generic_file_write_iter+0xe7/0x350 [ 2539.422805] do_iter_readv_writev+0x211/0x3c0 [ 2539.423425] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2539.424105] ? avc_policy_seqno+0xd/0x70 [ 2539.424703] ? security_file_permission+0xb5/0xe0 [ 2539.425400] do_iter_write+0x18b/0x700 [ 2539.425952] ? __x64_sys_pwritev+0x233/0x310 [ 2539.426554] ? lock_is_held_type+0x9f/0x120 [ 2539.427158] vfs_writev+0x1ae/0x660 [ 2539.427675] ? __pfx_vfs_writev+0x10/0x10 [ 2539.428243] ? __fget_files+0x24e/0x480 [ 2539.428805] ? lock_release+0x1e3/0x710 [ 2539.429371] ? lock_acquire+0x32/0xc0 [ 2539.429896] ? __pfx___fget_files+0x10/0x10 [ 2539.430490] ? __fget_files+0x270/0x480 [ 2539.431057] __x64_sys_pwritev+0x233/0x310 [ 2539.431621] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2539.432262] do_syscall_64+0x3f/0x90 [ 2539.432791] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2539.433486] RIP: 0033:0x7fdf12d79b19 [ 2539.433993] 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 [ 2539.436241] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2539.437225] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2539.438133] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2539.439181] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2539.440107] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2539.441049] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2539.441983] [ 2539.500592] loop3: detected capacity change from 0 to 40 22:42:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 3) 22:42:18 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000040)='./file1\x00', 0x0, 0x0, &(0x7f00000000c0), 0x8, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:42:18 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x7f510100) [ 2539.541489] syz-executor.3: attempt to access beyond end of device [ 2539.541489] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2539.548952] loop1: detected capacity change from 0 to 40 22:42:18 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f00000000c0)='.\x00') r0 = openat(0xffffffffffffffff, &(0x7f0000000100)='./file1\x00', 0x341042, 0x4) fcntl$setsig(r0, 0xa, 0x27) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2539.616830] loop2: detected capacity change from 0 to 40 [ 2539.627241] loop5: detected capacity change from 0 to 40 22:42:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2539.643128] FAT-fs (loop0): bogus number of reserved sectors [ 2539.644131] FAT-fs (loop0): Can't find a valid FAT filesystem 22:42:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xfff6}) [ 2539.685584] FAT-fs (loop0): Unrecognized mount option "P" or missing value [ 2539.720901] loop6: detected capacity change from 0 to 40 22:42:18 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 23) 22:42:18 executing program 4: openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(0xffffffffffffffff, 0x2, 0x3) 22:42:18 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x93000000) [ 2539.760550] loop3: detected capacity change from 0 to 40 [ 2539.783244] loop1: detected capacity change from 0 to 40 [ 2539.807929] syz-executor.3: attempt to access beyond end of device [ 2539.807929] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2539.852485] loop7: detected capacity change from 0 to 40 [ 2539.885992] loop5: detected capacity change from 0 to 40 [ 2540.097308] kworker/u4:9: attempt to access beyond end of device [ 2540.097308] loop2: rw=1, sector=2516, nr_sectors = 1592 limit=40 [ 2540.106696] kworker/u4:9: attempt to access beyond end of device [ 2540.106696] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2540.108389] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2540.150241] kworker/u4:9: attempt to access beyond end of device [ 2540.150241] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2540.151948] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:42:31 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r0 = openat$pidfd(0xffffffffffffff9c, &(0x7f0000000040), 0x113080, 0x0) pwritev(r0, &(0x7f00000000c0)=[{&(0x7f00000001c0)="992beb80d09c8067af33ff659bb41e65da39b8f245a9f0a5747cdf3d8287bd458fecc5badf0004552f14e7be71e18a894cccc8a9bba57b8ec28a44d7ebbec4c3255eaa2e144f292c155aabbd703d1a2d943fa1beb7a42a5dcea1687db483426a0aeac9a6d10899ec840b9c9cbc25140cc79358f8d3bbe1bebd9034a2c29a4ceaf85979f9913d3b0da9c7dff8a76c1102d41251ad9bac6456b7c4a9a47498525cb9680095c598457a7e190994fadd5528db2cfe01ea42722b7e2c973e7bde10c7f06c1ce099088df337e03c1102a93b933bad4288d5bf82725821c2382befd54aebe568512eb11eae2f90", 0xea}], 0x1, 0x9, 0x6) 22:42:31 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 4) 22:42:31 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 24) 22:42:31 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) stat(&(0x7f0000000040)='./file1\x00', &(0x7f00000001c0)) 22:42:31 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x80000}) 22:42:31 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:42:31 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x0, 0x3) 22:42:31 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xc664d02d) [ 2552.737516] loop3: detected capacity change from 0 to 40 [ 2552.741444] loop2: detected capacity change from 0 to 40 [ 2552.744253] loop6: detected capacity change from 0 to 40 [ 2552.755542] loop5: detected capacity change from 0 to 40 [ 2552.755933] loop1: detected capacity change from 0 to 40 [ 2552.768143] syz-executor.3: attempt to access beyond end of device [ 2552.768143] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2552.787188] loop0: detected capacity change from 0 to 40 [ 2552.790175] loop7: detected capacity change from 0 to 40 22:42:31 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:42:31 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = syz_mount_image$ext4(&(0x7f0000000040)='ext2\x00', &(0x7f00000000c0)='./file1\x00', 0xb5, 0x3, &(0x7f00000004c0)=[{&(0x7f00000001c0)="002fc6a180f2d6f265c30ccc11196baed88d3083c2a3d8883b996f4715ec773a17b61e2997954dcc99ad29edcf335fa71be04e2f587ba56f8c7c4cd88addde4eaa98297204dda4fea2785bd915f8b5e6ea4c290638c23152532af2811e7752e0867a3fc97327735dab876ea26c343c4fb5b9f39211488e7ead0ad8d309c0228f56d8f33d1cf5796b77774360a5e4ae91df398568f563676962bbc4227c9c738ea83b30b7d35b6e49fdc3803e1de5476acaed19e32fa3ab8ad99c7f099c10e51156479f7cb999246386f9abd367bd1cb74bbab9ac329a", 0xd6, 0x8}, {&(0x7f00000002c0)="39e8b57b11170e1632e9f7f0888cd7f074853cf32235ac3ddeda6d0edd309cb76e875b61f9e3b5e053b96438207a23284035a9aba6d2ba4ce34d3a66a312bb834e94149e6c3a76d2eed51cbd2fac6246b3041b5e2b9a5a343ae3a6c795e660947c52eaa3acbb50f6fe70464c73407c5ed59c9a49e9d430cf11b81668178b0d9c1cbcb4a2cdd2fe37ee8d00378216e36acd23727a5e9a501d8d3ca42b107ca40df2ab733ba79b736b57e829afc98e840057c027c2702301f9991b3d54b472d3ecc7", 0xc1, 0x3}, {&(0x7f00000003c0)="2972192b9d466a4e0ef490a35f6160812c712d14fd0ac67e8d50d735498cbc0a053e7812ffbb7a591432170eb0ea8850d382a51c6776718b98da0c1a306a97b0af0d582470d7296a4c88ee7e3e53d96087f97d61932a785a2f87042a292d3bea4badcdd1bf616d41deefc4b4e9022f67384ab2e9aa0e7aff598b9e4030454fb6391778eea87fb786ebff9e6ab849bd6b75e9d1633c20a724165ba853e76d9d397e1745097084f22d70ddf9cd68b1dd51a2eefb68f3741d8343ab9cc9108b5523a5041eda74e49d2608cb9442d25095a21077c99aa6ca2ccfe2073a28998831e66a59d65254fe", 0xe6, 0x80000001}], 0x80000, &(0x7f0000000540)={[{@norecovery}, {}, {@nomblk_io_submit}, {@dax}, {@journal_path={'journal_path', 0x3d, './file1'}}, {@sysvgroups}], [{@appraise_type}, {@obj_role={'obj_role', 0x3d, ',.'}}, {@dont_appraise}]}) signalfd4(r1, &(0x7f00000005c0)={[0xff]}, 0x8, 0x0) 22:42:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xe0ffff}) 22:42:32 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x0, 0x3) [ 2552.891569] loop6: detected capacity change from 0 to 40 [ 2552.892487] loop1: detected capacity change from 0 to 40 22:42:32 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf4ffffff) [ 2552.895229] loop3: detected capacity change from 0 to 40 22:42:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file1\x00', 0x0, 0x3, &(0x7f00000011c0)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}, {&(0x7f00000001c0)="905565abfbbe2404aacbaf68dd93b27023b40ececf497a129be3043d21f08441c6a10f40fde03c848219c06e5c69fca0dc3064c2c5d3953801a939133ee9a6e451acd4b5cd367a18f922e9c11ca2afb3e303eac0cf0521671fb696f03fb5fdbf011dc18c4dcb9bcbfffe7ff4dac202e1186a38dace37b3f99ac6c19e71f8d8a305050b0ffa655436576a5e7bc86015ae6269ea16bca3fd90966b336de8309d397c41db12e459ac8f8f6140dcdf9ea92fcb0242ee15801b34437befd9131b85471e5c91ce2fffa738fabec24a125981ab36d1c33f39417de47d07dc5deea4f1a265991d1feb8c0ce35aa02edd624e6f433dd792042c89752a932a81534a88843d0be4c89f7712b6263ddb86a87a247d439a3250a7df0f6fc16c34ad47a2e3993bd560f14757e912b215007071cfc6965ad08709dfb15dfd0da8b5035a9a47e9cc3d5d9714f5c53830ec1f0e134df7dbeb8e41514931ac74fca0b66779ade15c8eb4e8591ad4b7c49349aa3fe2bc085fb9647dab841791a38789c4c1a55385f1163041974d357af42336b4f355dd12b68f483062dab062e309ba9ad568659106e7b6fc556f22583fbab5aa77fa00412871f45e0098a319fc6e29db4c383658973a6c060febb6f478c2a1557dc4ec65c921f483b24992d8a41cd04d1b7bb313ee46437c4b425943d578c2d230b78aeda6dce5d7c49b4c83cb87c26b681e497e2f084ccbcac9e4699a78d3cfbebc018d1059fd8d5721c1394ae1151326718ee275abf4b9e080381006fdf0099b107bc3e785889900073b33b37cd399b2284eaa91c650522b82023c0852a9c03232cd955e681949d09a8d09ecaff545ea6782e7306c41f3ec4c0756b11ec84f1e450c60518042c2b628644fc960774de761d2414a265b73bea864531525a04a321d0e4f25cd4795045c21cab2f5cc70c8323f83f6073b1ce52f112a7adc2ba35bf10b1445eaeba1bd257544c05f714b9bb7b0fe012a8eb6ea4d643ee4fb6ca9d026fa3839b0a5a4e1de226aed138863f3eebdc408ce26ff92adafe70efc872fc8e3dcc9c151af2e9208e657d36be4f53f18e72826221ec1eaa8f5f8125ae9024747bdf2adfa0b8fbae04aff9ddef4c3a8d1d887d52fb58f5b87206872459fd75e39cb0f8dac7db8f91ac1b6f48405cc668ab56d664d1ea5b8ec9347160e1c02761477beeecf9de356580c78669b7c2b137cbb51d3694de2e948ac432f2a8b7bee648bff2acb9f929acc5c77171e527596c128a69c27e1330a0e127701df61e8beb728689c1aad64536f056260bedba3a4cc65f81c632adea9f9225afb9e15db84152a1b6f85498d6617dc85271b93931c09d368a3f9d244bb91dc39d7090ab12e57bf10b765a73a3a01df07c66ebf2e4e23abeb4f6af23cf21658168d24c77cb9d000745350fe88da420f93f1c9965c982e75e2b0784d059db460261288155bef405a10991a811e5a8dc1f1673c36353b7da0552d1a011b7a71d4c2c13f3371879436a1a8c9b268d9ee5fc4854292ba53114cba55d128c9fb525d962eb6573583f0775b4a4c25e341046f5fcfd9798420bf93a7c73a9a68ad3ac1a6f13a6b3be7150acbabd1f6a503aa81f725453db1ed7c4701ab1f847f12d3dc62750727ee861285102b24c0e13a4641c6f3d57813100d61ba2fed6cd9e755ab0db40a7e0dd67262c36036adfb7836020f09f0e4004206fd5a87b17835da6e6d8ea4ef6ab2d8296925e9e5bc896d1fe1a69a4f57f1120098093612d965e39f55f52d66b8f24c5d73d1b99700f69913e10a0c5a9590aff854f77b8f6de3b8eb6d8a6f1c6cf14ea343bacc9b190a2b12f8218683d4b0139f3f5b3a27d16b6cbfcca6ecd4e5065c36b6da06d3bee2fa9cdbc2d54aa2266045593f6fcfc9451589d66ec00c725b9e30da0d0b05ffbbd1e1aa310112ab974e6b189d7e680d0f8b36fd82b9b8dcc0cbdeb241a1d2c95448f73a5f84e5fd130dbf9cdffb6061522c2413f33cc41c9beab88bd4ad29d77d99d389d1e77bd38d783b80eb5d49ca79cece8d58d40fd7ee2888cb4f89cdd0c231f3ce11a93135928a91c3362dae189643257a3239956cd265ce0528262643130236e585acf665017301cf064cca19c6977f96e385fb3716a83b693524e4772cd4e902b5b3080a5dbfb1559035e475aaefbb6ddca9223519a6d913c37dc51dd3fb947194a503b088fa210ce6b49fe0d59c084cd02b90340208d2aff7c1e1620c6d4bc69214ac02342a07220644f810b1f952b368e79dc65bf760b9ad906e58a388251cc73757690a8913128b86580b9d703207bcb9176e9bd8a87bb2b8ff87689c4d2864bff0ee173e6c33e05ca3ee44c61dbafb9eb75785a8446145a8aec93b408ce99836cf7f70ad3772e1a6d6f2d2d0f76ab8883eb1577eef96ca37822c0b7e3e2d5d324d93f8aebc2f928a24357dfdf399c04b146d1da7945d6e0823541c41c51d9f777746594facd0b147aaa655e6df995b8cd3e4eb14f811fa2a0dac540dd9458ab9fd0e48230af5992290be5e8280f7b7c03116e1cf2175b6c6e2e0eee0f2cb77cd8e22781fa3349b74f5faf8426822158310b589b16447f5cc70284df57daee61f82814703a1dce6099a4745abc240f4f8cd9f4e919ed9db9d45efa9c4da5dc0c37c2d76534b58353cfe52108ff5af8ce4a448b8aecccedf26a06337b069538d408ec8813b1703b5d98a6bf32768f31538a5f74a4df4463ab31a85e8e0a1df904641ddb7ca0183d01571f3dec416fbaaa5a82a1ea088457ee7a691c4b47a286ccb34d6ffc3978d15334592b8427bc0e7160e0e5f1eddfd1d4e60d760fdd16554797e7538531ea549287add447359cf6a76804054b9596494133112da817eda1f283f2970b181d660615d2694e36f44f4877a229b321a9991ec36d1ee597e66f253f0525192a1e9f5c3a0729358a264de7923145b25050c3961884725cb5ac2b809fd2e27edcf0ce811288a816a94bfe637c0cc8c6134e157982a826dd600cb81c71c2eae78f4fd032a5effe62e0fbf12efdf6532b707e3f995d44f670ed5fa5ad24da50089558f942c42d9bab3827e0675ff3ffc397f1e7491d154ea0ec5973b96d93feefb08c23bd9215270fb8b32c3cb7f3b940ac62d0d9cd51883af143f6e147b03e1dd33010eb2b331b313cbd6f34301f6bc37e2833acfaea83f494614baae2e066be080d704254dcb0b415a7454983f9b2f34f2d5fdced1be3e8a1c0798a5b60d29ecef28e405c16885bc2754cdf2f937932839c087b8e04cbd5f1bf2710005b950f864672c899bf20081e3a39c7051e3ec11deb656136b35d00260c6b9fabae931fa9d7c5393b03417d71305680df0dcc8827aa2f1d425209c7b95a26c3a449912161a32f0a0bb347706f89189e04a9c2565382513e4fa80759df4f1a001d0d131aa84960571b577840283cbf45214b5c8150d65441ddea721b07ff3a7546b7dede359019fbb957231d1185fdf81429b80e2f3d561896bc02b4b98d0216d905a9955cd425b83f02070b8ec12917ea370b36dc1d749c660800092396b392af36a4a4a77704cbb0ac6acf523d080aed697fa801925ce4e73421145f474fa3d79e07bbf7a33b3b499d3420f9f8dfa766acd08d492975302a649ad03a4cde591a6745ffff46e96877b77d9d29261842a438179380e72768b60fbf0d2e7371c1ae589370ab727ded1f0afa929d1ca3c3a3b0ea28a5f319085a58bb595b1322ea837618d4959da044efaba040cc08a29e65ddfcc2cafac1e2671aa8ef66debe579329b2fc64f2ee9b4578dd81801d36ac3152bf736b7bef78eb8db43dec53bd5f1813ba39722f5776da85f11b570652a6721f7de22c5b199ca3e0349329c9927fbaff01474e0f6ffbf8951ee3a0babbf00d3c312a138c6d82fd2572f46b246e5df24a4fa09fc56048ca01b33821140e13969f0a4c968ec021d10f5d4718c5f6759edc492024254fef0a0e33d9c77b84079780dea41ed87d088cc1c82574e0da2757a4baa3cd5a04a0734595c79d99711e78763ab41832e3d442fbac020e74d10b330ae62fa101298c3566b3c4a463bd05bb615bd2adfb4f6b08f2e39c5306970f34765fb91b3433751ee2a48ddea7f2427dfca8ac709e093e49ab81920fe318a2fa0add73094dc35b919722b7199095c375d1ead0d7ca54154ea279039debbce24ad462694b20a51a7c2d0b256e42d49c6ce49be1d3913ca9d8d45dba657dca06e01330ef954b55154feb50a42c3267a7298d5564d9af4dbfa3fffefe32cabad90d2046d97373e388da7565ab212a798f995ecba076f4174e233c1cbb275b8944cb657d3feca08a8979041c7edd16be0a9f56da786d7a3de6ab0cc2fd66d9926d1d41263b884490ac0a93dd46e6ae08c45e62eb86c131e67ab8734ec96e413c10552d2ad23b2cfea480adbafe4f068fbe64a2a2e7c1fde610b0568b031bf4178493c31d5385d93688f83d23dd8522be0dac050398d290745dd9a9b2decabd010cb9b3fca7e359f670f5c748bac82835bcdb11ae5e6a30b6896b50a4413a9b52442c0942964345b763104935161041bf509b00bd185c64390f7337866648912d680275b9218f83e62c45792519b3081c3fd4ecd60bea573dcc3fe8dac772ea99fac0ec79ba57c83a932881817f0b6976fc2bbca3a24552eccf168eb351feee89819353883dcfde7ae1c4245773b18a020b544957998af63d2e69bd9736487f967909909e2877dd76368bc9f073a822c99f994e6b39b7f5d79dd18d88487b54fbfb0e9e038b5c217ab08c6bab6fed6c64c2bf6f69b150fb5edfa3edf4d3c4357c1e9aadc2c71d11ecf01ef430528ea00bbf1572773c3bf2e1b35ab052a8be6f4a15b266a8c0e2d740e7a37f7150783bdb7982e47814dac73e497c91d9572f992368c7c1314f6f93ccfbf02f2548b4e7911da577ebf08182b0b06603d5882cb740e3c6f2ee185c8fd947e227b5650e3ae39b54bb1229cf98b23fc7d70b350cdbbb063aa26fef59adb2df6352aff45808ae0fccbbbd4184bbdd8935a1851f5ac84bc1d09e25eed2fa7d68ec11b421a4d37ae6763f456bdf0c7843c621debcf18b80f21e9538ecd4e01b8d19ca51c378a016bff65f0577c7c58d1a267ab8233e62fbd6cfd027debd9b7ea2034738b972e4d48549da4e7a7f636fadeca926d2cb76b130382c9f5661eb84d7d3c06cc1ea82401b75752630415b08880ce1e1972c110d18f03badff80ccaefc4728074946c723a878aded7a02d951f95ae238df91b44c20a6adb6a341d97bcee72790186daf57880b6ab9033d45a47d527b32414cdc6c34d0c2db61d9b80ba8fd99d16abadac4fce8da8bb0b8c0eda2f1a4f670121f379d5f5162f583b619a7f71081c35d32889627d900ca2000372e3007a3da8fba4cca091f41f0974c2efdc27ac795510a18eef6cda672430bf9e0907287fcb2c23b8d6c2f50c4ffb528cdbceb3b91c50dbb55def491134412ac4b75e481c4ae12aae79c60195d300258a5abb7e9b39cb56f279363826d219a5a8530b6993797fc7677d8d2080e48ea4533c2341ce86ccd7205798fb62a4caf09ee857b06a54170fb49ac139d9e0db7818441fd5599c9f5b096675b7555f5585a7079df70729e32b232468c2949ab7d89de650652264c06870b90106f17ae90a91facec0b645de9cdf235de31c6152a45c36182cdc0e1488b71a7580f0754bb7b566940329fc9f4f0775391ab6e8809a8811272f57eabfd88ba71c7664dccb1ff8649c067b16c809b40575918605decfc275d6", 0x1000, 0x6}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0xc000, 0x12) r0 = openat$vcsa(0xffffffffffffff9c, &(0x7f00000000c0), 0x20000, 0x0) r1 = inotify_init() ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(r0, 0xc0189375, &(0x7f0000001240)={{0x1, 0x1, 0x18, r1}, './file1\x00'}) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2552.942220] loop5: detected capacity change from 0 to 40 22:42:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x1000000}) [ 2553.009426] loop3: detected capacity change from 0 to 40 [ 2553.040825] loop0: detected capacity change from 0 to 40 [ 2553.050746] FAT-fs (loop0): invalid media value (0x70) [ 2553.051397] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2553.083979] loop0: detected capacity change from 0 to 40 [ 2553.094860] FAT-fs (loop0): Unrecognized mount option "P" or missing value [ 2553.105434] kworker/u4:7: attempt to access beyond end of device [ 2553.105434] loop2: rw=1, sector=3100, nr_sectors = 1008 limit=40 [ 2553.109570] kworker/u4:7: attempt to access beyond end of device [ 2553.109570] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2553.111401] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2553.161675] kworker/u4:7: attempt to access beyond end of device [ 2553.161675] loop7: rw=1, sector=3180, nr_sectors = 928 limit=40 [ 2553.163186] kworker/u4:7: attempt to access beyond end of device [ 2553.163186] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2553.163976] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2572.783512] loop7: detected capacity change from 0 to 40 22:42:51 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:42:51 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f00000000c0)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000040)='./file2\x00', 0x2, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file2\x00', 0x80, 0x1a1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:42:51 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x200, 0x0) 22:42:51 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 25) 22:42:51 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x2000000}) 22:42:51 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf5ffffff) 22:42:51 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 5) 22:42:51 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x0, 0x3) [ 2572.803317] loop2: detected capacity change from 0 to 40 [ 2572.803763] FAULT_INJECTION: forcing a failure. [ 2572.803763] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2572.804869] CPU: 1 PID: 12924 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2572.805397] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2572.805940] Call Trace: [ 2572.806119] [ 2572.806280] dump_stack_lvl+0xc1/0xf0 [ 2572.806548] should_fail_ex+0x4b4/0x5b0 [ 2572.806834] prepare_alloc_pages+0x178/0x500 [ 2572.807152] __alloc_pages+0x149/0x510 [ 2572.807429] ? __pfx___alloc_pages+0x10/0x10 [ 2572.807746] ? __pfx___lock_acquire+0x10/0x10 [ 2572.808065] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2572.808390] alloc_pages+0x1a0/0x260 [ 2572.808663] filemap_alloc_folio+0x374/0x410 [ 2572.809008] ? __pfx_lock_release+0x10/0x10 [ 2572.809311] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2572.809653] ? xas_load+0x6a/0x140 [ 2572.809906] __filemap_get_folio+0x32b/0xcd0 [ 2572.810212] ? __pfx___filemap_get_folio+0x10/0x10 [ 2572.810553] ? lock_is_held_type+0x9f/0x120 [ 2572.810858] ? find_held_lock+0x2c/0x110 [ 2572.811148] pagecache_get_page+0x2e/0x130 [ 2572.811444] ? __pfx_fat_get_block+0x10/0x10 [ 2572.811749] block_write_begin+0x35/0x450 [ 2572.812041] cont_write_begin+0x4fe/0x700 [ 2572.812333] ? lock_is_held_type+0x9f/0x120 [ 2572.812637] ? __pfx_fat_get_block+0x10/0x10 [ 2572.812956] ? __pfx_cont_write_begin+0x10/0x10 [ 2572.813273] ? __mark_inode_dirty+0x249/0xee0 [ 2572.813600] ? generic_write_end+0x1fe/0x3d0 [ 2572.813917] fat_write_begin+0x89/0x180 [ 2572.814201] ? __pfx_fat_get_block+0x10/0x10 [ 2572.814528] cont_write_begin+0x2fc/0x700 [ 2572.814838] ? __pfx_fat_get_block+0x10/0x10 [ 2572.815165] ? __pfx_cont_write_begin+0x10/0x10 [ 2572.815491] ? lock_release+0x1e3/0x710 [ 2572.815790] ? __pfx_fault_in_readable+0x10/0x10 [ 2572.816150] fat_write_begin+0x89/0x180 [ 2572.816428] ? __pfx_fat_get_block+0x10/0x10 [ 2572.816769] generic_perform_write+0x25a/0x580 [ 2572.817098] ? __pfx_generic_perform_write+0x10/0x10 [ 2572.817465] ? __pfx_fat_update_time+0x10/0x10 [ 2572.817782] ? __pfx_file_update_time+0x10/0x10 [ 2572.818136] ? generic_write_checks+0x2c0/0x400 [ 2572.818468] __generic_file_write_iter+0x308/0x4b0 [ 2572.818830] generic_file_write_iter+0xe7/0x350 [ 2572.819155] do_iter_readv_writev+0x211/0x3c0 [ 2572.819503] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2572.819851] ? avc_policy_seqno+0xd/0x70 [ 2572.820168] ? security_file_permission+0xb5/0xe0 [ 2572.820518] do_iter_write+0x18b/0x700 [ 2572.820829] ? __x64_sys_pwritev+0x233/0x310 [ 2572.821133] ? lock_is_held_type+0x9f/0x120 [ 2572.821464] vfs_writev+0x1ae/0x660 [ 2572.821725] ? __pfx_vfs_writev+0x10/0x10 [ 2572.822030] ? __fget_files+0x24e/0x480 [ 2572.822310] ? lock_release+0x1e3/0x710 [ 2572.822619] ? lock_acquire+0x32/0xc0 [ 2572.822778] loop0: detected capacity change from 0 to 40 [ 2572.822888] ? __pfx___fget_files+0x10/0x10 [ 2572.823890] ? __fget_files+0x270/0x480 [ 2572.824199] __x64_sys_pwritev+0x233/0x310 [ 2572.824488] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2572.824847] do_syscall_64+0x3f/0x90 [ 2572.825110] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2572.825275] loop1: detected capacity change from 0 to 40 [ 2572.825477] RIP: 0033:0x7fdf12d79b19 [ 2572.826418] 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 [ 2572.827577] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2572.828104] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2572.828310] loop6: detected capacity change from 0 to 40 [ 2572.828567] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2572.829758] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2572.830226] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2572.830721] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2572.831246] [ 2572.833129] loop5: detected capacity change from 0 to 40 [ 2572.833405] loop3: detected capacity change from 0 to 40 22:42:52 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x0) [ 2572.847458] FAT-fs (loop0): Unrecognized mount option "" or missing value [ 2572.883922] loop0: detected capacity change from 0 to 40 22:42:52 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x0) [ 2572.903754] FAT-fs (loop0): Unrecognized mount option "" or missing value 22:42:52 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 26) 22:42:52 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:42:52 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x3000000}) 22:42:52 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf6ff0000) 22:42:52 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000240)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r0, &(0x7f0000000280)='./file1\x00', 0x100, 0x6) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) setxattr$trusted_overlay_nlink(&(0x7f0000000040)='./file0\x00', &(0x7f00000000c0), &(0x7f00000001c0)={'U-', 0x9}, 0x16, 0x2) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat$dir(0xffffffffffffff9c, &(0x7f0000000200)='./file1\x00', 0x200000, 0x6) [ 2573.010783] loop7: detected capacity change from 0 to 40 [ 2573.019025] loop5: detected capacity change from 0 to 40 [ 2573.033974] loop6: detected capacity change from 0 to 40 [ 2573.046333] loop1: detected capacity change from 0 to 40 [ 2573.073953] loop3: detected capacity change from 0 to 40 [ 2573.156268] kworker/u4:9: attempt to access beyond end of device [ 2573.156268] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2573.157177] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2573.246002] kworker/u4:7: attempt to access beyond end of device [ 2573.246002] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2573.246827] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:43:05 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfbffffff) 22:43:05 executing program 4: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) lseek(r0, 0x2, 0x0) 22:43:05 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 6) [ 2586.161016] loop2: detected capacity change from 0 to 40 22:43:05 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 27) 22:43:05 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) openat(r0, &(0x7f0000000040)='./file0\x00', 0x628202, 0xb1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xffffffff) 22:43:05 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:43:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:43:05 executing program 0: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file2\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x2001, &(0x7f00000001c0)=ANY=[@ANYBLOB="f66d10323788ce009bde5e69df543675c0e73211da242a54329e9e1ee517bbd45578fd3f3a7c28e60998956fdad7915410bae47ea0303735b429722f82e3f68386aa8173870e6bde9e8c560c408a6bb006c55b6026a4e928fa68d352e55a8b51d56d99b8ef0ea2ee302bdcf11aed6ba6d85aec3efcf55910ec5f9a56f23cce1ab73d", @ANYRES64, @ANYRESDEC=0x0, @ANYRESOCT, @ANYRESOCT=r0, @ANYRES32, @ANYRESHEX=0x0, @ANYRESDEC, @ANYRES32, @ANYRESHEX=r0]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) creat(&(0x7f0000000040)='./file0\x00', 0x3) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2586.181239] loop3: detected capacity change from 0 to 40 [ 2586.190778] loop5: detected capacity change from 0 to 40 [ 2586.193876] loop7: detected capacity change from 0 to 40 [ 2586.204073] loop1: detected capacity change from 0 to 40 [ 2586.311851] loop0: detected capacity change from 0 to 40 [ 2586.329325] loop6: detected capacity change from 0 to 40 22:43:05 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) 22:43:05 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xf4ffffff) 22:43:05 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xff0f0000) 22:43:05 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 7) 22:43:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x5000000}) [ 2586.417187] loop0: detected capacity change from 0 to 40 22:43:05 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r0, &(0x7f0000000040)='./file0\x00', 0x2000, 0x100) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2586.482117] kworker/u4:9: attempt to access beyond end of device [ 2586.482117] loop2: rw=1, sector=3524, nr_sectors = 584 limit=40 [ 2586.489469] loop1: detected capacity change from 0 to 40 [ 2586.499639] kworker/u4:9: attempt to access beyond end of device [ 2586.499639] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2586.500464] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:43:05 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1100}], 0x1, 0x0, 0x0) [ 2586.530436] loop4: detected capacity change from 0 to 40 [ 2586.541125] loop3: detected capacity change from 0 to 40 [ 2586.544920] loop5: detected capacity change from 0 to 40 [ 2586.545229] loop6: detected capacity change from 0 to 40 22:43:05 executing program 0: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$AUTOFS_DEV_IOCTL_VERSION(0xffffffffffffffff, 0xc0189371, &(0x7f0000000800)=ANY=[@ANYRESHEX=r1, @ANYRES64=r0, @ANYBLOB="35af147ebf297e401f3e23f5fcf13a591646ebfdfacffc70458e4fab9c1d0c571c93d0728f07369cfde6c33f5dc69659b2dc9d681eec53f41b1def3442ac685e5d1b8a5ba52a546e6eb9df4f2febf78da7d1459a7890827d9e983048b9d2c57fab3627a3c2d0baf6719715f9dcb88ce06c18c41858779446fddc8d02c9fadb890e405ed669aa4dd4af73eae41b0945a7eeeab7311dcf3eb3a446ff1acb2209a9960e3437f320bb8586154d1d39612df866f71cfbfeace92a4e7c47aba45c1aadc77d084cb69f59c78dc23ffc2f69ba036b6104e401e6e856126551d875"]) ioctl$AUTOFS_DEV_IOCTL_CATATONIC(0xffffffffffffffff, 0xc0189379, &(0x7f00000000c0)={{0x1, 0x1, 0x18}, './file1\x00'}) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r3, 0x4004662b, &(0x7f0000000340)=0x1) r4 = open_tree(r0, &(0x7f0000000940)='./file1\x00', 0x8001) r5 = syz_genetlink_get_family_id$ethtool(&(0x7f00000009c0), r1) sendmsg$ETHTOOL_MSG_COALESCE_SET(r4, &(0x7f0000000a80)={&(0x7f0000000980)={0x10, 0x0, 0x0, 0x2000}, 0xc, &(0x7f0000000a40)={&(0x7f0000000a00)={0x1c, r5, 0x400, 0x70bd25, 0x25dfdbfb, {}, [@ETHTOOL_A_COALESCE_TX_USECS_LOW={0x8, 0x10, 0x80000001}]}, 0x1c}, 0x1, 0x0, 0x0, 0x44051}, 0x4) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) write$binfmt_aout(r3, &(0x7f00000001c0)={{0xcc, 0x12, 0x13, 0x39, 0x2b7, 0x1f, 0x3b5, 0x8000}, "c92708dc5814e268f7eb3ff9272fb7ef04b3c138bbf4e27d4e099d24b7633f931961bc6830a2769dc164664a8c084f762720d9c77043519781207b176dda4d8e6ca9c2738901c092420b6f4c620a89e29515c626db6f9c82b4ea17335f7172b564737b4b22d555b8f1736dfaaf0e9a69d78b325ab783e239c77649fb9c8e4c79218a4e49f56836daaa64cd9ff49f18a821e6b5e55ef08035bad400e43be35c677d4b39bc3dfc7b6f0a767cbbd119d920b45bc556b8502c153b389bdaea3d247748b36706b5027bd24f569566324cba1d83f72a01e90055a7d5b1b9085b3328f9eadfd29fa16e8a5ead7126f030790c8b753eaddec4df3d4ea8db", ['\x00', '\x00', '\x00', '\x00', '\x00']}, 0x61a) syz_open_procfs(0xffffffffffffffff, &(0x7f0000000040)='net/vlan/config\x00') ioctl$F2FS_IOC_GET_PIN_FILE(r0, 0x8004f50e, &(0x7f0000000900)) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:43:05 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:43:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6000000}) [ 2586.663126] loop1: detected capacity change from 0 to 40 [ 2586.682176] loop4: detected capacity change from 0 to 40 [ 2586.685684] loop0: detected capacity change from 0 to 40 22:43:05 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 28) [ 2586.727908] kworker/u4:7: attempt to access beyond end of device [ 2586.727908] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2586.728711] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2586.734367] loop3: detected capacity change from 0 to 40 [ 2586.743011] loop2: detected capacity change from 0 to 40 [ 2586.844519] loop7: detected capacity change from 0 to 40 [ 2586.853705] FAULT_INJECTION: forcing a failure. [ 2586.853705] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2586.854546] CPU: 1 PID: 13018 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2586.855090] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2586.855649] Call Trace: [ 2586.855832] [ 2586.855997] dump_stack_lvl+0xc1/0xf0 [ 2586.856283] should_fail_ex+0x4b4/0x5b0 [ 2586.856577] prepare_alloc_pages+0x178/0x500 [ 2586.856914] __alloc_pages+0x149/0x510 [ 2586.857220] ? __pfx___alloc_pages+0x10/0x10 [ 2586.857540] ? __pfx___lock_acquire+0x10/0x10 [ 2586.857876] ? __lock_acquire+0x18df/0x6380 [ 2586.858195] alloc_pages+0x1a0/0x260 [ 2586.858466] filemap_alloc_folio+0x374/0x410 [ 2586.858804] ? __pfx_lock_release+0x10/0x10 [ 2586.859095] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2586.859455] ? xas_load+0x6a/0x140 [ 2586.859718] __filemap_get_folio+0x32b/0xcd0 [ 2586.860043] ? __pfx___filemap_get_folio+0x10/0x10 [ 2586.860399] ? lock_is_held_type+0x9f/0x120 [ 2586.860709] ? find_held_lock+0x2c/0x110 [ 2586.860992] pagecache_get_page+0x2e/0x130 [ 2586.861311] ? __pfx_fat_get_block+0x10/0x10 [ 2586.861629] block_write_begin+0x35/0x450 [ 2586.861913] cont_write_begin+0x4fe/0x700 [ 2586.862194] ? lock_is_held_type+0x9f/0x120 [ 2586.862511] ? __pfx_fat_get_block+0x10/0x10 [ 2586.862805] ? __pfx_cont_write_begin+0x10/0x10 [ 2586.863144] ? __mark_inode_dirty+0x249/0xee0 [ 2586.863452] ? generic_write_end+0x1fe/0x3d0 [ 2586.863777] fat_write_begin+0x89/0x180 [ 2586.864043] ? __pfx_fat_get_block+0x10/0x10 [ 2586.864338] cont_write_begin+0x2fc/0x700 [ 2586.864619] ? __pfx_fat_get_block+0x10/0x10 [ 2586.864909] ? __pfx_cont_write_begin+0x10/0x10 [ 2586.865224] ? lock_release+0x1e3/0x710 [ 2586.865499] ? __pfx_fault_in_readable+0x10/0x10 [ 2586.865814] fat_write_begin+0x89/0x180 [ 2586.866084] ? __pfx_fat_get_block+0x10/0x10 [ 2586.866378] generic_perform_write+0x25a/0x580 [ 2586.866683] ? __pfx_generic_perform_write+0x10/0x10 [ 2586.867002] ? __pfx_fat_update_time+0x10/0x10 [ 2586.867329] ? __pfx_file_update_time+0x10/0x10 [ 2586.867641] ? generic_write_checks+0x2c0/0x400 [ 2586.867980] __generic_file_write_iter+0x308/0x4b0 [ 2586.868304] generic_file_write_iter+0xe7/0x350 [ 2586.868610] do_iter_readv_writev+0x211/0x3c0 [ 2586.868913] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2586.869256] ? avc_policy_seqno+0xd/0x70 [ 2586.869536] ? security_file_permission+0xb5/0xe0 [ 2586.869865] do_iter_write+0x18b/0x700 [ 2586.870129] ? __x64_sys_pwritev+0x233/0x310 [ 2586.870414] ? lock_is_held_type+0x9f/0x120 [ 2586.870707] vfs_writev+0x1ae/0x660 [ 2586.870982] ? __pfx_vfs_writev+0x10/0x10 [ 2586.871260] ? __fget_files+0x24e/0x480 [ 2586.871551] ? lock_release+0x1e3/0x710 [ 2586.871830] ? lock_acquire+0x32/0xc0 [ 2586.872117] ? __pfx___fget_files+0x10/0x10 [ 2586.872405] ? __fget_files+0x270/0x480 [ 2586.872714] __x64_sys_pwritev+0x233/0x310 [ 2586.872993] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2586.873342] do_syscall_64+0x3f/0x90 [ 2586.873590] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2586.873958] RIP: 0033:0x7fdf12d79b19 [ 2586.874202] 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 [ 2586.875406] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2586.875880] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2586.876369] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2586.876865] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2586.877361] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2586.877845] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2586.878360] [ 2586.923106] kworker/u4:1: attempt to access beyond end of device [ 2586.923106] loop2: rw=1, sector=3164, nr_sectors = 944 limit=40 [ 2586.924639] kworker/u4:1: attempt to access beyond end of device [ 2586.924639] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2586.925400] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:43:18 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfff7ffff) [ 2599.183011] loop7: detected capacity change from 0 to 40 22:43:18 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 29) [ 2599.192075] loop1: detected capacity change from 0 to 40 22:43:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 8) 22:43:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x7000000}) 22:43:18 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffffff, &(0x7f00000000c0)='./file1\x00', 0x400000, 0x2) linkat(r0, &(0x7f0000000040)='./file1\x00', r1, &(0x7f00000001c0)='./file2\x00', 0x1000) r2 = openat(r1, &(0x7f0000000200)='./file2\x00', 0x733941, 0x10) mount_setattr(r0, &(0x7f0000000240)='./file2\x00', 0x9000, &(0x7f0000000280)={0x1000f5, 0x100009, 0x0, {r2}}, 0x20) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:43:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x0, 0x0) [ 2599.202082] loop4: detected capacity change from 0 to 40 22:43:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:43:18 executing program 0: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = socket$nl_generic(0x10, 0x3, 0x10) ioctl$sock_SIOCGIFINDEX_80211(r1, 0x8933, &(0x7f0000000080)={'wlan0\x00', 0x0}) sendmsg$NL80211_CMD_CONNECT(r0, &(0x7f0000000380)={&(0x7f00000002c0)={0x10, 0x0, 0x0, 0x4000000}, 0xc, &(0x7f0000000300)={&(0x7f0000000540)={0x1100, 0x0, 0x200, 0x70bd27, 0x25dfdbff, {{}, {@val={0x8, 0x3, r2}, @void}}, [@crypto_settings=[@NL80211_ATTR_CONTROL_PORT={0x4}], @NL80211_ATTR_WANT_1X_4WAY_HS={0x4}, @fils_params=[@NL80211_ATTR_FILS_ERP_RRK={0x1004, 0xfc, "f74f57799b182804a73f2dec8321e81997701f45061bb98daaf81045a69045be52233c3d6a188d8b2d86df4367faef2428004e626213f8509b00a3de6c0a461bcb64fb005a80a1c1c6ba76a4c64573f4d19dcc3f185c6ac587c287668053b2dd50120dae75482785aabdaf7711ff02b269f4d367f84ad909b0d2aeb97d188cf075867bea85da0c4b50aa5eff9460a1113ddbab8fc5223e9ef5d6d9e0b145a55cfaffc456266b07d191dc99be5376177b50dfc88d03ea3c27acdf36dab5cd5a2618614e1062a5f36d1cc7c1ef303be3ef42fabdb60872486458cfc64d1c51a5ab89e4b1f728eb6d6d2f2cc4ec1f560d69f14211a9dde0883d1a01ac9f16b146e7d870fa12d0495470fb10511a5df51ee13909da0b15befa31ad3d4cc776a8b51be8b0c0060f9d0d05e01efb29ccaf5773f89a8bf8dc8a380d0424ec1c70baba9601b36821523150c05cb7b3cb746888acc15a509235c5e12dacad234e44add34d8ea8ed72c1803f9564644241c18958f28f684fc7e6cffe946ad82b9f88ba7af74129279be5ddebc64b7032f98c8885d037f25444d3d391b7a39346acfbc0bfc08bd82a093c7e352ca60eda8d13f82706338011fdba8cc66e0a15d3763028bf5ad9e98a80f6b488e3021a9398e7491df23bf7cbfc02748fd490e32f6f60b4e07cdef71aa7eec8ae9e454251e9418835aef41a7e50ec585466af6cc876d1bd045e869863694dd409edaecac5fd7c1bdf4350432af4a0f206093b35a72a126370e8ca97633a0e40e54b96f8ef360fa3463b3d1d0ddb02a8c71acc2ae2973c147d30197a4639f7532596326d6a9684f9cfbc1af6cc2fd792641359a015bef34bfe7ffc19d4ebab5dca896cd99aa7702dc76abdaeeef48d7a0dea8d75a9e9d10648ab15cca6badf735a2c1b4a1b929977dea3f8908b8aaede2d87c6ef4f9e03d3a3513433f3aec5759458711a370cf26fb4915d57184266a744bcee2d755ae1c6d67819412e8745e112702bba8de57533da284fad5183cacfbd39b6b0d411b073399378b7e251d70fc0df7fefe3c3cf01c51e578986e0ca2d67a4751e23032ee7e530adb871a5bcf32ae643492b1cede939543d4e2667548afbb6cce4a47bcad641f8a49e548c99946023d1fc24d765f552b3e3874d6cad56a43d1b5d450b88b54fcf1fef1435c67016f747901602ee4a7d6e732a2323197f903f97df0d8147cbe0a82c15099d792b025f23abba73b4112c3889d625e9aaa58f77c7b9a1114f2549af1b7eb4fe919b80ed08899e769828794145a0c5824518815f5007668b4d540ee05660b1debbff9e8a3f79bac3068c7f65ab84c52974a7a2410594697cbac6bc433a4bc9d9c2a53ca920306f36e43ab866e16808155644767c485759159fef2b1b5276493760b69509aae8a9609936447186cdfcb52568c66473c59cdf848fc150f68293c25fff5a0db24fac37fb56ed18b0bfb52c32836135fc17bf5b44ac44123ec8ce1c1bdc6dfdd1607d8cc4e8c97def709b56012969f107016b858b467130aafd2f3c355cf4ea806c468694bd6343ea9e40008e1bd6c5640f07e7c0f2a80307d69471f7236c3f095ddc899c270e30ec5609aa9080353e94cad5cdd625faf6cfec10332990f12670b6efb0b4966186cd285ab7a759b54c17eb21db8a155992bb8bdabcd66aaeb3cdba9deb851c1028d7239088702012f82a5438ad0f040b7b7f807070863f310f1aa03bd9aa81317af2283f5754d090ca1eca1a403c2ce5ce328722e889b17091c664eaf28d7e9323acde00f7158d3e5cf8fa87ad343d8878a47a7cc12abac0377faad28f4e39201fa70ec5f969a3bc493b28a98efdd1cf065adf46fb0d44f38def8afc358f1ed493c08f4b99ebd91624aea5712e00fe7c4234d1c17266c108e8e0eac43b865165c9ba30defa6a9c006909a46f756d79ee11fc5b43fcf3b901190f8f2cf4d0f947e6512d3de8fbf2da3924aed8a760de1fb3cf40e2a33ff0a3073ab9a23bc328d8dd7e1d58be89cece0c83b5c2776604658075e15e2127bd50fcdd2ded0f250784ccbddfaff33b66a94693da3ce5b665c43c3ee1c009b4738036a3e4c8ecbf3b3c9452a4691a1515b6f8c8bbb18bfef3314cf8a626d1f2d4be9953bc40b269b66d2b6ff70a67000a11c1992df037479b5fe9845dbcbcf7b4177dd6b3bd8d39b3a334fd69a3f069cdfbc6cce8278c550a7d5a6a71e8889fa64cdd7aaa5e8ec8b637b06e63f49c4083c03ce448a09c24ba3a270909c6ab5081e2c00d57060b65446f020f3087e7db2d257bad7cc949ca48a15c4b4df33dfac4a9b3b9b5db6bcc5a929ed0b287757f55eefe30ceeb70a0140c85ae204a59c569f0ab9aa13a9d90295b0f236b97e3cca8e2aa08a63e2e82345982dbae598d1a7eb94e79ca3c5635ca474f1eb6e1ed3cfe83b40ce415ad01ce0b8ba35151a617a8a6b3a46f64d80cc596b093478b5089e9b1140179b29e11b9320b8163d793ab063b26afb76c6621607afe75525ecd2aa721d5847498cbc7c34929b649b3e0d1afbede7c3719755357c4370c14e62cdc0aac41d20e61cd92442f22b46dda292f9add166708c1d20e86846f83a9c93c582f706aa794eb9bbaae856a38914b7e4eb11587a1cf3b2d1bb8dee6050a01dc398edddbba94043a48edbc137d8bf2b2a19c64a4267f0b1782eb67496a10465de0b60ee5db6344d93d9b61ec7d16ae95b973e2de882d037a8f75a7cc14faba3532db8e9e510bd03a9c0c6b8fe1e5ddfda5d590c395cce2c57fe7fe13b3b9a8c4291be8c2f3e93fa9cf23db44ab62b2d5a63e18924438d8e5a748b45cb9e1394d99f1e1ca627d17c4b62c7866f076ebca412df0eccea4b475c7ea96b129da2161627913bedc712fd26a87e0f0dfd374868b7ba4fe037283bed34b8f0609653def477bf651b9b81cd0db18940218cd1d9aa05c4050269afb2008cfd981c61d88ef3fe693a5d11894c0c53fd27d16aa7bbb1116c8c327e846555128d9f46142f94c885f72aeb5910682c97aa16244c1c6f890500bb38e78223eeeeb21b97d207c5b7f9c62318c4e0b61220045d2ba5398e5032d94888f3af10d90744bd04f72b3ee197ab0c72628ca2834c99cb1d5dba60ab7159c9cf65817357e0b0f7ac069ccb82acb513d405f16ad0d21434960a6f7a289d3cea178cf540b0461c2abf632d8322a953c49612fa879fab3ce637d033affb6899d7b6c9c1aa7ee123b9cd1885ab77323d8f8930dd236aa206d725f82683ce01bc88c8918c8659db2d6ffa6c1c0b0840f30b0e31920858cded732575a0c5597ed2f9ac11d91289572c8274aa41ea784517142c9d8390dda3bdb5be49eb033f67a0d425d3e7fb5203f3e48d07478a56332ec4d37c0b30e189a52903e1523cafb473defe5ce075ad98db1ae762aeea2023d91dec2ef45b5831d0ed527574aabf65db2ca394e2019e7a76fc97c8490f11573983b1c7bd5acbb15de84619af001a02e0251976255e5e013b0a2bbd7b7df9894f05730fb9260233a1f8c06b21c6e548f6f77bd4c779898756aae5aa704d75997b9aa04bca991a7664e3fc1a4c892a60d73c47665a937efa280e35d37396ddb4527ee873cd6b7b359a11d82af85ff8d03e76dc575d2521ea833202b08479158c8ddbb75c8c2988878f68161599767ef9ca274e8bcffc7ce403b901491a7a54679b79118d8e147540ed8b99d356f5fd4743d3fe67d4d00f771ec043506ff12ac0a39e9b48d11e93d00301e1b44fa03200731f0bfbb7e865aa8a05bf67c046a46f299f7a7019ee3726e90ca7b94c48eff438db878bd104e855d9fd4f3b04789928a0284e2cd0ee659ba248573f73fa108de36c02463d026d4950a40c75ae7796112ddb7e29de41f608275f46481cf4830a4487ecf5339814c45f49cad820e9c0bb7c0fcc6c9ad9998de472501f38c0705ed1f49e4f5c93906f3369db27593e10c56d599ec418ede018b5455be0441f08277e11e469f7255c2c2d461874e68b0cade4127cddb22e07461f294c722aad065266a558acad4c7f94a24ecb4398cc2fc2be604a39136f97a9ca3b8934e905e2ee4f5232e3380d05990aaaa42f7ede283ad6dd04cb9b4f72064e34b879d42e02e7596c2027cf2ae9b1300d6dfdcf57f1350b81509df400a6531dbf8b503d19c58768d5a14382a34553b95db6e993b49e070865690b1caea8960b88473a4e43e049fcc60c362832e259702f5faeb9ca3d4f42b6e80d871e9c126264955ea25e3c19f02c285eaf7bead1230ec1f5324d285c2820a6e1509bc9f5a1b1bf4f72e05f9be81fa4ae6e3944008a7c3a991e4a17b9d293cc4b9a2854fe5779738a37733100ea76cfc42266ff1b12e0f2c76e4da8573cf1219d9ff9690e24fdb14a3bdbd403a56fe734474ba55de0f4c3bcbfa04681ed16f12335b7b2d488ae6917dcb32cf6ff05c694cc9259cfa7f01efccbc6ba356d27c6005ea3329fbae2d59c8f77be66a1b33461f0cd2a054840e53ce2f9aa80b300c8bc4147a279295622f7643e41cb5c5a1d108a60f4ba0c1ef895da818161007a533f6807e422df53310ddf910bd1eb06cd4deb2c15b7665ee8a72b791483d8980edd54bc02f55b51e3af5eebdab05e5eb2afe5fcb9162821cc55a556cd55a96a9c424cd6a2d3ddcac80e4e22316127afbc77e638e193e2f0fcc3b80c08ffb4264c858cc3c4f658d1abae933ec7fb25d4d9f95e0761a59253ef21f1dd846edc68a0ae16287f167a69291fcbe147fcdf29e66525b4bdb847efc5d223fc87400361cc720dd0d989d04113fc8d3fff18867b564dc6d626e63e53c5b245ed888a509dd9ef82bcab0f0503d0631bd3fe38475191bd35aacf6fe5d357bc178c1592792e80e68ff803492e94c31fe9f95c11361bbd65f8b0ec54b7e4a9cbb39401002b96832070221abef58553e19bbd7fc0b3435d8b3c6da0eedd7372bfec07dbd2beffd2688d6d2263ec2ec8ccd52e506dfff8bfddf83e7d42f2c95fa2f74020e631aefca6b09c4fd6c5a372096f7ade262b5aae2ee5822a5c2184b46bb2dc2949c680bac9269edefd2c2a2b3b07984605b5b06c64b87f2d4515b8805578c07e1ab20de26117ea29d40a37b281703de7748b04c7401a00f992253c5e6b6ce43d601d760b36f0ffaa6f7a073f38b273886f6fb8103abb51e154061ada3236a4e9d1bc42c6f0661bc47e6fa1ee0d2586fe730120520c4671d7cdf007db4ea0c42b2b2978ef31b69ea8f45d971d9397eb8fcaf25052c8322555f44de25182b0307b4938273ee32dbb8564f3110c768ee08af005e23b5fc2c9f1c2bf14821fa855f2ece87943ac2e7f0d6bc1a31ff2279a6e8d95e351c325b7627ab4d16bbbc67fbf136eb8b50115aab796a915c0c3e1490b7d305ecf8717a5464be5be495c8ae0dbde907e9a0626d9b509af6292940ccebe145093ce95f54c46354c14d156a41c2c2e9dc49db120cb6488a6f957df415380dc6964bdd85dd0f041f5d68d67e83d8380df27470426bcd4c76cfd3a9c8dae55551fc9fdf17fe2939d6066dae744bb634c95bc3dad0e70484a35a1c97d610ea00fb6964c1507d7c166d24ec3efdaa9e5cadba1ce7824b59842372927a72ff8b10a451fde14e67456f0d4137941801f3b933cced250a90bbf263551eedeb2bf58f1c48e74f5c94491b3c8c8c35264077aeb9ddfd1be0c6dd906d69f77adf3969e3a3e8a368956fddee33f296f278e4d3cd7ac16d9d1cb3900811f77e145b52290e52f1c1eadb1f1ff6f8b52e18457e2492713b37f3fb932643bd1399"}, @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM={0x6, 0xfb, 0x944}, @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM={0x6, 0xfb, 0x200}, @NL80211_ATTR_FILS_ERP_REALM={0x36, 0xfa, "7a0325414d1a685047a1c275d9285ffae1e6751f6ac4f1f7239b28b561b6e649da7b5f577efece2c653bedb8d462c9651190"}, @NL80211_ATTR_FILS_ERP_RRK={0x8f, 0xfc, "6e81be5ca9314804edfbfb78b91d28f9ac1290cf220f62c3bc56df2b607323def19521d98f763ff21bbdb9e84d0441db22e60cf92f1e8791e57cd8e8584849b5d68de804056cf0480d3c108035c2bc5187eab4b4d098db28a6fc5311f942583ac8105448b8eeb118db30165a6c5f8d9528a7c0bffdc183fd43bc90eb1de28621eb1c7b31dbbfd180fe22c8"}]]}, 0x1100}, 0x1, 0x0, 0x0, 0x4404}, 0x4000080) r3 = syz_genetlink_get_family_id$nl80211(&(0x7f0000000140), 0xffffffffffffffff) sendmsg$NL80211_CMD_FRAME(r1, &(0x7f0000000000)={0x0, 0x0, &(0x7f00000001c0)={&(0x7f0000000500)=ANY=[@ANYBLOB="00010000", @ANYRES16=r3, @ANYBLOB="0100fcff0000000000003b00000008000300", @ANYRES32=r2, @ANYBLOB="e200330080800000080211000001080211"], 0x100}}, 0x0) sendmsg$NL80211_CMD_STOP_SCHED_SCAN(r0, &(0x7f0000000280)={&(0x7f00000000c0)={0x10, 0x0, 0x0, 0x10000}, 0xc, &(0x7f0000000240)={&(0x7f00000001c0)={0x70, 0x0, 0x4, 0x70bd26, 0x25dfdbfd, {{}, {@val={0x8, 0x3, r2}, @val={0xc, 0x99, {0x5, 0x23}}}}, [@NL80211_ATTR_COOKIE={0xc, 0x58, 0x39}, @NL80211_ATTR_COOKIE={0xc, 0x58, 0x5d}, @NL80211_ATTR_COOKIE={0xc, 0x58, 0x6f}, @NL80211_ATTR_COOKIE={0xc, 0x58, 0x6a}, @NL80211_ATTR_COOKIE={0xc, 0x58, 0x8}, @NL80211_ATTR_COOKIE={0xc, 0x58, 0x57}]}, 0x70}, 0x1, 0x0, 0x0, 0x4000001}, 0x90) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17, 0xfffffffffffffffd}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000040)=ANY=[@ANYRES16, @ANYRES64=0x0]) chdir(&(0x7f0000000180)='./file0\x00') r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r4, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2599.223826] loop5: detected capacity change from 0 to 40 [ 2599.319404] loop6: detected capacity change from 0 to 40 [ 2599.321468] loop3: detected capacity change from 0 to 40 [ 2599.323352] loop5: detected capacity change from 0 to 40 22:43:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x0, 0x0) [ 2599.336913] loop2: detected capacity change from 0 to 40 22:43:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2599.364384] loop0: detected capacity change from 0 to 16383 [ 2599.388217] FAT-fs (loop0): Unrecognized mount option "" or missing value [ 2599.391532] loop1: detected capacity change from 0 to 40 [ 2599.394043] loop4: detected capacity change from 0 to 40 22:43:18 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffff000) 22:43:18 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, 0x0, 0x0, 0x0, 0x0) 22:43:18 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') mount$9p_tcp(&(0x7f00000018c0), &(0x7f0000001900)='./file0\x00', &(0x7f0000001940), 0x1022020, &(0x7f0000001980)={'trans=tcp,', {'port', 0x3d, 0x4e22}, 0x2c, {[{@access_client}, {@cache_mmap}, {@access_user}], [{@fsmagic={'fsmagic', 0x3d, 0x6ce}}, {@defcontext={'defcontext', 0x3d, 'staff_u'}}, {@subj_user={'subj_user', 0x3d, 'grpjquota='}}, {@mask={'mask', 0x3d, '^MAY_READ'}}, {@appraise_type}, {@defcontext={'defcontext', 0x3d, 'root'}}, {@smackfsfloor={'smackfsfloor', 0x3d, '^\\\\'}}]}}) r1 = syz_mount_image$msdos(&(0x7f00000000c0), &(0x7f00000001c0)='./file1\x00', 0x1, 0x4, &(0x7f0000000480)=[{&(0x7f0000000200)="156032cd446ec903416eb1060735e248a46a408a210296a0f6fe81f966e9bb524326f8ef9c5d8efc3f70d100747d5d203eb60793043e4fac1a340ce166b7", 0x3e, 0x2}, {&(0x7f0000000240)="359708c226c913c848710d92ebba7bafd56018a519a4287581bb8bd6b8ae8b5791f8a8ccdf7c3dc80d09c751bf28e1e0d7ce89d9a18ff9c7b33d867409069961f492905c2f5e7109c5b17d134029fe9e9c705000190b40b2e5ad31daa40f47eb35c22b5fa4de182bbd992b00af4d696a43ac4e92a90a08bb824e8a72e063a8eeec0ad7ea3fdd995bd4da6e2fec47682cafe502237c7fc265181bb01636b2d46b6f5e24b3ef831332c9da4ef61f1d5b045ced7aefedd42c64db39b28697e1451c343ac6226368e639a2ea", 0xca, 0xfc}, {&(0x7f0000000340)="ef221bb1e8a46bedaf07289658e8e35fe60b7ee0ea00982555037000a35c40b46bd7456ab16d0323f773f42eed20eacee8b2ca3d0f3c2af04286f8a15a21145aca55a1b54804c727575604c869beea1ae2367234e6523b7dd1daf389414060d83459a2a773a8078265e236c85e8ccca7cff791d1770b090a04c7e2d72be64f517a5cab91bcf2f63376107d6a942feb68a02a3115e18c1475f019353823f93e4cb94fc18b4271df98fbc23ebb74aae54af2bf60e6ea68e91ee4595926a9b45b50869032063ee51437f516", 0xca, 0x7fffffff}, {&(0x7f0000000440)="cfa4de51adeb639c0c6a4966e6c6fcfae130cdd0f9100a33f4facc8e6c9e0c8c54a46a889454e4e7b4b6eb121f", 0x2d, 0xfffffffffffffffd}], 0x908830, &(0x7f0000000500)={[{@nodots}, {@dots}, {@dots}], [{@func={'func', 0x3d, 'FILE_MMAP'}}, {@smackfshat}, {@fowner_lt={'fowner<', 0xee00}}, {@uid_gt}]}) syz_mount_image$ext4(&(0x7f0000000580)='ext4\x00', &(0x7f00000005c0)='./file1\x00', 0xe9c, 0x1, &(0x7f0000000700)=[{&(0x7f0000000600)="c98fe7d03ca049065a1625d0c845386d763b06ad38e6dcdbd8f788af6f02be507cac0dc3ef1278436f74d92d00891e318b2c40f54891824452a7979d17ea2d9ea48cc91ba10a2c358c8a994c38315724a41f924333bfec81b8289927ef5e28eaf3ba1a3c44b780e4013bccef6228781f15a6521e53582564cee0b5520f2c52fbaa87412c74c68aa515269fc9f8d1a85d739d38a71b2115a91448d7f3f4fb74b78dd5a1c1c3fd5f76d2af89d65c193d9bc2d595030116e85552a46e18a5e9c22bbb17947563f9adcb47f1", 0xca, 0xfff}], 0x4020002, &(0x7f0000000740)={[{@block_validity}, {@noquota}, {@oldalloc}, {@barrier_val={'barrier', 0x3d, 0x92}}, {@barrier}, {@data_err_ignore}, {@grpjquota}, {@discard}, {@dioread_nolock}], [{@euid_eq={'euid', 0x3d, 0xee01}}, {@measure}, {@smackfstransmute={'smackfstransmute', 0x3d, 'msdos\x00'}}, {@appraise_type}]}) r2 = memfd_secret(0x80000) recvfrom$unix(r2, &(0x7f0000000840)=""/4096, 0x1000, 0x300, &(0x7f0000001840)=@abs={0x0, 0x0, 0x4e22}, 0x6e) r3 = openat(r1, &(0x7f0000000100)='./file0\x00', 0x0, 0x50) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r0, &(0x7f0000000040)='./file1\x00', 0x20000, 0x10) 22:43:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x9000000}) [ 2599.457294] loop0: detected capacity change from 0 to 16383 22:43:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2599.668579] loop6: detected capacity change from 0 to 40 [ 2599.670884] loop4: detected capacity change from 0 to 40 [ 2599.678474] loop3: detected capacity change from 0 to 40 [ 2599.684917] kworker/u4:3: attempt to access beyond end of device [ 2599.684917] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2599.686593] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2599.688403] kworker/u4:9: attempt to access beyond end of device [ 2599.688403] loop7: rw=1, sector=2748, nr_sectors = 1360 limit=40 [ 2599.694841] loop5: detected capacity change from 0 to 40 [ 2599.698743] kworker/u4:9: attempt to access beyond end of device [ 2599.698743] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2599.700511] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2599.715009] loop1: detected capacity change from 0 to 40 [ 2613.577448] loop4: detected capacity change from 0 to 40 22:43:32 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x0, 0x0) 22:43:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000040)='./file1\x00') chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) 22:43:32 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffff7ff) 22:43:32 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 30) 22:43:32 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 9) 22:43:32 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:43:32 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) chmod(&(0x7f0000000040)='./file1\x00', 0x100) 22:43:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xa000000}) [ 2613.589553] loop2: detected capacity change from 0 to 40 [ 2613.590915] loop3: detected capacity change from 0 to 40 [ 2613.592524] loop1: detected capacity change from 0 to 40 [ 2613.595691] loop6: detected capacity change from 0 to 40 [ 2613.603190] FAULT_INJECTION: forcing a failure. [ 2613.603190] name failslab, interval 1, probability 0, space 0, times 0 [ 2613.604028] CPU: 1 PID: 13076 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2613.604526] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2613.605036] Call Trace: [ 2613.605207] [ 2613.605366] dump_stack_lvl+0xc1/0xf0 [ 2613.605630] should_fail_ex+0x4b4/0x5b0 [ 2613.605903] ? fat_cache_add.part.0+0x5b4/0xb50 [ 2613.606222] should_failslab+0x9/0x20 [ 2613.606480] kmem_cache_alloc+0x5a/0x320 [ 2613.606755] fat_cache_add.part.0+0x5b4/0xb50 [ 2613.607067] fat_get_cluster+0x922/0xd40 [ 2613.607351] ? __pfx_fat_get_cluster+0x10/0x10 [ 2613.607662] ? __brelse+0x88/0xa0 [ 2613.607909] fat_get_mapped_cluster+0x216/0x4a0 [ 2613.608244] ? __pfx_fat_get_mapped_cluster+0x10/0x10 [ 2613.608597] fat_bmap+0x1fc/0x460 [ 2613.608843] fat_get_block+0x33e/0x9f0 [ 2613.609113] ? __pfx_fat_get_block+0x10/0x10 [ 2613.609429] ? do_raw_spin_unlock+0x53/0x220 [ 2613.609731] __block_write_begin_int+0x380/0x13d0 [ 2613.610052] ? __pfx_fat_get_block+0x10/0x10 [ 2613.610348] ? __pfx___block_write_begin_int+0x10/0x10 [ 2613.610690] ? PageHeadHuge+0x92/0xb0 [ 2613.610956] ? __pfx_fat_get_block+0x10/0x10 [ 2613.611245] block_write_begin+0xb9/0x450 [ 2613.611521] cont_write_begin+0x4fe/0x700 [ 2613.611797] ? __lock_acquire+0x18df/0x6380 [ 2613.612113] ? __pfx_fat_get_block+0x10/0x10 [ 2613.612414] ? __pfx_cont_write_begin+0x10/0x10 [ 2613.612744] ? __pfx___lock_acquire+0x10/0x10 [ 2613.613058] fat_write_begin+0x89/0x180 [ 2613.613350] ? __pfx_fat_get_block+0x10/0x10 [ 2613.613669] cont_write_begin+0x2fc/0x700 [ 2613.613973] ? __pfx_fat_get_block+0x10/0x10 [ 2613.614277] ? __pfx_cont_write_begin+0x10/0x10 [ 2613.614607] ? lock_release+0x1e3/0x710 [ 2613.614898] ? __pfx_fault_in_readable+0x10/0x10 [ 2613.615232] fat_write_begin+0x89/0x180 [ 2613.615505] ? __pfx_fat_get_block+0x10/0x10 [ 2613.615816] generic_perform_write+0x25a/0x580 [ 2613.616147] ? __pfx_generic_perform_write+0x10/0x10 [ 2613.616474] ? __pfx_fat_update_time+0x10/0x10 [ 2613.616797] ? __pfx_file_update_time+0x10/0x10 [ 2613.617116] ? generic_write_checks+0x2c0/0x400 [ 2613.617454] __generic_file_write_iter+0x308/0x4b0 [ 2613.617808] generic_file_write_iter+0xe7/0x350 [ 2613.618131] do_iter_readv_writev+0x211/0x3c0 [ 2613.618451] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2613.618798] ? avc_policy_seqno+0xd/0x70 [ 2613.619093] ? security_file_permission+0xb5/0xe0 [ 2613.619436] do_iter_write+0x18b/0x700 [ 2613.619722] ? __x64_sys_pwritev+0x233/0x310 [ 2613.620007] ? lock_is_held_type+0x9f/0x120 [ 2613.620318] vfs_writev+0x1ae/0x660 [ 2613.620576] ? __pfx_vfs_writev+0x10/0x10 [ 2613.620868] ? __fget_files+0x24e/0x480 [ 2613.621133] ? lock_release+0x1e3/0x710 [ 2613.621432] ? lock_acquire+0x32/0xc0 [ 2613.621708] ? __pfx___fget_files+0x10/0x10 [ 2613.622012] ? __fget_files+0x270/0x480 [ 2613.622318] __x64_sys_pwritev+0x233/0x310 [ 2613.622633] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2613.622993] do_syscall_64+0x3f/0x90 [ 2613.623264] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2613.623646] RIP: 0033:0x7fe786258b19 [ 2613.623923] 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 [ 2613.625183] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2613.625664] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2613.626174] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2613.626675] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2613.627182] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000001 [ 2613.627684] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2613.628207] [ 2613.635569] loop7: detected capacity change from 0 to 40 [ 2613.652175] loop0: detected capacity change from 0 to 40 [ 2613.654151] loop5: detected capacity change from 0 to 40 22:43:32 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x0, 0x0) 22:43:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xd000000}) [ 2613.720487] loop1: detected capacity change from 0 to 40 [ 2613.725738] loop3: detected capacity change from 0 to 40 22:43:32 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)="8a", 0x1}], 0x1, 0x0, 0x0) 22:43:32 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xffffff0f) 22:43:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') lsetxattr$trusted_overlay_nlink(&(0x7f0000000040)='./file1\x00', &(0x7f00000000c0), &(0x7f00000001c0)={'L+', 0x8}, 0x16, 0x2) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:43:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xf000000}) [ 2613.827767] loop6: detected capacity change from 0 to 40 [ 2613.847161] loop3: detected capacity change from 0 to 40 [ 2613.894864] loop5: detected capacity change from 0 to 40 [ 2613.901263] loop0: detected capacity change from 0 to 40 [ 2613.940551] kworker/u4:5: attempt to access beyond end of device [ 2613.940551] loop7: rw=1, sector=3268, nr_sectors = 840 limit=40 [ 2613.942634] kworker/u4:5: attempt to access beyond end of device [ 2613.942634] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2613.943411] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2613.994422] kworker/u4:0: attempt to access beyond end of device [ 2613.994422] loop2: rw=1, sector=3780, nr_sectors = 328 limit=40 [ 2614.001740] kworker/u4:0: attempt to access beyond end of device [ 2614.001740] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2614.003290] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:43:46 executing program 0: chdir(&(0x7f0000000180)='./file0\x00') r0 = dup3(0xffffffffffffffff, 0xffffffffffffffff, 0x0) recvfrom$unix(r0, &(0x7f00000001c0)=""/4096, 0x1000, 0x0, &(0x7f00000011c0)=@abs={0x0, 0x0, 0x4e22}, 0x6e) getsockopt$inet6_IPV6_XFRM_POLICY(r0, 0x29, 0x23, &(0x7f0000001240)={{{@in6=@mcast2, @in6=@ipv4={""/10, ""/2, @broadcast}, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, {{@in=@local}, 0x0, @in6=@mcast1}}, &(0x7f0000001340)=0xe8) ioctl$sock_ipv6_tunnel_SIOCGET6RD(0xffffffffffffffff, 0x89f8, &(0x7f0000001400)={'sit0\x00', &(0x7f0000001380)={'ip6_vti0\x00', 0x0, 0x2f, 0x5, 0x3f, 0x3, 0x22, @local, @mcast2, 0x7, 0x80, 0x1, 0x1}}) r3 = socket$inet_udp(0x2, 0x2, 0x0) ioctl$sock_inet_SIOCSIFFLAGS(r3, 0x8914, &(0x7f0000000000)={'lo\x00'}) getsockopt$inet_IP_XFRM_POLICY(0xffffffffffffffff, 0x0, 0x11, &(0x7f0000000300)={{{@in6=@dev, @in6=@ipv4={""/10, ""/2, @initdev}, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, {{@in6=@mcast1}, 0x0, @in=@empty}}, &(0x7f00000001c0)=0xe8) sendto(r3, &(0x7f0000000140)="14acd7134bdcb91e4a72607f9b04c184e71e2a9c58bd0d4cf515ca4403d01e092ed6ea02f24144b05339c951b18e551e119291d9bedd9d5308ccb9250f29465c4736c44a8ee06600a6e5ff880cb443c59912026f3a670ded3a3cb61a16f5b193424703717b2fa13e5d3c1d66f547190265e2faf18a39f60abbd0d4498290f5ef2364dcee2174b62551012feaacfb5b06aef2238481548d6bfbd5a67af6dfe6be001c8d04ca70e2d26a88c99778e442ed077c73f1c71dfbbd18596f05748c5b8b138313ec1d8d60b7ee1557035e2b7be50df746abd95375985336966215ba", 0xde, 0x40000, &(0x7f0000000300)=@xdp={0x2c, 0x6, r4, 0x33}, 0x80) sendmsg$ETHTOOL_MSG_PRIVFLAGS_GET(r0, &(0x7f00000015c0)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x40}, 0xc, &(0x7f0000001580)={&(0x7f0000001440)={0x10c, 0x0, 0x200, 0x70bd28, 0x25dfdbfe, {}, [@HEADER={0x70, 0x1, 0x0, 0x1, [@ETHTOOL_A_HEADER_FLAGS={0x8, 0x3, 0x2}, @ETHTOOL_A_HEADER_DEV_INDEX={0x8, 0x1, r1}, @ETHTOOL_A_HEADER_FLAGS={0x8, 0x3, 0xced3268180d8a911}, @ETHTOOL_A_HEADER_FLAGS={0x8, 0x3, 0x2}, @ETHTOOL_A_HEADER_DEV_NAME={0x14, 0x2, 'netdevsim0\x00'}, @ETHTOOL_A_HEADER_DEV_NAME={0x14, 0x2, 'veth1\x00'}, @ETHTOOL_A_HEADER_FLAGS={0x8, 0x3, 0x3}, @ETHTOOL_A_HEADER_DEV_NAME={0x14, 0x2, 'batadv0\x00'}, @ETHTOOL_A_HEADER_FLAGS={0x8, 0x3, 0x3}]}, @HEADER={0x88, 0x1, 0x0, 0x1, [@ETHTOOL_A_HEADER_FLAGS={0x8, 0x3, 0x1}, @ETHTOOL_A_HEADER_DEV_INDEX={0x8, 0x1, r2}, @ETHTOOL_A_HEADER_DEV_NAME={0x14}, @ETHTOOL_A_HEADER_DEV_INDEX={0x8}, @ETHTOOL_A_HEADER_DEV_INDEX={0x8, 0x1, r4}, @ETHTOOL_A_HEADER_DEV_NAME={0x14, 0x2, 'xfrm0\x00'}, @ETHTOOL_A_HEADER_DEV_NAME={0x14, 0x2, 'veth1_to_hsr\x00'}, @ETHTOOL_A_HEADER_DEV_NAME={0x14, 0x2, 'virt_wifi0\x00'}, @ETHTOOL_A_HEADER_DEV_NAME={0x14, 0x2, 'bond0\x00'}]}]}, 0x10c}, 0x1, 0x0, 0x0, 0x80}, 0x24048000) r5 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r5, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:43:46 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140), 0x0, 0x0, 0x0) 22:43:46 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 10) 22:43:46 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 31) 22:43:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:43:46 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r1, &(0x7f0000000040)='.\x00', 0x200000, 0x80) openat(0xffffffffffffffff, &(0x7f00000000c0)='./file1\x00', 0x16006, 0x40) 22:43:46 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff4) 22:43:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x11000000}) [ 2627.585006] loop5: detected capacity change from 0 to 40 [ 2627.606877] loop6: detected capacity change from 0 to 40 [ 2627.634439] loop7: detected capacity change from 0 to 40 22:43:46 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffff5) [ 2627.646552] loop2: detected capacity change from 0 to 40 [ 2627.654054] loop1: detected capacity change from 0 to 40 [ 2627.656112] loop3: detected capacity change from 0 to 40 [ 2627.662750] loop4: detected capacity change from 0 to 40 22:43:46 executing program 0: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') syz_io_uring_setup(0x3, &(0x7f0000000240)={0x0, 0xfffffffd}, &(0x7f00000a0000)=nil, &(0x7f0000ffe000/0x2000)=nil, &(0x7f0000000100)=0x0, &(0x7f0000000180)=0x0) syz_io_uring_submit(r1, r2, &(0x7f0000000040)=@IORING_OP_ASYNC_CANCEL, 0x0) syz_io_uring_setup(0x3, &(0x7f0000000080), &(0x7f00000a0000)=nil, &(0x7f0000ffe000/0x2000)=nil, &(0x7f0000000100)=0x0, &(0x7f0000000180)=0x0) syz_io_uring_submit(r3, r4, &(0x7f0000000040)=@IORING_OP_ASYNC_CANCEL, 0x0) r5 = accept4(0xffffffffffffffff, &(0x7f00000001c0)=@pptp={0x18, 0x2, {0x0, @empty}}, &(0x7f0000000040)=0x80, 0x80800) syz_io_uring_submit(r1, r4, &(0x7f00000000c0)=@IORING_OP_READ_FIXED={0x4, 0x0, 0x4004, @fd=r5, 0x5977821, 0x2000000, 0x277, 0xa, 0x1, {0x3}}, 0x8000) openat(r0, &(0x7f00000002c0)='./file1\x00', 0x22202, 0x42) r6 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r6, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:43:46 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) lsetxattr$security_selinux(&(0x7f0000000040)='./file1\x00', &(0x7f00000000c0), &(0x7f00000001c0)='u:object_r:app_data_file:s0:c512,c768\x00', 0x26, 0x2) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2627.696550] FAULT_INJECTION: forcing a failure. [ 2627.696550] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2627.698274] CPU: 1 PID: 13129 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2627.699355] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2627.700452] Call Trace: [ 2627.700828] [ 2627.701171] dump_stack_lvl+0xc1/0xf0 [ 2627.701763] should_fail_ex+0x4b4/0x5b0 [ 2627.702356] prepare_alloc_pages+0x178/0x500 [ 2627.703012] __alloc_pages+0x149/0x510 [ 2627.703588] ? __pfx___alloc_pages+0x10/0x10 [ 2627.704238] ? __pfx___lock_acquire+0x10/0x10 [ 2627.704900] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2627.705557] alloc_pages+0x1a0/0x260 [ 2627.706099] filemap_alloc_folio+0x374/0x410 [ 2627.706744] ? __pfx_lock_release+0x10/0x10 [ 2627.707363] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2627.708056] ? xas_load+0x6a/0x140 [ 2627.708566] __filemap_get_folio+0x32b/0xcd0 [ 2627.709202] ? __pfx___filemap_get_folio+0x10/0x10 [ 2627.709922] ? lock_is_held_type+0x9f/0x120 22:43:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x20000000}) [ 2627.710562] ? find_held_lock+0x2c/0x110 [ 2627.711221] pagecache_get_page+0x2e/0x130 [ 2627.711847] ? __pfx_fat_get_block+0x10/0x10 [ 2627.712489] block_write_begin+0x35/0x450 [ 2627.713101] cont_write_begin+0x4fe/0x700 [ 2627.713725] ? lock_is_held_type+0x9f/0x120 [ 2627.714353] ? __pfx_fat_get_block+0x10/0x10 [ 2627.715000] ? __pfx_cont_write_begin+0x10/0x10 [ 2627.715676] ? __mark_inode_dirty+0x249/0xee0 [ 2627.716350] ? generic_write_end+0x1fe/0x3d0 [ 2627.717001] fat_write_begin+0x89/0x180 [ 2627.717583] ? __pfx_fat_get_block+0x10/0x10 [ 2627.718221] cont_write_begin+0x2fc/0x700 [ 2627.718834] ? __pfx_fat_get_block+0x10/0x10 [ 2627.719477] ? __pfx_cont_write_begin+0x10/0x10 [ 2627.720134] ? lock_release+0x1e3/0x710 [ 2627.720730] ? __pfx_fault_in_readable+0x10/0x10 [ 2627.721420] fat_write_begin+0x89/0x180 [ 2627.722031] ? __pfx_fat_get_block+0x10/0x10 [ 2627.722689] generic_perform_write+0x25a/0x580 [ 2627.723354] ? __pfx_generic_perform_write+0x10/0x10 [ 2627.724073] ? __pfx_fat_update_time+0x10/0x10 22:43:46 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x0, 0x0) [ 2627.724738] ? __pfx_file_update_time+0x10/0x10 [ 2627.725528] ? generic_write_checks+0x2c0/0x400 22:43:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2627.726249] __generic_file_write_iter+0x308/0x4b0 [ 2627.726939] generic_file_write_iter+0xe7/0x350 [ 2627.727596] do_iter_readv_writev+0x211/0x3c0 [ 2627.728246] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2627.728939] ? avc_policy_seqno+0xd/0x70 [ 2627.729550] ? security_file_permission+0xb5/0xe0 [ 2627.730239] do_iter_write+0x18b/0x700 [ 2627.730798] ? __x64_sys_pwritev+0x233/0x310 [ 2627.731408] ? lock_is_held_type+0x9f/0x120 [ 2627.732033] vfs_writev+0x1ae/0x660 [ 2627.732559] ? __pfx_vfs_writev+0x10/0x10 [ 2627.733141] ? __fget_files+0x24e/0x480 [ 2627.733710] ? lock_release+0x1e3/0x710 [ 2627.734292] ? lock_acquire+0x32/0xc0 [ 2627.734833] ? __pfx___fget_files+0x10/0x10 [ 2627.735433] ? __fget_files+0x270/0x480 [ 2627.736008] __x64_sys_pwritev+0x233/0x310 [ 2627.736584] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2627.737248] do_syscall_64+0x3f/0x90 [ 2627.737774] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2627.738470] RIP: 0033:0x7fdf12d79b19 [ 2627.738977] 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 [ 2627.741295] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2627.742298] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2627.743230] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2627.744161] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2627.745090] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2627.746031] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2627.746990] [ 2627.764797] loop0: detected capacity change from 0 to 40 [ 2627.767162] loop5: detected capacity change from 0 to 40 [ 2627.823809] loop3: detected capacity change from 0 to 40 22:43:47 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffffb) [ 2627.854044] loop4: detected capacity change from 0 to 40 [ 2627.859158] loop6: detected capacity change from 0 to 40 22:43:47 executing program 0: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) r1 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2801}], 0x0, &(0x7f0000000200)=ANY=[@ANYRES32=r0, @ANYRESHEX=r0, @ANYBLOB="59f10b5d5fe3164a6518b22ab8eaea52ab356192d7afa3491da404755a0e557ba79c6a69154065f9d0e4e4c07f85b3706df79f3852beca7064f70719bfe449afef52f45e5d31857c1d31a33237a40239c7104fbdc6fdbe2ff28516fc1133b0813b98f85cae2e6c9d49938c028b6bc9f3d9"]) chdir(&(0x7f0000000180)='./file0\x00') r2 = dup3(r1, r0, 0x80000) setsockopt$IP_VS_SO_SET_TIMEOUT(r2, 0x0, 0x48a, &(0x7f00000002c0)={0xa7f9, 0x9, 0x10000}, 0xc) openat(r1, &(0x7f0000000040)='./file0\x00', 0x400000, 0x143) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) openat2(r3, &(0x7f00000000c0)='./file1\x00', &(0x7f00000001c0)={0x345000, 0xa}, 0x18) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2627.866324] loop1: detected capacity change from 0 to 40 22:43:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x3f000000}) [ 2627.901393] loop5: detected capacity change from 0 to 40 22:43:47 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:43:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 11) [ 2628.103582] loop3: detected capacity change from 0 to 40 [ 2628.134672] kworker/u4:9: attempt to access beyond end of device [ 2628.134672] loop2: rw=1, sector=2828, nr_sectors = 1280 limit=40 [ 2628.139970] FAT-fs (loop0): Unrecognized mount option "" or missing value [ 2628.144605] kworker/u4:9: attempt to access beyond end of device [ 2628.144605] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2628.146594] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2628.157005] loop4: detected capacity change from 0 to 40 [ 2628.178058] FAT-fs (loop0): Unrecognized mount option "" or missing value [ 2628.343955] loop2: detected capacity change from 0 to 40 [ 2628.360324] FAULT_INJECTION: forcing a failure. [ 2628.360324] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2628.361280] CPU: 0 PID: 13172 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2628.361834] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2628.362371] Call Trace: [ 2628.362548] [ 2628.362712] dump_stack_lvl+0xc1/0xf0 [ 2628.362990] should_fail_ex+0x4b4/0x5b0 [ 2628.363279] prepare_alloc_pages+0x178/0x500 [ 2628.363601] __alloc_pages+0x149/0x510 [ 2628.363877] ? __pfx___alloc_pages+0x10/0x10 [ 2628.364192] ? __pfx___lock_acquire+0x10/0x10 [ 2628.364514] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2628.364843] alloc_pages+0x1a0/0x260 [ 2628.365106] filemap_alloc_folio+0x374/0x410 [ 2628.365434] ? __pfx_lock_release+0x10/0x10 [ 2628.365750] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2628.366100] ? xas_start+0x14e/0x710 [ 2628.366366] ? xas_load+0x6a/0x140 [ 2628.366622] __filemap_get_folio+0x32b/0xcd0 [ 2628.366947] ? __pfx___filemap_get_folio+0x10/0x10 [ 2628.367294] ? lock_is_held_type+0x9f/0x120 [ 2628.367602] ? find_held_lock+0x2c/0x110 [ 2628.367893] pagecache_get_page+0x2e/0x130 [ 2628.368199] ? __pfx_fat_get_block+0x10/0x10 [ 2628.368518] block_write_begin+0x35/0x450 [ 2628.368825] cont_write_begin+0x4fe/0x700 [ 2628.369115] ? lock_is_held_type+0x9f/0x120 [ 2628.369422] ? __pfx_fat_get_block+0x10/0x10 [ 2628.369744] ? __pfx_cont_write_begin+0x10/0x10 [ 2628.370070] ? __mark_inode_dirty+0x249/0xee0 [ 2628.370403] ? generic_write_end+0x1fe/0x3d0 [ 2628.370721] fat_write_begin+0x89/0x180 [ 2628.370994] ? __pfx_fat_get_block+0x10/0x10 [ 2628.371309] cont_write_begin+0x2fc/0x700 [ 2628.371602] ? __pfx_fat_get_block+0x10/0x10 [ 2628.371911] ? __pfx_cont_write_begin+0x10/0x10 [ 2628.372235] ? lock_release+0x1e3/0x710 [ 2628.372530] ? __pfx_fault_in_readable+0x10/0x10 [ 2628.372871] fat_write_begin+0x89/0x180 [ 2628.373145] ? __pfx_fat_get_block+0x10/0x10 [ 2628.373462] generic_perform_write+0x25a/0x580 [ 2628.373784] ? __pfx_generic_perform_write+0x10/0x10 [ 2628.374129] ? __pfx_fat_update_time+0x10/0x10 [ 2628.374459] ? __pfx_file_update_time+0x10/0x10 [ 2628.374800] ? generic_write_checks+0x2c0/0x400 [ 2628.375182] __generic_file_write_iter+0x308/0x4b0 [ 2628.375525] generic_file_write_iter+0xe7/0x350 [ 2628.375853] do_iter_readv_writev+0x211/0x3c0 [ 2628.376171] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2628.376515] ? avc_policy_seqno+0xd/0x70 [ 2628.376810] ? security_file_permission+0xb5/0xe0 [ 2628.377153] do_iter_write+0x18b/0x700 [ 2628.377433] ? __x64_sys_pwritev+0x233/0x310 [ 2628.377752] ? lock_is_held_type+0x9f/0x120 [ 2628.378059] vfs_writev+0x1ae/0x660 [ 2628.378321] ? __pfx_vfs_writev+0x10/0x10 [ 2628.378610] ? __fget_files+0x24e/0x480 [ 2628.378888] ? lock_release+0x1e3/0x710 [ 2628.379181] ? lock_acquire+0x32/0xc0 [ 2628.379453] ? __pfx___fget_files+0x10/0x10 [ 2628.379758] ? __fget_files+0x270/0x480 [ 2628.380046] __x64_sys_pwritev+0x233/0x310 [ 2628.380340] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2628.380676] do_syscall_64+0x3f/0x90 [ 2628.380934] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2628.381286] RIP: 0033:0x7fe786258b19 [ 2628.381546] 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 [ 2628.382722] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2628.383236] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2628.383741] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2628.384238] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2628.384715] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000002 [ 2628.385187] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2628.385690] 22:44:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 12) 22:44:00 executing program 0: syz_mount_image$vfat(&(0x7f00000000c0), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000000040)="601c6d6b646f734241a0f3280ec88f66d8a02b0008410100044000404af801", 0x1f, 0x4}, {0x0, 0x0, 0x2800}], 0x252000, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = mmap$IORING_OFF_SQES(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x2000002, 0x13, 0xffffffffffffffff, 0x10000000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) syz_io_uring_submit(0x0, r0, &(0x7f0000000080)=@IORING_OP_CLOSE={0x13, 0x2, 0x0, r1}, 0x6) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x1) 22:44:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x0, 0x0) 22:44:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 32) 22:44:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xffffffff) 22:44:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x48000000}) 22:44:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2640.893086] loop1: detected capacity change from 0 to 40 [ 2640.897372] loop3: detected capacity change from 0 to 40 [ 2640.899476] loop2: detected capacity change from 0 to 40 [ 2640.913398] loop0: detected capacity change from 0 to 40 [ 2640.916413] loop6: detected capacity change from 0 to 40 [ 2640.923065] loop4: detected capacity change from 0 to 40 22:44:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2640.930065] loop7: detected capacity change from 0 to 40 [ 2640.964592] loop5: detected capacity change from 0 to 40 sendmmsg(r0, &(0x7f0000005000)=[{{0x0, 0x0, &(0x7f00000000c0)=[{&(0x7f0000000040)="5c6e37910719ca6733295efd2d71f36827ecdee4dec747c703c1", 0x1a}, {&(0x7f00000001c0)="9c0ecd4a79dc4fc53c2cb5f97c214f1e3b7286ae47d95cd9b0e73e258bb725e321d4ff35b1acd363691247849437133bb8690ad1f50aab281576bc3b4216478cc8023aacb1ee200ed8db9a61ba9e524a983c7dba1a90ac86bdd9c9076ca15635e6f84883a7035b833efb", 0x6a}, {&(0x7f0000000240)="ec1517c23d8d103c51e16d96ade7d3a62571bf1d0f39dcf8dfa018a45cd6bd400e6999308dbdb800b9f8c174103e6053f5bf88f0dbc464e58fe6bcd61fbae8bbe7cadbce03974b3971c2c4e52cafc75613ea9a567b3dc8c4a169e4657f0cf35c5be11eb9e65ecc0edea84e68a4f8056eb6379604de47dc4b2980fe21ac500a5b5c546d217b70557a69723a67befc22923485a7ba68ab4594894f000dc158f975178fd5001ba618cf1698", 0xaa}, {&(0x7f0000000300)="ea2cdc6038a63aee7277fed1b819438b3a6c1a0e564a7c7162200dcb2f8debf562808d4b74cfa7c4feaf2c965dad9a07b72753abc0a88403b83398b605b9e757d519184e65b3ca9607be436377282b45f31ff1dfd4f0", 0x56}], 0x4, &(0x7f0000000380)=[{0xd0, 0x88, 0x3f, "5d06c8445ec35b221e0cb3130dd509812d62dd71f22adcebf00fe14e300186f56f4b326e48cca7616188485dee0db0e7ad934eed12b5848feb4913b80b224da6de716be025dae0e9fcf5ed31163422da5ec37177aa018c8f4a71e191c8d973f7538bcd42d7b07b8a6eef4a58747a8e1ea2fceba60089b61023ee500b6679f5eb10233b54c1cc8a90fc8cb8f4b246ce573b05c31c96dc2258044864e8fe941724932c5ed4b53af0f02cb7b092fb01fa364d62bf85d947287dca470efba15af3"}, {0x60, 0x108, 0x3, "5852288bde8b78e6c310ebea8e107524f5620b78cb77165db6514e3110e87c42e69d51513b676ca02551444f989f3c280f696b7fd716c2f6c449974b4425f213652d579615d38e77c6"}, {0x1010, 0x112, 0x200, "1c9649309d8a22e04bebc4cca94209cf53d08dabc8ed88d9782e1f3b514fca9064e5cea5dbd194151008cde6c08b62f83865681cfe7b1c76bb4d7fa9dcc0d73ba5e1f86dfc4d6f89a1a434a7489ed1d6430d28e048864290a93dfe7e2dabac6939170e7ec1508b8f7073e742a939c74e44d1b914ba868d338f4e76293b7f4ac53168aeb6438ce1384506bd845457445a7536de7a8b2ae294e33f58d0b0b501b239903a2ba99bd103c7279e76981956fdae615e3954ec483acad939075574babf6432334f6f557f73dd1183e54d5c80905a4c16795d6a1e48a96afe99d0c92eb1730ea78f98c8432051b97fb449d6858d2e613e672669a51673b3de08c7aee4e18aa3363cc5c0c6d0c51d1f3f4cf04201e4c51b4de8d023d9e604d31ca1c35a5735079b24b38730ec51a05a642f7140a964542f303e742324bf62ee9fe99e4bb5b8956c31605c3f7899da5a33bdea96e0bcd343d5dfef784b7592b315f6799f58cbb3585b4f9152e9f20bc546dc1cb95c51e6ab5d6cd405101e5bbcfafab55c14f4234224f4e0616d1d8b44645a52b36ca08f2c1f2ded8d6dc790789f161d31b852c8c2acbc63db5d1e522ea229242f8fd0db8d26d2aa258713ea16ef82fe934ce9be849a8e16b9d2cbc666f1fb07bb88169f37f66c0532a2cce259e7ce4cf098b5ee78754d12a50f38d521ae2bcccb28e8c070671572106b9d1b018eafea3079cbec46d435f7c144e8bd0c3031528c705a70674628af4ed746ea12824ac4bbb918427b6d9c1ae10b5629ea706df3fec2c4d52dec69021fd02979b0c4d0ae48576c5b1879c789b84817d3c71bf680b31f442f5c7dca9ac4aefcd16e2322130eb3770604e06001d0c337395e5d58ff48f329595f2048d86acb1812461696a7ad1d421f8c862e00e91618ec427d865dad947a5c3f41a010561cbb9c352025328d594e98fd286d9c772f12fc38c13ee7f374c67aa90a32fef3859a1cd05c4dd58e68a7df5a4f775d3995fafb2dbf29494cd71da2d23f211c49482141f0a17146cdecf1c5567a824d3d78a98a66ae3f13a766ce946804a02fa7884e91a5d1632d7e04b922ec1a03e675d7933c9299a806e8dfda2a269ac17e328b1d21c461a5ec12f1a28dbfd69ca8232ce8c9d060decb5515052fbbd9d7ba638a7554c2bb3a9ca571d06c65c5b5ad237089a92efa9a563b76b8aac23fe26da02cfcf5db8ec9db623dc37a6c213e916b8acc1c11bb136415f3789253edb183dbb6c80a550020b2567dfbc47e12a779c4bb6c72767587d7511271714fcbfa5225a978078b2c1bd213652ae78ea09de089f0f615cff20bbb134a2d916edc17e6e8ecc1c6112e3ade40bf271ed5f89b85e8e6906063ad790631df4f523cc6237c6e58f1b7f62874855e40fb5fc7c71f828967d466a64bf425b36d7c1ee4846810bb050922297ccb71ccfa2f904025677c8cc5da7d33cff592bd4fe04749bec4286e89c2a92c14973b52d19d5fc4b4b17a50fd528313c06960752891da832cdcce4aef0f41b19eadcf630a047ea509ec7cc99c5f9702ee8805c58d3241d37a37c519c18c8a37dee4cbcf0762fe7ff837a4b188e908250de1564bbcae2ac094d18d68b274de9e5c7fce1d2e36f4ffef08928f31e0b37bc3f41f751b5328b1e715c74aed351c364723d02ebd6d8aea1755b39a3c7c402282accff157958764583b628f86c16539f206196f8a513172cedee8aa20252023692d82d16918863f1ed0065000f8d776fa54262374fedbd96bc70d92874434357c85211ad89d3aa067d7769f45030a86cb7d827e010579465221e03fcd0141e36864bee59274d99b73245b0127e1abda81a483fb642f3b96c01cfebe6984f068555de3136f74709fe6d0fbc3723f42258407364d67eee75506791947f47975eff0b25536329e6d8245389305182d0568651b060a7eb01e5bd661ad9dacfd1e24dfe4cdabaa31899940766a2fcfaaae6acaf9f347ee4a6e015d3cf4b9507b443f7c27d5e4235df2cdd7aa6b1d0585a26fb55f99904587b9ee67953837d3966316d19d5f46e7672fcacd84f5df973158cfec5d0e0cb4d201a8a2eaa7ec5ba2d2204c561c0de81da51e2452ba9e722b7b21441c8400cc2d9799e79795c1bc726f4dfed1a53995e54da6d4bdecb60b8ed060504e998744bf2bdb3e486167965bd3fd928690cdab9374565e380acc0093136f1d46a47e0db14ad237f80c41928745585488d6624bb66c01ba3d8a57b0217a18dcdabb240ecf3b37bf695a6297d8e58e1aaabba4c985d36cbd16351f5016a3f1bb627e4f66c2df92e9c2c558df9661d45ef8d856ebc6f9dd20fecf3660552933bb1b379e4809f63e4bbac7678253bd6fd32b6e1cd9c8ce9add2b87e4c8922de2ec4c8adfe8a103fbba5473077c9c8790f7ba2427c3865a33262daef9c45ece42fb9d6d67a9e6e6280272367dc99f5665b042a9cabadf93967a2f52596139402ea01b744a43dc1d9426b7e1eb7e26a63e1563919f54f5df7faeaee183f7d9a8b671ce0063a620d065fb875828334bb1530d1f40f11dcb248416a1d7e728fc94c503abf61b1edd06423546e32af221b77d9d9f170e9794f068a33d480d3a69fe3fad7bac4a612790d7c9c8d0129be556f79dfef494c14970a30f3508a066a15fb00b9c28bdaa42cb258d9d55032091f90b56794710c33f5e52b645c4ed3a8a71e278e2f33c85265dbaf91ebd39ba50bd7f909f2ea712b9a9dc0f467d39a6c57942760a78d50ac11dd414f7737b5d3e821d944182bd7e562448334d598c358105ecacfec5a3d7e2e23094d3ca5bf7e382ae26c94817983380279e6ca10528770a215ea48a971528e0f0d36ee9a3d5a578bd5675ff97a835aaf43f92d4e77021955b9eaff4d7260de34614e7e6b51a5bf07a54d015e7cad6ea9ee9f167ef598b1a9db11b2cf5c31f74c76ebd8d3289fb1de11c20b9de38c3fb2a95efe555556e42fb9922a0e43b2e2ed70038ff057fa9b6fd1153b44130afce6495b57fdba06c46a64637853954ec24aeeb709c9ffb399ff1379c69d4511e992a5e986a569634011651fbf855c20e11954bc38656757fe3c56b4f453ef3f22817f784756e5a35689a594cc33d764ef0684569a815128c5393ec32ae415ade2ddbeb4916c39101303d801391e8805ee80e0bf9a63922965664e48454b069d1bf022f64092bb121163ec95d6890208e71cbe165d42459e5e6dd4dcdc1635fe3c3be1c5a52b2350288650ae155e839ab316449b39a5084f8b28c16c3d6b75e81410973c3e0aa14e89deb17c138bfcdb1feed101f6f308fb0f0cbdf5ae6e7d456b5eef6c116ef6bca2abdfc916afcbb555822e177da647cfcac585e2bc1f4da1baddc85e2bbf6de286027cc11b65b620014caeceddeb22751bf53c68628a30578703b4fc257c59b90ffa29d2db787b15761cf7141c25d774eb19fb669098feab276b5d293d0c0bf73bf91401799a66683c9f1dfc7961153b02c06984ee08586e7f1009d4e090eb7713c5f3015ef58842603bb79414c37558b0d86b7c7245528deb09f53cfe6e0c49379cf47d8c1dad7c68bb921ed9dc47b6fa0a6def7057b4ac96b80115f9f7ae9d2285de7c5a2cc247db7d7b58fd6b0f0b7201da78c9ed43e5df465b2a33fcfd28ae45e8adc67ae9940b1d6dc3e1fd88d9797c3b55fd8d0f24ed89d59b22597a899d24f7069f1fb10b546885de064eb94e4888033fc281332654a97b5b55e4b8511584b075302e802bd61c2c36c97d551cea2b4f8e1f881314c9efebb53dd373d42ee716ff37cebc27a3fdff9ddf4e1c1b8711cc2560cef4bad81f6be569718cbba494ac1564e45bd188976edd299506a7571d0e4f559c95634e85fa65fa3377e9957723d1e883571ab95dd703aee0548566373fb9ae941761d516253e497e36c57a15f81af1de6633a73fb62d9255b60a859e41e8c17b5ccffde833d975bf7f9e309faf3a1357bc93a31b1e9ba74b2073d6615909607fdaa5259a321cc5268b221f5a03039751e32266bff5e58dc626529eec9e3df8cd17f5943e13ae669d0f9a3d660211df0f95f6319ba032dd67e7d8f771f1c32cd51ded37362e3b0939aee1d4a926289e462be63ca934a4f06e343389e6e0fdd0a616943c7d586a416acbeeebab97630a0c633303aae1d2a846de82e0ececb55db5141786836a010cd60acec766ead2d52c745a3d0636e99ba13147812a876834b28606bf40f58a9c87778ca9d3de19b50bbca6afed44d8411cb883eed1df965c18daee2e6e59fc800899548f900a1b2229b98d8ecc2a416410f311df658c88b3e0898d9ef468f329ae4cf1f399afbb7337d3896f0be4bd4a9aea725eaa249d427bb62ba3bcf00f3c92c23439c972a80ee8b24ae0dd2e46d04a8f3bfa8ac68558e9efce3c6bece4438a0f6def836a2a4b964980b1265ced8aae43f994ab45826983ac3cbe32b1aa3a8bf51a5ed5fe4bffef2cf96ab29f2ba6083520e3af21f005d23bfb2c87c368a1fd96d2896294b768ca4a11b19a313a57ca44455b26f194e0192140ccd936143c12d07ba7d7f38bd51eb068801c61705fb6145346da96ad640852c8f3b8519cde540256cc31afb786c4de5c12eb87cf07f19461b7f951eda1c81086868b9282abc4f0e77af5c1175518408eec2dfc394a9c1420764bb56ada26d491acfab183c2e0cca7b68b8af17d0fc202250dd182882045a40ef1d8f558189b121f5971def0b2748fe9827c0d2099866f897ab0aeef9118286b7973114c165a9751161b67c5170ff951f2a5b853bf1d870df2898f4a098484fc316c3ba598663768e50fc29cfa4c849943d568da26175f57ccde58f55b0fcb8ba7df5ebbda9442839ccf6442213a547ae6b2b951e904a2bb227d413ec84025cf27908d8470bfee5fc548a7d7575481ab6d48d094860f62ec6d0c137c23fbd7ed99ab1050e2fbf7aebe476aa9fea7f90c7cf334f38ffe9f62386d51fb02879c4dbd2f806dad691ac96b45c939d3e0800d5f5c6bfa04fb2421786e3ac98a47d1c457bb2ecc693fc712562ef90f556aeb87511e9a974e711197d3d45d3504384dd23de3cfa3f30671532a986e1a0fbcef87dd1b9e0114bf4b0f5421b2fba9366361c918d8260b77b4dde37740b788e597b87584953af593d9637b577f88c828ef5ede8b5998dd4cbc7b76e5b33d970b882e9becef637921c5335d924a6d877cab2ebde117d49051cb0c57dc1aebb79f3994fe5fde477e15752fa1e3afaec15d24df316c0b9331b7310ea816c0cb4e263fa92951ec23ce017114acb2c3561b50f93ce0efb25430b2bda59e1736af714e4aadebe5aaff7ddc66aa3dd9fd72ef2f8b982e7cf9172f8b2b2725a10f4f91e510fed264984aa7bf1ab50aa5ad937e193bb70ee43c752b55b7fd678caa5da9f5efb9b7d3803d8cc1bfd373c68ebf23b8a1b62e0e7292ea1774d9f960a2a1475af48f71f57a84825f196cdaf9906fae6164e8e9cabd66219b45d691d6dd87ec80b15922e06de0768a63e2da1cc1ecdba96bd37dd06ecc0f9730c414ff1a50456fef6ae9cff8595aef71ba4d097de3734b0a89f79144f80e9b312ea53c82fcd207662daacb01b16affdb45cd06cbabf3effab3080f9bf4a205668b3b19a8b6becabf2774f9cfcab0c8c533882750ca5fc322611554f77499f56a56147f4fcd92afea4d0249c9e87b901a8a83e70c81af4cc9f28d3a917593c0600379922c1ead339a625ad7dee21bc2364d9466dfd79fc7a4489f6ff908fa961eeffdb27d04e80fb498ffef78c2748e3"}, {0xa8, 0x10c, 0x6, "4c834733984607e2aee607d571cb52ea962f1f2918979ad375b6ba538d398b1aef25317fd9d2884a2a42374403e7eb43545b4c25145ccce34dca067cfbe55091451acc7203d9cba01d32c1747b730ccf21877ad3d212f14a862342e9893421d5ea973eb5fdc329c52bb137d9062c2e795959259a7599a855068283c3345693f3682e10d392fddcecd0dbe44919ba87047ad4a91888b6"}, {0xf8, 0x109, 0x80000000, "2ad076d343c293b54f7c5d7e1ce5df4c870966f38c7f86edcc74a3dde982e2a2e5a3a469c62669ed2b410e8d1c8426b820f9b08e001e71940fd7bd212dbde667b00995cc0de6455321e0ddf70dd9a7b83b70a6baacb92c1088855e13ca588b243b9753223d03c403a7a0c942fcf6f0fc7b25f903eae4818514f9ce2b4d3ab927a117dbca0af4e469afd8a49d27b26473d0ad71852332a5037a18d7be58d9871bad0281943345adf3a5a5dbf781cec948f3998d001007080825fcff96d6ecb64bb51c4a1fb28754b037b899d12b412d93e064a79491d95f31ac1ef054baca252fbc3f4ed203c6c2de"}], 0x12e0}}, {{&(0x7f0000001680)=@sco, 0x80, &(0x7f0000003840)=[{&(0x7f0000001700)="79d02a7eb8eea89fdfd7f1640a6694a28c94f7dd10d0ae7e0cf19035d9b27ed8c79278135972ed832d051e95fa2ecd71bc78dedf48b6bbedeb05b79632feb895a158c5969223ad6a41babd9d7ee50241501941b2b9fd00fb82af997c59e212bd95e8058f5c52f81e12040863291e02dbc74c1cf3ae29eab3", 0x78}, {&(0x7f0000001780)="eff429acf499fcca7c748d1e9b6d696ad0a00855b72bf93a8307426fe8337450fbb7a8485d3b3fa45162e2e3ab53e9261db1f403790e5f84fe597552fa14214e56d11343f6e6a4e4ccf53ad83cc3138ecd51107b8be095e3beee10de96c751806c1cd674ceb3e5f2273d0f04c5f224ec1a675e12ba362fdebc1b9675af06dc970f267155d09c1bb55091c85bfc311fdb2edcc6b93951447047b079632313eca612ec853a66b57dde7e0152b937b22ec67acd18687c9cf157a3c5914bf3af5c7f77ef1fc9420b65cde561cb79ef447ef920c542d14a927d449671766dc624c9be387127fd8af7de386b5ce00bfadd1b8ac66583b28990d9ab9945abcf559d2eeae8b0b02868cf54cba2e07b9e8e906e85c791dacc505d5f223469a0cf2d288aee9188c10106452b18ac18161a2c096132366368b1dd294826e9a484c2c1a261c3ced6ed65aa34bb19b10fe2fbb10ede7ad97b0cab971923a8a8d09cdba27fc00a7ecacc35758eca796444030aacc2158b3a93bdee4f98bedad791ede7a96219d7508e370c833f596284c095af4d6e5eb51f2bd474d664cf606344366e37f3b2eda477d05f473a624c7950d67662bae9d95c5da1a185856705332f380a5309dd6ff40ead7c0f102dcab6d571b03b486a26a4a6ac5f18140e2c90c4621748392e40f267fbbb4b1abdfbfd851a164d9d152ec89e06c98a1fefbc483c0a5f18eb6d516378e45c7a1c09ed050b332efc5bbbc4e4177d22e5e0ad3314589b6889944804b7c5496f6ea923f6b458160a11e7e6276c768b02512086ded1a918119ddca2de8b19752547c62fd8823b9da2d4c5abc5ecedd8c92df750aec8dbf9957fb4f2cd6f0227004494e49f1c36ef38490bea90aa872083606fc94d80a7b3eb3e21131142e2dc1b298e3c103cb974983b928936894592b11be3c458bbf91290c36ebcb587326ecb5a7b499c559e1c73324a81803fb5f25b3fdc1d213a8a2f6d3eb33a56f533d170556a788e424233fdfc77f5f8d7522067b33fefe9e64d4a21b618e0794d16fc7cfb33ca5fbd581f5e4867155c1cb820340c8f8b04ac76e83e293943281a4ed96c7e08fe6ebd9bf5421146b2e81f7ce161f86c74adb2965627de58da33b403e0c02d4bad9395dfd28bad088d68c9fa969301ebeeb9682bc5dd2edaa51e99947415fa2f58f23ab2b512eeb86668440fcbffb62071c81e2d0af33f03af93759d15409882c3f28f43798726ed39b95e49cf775da4b61808bd051c61d3fa7b196c8827c98c87756596c1e0f59f534a74aa93ba4572b526b5c07b363b9d55570c76ab3ce6d6fd76679ef4c49ea2e9953093dd06e47d23f16cf279bff2f255004b0ceb68ea095582653d94dc2f533f74eab221210814444f1f2f2adc60164f45870e5fa4a70ca174a97bfc978f14ceffa4228ad2e1cb932da4f3c75652fb54b9d4ec18676f6fdc045582ec4af81313a086bcef5ef2e60d319df6a6484befb6a6f6ccf9f17225372b822447926f487f7fda6062f9d43c773e57f7f61ac5db487fd0c4b5e1adbee7eb3e8242137a44086ebd9f5efe34e9eba12e4511cdfe5c0acae1286b461bbf0d76d3515c074ffbc894aaf3bffa2045b5d74b2aac021b6ff2f17ea8b83d20819a6b711fc7160447fa67f1a46eda474f6b591f7ea85ebd977ddf63ead0db80744a3762526350fbe7624244e43fd8333684c55160347478906f58975793229ac81d40285b2bc2cbdd8300876b904cd7b457d62a1929d2fe43658157c6cd4bb04524810894c8656ee94cd88a19c07a876b645d6dbc0bbf064bca553113ede44e2a67e9ccc067f9a1d47b946fc74857448c90178f84f02afd336a08d3582c45c86a744f73d0f4a3c040e78df91634ad30620f1d78cc45fdaa50c2cd96d6dc5e2c9f9c349777563f81da386538f0f9c27139c3946226c16c4dbe6d22bd960cdd063357a93d24872314b1442a47c28a63b3906cc00d2a783a602a2f7c988bb3ed45ced94bb61db6590aa8d7bbec153bba290f3a029736fcf6f1aa6693fb66b9690aa041a60bd49097172400c1ee2fea86fcf23c68656c46a353ab7ad7df5924d85af7291308cae85a62b14acea167cef1c651e126fd2d788c96c5589c6c109259d85f29bd6decfa1e72518dda2ceb8012bd656bd94283ca0402c440594f3555a65184e1ccfb6281a962efe0fae80f1ad162721cd4db46805aecf7d4c6a05a2f33619a0ff65423611f7e3ca854bbf57935590dba937f9ead54b910866e9c58bbdcbad2d6b9987464d412784f66ef20a9be29c0cd40285ecea83ad6940c52505868314e3d18174e71b980605ef3dfacf4fec31364f59fe36cd312cb573af741b3fd89eabbeee454bce783dfa90adcfb84882abd0c3043ad387b345328a780a1f7e97811fa7985da4a773af91823335964ee52f54170eb1da18ff322eee2ea5975064509690fbac174959e1c4025cb9f54451e10ce753eb4cd03c954a3c87759a4ef7360bd5245c5447cd4912c4a40dbeadaa944b8483b164bb7b6ef31f0c5fcc60186089ccd2ca5d4c6eb6506843d8f0e89ddd549322c2fd6f93ad24778527c32b49a7fb3442f06084b376ff75c3230a607e7b870390f7ef65f62e4beff1a8940297a7d8fc22848031c3d06e910885dd342471f304476a4346b1fddce817adc05f8e890aa99019057707cb66a03d39aa89cf4c265cd9d07796eedea68324c0bf2bd693763d8c693872d13fa5851512beee45f980733bb2952673746ad40e0b959b127c6f1a3a799edba556db86198796469223ca55c9f46469735a71cd5ba3f366b21aa9f7f947340b540374c36a575bd2896b2ca763932fcd4bfcd98d8b07f8d9a13f75c8492f50dd7aca10f8fdeb214ceffad63548941bb35263a2528b0fa44f47aeaeac41cccad62dbb7b11f20af83c2f3c371013a72482872653de6de6267698006e952fd158a39ab84a0e9df216ef8067ca5b072a8939f10900b646cc4897f661076de250a9d68b1f0beebea9b9bfe8ee657d146f24c06e07e5f3846dd0424c729eb2ca6f74e965a00d7b69094ae686a046486df81ea4367507d0b5e02cd093704b8baf0fe27f7ab953f2328c6404bcb23cbe37673e7403e9a68f5aa0c07a8b73552a0a820fe65e087ad9c618a778272f4071a0175412790e9790ab2f1e195b76055bdab1100c6f7949bfb82af3df97f86a03e6201465380987243775972461351a0aecbf61a7fb469d775d33508b75820279f32cb70422ad5488f31d59c8cdff926e82ed3b9f52f3f5e588115e897eabc5ad6e2be5ca085ca9a9c7996b5c8cc5cd22bc2af08e744b28b088533a7857a4e7b2806ca18548d4e4d17438411e159c3cfeb76b62467303dda4b3f579f32c31e59b2f470c15358e2e183e8b19c22062bb483771ab9376ce7029dc85567e1fa115b175c7df08869a2792933c24949e81d49948de8cc21b35fadaf3b0409b4c2a73dc738e75e8adc6a945aac68efbbc95ae6f32b7a90254727aaf0537d4f4fc7e779c844dd8b1e42ae082779678260131c8e09aa59e6bddefbed4da45b8dd6571c2ef3c5247fedb15fc6e807746ca731e35e66d1e92e5a4dd9e9c46f653ed1df1a845cd71e5d52c561a9b82e2ce6307e49c3cf381f85c6afe337e109953ebfc98556c62f756aee9d4c151897b88009428a3bee4922749cd8d2003f1136bf4b7b96d30c5dbf83c7b5dc8a3b8813cebb7cd6d30e1d14a2c5f59dde2bca5753108fbd17582d31eb4ba155658a45834c191daee3767ea1d39d0b090201336b7390e6772ceef6c0422b9da9cde10030bfe8e7e463592ce6b69c0d098b584ba2bb4fc58ecebb3d2087ddb1bec31a74c58470c5398563d1d54f0f7a9a557ff548677ea1202b2ce6778170a3a760f1ce57a21778b21320c09373e51e1a6599bc27cfed6478a26d8a959d4d0e5b064b4f7265c5da10d61ef2ec1c2b82f083eeae48c037cafcc6d5dab92a6cf4b6cf93d0770ef50731bb2c7cd5833dd972fd0a43a6af59258664c5457a4715af29ede9d2ea2bf5201e4302d72f3c6282394898c7d4b2008fe2c89def9076f4344b157899837dd29c1c459f02783f38318d515e7090ca26dba47605d98e57cd9b3e2d0f0167e4330ab6a6462ce6271b8b00ade79f2e1b37d57884c534da425968a5a67b97e83440edb8a3ef9dfea886dd28b15215a7b63937620c6a23453a44eb5a21cedd5c841512947944716287b71b8c0a027213f8488e1feb7ad39329a7f15c1e3e30926b6ea955a4a3469fafed58a644284736389c28d4ca6f9db11bdc879744995c0570b70bae0d2f5657b750acbc0a42505927276c18d70f055077f896174a2f579e038991b0f0f14f6ade71949fa7221120c6d5dd81fa000a08f3c6ece29a7671c606c275b38f0f1f2b3725119d76924460c083124e110826571dedc149224f0d337be3e3ee499a871eebc3ce1e0f85ddd7555ced21781cbd60ca0499da46808a57c049709f73af255f5407b0d21f36a43f27adb9607dd5bb97d4c467a018449f20385dc11067cde8a8771b2b69e5b7b25634afd7c0c400ae21c65d6368643a65e36333100a712a7fc50b2fe1c985ec25306c14d22aeda6755dad290d80175086be2c16f672956a1ba73134b1f35d52aaa32251e6d6449a6489ca4c9625874558061e1f818c2df756544d28e613f08f3b18553645d9694a50dd35690f70d67f07d4c9ed61f27ba9e5555ff293ec964078bf1ca5aabddcd669d1db8219f4917579b4373f88f0a2ba937ded12e0517b569e41b36b3a18211aa4bd79468017e8c604aa259b93e96d03f443839fde4438d097cd6b46e0a9c32454b28be0799eb2e0fcebcd5d8da84ef5f2419da47797e589263ab0e5d0d465b8296c7504309ebcf121d03548ccfc635405f7f957feaf38e0195120c83f8aae575e5e9dac6641e17e3b3029d1cb1c5fc779ed59f7ebb4c6d4ca30093ed786104bb8d693a76e0ed88654096476ca7871198c9c783829ba67b67fa1f6028e7a38ca455e009ada576ff53adee40f0a89c5e2990c10a87548789ced0f4056828ef6513d9198388308e1ceebc02d67cbbf1edbacd79550f51a724892001d580c4c6c4f3d0efd504eb12ac6d2e32dc6fa4f61237518bf33285e1cd9acb25160135360406baf5a75aa24ead85c0ff9be19484877715b0e26028b5938202cd292b36bf973546c3b19b729748f6e9b57fdf7d19b138e33241f7f20c0c301c3c1aadf88a858fde6078a86120e574f2cfc26995fe484e4619186a1a7300152e1534896dd0489ac22e5baa020ff4514953504b68924367649216cca76c6bf56918c16f344391d2743f2f3d23134512c8b7a7add4a3535aa0ddd43798d457dc67bb61dd7474e2cb06161e0d942ff07d7b7feb813f6472073bc7a2c03bf0f224c6f8ebbd0ce8a73035f6a7311d983dd8050425160f4b8751649c17a0209f507ff57d4ff92b86594385a01a2d10c6bf907bf1613cba2b688f76f43af44ab03d46af534139c3fe9c5ad40655559b0a375dfcbd1d2ec414ab794b9d841899bb326f0b1463f9883929855a7c41e96d90a610dea1933842f15dec8b35ece054d69ec4e8b4002bad4a705e56ab53d1311963a7839024a9b81423cd6ebf9e7dc0269ad980298373fba7988425da8129d896d35ab777de73104e1f9cd2fc2c3ffd8f197137fdc16ae7aad79e902299b0a7c56c3ab23ee1abe41392c5ec5e76a8ab7ba5b8bdd714a4e43035fa21f110ee1367f664efbc382193a9c5424aab8608f11221959f87f3e42c24da67f1068e06de53e4a", 0x1000}, {&(0x7f0000002780)="59d82f9603615d565528d8ae4d0e8a8e19d8713f714ca9f02f89db8f491063cd9e7803d1f231b1932b5d39c3ea9afdc2a58d036cfce7f7091d07b3a13eb34e043e", 0x41}, {&(0x7f0000002800)="82d2bde9da9ed14d908420215460e39288482df25b4a6a699ee71d1911feb75e3f", 0x21}, {&(0x7f0000002840)="b93808229d612a43257ff17e53edc604ac802f143cd07c513b511cf71d1ea49ede9b30ea42ecc999169dfbc1aeeb3161a30cc7dac5bc92c1b27f8831ebe35083aa9df7c28d617d0930522a77356508497aed746860326a7cd3e74a8e3cac0d21a9bbca4057866ccecea2679a3712664f6e7d990f0a8888040aaa33c8e7c033a5b3b51237d148a1445a601dc448760a6558818e5736ae8efc35c767f9c3efa17c335734a495dbdf8b349e114cbd46545128865c29dad989046c640da7e97e29ed6abdce5856c4c780a5e6c630825393916c6d5c409aa199b6d69cd523dfb861240ddd16d6edae410ad40d27d525e23c30fab321afcde0c67182481859a9d109a7f4643f7269f6bb1dacc9634b9799728dc9c6a301295d783d0ec7367a76c23075485884047f310490ee7a3ae1a55e83faf88e3ea6ca0dbe9b8657e8b25667c473ea3fc0edcb7702d15a3512208692a86e1984a858d0787bb08e60680940e9c3d74fc85760b7ec726d37a78f4f73a6614a35bb5205b89189b6694fe5a370230c4d2b71e646a80d20c043c524bb0a446845433d2247e349c589755f4217917839ce643172256bb68ba4aab074e0e2c5193c87afaef74fb8caf94a75d83dab822ebedbe041b8b5b74ad453af676d49099037cfa03c35a752884a99df821a552d0bf3217e90769a9320d7f898e97ba3f0214291f21b612962ef9be204a32a3783389158d2616fbd576fe049f3878aa553c23930cff48882ccc45a96af9b557d492c9dea03898d9c27201ecb113432616ecc4e7cfcf9c3b7cd36432d4f9bbdb462475e98c9dcce2aea2f12fb6aea70fb83591fbd55a85fd5e99114cf11945191718a62a722a646bafabba03080dfbbf606ed70587fdc9330333dadbe549fad6d174540e666a595f2812a9f546411938fa285b05af24bac023aced33fcbf60f9f5bc713e33affb0a96153f6dba0d6787d99c2b3bbd899d358d6335e8cf43eb08defe7c3f851f0067ebb86989cb1100f5011d29d3b74ef4b403dbc547e86774f2d7dae43ece1d80e7d4896e3abb7a3cb915f926474b0d6c725288f569e6091ad6b446d5499c696b03d08ed2339f45161718bd46018b5fc3c48465cdb44579b7108ce402cf6ff284a4d4a4d69405de01ea810db980b4744242e35ddf6baa13513ebc292da2b93d3e672f8d80b515425c09ff0934212ba78a9aff15cb15b14c39342052b4e84fdc7115590063ddd325d2bea03fe54284a24d0a43338c96867fa557e277b36c8dd835bc535c32b27f936440bf1123dcf250c70a3b01db1f73c1768fb53156fef1ae01723050b290852ec7da247cae1978c93cf282412e15744a917614071117c123950bfca436b061b44b257ee3a1d7e4a57a9970872f0e8815580335c5ffd0e21bb975861fdff19a241829396c3f1800f28bb5843d20b42edcf3444cb2df796e7d6417eb0cd3a07134174738580f40447bee669070238991132fce39f49af41596db1f4921baf8bacc4e57a98060fcc3334cf9dd694e648c377354bb404fc179cbddeb84f0cd68ea41cd8040c0424cd47f4fc486193bb0ff57e5c43d882ec15742a36011ed2a5a5e29e69e6043e5b1d79864ade19eb9ced7988db7517a0e957b2d8c0f7c45103db9c9a5bc34a75f832c2a03a29fc79f07bc3b7eaa75350aa07abf4375ad2c3181be1ac13eb5573d3c59879b500b519da3b9da37def2ca971043ed24dcae4c5436236ff9f1d4fb1c99058a66a84fd7801bfa5c8b2ca9d2f218424e0492bc2a8c654f915e523b80cb9f05acebed127343dcb10b2e1dd5ba9a62c80c0d21dab3aadac19664cce067fe8d02fba2e17b10e5a2f45c3ce645b487946f44d3da2f0a09eeaa921830eb53d852430a5aeefb0e7993503fbf26328dcf2f0a541b21833b93f9eec8f0994dd1879aded63e20647a6ab372051881d71609dea63f831043685cdb06156f0e717399aa112b0727d5dfa16fd4054a6372730355b45c4d4942b832cfacd9731ec50afac309bd707f6d5ba0ba411b0851e5525a18b05a812330207cb45a08456da3a9662657f55a329b7831e2cdf74ef1817a3f8d18daacf4607f2f70d98c98e81ee81d2bc280e778002ad2daa5c8b7dc799857aa613b46b9f4828a0faf5ead4a3dcdbfe46919483fa48739f036c6211393928fcd4d071f2c3dc503d8fb78e5428a73d4133bf50e9f62f8d91f25530c88d3f18fbfb098079f95a1d147573f81abd9e79c7c49d9ee44514e088203f2a54e06db34ba6e0c7fd0fecaf013c77868f88261a5c0219619af6ea3ffc2d6d21d3d5c2d4ae61832ee292d482adbe7895c50e9e6664e5a84a6239066e1fdfe25d399031c77af40fc3a405980c86c2c226ce3f3e36fd688f1561aa2912cbef7202e3e5f04dc648ee798f5603ac49b0c1eab4922279f2e97f01f174c7bd17c0c4fdc82f5c26abd68fb556c1fb5d2801cb485bf35772c17157d888e832a4e07095743ea522d7d88594e9063bd20689ca45b84fc83d92b83c474edd671938a463b1df9127f487e2a93ac8ef55bd618f81b07f4d66ad0ced944e8671a7ddb78bda33357d81d219417f050c1acdbc72efc8f1f54e183e09a854a1730576725bddba3e25c2b8ecc0fdeba4e7c9a6eedb358236254e0ded27a3a5759e9924432a7b11ee5863eb31cd46ddc2eb7e453098eb1594baefda54aba5de1bb24594a12eb1f38246f9205717ac5932e6ec53d9a459c900656befcdb6ecaa9abeb355ed31428abeb489f71c3127a3aa422d946469b1b87e7b97c1fe6afab3acd180d7fdafe36a014a0726f2c06456e2b10628fa956e7816b4e5e068f7c8be870232b4bc115a6955728082248cce07352b6cb36b5e9ead08c6608e54ce08745c9ce0dcf5deab9a7acbd6a5eede1dbde55a82df6fe47e45e708bacbbd56ec61feddf2a6d9dc8e6ef69f98650aa5dd7b3e1dcd789ad4c424a3c1b66b02a5d56a8e7c8d1d7be91d4b546fbce89db8b0bc080c134d9f1256d2a413c99e93ea068e8027e1121a8ddea2e4475f8735e9fb74166761767580b932a042800b287300062dace2add2c28a40455d472ff250a6ae5f95aca0b1b6a425eb9d0498991edc4af7172b013461c599f35545d9a2185dcc7297cd9f05ee6db9104d3cb01179334104443817d460971ed952515996adcb7ee28e645559aa6d5cffc658a58c57a60da044ea0c97197450d5504416a8e2ecd7822c07cac142d41c9023b2beb922f55e1c96d696c6374e10afecac51db1b16f7eeebf3e3883f8e6d842f5df91ee0c89dbfd7ce4a9d86a44242b03817f1692d7c17559fed0402dd59b75193f0d8cc163553c706001c7a455a98e166d843db2a6a5494b85f2304b46204a338f97a55f5f70be5742d86447508b2363abd26759440576f7d9f73a90f8e2232ae0c93237d49fb870e3f2d005bec671ec353246af2061347799e1fc28a7b35947586399ba44722640c1efc8e71e34aae55f058970a8031c1be19dd69e4fbbe4262320046bdd26a0bbc11ca80005c1174396e7d5856f62c828a69afbf752bd9c92ca6043b8ce731282206830b9df0a3f8e7afbd38b0d9f38d97c3b1f0e274b6414011cc948c87953581f5fc03cc93d0191aceefe1c59fa04a2b3aff77f0cd8c47adaabbd5cfc3c86fc2f0926ca98fb78c5550ba8337aa4ec500c9df0bfebbf62890a00fb927b57e4a0a5bff5e6b33cb38d4b77da6d34c61c07a725eba284e20f870bba64b5086063471ae3dcf9f2f2dda4826d89713db518ec5e41104895d116c01f81412d7921e4916567b0118052ebb97b9b1719ebc67c900a914f225feae1e8ac6f8f9d48183a064f4883c0edeebf27c123fe958ad5436b1ac30526116f6144de8db5e268aa713d3d8a7bc0bc8431dc9971cfcbbd339cc82329283b2a19e927f61e17d5f83a20f2f5c2c3a00bb8820f91ff6aaeaeb7dddc8d4bc2730898da79181ce9983a8f01f8ecb257689d6c9fc1ae2292a61ff1e63d486e36abddde10dc92c472322c9e4d961ff9b9696c91fdda044578754b1512dc41c9a00c9a8561031e2a86090d7ee38d298e2535cd40c3b3e3882fc91aae18614cb9ed47bfb567df68eda7304f0e3375641a9adcbd73acd4a4bd7bd423e72f917f9edcb3c235e8bd46707a034d3b220d8636ab646cc0d4984f362428eeee8bd361a58595ad057c1ab6f85c8a6f2836dc91d23594cbde014f6cda2236328153b0088f93c9f128223ebf66834e16393c96337f0a65b134c31d2735d6f9f7df925b24682b74a2efbf12a5cbb9945b65b480baf33ed701abf62e5a3cbd38372cb1bad4f1fb7b53650fda632ba9bf20c4f8afbc4622e0a7b37e397e919d81ab469ae396b35097248182c2f1b29e7fccc0adb749f06e4c6ce511a7b47859e194f4c6e4211bf11c26f934c83a57fe36e85da7433472738f16ca13ec0ef1b5939836486fc8388c5c813164c4c0bcd0f8327df627b11cf6b674c15714be66f9f12a43a0e7255b8997a571ee8770521a6800bad35eaaa66965bf4afb4dc8fea3e4b8399b3e9b76f69723df49ee993ad8af70d38f2193679c48c25082c792915591508b2fedf27d84ba86db650cf9d19f2aa6a5d87e93d57996bcdedca4ac38e7c0f33f158ad753b7a046c804e2ae6853402bdc70f7b2e489abd79e992abdbce5956ad7f5cf11fa258ec1f384a29de9da05506123010358c2d96a128cc10e51c1248474301362c17c444019084cc73483f62c1c83c87e12741d2b566e1c44b17e4bb36998c0d0723b9856560d07b5cc4e421bc5e7bcb6f4bbfcc4a8f8c6b7a5069cfec62a248f06f58c17f1332bf8e899e012aa3f25222fa129c920f312f76352e0ea28ab4e95f7b8c484959df9e930a9269f77e9c0e0dec4e639a34bf2ccf8c7658d238725284ab303fb205e19684ef7b153abb6b4bcc0bcb3e7e7933d66c8f3f34d8934dbeb70af4bfe3a3feba539c1a49f83f083f89d5a323e33a009ca75a5c301c647581d70994bcca59c2315164c34fc254cabc172c824612b505418c291423eb7bfe2ad488a26a143a950230a4754cd91a48791579ee16cc332e17cb0100c96a4212b80a722b4018c513c3781afd76dc10a63826d372d7903262f829e2e7bd5ce77b830998726fcea7903e7fe55c9b167ea53c40f493d344c7467347304857edd80ccbea2601f51d4836bf251642761f765e66ab1e7ad3f962ab1cd867a3536bd9dc5e872c6d5bb5be3f4c585e32fb197dff53ef43425b9963d526233124e1b565c1aece1eaebdf6e6b864acb3fbfb32476cb979bd9c9ce0f0c5d1b2dd29ff7ac0b8eed492d3de55cac63ea47c1366133b0f5e8d227240d554eee52af3afbe8407b25ef7234ffa42cbb206be4ddb67de524e1fe76e64896c7e35511c90af46e8753e822b819fc03bb09f98ef1720225bdd9434a39814c87240b4be188aba7dffd7fa705261215ccd1d03cc31bdab6b27f12c5010a3ddf92de30fd751f529306834bd1c74a1d7de58de5c497e5ee5a5846c62aacba355eb5860536c0dd93b0a1a7270c5df99e0b30c8ff12410e8854f6a1de8415718bca31ee9591bdb385f89b920ac8b7d6f627b637e2e1f6418ca651ba760bd85c9fe23c197828a633d196894a68b0676a9c8a7bb69df31ea0853e040313030fa8debf94c835132b41582e85ed58f5d29d27e1bb013b0545a50df54a26d13dae9e62f65ee86f93c73d28ab5f1c7246eda1a6abb9ab4f382efbc5da63c2116bf4a4587ea2f02f8819334a6aea050a4d3ca17ae178e4e15b94197a6e90253c00a8df6bf1d396e870c282e4cf9", 0x1000}], 0x5, &(0x7f00000038c0)=[{0x18, 0x2a49ba3f308f56c4, 0x7, "5a32d3b2bd071683"}], 0x18}}, {{&(0x7f0000003900)=@rxrpc=@in6={0x21, 0x0, 0x2, 0x1c, {0xa, 0x4e20, 0x9, @rand_addr=' \x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01', 0x3}}, 0x80, &(0x7f0000003ac0)=[{&(0x7f0000003980)="d449f6e7ea945d20e9729282d021839637326e0e6926ed6383108225142563ec853ecdafade63ba6bc2611b2f0917cd6f3b48358d56832add135d8ae3b996058d35ef047f3adc67658024cd5264c962b6955f838cdca51d6016fc0d82fe739e3ccfb0a7c0d6f01dd2762335f41b84cfc1b57fb83094182427748f78ca15ebd3b3b7ba3a6787d5c2f89bcfda34a2d7ecb9a065642e4232dd2529aa5cea433f11b14b11c75041e6fda17b4139e130bfdcfe4def9027ed0e766a5358f2fd9f50d0a1e9067b48e085420c7976a9620aaba42949d60d514e8ffac2b883b955f34c508296eb1d82d4c5a5725fc09f158ba6f66", 0xf0}, {&(0x7f0000003a80)}], 0x2}}, {{&(0x7f0000003b00)=@pppol2tpin6={0x18, 0x1, {0x0, r1, 0x4, 0x1, 0x3, 0x1, {0xa, 0x4e21, 0x22, @private1, 0xfff}}}, 0x80, &(0x7f0000004b80)=[{&(0x7f0000003b80)="73e7c36734c6f19d87b43835eecdd2b2cf5cf8ad2aa9237828288dad625b38e20881bae2e9635d5808f5b1d9e5c836da9520405633c6875c605ec1e73781765f3ff988d8a70db9976c04b68169c8b2d8a4ca01dbfce9bf23008546b1a20157a8e0d5a121dccb2ea9b9c282021348cd60d73e884e536bddd5bef533841d6ccb84952e04709de0c63c26d15898641247dd40b124428afd6054bf93916c3ae9126f5e6f075f444a2d18597ebfec47a9bd03de1d246207a12635b317253bf9df691e01d76e614a47693b11a4f98e27d6d8ce92d78bb2522251d76b9c74c5f13f27baf26236d5196e889186782c2d0487eb630039e4b83244d7a5a53100fc7d58d6df917e08326784d165fb972134db2309cff6bda2eadd7c6dfbd5412eff452c8fbdbc1cff41c9d2b2b6ce3e382d247a99a181dbb04afb08260d56a4d900e59da20d1cc73b990f562bf07f371616aa9824a193586de979d5e37451068ad8d5323ed4f37af89806cf4868b3ef07c9678cf7a6180f5a0e7c32566bca869091528ccfe21e2d9400763ac1648eb882ddbd1c0be78ebf6678347fcbb5a9c71d4536ec798a8efeb2b737a071951a5f4dcbb5d5ea9c796fd016b5327ebf599668ec61d89e6aeab850169bb670f00dbac4c315a53bc664b62d3025c17d6719eb0d5ff89b716814b37011eb66d35b592d4f3e09385f70463b97c8febe3b06f67e3c08d90b87d73bb0a1855d404f51cab004a705b99491d93c9a83e4d695f02b2396b2f78b2d6e8eef49893c3bbb1291b97c9109893dbeb915e141796a38429a94227d29217b8ffd8d947d679e10f7bf75aa0b8eaf5b8b8c097808b1ef9a74248732916f96d1988856c0a1b06b736b288a3c78a6a7e50d31ec28234229477190419c6a25a06f0028d2f14371da8b5f617b60755a886765035f83c7c6fe9721c250a0ba5e347c4be017980d85ed1738b96048870de9c51d5490d9afa1f7c4711a6010efcd0d7eca711b91ace2e4dc3781db997b342e3875a87306a381798c2ee6413ee130e02ad0f56926ca11ebfea339728472713f79b21938f5fa0f4bba92efea9a8a271ca7bddf4e9bdc132cd79585b66a83b2970f65f46013a92683760268efebfe876ed89568479de5ca4e12a69525b1bd89cf5abf4619a29bab8e1327ae067e6dd031443021f0ebfaaf01fbbfbac7c2260514847cc8e246c6c23f44b629bf712863658fec09953cdf8c8255950b46bc0db47866c8562b419e1e1d6649ac578982a53664a12a302df2f5f4df15b0c96ec0e4be42f0dcd91ded4b97e8e1033a7c4512fc96832c3ff8931df2ef1659d9664a5283d50fa44e0112e36962693f43391dba4cbeb9974d29e07eea5f7860222a787cc5b496d9cb290edf3850a6be116dec08041157a23c737dde43dd1be6681efcfd3bc8b8905be15b4adda0a76b56b8ba5febca07b0ccf02d9b80e1d5f23cb6505f11b9202db065510e91eb302beda2cc5c5001f91d4477ae60967483bd2cb201a3c3353d4c9678c2a747b52b92a284a959fb386e73b62b8e027ee96c54fe4487a630a18a6bb9b9e9b9eb08f13ef6d09b328cecbf2d6a67a30612900e662d6677e1f8f76829a41820b6227381b8a1f9b399e1e7f4b79fb47ddada30f80228e9930be2f51eb60b71a75c2d367aaad24798e15f4e407e7057848c5c8fa757ad450bf56e88228da447a982b766149e8c6ad6e1241b5e6664f0b17d57d48bf37bbce0c59f59efa5c0706b0ac55cf0b9fd8c5018ecc5dd69cb0f9ae86a97b1221e86c7756f6914b626043a7b7565a06c86227d307a86a9d02868674861155a08b3dec6a424081e988a7b91245ff2fc36032c835ddddc2a3bbe5c4735eac86c0bc569d7fa95c5aa6d24e8f927edc55ac4fc0ee3e2cd932aa6736089aea5ebee9e1614f6e9d2ad51a668b13ad9bd11d857ef886ca44ded81d80795cc1690808da7a87a823341f1e02040148e267d15f9fd522beee6ba8e60b0c689e26fc8c908a66a5f8283f3a12e0e5a3b600bed01deff8196bac44f12160fa10621a957edf0426cf94cad65db1722c4371ac4d012b967c8d6a971845b92b7c984d42bd84d715a5a991e4e47ec7189a7020ecfe4a081e27dfd61172a41841fd3b26560e9db0cb928bd700e5bdca1b687b95b32d14b9aec9e6499c30bf39653aeb9212c6b8cbe79d2d1750006892af7d13a4bd0abcb549e42d1981262dda06cc26afa7b84d8531e617ba8481274b6f664cc3b808691867e78b172dc0bec67e7e0a2c63c0508acc3e3f80c1eaa86248588ceaa664e4d564556d174e1b3da5e1e96964cbbbb9204150d3fe87e5d6e1b313d58a45d01c0ac7b4a74d6d2343b0f2597ee74249a00d225b054cfb11cf7daf62889302924f45baa2a13b97ebb6114e539e83ddff55a56dc43093dea66da7ecfc88bbf0db1492be712082bd8992508818a683e2c54de79e6ce40b8a168ec8436cfea3af69e590613530d3300363ca4113e25dce900dda3aacb1108440c48f78f917a0e93966485df00c09fd05d9b5b120e0c45b7c278a24832a959074c2d803b9b583cd9927f2a4be4a9b39a1c64f08ee783b8a2a536bfcf5a2396376c518360dc2d74c0d8749251abb194950defde8205ffb5a51838b3a5053f26e24620a38deb1a1e3ca2a57433e6602986a553574ceeef170c7ca9550a231d7598e9d273e89a28baacaeb7c90741909dc65a88aada8e858e8e256ecb72e5216f6b97dfa8340e911661eaf4c5cf3493369d44479d4d57b237d515139272bf21fc8c2b0d077d9674c2faf1ceb14565b0ad8bd8e8b3866594a14f8d3ff1d461943b6dca79464995188ebb414ddccb12bc277230c89d4bbfb25903bfa6007072d69126a1644aff4c9e31caeadedc244185d5585722579996b324668187a6f2d84c6d05ac74be204928d016c97be06b1fdb1add63dee54abf6f83142603d984e503f8fb878eed9891f6539c4327183ccdbc3ac078f0715613428e5e9be42eba0f1cc0f071afa5663b603186f0b32451099f0331d5dc7351460c4689c8611f47055b602f10cf4a28873ac0c2d8d04798dbbc2fd8768a3e355394a43f8402d62a83ead9af3b107e0ea7c905141faced432357fd7b57fec688d6d4ce1b6996b8a8c841b2e12469cc251b011985236c59e9443302b0668a2c9e13e22f7d8df5e3be854d2e0af9f319f1de09f1a3103abb3b49376670a8da9fde370a3d29bc13738d1fe26d43690bbec6d4f0db7ef71b512b842b544c87b64983e8897e272440bb202d7e703c32d6f2202555c0d6afac6eb8fa0425062bb5f64888875424f54262aeabd77d83cae714b534fa65226e2d162d9218032e372b9f2bbe6edf5379e6d1e44dd5004609708003d022d624c221c32f7baeec1d8bcdc1b4728018f4ff93fb57fb63a74f5f56170ea982e6d808f2ac04f0b8f67d94015e32ac3fdc66f8979fa2bb71f39c29f9eb1b63c7547cb4175381db187fe69e1992840e5c6e1e4dd351f2824a3a439bfb8cb1a2f41070c1dec99e09f1c857357bb6bb15330e952f78767d07baccec82da73c6c7ce8ede3556fd254f23138893a4cda7766d981711dbaca05cb8a3fe4f500ead6f4e6b271e81e3a821567fb28a075815780bc6f1928a8e114c81b780598f34dff8aa846ff5d68520d0da094824e55c57b4c6a54e15a081cf4d3572ef8071fe8b6117429572d10e756ad349ad4b6732d4678efd25c96f9d8904233ea593822bebcaef38c932560b126a232e5869610a16b6f48857ab68139c7ce8b4989149ed0bdc4296e26fdffe1a3216400a2d45a0d77e2d970ddce2769107e9b47d0b8199ef28ffdc208d11d46c5ef5326c8d9b4ffe5df126f060e2d1629d9b08f1964480cee53fe35fd172245b91867c10200f4cd3bee97ed9d1e125cffa6921d82780a33df5d6f5e7657611513936924276c110c65a6b0e13e00b81811028d34e9912b274717c82b8c4fe1fd0f85a34fbfd15d8e5823d6ad5bed62aabe9d437a31b572d74179291e95deb73d2454f311e0a852d48c228281164d9950b6efee5033c3ed63b61a669b589d1dbca07b4a51aca1f5036959e40fea9e55f2e57d716b3b80a2d07c5430cf5411a9a22b5586fc55bdd06137548165d09ee763891da60602e5b812f6c77ca37041a210da1a1efe04e8792769231678b24d28daaf2b0990bf242fad5d2e44f063af31008a90a18eba9abad575e075356075ef522425f3b3bdd0d9e20203416e81124114c1189b994be57f8f24efd34e3f2cdc920be38d5db66381ef656a4c286cb7ee51688f0e7b5d985b24f7dd23cee7e0518ccc32dd3bc3b61dc738eafe7c22a348c5c9a900f72682c96c1d1df9acf8b16f1a21a339dcff689c67bda92ae2bb38874339db12b6c1ed11242a72628c062d3697a8c113bb4f97d4cf41651065d6862fee52e818778a709e64da8f9bd7b9135723883abb2f46ad8ccbf8401c65e808d8d8084d78aa1ba1120a6128b349f7fcf2ce7a36cd8c95590bdfebdf9b70c348f0f47139a2384458ab335f612c5e0d885e96e4313916f524c13f38dd5c7da5d3347f87d3b5ee57225166163d0091875d87c142be7b0ab6dd496784796d085ac1271604670b7a59ce7245515a88bc25125c18e35c5224adeac63d535e5e0a3c3f0e7fb36ff430220060f9c24edb19e684110ed003c6df3377375da4f59f2caff537277c1f59960578b5f3a65b49f48a5fc962af8a281a6b6e8fa7c00b53f6b41b07182289643bedf435c8464586b800dd9576e9dbe8a52ecc20f08189d0e8d367325a2b11f54b2750944a7602464e769e9e30f0d01d0218a5a7e57c92bb1827ab0056b92b7a6af0943be4efdeed68435ab387754bb7ba5f8e7863839a375918bf2a17237d58be34f82d87f26e60b1ce5c99a7d46f99e5fc31cc514dc5fc74eb2b34ff122e82d5b8fa282a992ced470bfbc619fd094ef17f0a02cdca470c54a3310fa316c9bad0c8974e70cc05ef4da74234b023aa6d0e6001d1691ccdfe08fdc7233622f24a671d27022f5069d710576519bdaacd00a35451bdce28074f4eb92794ab9f71827169ee5cad3e1a2b0fa28f575b5d6fd31766ef6ab806e7b9cb16cb648a8b4b13740feafdb497a359931390ad030bbfd72a9f6fd3ab22926df37fef3f0df5f857463d89f128cda558b8d934f40e8cf85db9013517dd25647e78e1bf5467d9f1d73394e211b503764fa3d986b53209e30879c39d0be98e1ac1a890da9dfd528802899770b2a2e5f6164d765f46d2e83738985619b77efd02c44737fe4aec9ffcd724669aa696d0d99db598424ecd39cd5dd98345c6207aa592c54fe4d3de5765a35a92810473e67d90f441a60f89e9e4564029c4672a505786a286a836a5f9d5e2b1670b3530ca392c0b814c6e17675c194f8bde564b0cbcd77cf38be4918150ab67d5a5c7c3fb28a8c69c40e8d76a1a8c395ea355d116ab2285c0d9a55bb258ea2ce5d934cc029fa3deed72d457e6ed6fc15ed6184112f5ad85c2220060730ff0092b006995ea0dac547790ee0f01bcc78acd74d7962e6cd1f8ae005c602de69e5331b738ce386f68f8c8ab2203e2021c32a22499e1c0577d03ced09ee7bb6e1ee66df955523f04d2c286264187c94b2d3155c861343cb6def9b4b8a971f4dd825fe8fa543d8143514ad5d63f3bccbcfeffda1e8013298bf1c550989907e8a4284e6dbf2aa5ff680dd610036c492a1f1002d91af4980e2dc6b9b37bbd22f732a29b48574c6988b11954ff20400b0583cbdee3235c82f6c6be0736c64b7035ea31d249a408e", 0x1000}], 0x1}}, {{0x0, 0x0, &(0x7f0000004e80)=[{&(0x7f0000004bc0)="5d1aac0421a61e863821b077d4c07abe40fa114fb44c09d2411d6f5f8c9c7f589c9062f674a3ec742418a00a8919610a9075a31447ce8610568bafa15f4fadbdfbb2d83a3446ad8ce81ad294c657c0c3c8d80843e31691a1215b0496c7488056bb9d0010e0532ac7f4fb5f23a8fc43d35ad4f05861c1dafe9218519ea80947be3aaa79288be46319487e4acf842b1b524477010916abb46f13ed", 0x9a}, {&(0x7f0000004c80)="82ea8b7367a4296838500c789a1ffbc32fa3a3e192da3f093d1ebc38399793fcb4c05daa2eaf11dfbeb79a8b8c0c110aeb0bdf0ced13ca8b7739bcdda8e246b4d08fa4ea56a2fcb08a50fd6496c5cf851434a1ce007ecb8227989ba3d6c948c46497593854d83b3c5280fc483850abf43c85ca7fd374e2ae4ab766c59ffac0bbee21725cdf3f765151937c774796d987f61fe9b83aee8d0de5573f81c8aa61c29ee042800636370c05b4ebc021582770980df7d610bc8eb88fa22acc9aa45ffe8a664e3a6a80ccd9cd4ceeb38b0d2df3d4e2d512e02ca2de3ee776871df59d117f2a8851c8abed6e4f225f0fc2732afbcb2a4ec66aa97abb3cea", 0xfa}, {&(0x7f0000004d80)="590f17fe3afb4260447ab5edf92ed1f9bab8e1da88b18d52d18a5c84acddf0fe90af874ee2c3e202b49d6a2b86bdd93eb067d0eabeaed960109d77bf530dbd7cda38396c4f245ba19fe6e0e8fe4c00a916d1e1005b27c4372ec8fb3f3093d578cbd97de277275e9ad06dc8230f9ace3c95e59dceee28d7c2975d2217452b5c3eb92e0df4734a5c21c5741040f900e6a77c655bf2aaf3a2cf0a692ad7c6591503582b297afb209a1176ac7c3f1b1f6fed338bd42f039746dfa9545ca64642e23ec0975efc326a118315de34d715da4b7c1279207848a7484bb93419e39f8d0c22ea9aca732d7f6674", 0xe8}], 0x3, &(0x7f0000004ec0)=[{0x110, 0x10b, 0xffffffff, "f4ddf3bbf55f79eabf63d379a88925019ea5ddc069c8d3184b7d1f67d8c202d34ba32790468f1b89d69082006231434f8d63b1de874ba0d84f2239accb223c97d35a155f442919d52bdd597017a9f85852899c82dbd99c8c074c5f6454bf939c5dabb6929457113a99ff1054cb8bcf8e696097014c4ba82df5738f09208658ba38d9d9abe7e048d465d0929a5e2b985787d4761bdab2d0b7684fc31918d37f376fec51ec49fdd6a9c9ed3136ea97944945ccbaf37bd42af0dad3de3f5d1bca2118dcf8d315dbbff53936f8ef6c883beb1f1be5a7dca38e7b32eab5d3e3c7b23e8665c428ec3dda7a463ccd6841eba58788c20a85ac5f17d5a2fc7291ea"}], 0x110}}], 0x5, 0x4004040) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{0x0}], 0x1, 0x0, 0x0) 22:44:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4c000000}) [ 2641.241302] loop5: detected capacity change from 0 to 40 [ 2641.250359] loop0: detected capacity change from 0 to 40 [ 2641.289050] loop3: detected capacity change from 0 to 40 [ 2641.298577] kworker/u4:7: attempt to access beyond end of device [ 2641.298577] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2641.300343] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2641.304050] kworker/u4:8: attempt to access beyond end of device [ 2641.304050] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2641.305758] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:44:00 executing program 4: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:44:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 13) 22:44:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 33) [ 2641.327451] loop1: detected capacity change from 0 to 40 22:44:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x68000000}) [ 2641.419466] loop3: detected capacity change from 0 to 40 [ 2641.447427] FAULT_INJECTION: forcing a failure. [ 2641.447427] name failslab, interval 1, probability 0, space 0, times 0 [ 2641.448440] CPU: 1 PID: 13221 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2641.448932] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2641.449433] Call Trace: [ 2641.449614] [ 2641.449787] dump_stack_lvl+0xc1/0xf0 [ 2641.450073] should_fail_ex+0x4b4/0x5b0 [ 2641.450365] should_failslab+0x9/0x20 [ 2641.450639] __kmem_cache_alloc_node+0x5b/0x310 [ 2641.450965] ? ext4_find_extent+0xa41/0xd30 [ 2641.451276] ? ext4_find_extent+0xa41/0xd30 [ 2641.451583] __kmalloc+0x46/0xc0 [ 2641.451833] ext4_find_extent+0xa41/0xd30 [ 2641.452142] ext4_ext_map_blocks+0x1c7/0x5dd0 [ 2641.452476] ? __pfx___lock_acquire+0x10/0x10 [ 2641.452790] ? __pfx___lock_acquire+0x10/0x10 [ 2641.453113] ? __lock_acquire+0x18df/0x6380 [ 2641.453425] ? __pfx_ext4_ext_map_blocks+0x10/0x10 [ 2641.453758] ? lock_acquire.part.0+0xea/0x320 [ 2641.454082] ? ext4_map_blocks+0x704/0x19e0 [ 2641.454396] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 2641.454746] ? ext4_map_blocks+0x704/0x19e0 [ 2641.455056] ? rcu_read_lock_sched_held+0x42/0x80 [ 2641.455394] ? trace_lock_acquire+0x170/0x1e0 [ 2641.455725] ? ext4_map_blocks+0x704/0x19e0 [ 2641.456014] ? lock_acquire+0x32/0xc0 [ 2641.456292] ? ext4_map_blocks+0x704/0x19e0 [ 2641.456589] ? down_write+0x11a/0x1f0 [ 2641.456860] ? __pfx_down_write+0x10/0x10 [ 2641.457131] ? ext4_es_lookup_extent+0xc8/0xc90 [ 2641.457475] ext4_map_blocks+0x776/0x19e0 [ 2641.457777] ? mark_held_locks+0x9e/0xe0 [ 2641.458055] ? __pfx_ext4_map_blocks+0x10/0x10 [ 2641.458363] ? rcu_read_lock_sched_held+0x42/0x80 [ 2641.458677] ? kmem_cache_alloc+0x1c8/0x320 [ 2641.458959] ? lock_is_held_type+0x9f/0x120 [ 2641.459252] ext4_do_writepages+0x190c/0x33f0 [ 2641.459572] ? __pfx_ext4_do_writepages+0x10/0x10 [ 2641.459891] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 2641.460214] ? do_writepages+0x1ad/0x650 [ 2641.460492] ? do_writepages+0x1ad/0x650 [ 2641.460788] ? lock_is_held_type+0x9f/0x120 [ 2641.461084] ext4_writepages+0x274/0x5e0 [ 2641.461349] ? __pfx_ext4_writepages+0x10/0x10 [ 2641.461688] ? do_writepages+0x50d/0x650 [ 2641.461974] ? lock_acquire+0x32/0xc0 [ 2641.462264] ? do_writepages+0x40a/0x650 [ 2641.462542] ? __pfx_ext4_writepages+0x10/0x10 [ 2641.462872] do_writepages+0x1ad/0x650 [ 2641.463145] ? __pfx_do_writepages+0x10/0x10 [ 2641.463474] ? wbc_attach_and_unlock_inode+0x357/0x910 [ 2641.463819] ? lock_acquire+0x32/0xc0 [ 2641.464106] ? do_raw_spin_unlock+0x53/0x220 [ 2641.464404] ? _raw_spin_unlock+0x1e/0x40 [ 2641.464711] ? wbc_attach_and_unlock_inode+0x4a3/0x910 [ 2641.465064] filemap_fdatawrite_wbc+0x14b/0x1b0 [ 2641.465412] ? __pfx_lock_release+0x10/0x10 [ 2641.465721] __filemap_fdatawrite_range+0xba/0x100 [ 2641.466040] ? __pfx___filemap_fdatawrite_range+0x10/0x10 [ 2641.466405] ? ext4_buffered_write_iter+0x19c/0x460 [ 2641.466727] ? lock_release+0x1e3/0x710 [ 2641.467002] file_write_and_wait_range+0xd2/0x140 [ 2641.467352] ext4_sync_file+0x221/0x1010 [ 2641.467621] ? __pfx_ext4_sync_file+0x10/0x10 [ 2641.467956] vfs_fsync_range+0x141/0x230 [ 2641.468234] ext4_buffered_write_iter+0x37d/0x460 [ 2641.468585] ext4_file_write_iter+0x3ff/0x1930 [ 2641.468893] ? __lock_acquire+0x18df/0x6380 [ 2641.469214] ? __pfx_ext4_file_write_iter+0x10/0x10 [ 2641.469541] ? lock_is_held_type+0x9f/0x120 [ 2641.469888] do_iter_readv_writev+0x211/0x3c0 [ 2641.470195] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2641.470563] ? avc_policy_seqno+0xd/0x70 [ 2641.470850] ? security_file_permission+0xb5/0xe0 [ 2641.471219] do_iter_write+0x18b/0x700 [ 2641.471487] ? __x64_sys_pwritev+0x233/0x310 [ 2641.471806] ? lock_is_held_type+0x9f/0x120 [ 2641.472097] vfs_writev+0x1ae/0x660 [ 2641.472380] ? __pfx_vfs_writev+0x10/0x10 [ 2641.472657] ? __fget_files+0x24e/0x480 [ 2641.472954] ? lock_release+0x1e3/0x710 [ 2641.473237] ? lock_acquire+0x32/0xc0 [ 2641.473529] ? __pfx___fget_files+0x10/0x10 [ 2641.473826] ? __fget_files+0x270/0x480 [ 2641.474100] __x64_sys_pwritev+0x233/0x310 [ 2641.474373] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2641.474727] do_syscall_64+0x3f/0x90 [ 2641.474977] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2641.475354] RIP: 0033:0x7fdf12d79b19 [ 2641.475595] 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 [ 2641.476828] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2641.477300] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2641.477748] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2641.478181] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2641.478618] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2641.479053] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2641.479508] [ 2641.487948] loop2: detected capacity change from 0 to 40 [ 2641.588902] kworker/u4:3: attempt to access beyond end of device [ 2641.588902] loop2: rw=1, sector=3692, nr_sectors = 416 limit=40 [ 2641.595050] kworker/u4:3: attempt to access beyond end of device [ 2641.595050] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2641.595864] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:44:12 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 34) 22:44:12 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 14) 22:44:12 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x0, 0x0) 22:44:12 executing program 4: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2653.475957] loop1: detected capacity change from 0 to 40 22:44:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r0 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r0, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r0, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r0, 0x6, 0x13, &(0x7f0000000000), 0x4) pwritev(r0, &(0x7f0000000040)=[{&(0x7f0000000300)="cbae72e9d9f91a4f435e2865009d1c69629d369f56facbf4b00e84a08c0db35ce01c8498fdbdac3f37953e24ebb3b615eee66c9ba5bdffffe0d25ee2c606f768c9ab823e53f45f58b6d5ee3e6071165b9f872b43bb00de6dfc0ab2dc34ba3b17d94bf9f7fd267dbe5dd91ae16ab3d7dde1b33127ad4703ecbea47c050700007362cb07da80f2f7376be13afa4efda536598f58e1d0d3cddafc13dafcbaa42eba552c81ce0faab7fbb5ac5b7c71a5d4c55c9333912a595c8b4808c35f8fea9a9887560665433c62a1a429d6704a145e63ddb79971b2a050d50fdddd997d91c2f64512f2416d2641d8f8c846fe48e79830fc71ee657115", 0xac}, {&(0x7f0000000280)="6f3818ecb6a6d6678ef61eea09a8998343f8f178e57d5a2b07ed1fbc35e008bc73c139b57bfbf91d5a680d191b20f7e61b95f9f81a7de36f64fc1374f17ef9b9f034a03ba365d48837a7e5a37089b6e9b42017ddca178d55cf75e9c4e3694e574c87b08539", 0x65}], 0x1, 0x1, 0x80000000) 22:44:12 executing program 5: socket$nl_netfilter(0x10, 0x3, 0xc) r0 = socket$nl_generic(0x10, 0x3, 0x10) ioctl$sock_SIOCGIFINDEX_80211(r0, 0x8933, &(0x7f0000000080)={'wlan0\x00', 0x0}) r2 = syz_genetlink_get_family_id$nl80211(&(0x7f0000000140), 0xffffffffffffffff) sendmsg$NL80211_CMD_FRAME(r0, &(0x7f0000000000)={0x0, 0x0, &(0x7f00000001c0)={&(0x7f0000001080)=ANY=[@ANYRES16, @ANYRES16=r2, @ANYBLOB="0100fcff0000000000003b00000008000300", @ANYRES32=r1, @ANYRESOCT], 0x100}}, 0x24040010) sendmsg$NL80211_CMD_START_NAN(0xffffffffffffffff, &(0x7f0000000780)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x80000}, 0xc, &(0x7f0000000740)={&(0x7f00000006c0)=ANY=[@ANYBLOB='h\x00\x00\x00', @ANYRES16=0x0, @ANYBLOB="0033c6000000000000257300000008000301", @ANYRES32=r1, @ANYBLOB="0c009900ffffff7f780000000800ef000f0000000500ee00060000000500ee00080000000500ee001f0000000500ee00810000000800ef00080000000500ee00ff0000000800ef0009000000"], 0x68}, 0x1, 0x0, 0x0, 0x40080}, 0x20000840) r3 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17, 0x7fff}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000001080)=ANY=[]) r4 = openat(0xffffffffffffffff, &(0x7f00000005c0)='./file0\x00', 0x284000, 0x40) chdir(&(0x7f0000000600)='./file0\x00') chdir(&(0x7f0000000180)='./file0\x00') r5 = syz_mount_image$iso9660(&(0x7f0000000a00), &(0x7f0000000a40)='./file1\x00', 0x100000000, 0x2, &(0x7f0000000c80)=[{&(0x7f0000000a80)="3b10aef83c712dddf43731dd7a26783d58c3f5f27d4d4cbbe222f1fa10116317042b6ec5afee98a7e9fd7ffc054f9b4021bc63ac0a2e14937ec7234d6141e7693fde0ba2870cfec4bf1f223528e49c50e179a549f9d508a305b97ec9275ca34a50b6cc2a750b6179815d63c3b2ae5452a57dff4513c5835447e3c3e23a8ddabd49561ef0516703c58134a66995630a69c497379291f4805bf7b79e60cb14b158d790021075a08e501967314cd045bbfbf1492b135fcb6e7183c2de6141e08c782b3c963481729936c110cc8437be076e6b09e95e2a9048005518292f", 0xdc, 0x2}, {&(0x7f0000000b80)="45e672c8f45b56cafc85efa336c8c837cc06dbfe20e3454a70480130343cca6b21be6aaab7c857cfbb2a052d76fa901962e14dd49542911198c70f42d20134d597b7881ee7cc5f75d4b43edfd0fd2c22c6a621e35d3eec6028ea946fcf416799b3ee56c5d1d07db594d52efafe0edc016e1bb6747466711b33adcd41f4082e0b0baf62ed67baa884688afb5d2f6758ef7c0ca905c431909a7de30a31c2e02048b0e6290148c9b2a7792a01fbc17108bf0d598736b6d7b4a6596c8555a4ef49635e8019", 0xc3, 0x6}], 0x4000b0, &(0x7f0000000cc0)={[{@dmode={'dmode', 0x3d, 0x400}}, {@mode={'mode', 0x3d, 0xffffffff}}], [{@subj_user={'subj_user', 0x3d, '!\x1bK\xcf\xb5\x1ev\x89Ww6p\xc3\x0f\xeag),e\xb2\x01\xcb\xe6c+\xf085OL\x85\"\xf8\xf2\x9f\x19\x9aeh\x99\x12o\xeb\xa7<\xd6\xf0\xb7K\x97g\xa8$\x8avq\xf4\xb0\xa5\xd7\xb2\xb8F)O\xd7\x15(,\xcb\xd9\xd6y\x17\xb4\x9b\xf7\xfb\xd4Y\x1e\xd2\xab\x92%\xe4t\xae\xef\xe0F@\xcb?08N\xcf\x9e8\x9e\xb1e*\x8dd\xb2\xbd]\xb0'}}, {@permit_directio}, {@fowner_lt={'fowner<', 0xee01}}]}) execveat(r5, &(0x7f0000000dc0)='./file1\x00', &(0x7f0000000e80)=[&(0x7f0000000e00)='\'\x00', &(0x7f0000000e40)='wlan0\x00'], &(0x7f0000001000)=[&(0x7f0000000ec0)='(-#-$@%(:\x00', &(0x7f0000000f00)='6\x00', &(0x7f0000000f40)='\x00', &(0x7f0000000f80)='.}\xa9,!$\x00', &(0x7f0000000fc0)='%\x00'], 0x900) sendmsg$NL80211_CMD_SET_INTERFACE(r4, &(0x7f00000009c0)={&(0x7f00000007c0)={0x10, 0x0, 0x0, 0x10000}, 0xc, &(0x7f0000000980)={&(0x7f0000000800)=ANY=[@ANYBLOB="60010000", @ANYRES16=0x0, @ANYBLOB="00012cbd7000fedbdf25060000000a00e80008021100000000001c00e7009e3c0748c2ac5b3e7ed2731e591e83327cd015141c4d807d050053000900000014001780040001000400010004000200040005000a00e8000802110000010000280017800400040004000300040006000400060004000200040004000400028004000600040005000a00e80008021100000100001c00e7002b0ac887763e07ae676512379b8f337906117a00cba3a5411c00e700d5f98ec34dfffde6bad528e0ab29d96140756406c71a0872080017800400060008000500090000000a00180003030303030300001c00e700de28feafe66b062db878c8027e20d7c4780f8f84f243bf3f08001780040006000a00e80008021100000100000a00e80008021100000000001c00e700d1593b39b97752d13c43fd8265f0b2b4ea099cbd69a35ca31c00e700f9bac80ad8db7f889bf7ea9040a65dcb2f40040ce1856770"], 0x160}, 0x1, 0x0, 0x0, 0x10}, 0x80) r6 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r6, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r6, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) faccessat(r6, &(0x7f0000001040)='./file0\x00', 0x12) execveat(r3, &(0x7f0000000480)='./file0\x00', &(0x7f0000000380)=[&(0x7f00000000c0)='vfat\x00', &(0x7f00000001c0)='%\x00', &(0x7f0000000200)='vfat\x00', &(0x7f0000000240)='vfat\x00', &(0x7f0000000280)='vfat\x00', &(0x7f00000002c0)='vfat\x00', &(0x7f0000000300)='vfat\x00', &(0x7f0000000340)='vfat\x00'], &(0x7f0000000580)=[&(0x7f00000003c0)='-)+*\x00', &(0x7f0000000400)='vfat\x00', &(0x7f0000000440)='\x00', &(0x7f0000000640)='!\x1bK\xcf\xb5\x1ev\x89Ww6p\xc3\x0f\xeag),e\xb2\x01\xcb\xe6c+\xf085OL\x85\"\xf8\xf2\x9f\x19\x9aeh\x99\x12o\xeb\xa7<\xd6\xf0\xb7K\x97g\xa8$\x8avq\xf4\xb0\xa5\xd7\xb2\xb8F)O\xd7\x15(,\xcb\xd9\xd6y\x17\xb4\x9b\xf7\xfb\xd4Y\x1e\xd2\xab\x92%\xe4t\xae\xef\xe0F@\xcb?08N\xcf\x9e8\x9e\xb1e*\x8dd\xb2\xbd]\xb0', &(0x7f00000004c0)='vfat\x00', &(0x7f0000000500)='vfat\x00', &(0x7f0000000540)='\x00'], 0x100) r7 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r7, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0xfffffffe) [ 2653.494579] loop2: detected capacity change from 0 to 40 [ 2653.500744] loop6: detected capacity change from 0 to 40 [ 2653.504457] loop5: detected capacity change from 0 to 127 22:44:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:44:12 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r2, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r2, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r2, 0x6, 0x13, &(0x7f0000000000), 0x4) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r3, 0x4004662b, &(0x7f0000000340)=0x1) vmsplice(0xffffffffffffffff, &(0x7f0000000580)=[{&(0x7f00000003c0)="9cf0c0bfb0256b753d3005782b971299effe3c079d1a4c73d27f930907275bcdcfa3c7e81c8f6e3b9d5f6525a919c7c33c612f89a089e5699bc218573964648ef7fa064e7a36a7f21b813ecae75f597881534c0b3c4db46f15b467362a6f37f8baf9e35af0016539764eb211095d96e2430a2b92b594fdc490f7631b7c2da58b388bb4e6cf4824ff595e16b7b61db6ae725521d8ee8086e0339dd432e5c2e8d117a63000502ce46088693e941e551313c2013f538eab9e67bea0cfdd69f316d1c0d964e8562ad96d8df46269b5ee3b424833aa6588d08dee1cb1", 0xda}, {&(0x7f00000004c0)="4b64c7cd00bdc50365ea4060cc3abbe6714eb7db0b8c2428612890e3246dc4c1a7ec018f287f1d655c28ff2cf95b8f76ac68553a9d2067a0f540d7d68a39afa514584c6d8c8e9b7f796c5670650408fb908903275387a2b3dd9a38b494764a349bb24a991f8009323f19dda3514afbc6be9fcd0af3ffae0a1c31038a6e4d48a7ee75f6272bf182d6a41072dccb73756ab67d2d81abf9bee197759367f359bda8c60b73e4f1097352b0645b0a8a2e69a51a5af48575fcb36ad821", 0xba}], 0x2, 0x4) openat(r0, &(0x7f00000000c0)='./file1\x00', 0x2a0481, 0x40) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r4, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r4, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) setsockopt$inet6_tcp_TCP_MD5SIG(r4, 0x6, 0xe, &(0x7f0000000240)={@in6={{0xa, 0x4e23, 0x200, @private0={0xfc, 0x0, '\x00', 0x1}, 0x1}}, 0x0, 0x0, 0x14, 0x0, "ffc88ac0258a556b84aa01a0853ac315a4ee3c100f572961fb8dfbb46e770e2e247388241af5a91491f2e8cc3e5cb233c5e97bc0bb09f72fcf3a00f9689fabb8036c85a3c7800d2abd496c755cf9cd5c"}, 0xd8) sendfile(r2, r3, &(0x7f0000000040)=0x9, 0x100000001) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$AUTOFS_DEV_IOCTL_CATATONIC(r1, 0xc0189379, &(0x7f00000001c0)={{0x1, 0x1, 0x18, r1}, './file1\x00'}) openat(r5, &(0x7f0000000200)='./file0\x00', 0x80200, 0x145) [ 2653.514897] FAT-fs (loop5): Unrecognized mount option "" or missing value [ 2653.516553] loop3: detected capacity change from 0 to 40 22:44:12 executing program 4: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2653.531019] loop0: detected capacity change from 0 to 40 [ 2653.550454] loop5: detected capacity change from 0 to 264192 [ 2653.554103] loop7: detected capacity change from 0 to 40 22:44:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x74000000}) 22:44:12 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:44:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) open$dir(&(0x7f0000000040)='./file1\x00', 0x400200, 0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2653.612540] FAULT_INJECTION: forcing a failure. [ 2653.612540] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2653.613223] loop5: detected capacity change from 0 to 127 [ 2653.614276] CPU: 0 PID: 13242 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2653.615769] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2653.616867] Call Trace: [ 2653.617234] [ 2653.617560] dump_stack_lvl+0xc1/0xf0 [ 2653.618121] should_fail_ex+0x4b4/0x5b0 [ 2653.618706] prepare_alloc_pages+0x178/0x500 [ 2653.619349] __alloc_pages+0x149/0x510 [ 2653.619910] ? __pfx___alloc_pages+0x10/0x10 [ 2653.620547] ? __pfx___lock_acquire+0x10/0x10 [ 2653.621202] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2653.621866] alloc_pages+0x1a0/0x260 [ 2653.622403] filemap_alloc_folio+0x374/0x410 [ 2653.623050] ? __pfx_lock_release+0x10/0x10 [ 2653.623673] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2653.624383] ? xas_load+0x6a/0x140 [ 2653.624897] __filemap_get_folio+0x32b/0xcd0 [ 2653.625288] FAT-fs (loop5): Unrecognized mount option "" or missing value [ 2653.625521] ? __pfx___filemap_get_folio+0x10/0x10 [ 2653.626756] ? lock_is_held_type+0x9f/0x120 [ 2653.627383] ? find_held_lock+0x2c/0x110 [ 2653.627972] pagecache_get_page+0x2e/0x130 [ 2653.628589] ? __pfx_fat_get_block+0x10/0x10 [ 2653.629211] block_write_begin+0x35/0x450 [ 2653.629817] cont_write_begin+0x4fe/0x700 [ 2653.630424] ? lock_is_held_type+0x9f/0x120 [ 2653.631045] ? __pfx_fat_get_block+0x10/0x10 [ 2653.631675] ? __pfx_cont_write_begin+0x10/0x10 [ 2653.632336] ? __mark_inode_dirty+0x249/0xee0 [ 2653.632998] ? generic_write_end+0x1fe/0x3d0 [ 2653.633631] fat_write_begin+0x89/0x180 [ 2653.634212] ? __pfx_fat_get_block+0x10/0x10 [ 2653.634846] cont_write_begin+0x2fc/0x700 [ 2653.635449] ? __pfx_fat_get_block+0x10/0x10 [ 2653.636078] ? __pfx_cont_write_begin+0x10/0x10 [ 2653.636733] ? lock_release+0x1e3/0x710 [ 2653.637324] ? __pfx_fault_in_readable+0x10/0x10 [ 2653.638008] fat_write_begin+0x89/0x180 [ 2653.638565] ? __pfx_fat_get_block+0x10/0x10 [ 2653.638830] loop4: detected capacity change from 0 to 40 [ 2653.639186] generic_perform_write+0x25a/0x580 [ 2653.640261] ? __pfx_generic_perform_write+0x10/0x10 [ 2653.640962] ? __pfx_fat_update_time+0x10/0x10 [ 2653.641611] ? __pfx_file_update_time+0x10/0x10 [ 2653.642297] ? generic_write_checks+0x2c0/0x400 [ 2653.642965] __generic_file_write_iter+0x308/0x4b0 [ 2653.643667] generic_file_write_iter+0xe7/0x350 [ 2653.644330] do_iter_readv_writev+0x211/0x3c0 [ 2653.644978] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2653.645686] ? avc_policy_seqno+0xd/0x70 [ 2653.646302] ? security_file_permission+0xb5/0xe0 [ 2653.647006] do_iter_write+0x18b/0x700 [ 2653.647578] ? __x64_sys_pwritev+0x233/0x310 [ 2653.648191] ? lock_is_held_type+0x9f/0x120 [ 2653.648822] vfs_writev+0x1ae/0x660 [ 2653.649358] ? __pfx_vfs_writev+0x10/0x10 [ 2653.649963] ? __fget_files+0x24e/0x480 [ 2653.650533] ? lock_release+0x1e3/0x710 [ 2653.651130] ? lock_acquire+0x32/0xc0 [ 2653.651683] ? __pfx___fget_files+0x10/0x10 [ 2653.652305] ? __fget_files+0x270/0x480 [ 2653.652893] __x64_sys_pwritev+0x233/0x310 [ 2653.653483] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2653.654173] do_syscall_64+0x3f/0x90 [ 2653.654705] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2653.655422] RIP: 0033:0x7fdf12d79b19 [ 2653.655939] 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 [ 2653.658373] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2653.659309] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2653.660174] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2653.661036] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2653.661917] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2653.662785] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2653.663680] 22:44:12 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x0, 0x0) [ 2653.672347] loop5: detected capacity change from 0 to 264192 22:44:12 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:44:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) [ 2653.715952] loop1: detected capacity change from 0 to 40 22:44:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000040)='./file0\x00') chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2653.751927] loop3: detected capacity change from 0 to 40 [ 2653.755990] loop4: detected capacity change from 0 to 40 [ 2653.756819] loop0: detected capacity change from 0 to 40 [ 2653.786312] loop6: detected capacity change from 0 to 40 [ 2653.822529] loop5: detected capacity change from 0 to 40 [ 2653.884854] kworker/u4:5: attempt to access beyond end of device [ 2653.884854] loop2: rw=1, sector=2684, nr_sectors = 1424 limit=40 [ 2653.886433] kworker/u4:5: attempt to access beyond end of device [ 2653.886433] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2653.887663] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:44:24 executing program 0: r0 = openat2(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', &(0x7f00000000c0)={0x2000, 0x110}, 0x18) r1 = eventfd(0xcc6) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) pwrite64(r2, &(0x7f0000000240)="7926dfac1d68cc8f42f8b9cfec9e13c07de017a90f3083756dfc2b2ea33a0ea5167e99c43d72a81184b277a6748dba667dc4c68d459c08c5245d90b08a0b570e2a934f4c2f7f4ac81ec7e3dba757962c9596b3c4fdd086df2c157ae06fbc990d19dd87d0477bd80d4c97ab8644a8246c244e5816e7b5d07ee010b1a72319cc26b676fa33c1cc977f5c66e8b0f932", 0x8e, 0x6) io_uring_register$IORING_REGISTER_EVENTFD(r0, 0x4, &(0x7f00000001c0)=r1, 0x1) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) chroot(&(0x7f0000000200)='./file1\x00') pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:24 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat$vcs(0xffffffffffffff9c, &(0x7f00000000c0), 0x180, 0x0) openat(r0, &(0x7f00000001c0)='./file1\x00', 0x4c0600, 0x183) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) creat(&(0x7f0000000040)='./file0\x00', 0x69) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:24 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{}], 0x1, 0x0, 0x0) 22:44:24 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x77070000}) 22:44:24 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2665.777846] loop7: detected capacity change from 0 to 40 [ 2665.786111] loop4: detected capacity change from 0 to 40 [ 2665.787926] loop2: detected capacity change from 0 to 40 [ 2665.805441] loop1: detected capacity change from 0 to 40 [ 2665.811351] loop5: detected capacity change from 0 to 40 22:44:24 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 35) 22:44:24 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x141042, 0x1a) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:24 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 15) [ 2665.832819] loop3: detected capacity change from 0 to 40 22:44:25 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:44:25 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2665.985762] loop0: detected capacity change from 0 to 40 [ 2666.038632] loop6: detected capacity change from 0 to 40 [ 2666.043825] FAULT_INJECTION: forcing a failure. [ 2666.043825] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2666.045404] CPU: 0 PID: 13281 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2666.046443] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2666.047498] Call Trace: [ 2666.047845] [ 2666.048164] dump_stack_lvl+0xc1/0xf0 [ 2666.048698] should_fail_ex+0x4b4/0x5b0 [ 2666.049263] prepare_alloc_pages+0x178/0x500 [ 2666.049879] __alloc_pages+0x149/0x510 [ 2666.050429] ? __pfx___alloc_pages+0x10/0x10 [ 2666.051039] ? __pfx___lock_acquire+0x10/0x10 [ 2666.051672] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2666.052297] alloc_pages+0x1a0/0x260 [ 2666.052816] filemap_alloc_folio+0x374/0x410 [ 2666.053447] ? __pfx_lock_release+0x10/0x10 [ 2666.054090] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2666.054789] ? xas_load+0x6a/0x140 [ 2666.055293] __filemap_get_folio+0x32b/0xcd0 [ 2666.055926] ? __pfx___filemap_get_folio+0x10/0x10 [ 2666.056614] ? lock_is_held_type+0x9f/0x120 [ 2666.057220] ? find_held_lock+0x2c/0x110 [ 2666.057803] pagecache_get_page+0x2e/0x130 [ 2666.058404] ? __pfx_fat_get_block+0x10/0x10 [ 2666.059020] block_write_begin+0x35/0x450 [ 2666.059608] cont_write_begin+0x4fe/0x700 [ 2666.060190] ? lock_is_held_type+0x9f/0x120 [ 2666.060799] ? __pfx_fat_get_block+0x10/0x10 [ 2666.061422] ? __pfx_cont_write_begin+0x10/0x10 [ 2666.062078] ? __mark_inode_dirty+0x249/0xee0 [ 2666.062721] ? generic_write_end+0x1fe/0x3d0 [ 2666.063341] fat_write_begin+0x89/0x180 [ 2666.063890] ? __pfx_fat_get_block+0x10/0x10 [ 2666.064512] cont_write_begin+0x2fc/0x700 [ 2666.065107] ? __pfx_fat_get_block+0x10/0x10 [ 2666.065722] ? __pfx_cont_write_begin+0x10/0x10 [ 2666.066369] ? lock_release+0x1e3/0x710 [ 2666.066950] ? __pfx_fault_in_readable+0x10/0x10 [ 2666.067612] fat_write_begin+0x89/0x180 [ 2666.068166] ? __pfx_fat_get_block+0x10/0x10 [ 2666.068786] generic_perform_write+0x25a/0x580 [ 2666.069429] ? __pfx_generic_perform_write+0x10/0x10 [ 2666.070124] ? __pfx_fat_update_time+0x10/0x10 [ 2666.070758] ? __pfx_file_update_time+0x10/0x10 [ 2666.071415] ? generic_write_checks+0x2c0/0x400 [ 2666.072068] __generic_file_write_iter+0x308/0x4b0 [ 2666.072753] generic_file_write_iter+0xe7/0x350 [ 2666.073405] do_iter_readv_writev+0x211/0x3c0 [ 2666.074066] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2666.074757] ? avc_policy_seqno+0xd/0x70 [ 2666.075344] ? security_file_permission+0xb5/0xe0 [ 2666.076032] do_iter_write+0x18b/0x700 [ 2666.076584] ? __x64_sys_pwritev+0x233/0x310 [ 2666.077187] ? lock_is_held_type+0x9f/0x120 [ 2666.077805] vfs_writev+0x1ae/0x660 [ 2666.078341] ? __pfx_vfs_writev+0x10/0x10 [ 2666.078928] ? __fget_files+0x24e/0x480 [ 2666.079479] ? lock_release+0x1e3/0x710 [ 2666.080066] ? lock_acquire+0x32/0xc0 [ 2666.080612] ? __pfx___fget_files+0x10/0x10 [ 2666.081216] ? __fget_files+0x270/0x480 [ 2666.081795] __x64_sys_pwritev+0x233/0x310 [ 2666.082376] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2666.083042] do_syscall_64+0x3f/0x90 [ 2666.083565] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2666.084264] RIP: 0033:0x7fdf12d79b19 [ 2666.084772] 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 [ 2666.087128] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2666.088129] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2666.089067] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2666.090007] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2666.090947] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2666.091882] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2666.092855] [ 2666.120587] kworker/u4:7: attempt to access beyond end of device [ 2666.120587] loop2: rw=1, sector=2604, nr_sectors = 1504 limit=40 [ 2666.122884] kworker/u4:7: attempt to access beyond end of device [ 2666.122884] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2666.123699] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:44:25 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 16) 22:44:25 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) open(&(0x7f0000000040)='./file2\x00', 0x408002, 0x41) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:25 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x7a000000}) [ 2666.268822] loop1: detected capacity change from 0 to 40 22:44:25 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 36) 22:44:25 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2666.345785] loop2: detected capacity change from 0 to 40 [ 2666.349360] loop5: detected capacity change from 0 to 40 [ 2666.349486] loop3: detected capacity change from 0 to 40 [ 2666.376486] FAULT_INJECTION: forcing a failure. [ 2666.376486] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2666.378177] CPU: 0 PID: 13312 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2666.379206] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2666.380255] Call Trace: [ 2666.380604] [ 2666.380921] dump_stack_lvl+0xc1/0xf0 [ 2666.381455] should_fail_ex+0x4b4/0x5b0 [ 2666.382036] prepare_alloc_pages+0x178/0x500 [ 2666.382653] __alloc_pages+0x149/0x510 [ 2666.383194] ? __pfx___alloc_pages+0x10/0x10 [ 2666.383815] ? __pfx___lock_acquire+0x10/0x10 [ 2666.384446] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2666.385079] alloc_pages+0x1a0/0x260 [ 2666.385604] filemap_alloc_folio+0x374/0x410 [ 2666.386245] ? __pfx_lock_release+0x10/0x10 [ 2666.386858] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2666.387555] ? xas_load+0x6a/0x140 [ 2666.388065] __filemap_get_folio+0x32b/0xcd0 [ 2666.388687] ? __pfx___filemap_get_folio+0x10/0x10 [ 2666.389376] ? lock_is_held_type+0x9f/0x120 [ 2666.390010] ? find_held_lock+0x2c/0x110 [ 2666.390592] pagecache_get_page+0x2e/0x130 [ 2666.390692] loop7: detected capacity change from 0 to 40 [ 2666.391175] ? __pfx_fat_get_block+0x10/0x10 [ 2666.392129] block_write_begin+0x35/0x450 [ 2666.392718] cont_write_begin+0x4fe/0x700 [ 2666.393316] ? lock_is_held_type+0x9f/0x120 [ 2666.393927] ? __pfx_fat_get_block+0x10/0x10 [ 2666.394561] ? __pfx_cont_write_begin+0x10/0x10 [ 2666.395208] ? __mark_inode_dirty+0x249/0xee0 [ 2666.395854] ? generic_write_end+0x1fe/0x3d0 [ 2666.396478] fat_write_begin+0x89/0x180 [ 2666.397030] ? __pfx_fat_get_block+0x10/0x10 [ 2666.397651] cont_write_begin+0x2fc/0x700 [ 2666.398254] ? __pfx_fat_get_block+0x10/0x10 [ 2666.398870] ? __pfx_cont_write_begin+0x10/0x10 [ 2666.399512] ? lock_release+0x1e3/0x710 [ 2666.400092] ? __pfx_fault_in_readable+0x10/0x10 [ 2666.400756] fat_write_begin+0x89/0x180 [ 2666.401303] ? __pfx_fat_get_block+0x10/0x10 [ 2666.401927] generic_perform_write+0x25a/0x580 [ 2666.402588] ? __pfx_generic_perform_write+0x10/0x10 [ 2666.403278] ? __pfx_fat_update_time+0x10/0x10 [ 2666.403916] ? __pfx_file_update_time+0x10/0x10 [ 2666.404572] ? generic_write_checks+0x2c0/0x400 [ 2666.405224] __generic_file_write_iter+0x308/0x4b0 [ 2666.405907] generic_file_write_iter+0xe7/0x350 [ 2666.406576] do_iter_readv_writev+0x211/0x3c0 [ 2666.407214] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2666.407907] ? avc_policy_seqno+0xd/0x70 [ 2666.408493] ? security_file_permission+0xb5/0xe0 [ 2666.409183] do_iter_write+0x18b/0x700 [ 2666.409746] ? __x64_sys_pwritev+0x233/0x310 [ 2666.410356] ? lock_is_held_type+0x9f/0x120 [ 2666.410981] vfs_writev+0x1ae/0x660 [ 2666.411508] ? __pfx_vfs_writev+0x10/0x10 [ 2666.412093] ? __fget_files+0x24e/0x480 [ 2666.412652] ? lock_release+0x1e3/0x710 [ 2666.413239] ? lock_acquire+0x32/0xc0 [ 2666.413783] ? __pfx___fget_files+0x10/0x10 [ 2666.414411] ? __fget_files+0x270/0x480 [ 2666.414993] __x64_sys_pwritev+0x233/0x310 [ 2666.415574] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2666.416241] do_syscall_64+0x3f/0x90 [ 2666.416764] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2666.417457] RIP: 0033:0x7fe786258b19 [ 2666.417973] 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 [ 2666.420323] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2666.421324] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2666.422260] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2666.423193] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2666.424131] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000002 [ 2666.425065] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2666.426034] [ 2666.444034] loop4: detected capacity change from 0 to 40 [ 2666.601720] kworker/u4:7: attempt to access beyond end of device [ 2666.601720] loop7: rw=1, sector=3500, nr_sectors = 608 limit=40 [ 2666.603304] kworker/u4:7: attempt to access beyond end of device [ 2666.603304] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2666.604125] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:44:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 37) 22:44:37 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x721040, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:37 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:44:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xf6ff0000}) 22:44:37 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 17) 22:44:37 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file2\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x10) ioctl$AUTOFS_DEV_IOCTL_CATATONIC(r0, 0xc0189379, &(0x7f0000000040)={{0x1, 0x1, 0x18, r0}, './file0\x00'}) openat(r1, &(0x7f00000000c0)='./file1\x00', 0x50800, 0x4) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2678.837869] loop3: detected capacity change from 0 to 40 [ 2678.839494] loop2: detected capacity change from 0 to 40 22:44:38 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = openat$vcsa(0xffffffffffffff9c, &(0x7f0000000040), 0x8140, 0x0) ioctl$BTRFS_IOC_QUOTA_RESCAN(r2, 0x4040942c, &(0x7f00000000c0)={0x0, 0x8000, [0x5, 0x81, 0x2, 0x8, 0x8, 0xffffffffffffff00]}) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2678.847184] loop0: detected capacity change from 0 to 40 [ 2678.851848] loop7: detected capacity change from 0 to 40 [ 2678.874285] loop5: detected capacity change from 0 to 40 [ 2678.882106] loop1: detected capacity change from 0 to 40 [ 2678.889537] loop4: detected capacity change from 0 to 40 [ 2678.895277] loop6: detected capacity change from 0 to 40 22:44:38 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xfff7ffff}) [ 2678.917946] FAULT_INJECTION: forcing a failure. [ 2678.917946] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2678.919895] CPU: 1 PID: 13334 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2678.921055] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2678.922274] Call Trace: [ 2678.922667] [ 2678.923010] dump_stack_lvl+0xc1/0xf0 [ 2678.923601] should_fail_ex+0x4b4/0x5b0 [ 2678.924207] prepare_alloc_pages+0x178/0x500 [ 2678.924906] __alloc_pages+0x149/0x510 [ 2678.925503] ? __pfx___alloc_pages+0x10/0x10 [ 2678.926189] ? __pfx___lock_acquire+0x10/0x10 [ 2678.926889] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2678.927581] alloc_pages+0x1a0/0x260 [ 2678.928148] filemap_alloc_folio+0x374/0x410 [ 2678.928844] ? __pfx_lock_release+0x10/0x10 [ 2678.929517] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2678.930279] ? xas_load+0x6a/0x140 [ 2678.930832] __filemap_get_folio+0x32b/0xcd0 [ 2678.931526] ? __pfx___filemap_get_folio+0x10/0x10 [ 2678.932267] ? lock_is_held_type+0x9f/0x120 [ 2678.932928] ? find_held_lock+0x2c/0x110 [ 2678.933546] pagecache_get_page+0x2e/0x130 [ 2678.934214] ? __pfx_fat_get_block+0x10/0x10 [ 2678.934874] block_write_begin+0x35/0x450 [ 2678.935505] cont_write_begin+0x4fe/0x700 [ 2678.936162] ? lock_is_held_type+0x9f/0x120 [ 2678.936841] ? __pfx_fat_get_block+0x10/0x10 [ 2678.937523] ? __pfx_cont_write_begin+0x10/0x10 [ 2678.938203] ? __mark_inode_dirty+0x249/0xee0 [ 2678.938900] ? generic_write_end+0x1fe/0x3d0 [ 2678.939565] fat_write_begin+0x89/0x180 [ 2678.940168] ? __pfx_fat_get_block+0x10/0x10 [ 2678.940840] cont_write_begin+0x2fc/0x700 [ 2678.941479] ? __pfx_fat_get_block+0x10/0x10 [ 2678.942145] ? __pfx_cont_write_begin+0x10/0x10 [ 2678.942853] ? lock_release+0x1e3/0x710 [ 2678.943472] ? __pfx_fault_in_readable+0x10/0x10 [ 2678.944194] fat_write_begin+0x89/0x180 [ 2678.944788] ? __pfx_fat_get_block+0x10/0x10 [ 2678.945463] generic_perform_write+0x25a/0x580 [ 2678.946178] ? __pfx_generic_perform_write+0x10/0x10 [ 2678.946924] ? __pfx_fat_update_time+0x10/0x10 [ 2678.947603] ? __pfx_file_update_time+0x10/0x10 [ 2678.948326] ? generic_write_checks+0x2c0/0x400 [ 2678.949034] __generic_file_write_iter+0x308/0x4b0 [ 2678.949786] generic_file_write_iter+0xe7/0x350 [ 2678.950515] do_iter_readv_writev+0x211/0x3c0 [ 2678.951218] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2678.951982] ? avc_policy_seqno+0xd/0x70 [ 2678.952622] ? security_file_permission+0xb5/0xe0 [ 2678.953374] do_iter_write+0x18b/0x700 [ 2678.953979] ? __x64_sys_pwritev+0x233/0x310 [ 2678.954654] ? lock_is_held_type+0x9f/0x120 [ 2678.955324] vfs_writev+0x1ae/0x660 [ 2678.955885] ? __pfx_vfs_writev+0x10/0x10 [ 2678.956509] ? __fget_files+0x24e/0x480 [ 2678.957103] ? lock_release+0x1e3/0x710 [ 2678.957715] ? lock_acquire+0x32/0xc0 [ 2678.958336] ? __pfx___fget_files+0x10/0x10 [ 2678.958978] ? __fget_files+0x270/0x480 [ 2678.959187] loop3: detected capacity change from 0 to 40 [ 2678.959578] __x64_sys_pwritev+0x233/0x310 [ 2678.960579] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2678.961287] do_syscall_64+0x3f/0x90 [ 2678.961849] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2678.962619] RIP: 0033:0x7fdf12d79b19 [ 2678.963171] 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 [ 2678.965709] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2678.966796] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2678.967806] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2678.968800] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2678.969799] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2678.970804] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2678.971858] 22:44:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') lsetxattr$trusted_overlay_nlink(&(0x7f0000000040)='./file0\x00', &(0x7f00000000c0), &(0x7f00000001c0)={'U+', 0x3f}, 0x16, 0x2) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:38 executing program 5: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$AUTOFS_DEV_IOCTL_VERSION(r1, 0xc0189371, &(0x7f0000000040)={{0x1, 0x1, 0x18, r0}, './file0\x00'}) getsockname(r1, &(0x7f00000001c0)=@pppol2tpv3={0x18, 0x1, {0x0, 0xffffffffffffffff, {0x2, 0x0, @initdev}}}, &(0x7f00000000c0)=0x80) write$binfmt_aout(r2, &(0x7f0000000240)={{0x107, 0x2, 0x4, 0x2f7, 0x14b, 0x9, 0x2b9, 0x23}, "23e679bde2a0c9d179a8c1962009c501948a629f91545d9b3f9cdb0a37fbde362bcf444e20614cfe2db5413254c9ef410c8746055a05fbc2f39a2e0ae473e890f0ded8ffce5d59d68d9c4868a523a730b3f46528958d5b87fe1a16fd51f2f5058b4d9ceb12a6f6f69218d59966dee8017d8e3401aeffd4c315c67b29814058d5561a18b4b04cef", ['\x00']}, 0x1a7) [ 2678.983951] loop0: detected capacity change from 0 to 40 22:44:38 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2679.013049] loop5: detected capacity change from 0 to 40 22:44:38 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:44:38 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r0 = openat$vga_arbiter(0xffffffffffffff9c, &(0x7f0000000040), 0x109000, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x20, 0x0) r1 = socket$inet_icmp_raw(0x2, 0x3, 0x1) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) dup2(r1, r2) 22:44:38 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xffffe000}) 22:44:38 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f00000002c0)=[{&(0x7f0000000040)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r1 = fsmount(0xffffffffffffffff, 0x0, 0x70) openat(r1, &(0x7f0000000280)='./file0\x00', 0x40002, 0x10) r2 = openat$sr(0xffffffffffffff9c, &(0x7f00000000c0), 0x400, 0x0) openat(r2, &(0x7f00000001c0)='./file1\x00', 0x20000, 0xc0) move_mount(r0, &(0x7f0000000200)='./file0\x00', r0, &(0x7f0000000240)='./file1\x00', 0x4) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r3, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r3, &(0x7f0000000300)='./file1\x00', 0x24100, 0x8) chdir(&(0x7f0000000180)='./file0\x00') r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r5 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r5, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r5, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) fchownat(r5, &(0x7f0000000380)='./file1\x00', 0x0, 0xee01, 0x1000) pwritev(r4, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2679.100782] loop1: detected capacity change from 0 to 40 [ 2679.105447] loop0: detected capacity change from 0 to 40 [ 2679.122684] loop3: detected capacity change from 0 to 40 [ 2679.158810] loop6: detected capacity change from 0 to 40 [ 2679.341855] kworker/u4:8: attempt to access beyond end of device [ 2679.341855] loop2: rw=1, sector=2660, nr_sectors = 1448 limit=40 [ 2679.345526] kworker/u4:8: attempt to access beyond end of device [ 2679.345526] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2679.346685] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:44:50 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xfffff7ff}) 22:44:50 executing program 0: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) open$dir(&(0x7f0000000040)='./file0\x00', 0xc00, 0x12) 22:44:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:44:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:44:50 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 38) 22:44:50 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 18) 22:44:50 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = syz_io_uring_setup(0x3, &(0x7f0000000080), &(0x7f00000a0000)=nil, &(0x7f0000ffe000/0x2000)=nil, &(0x7f0000000100)=0x0, &(0x7f0000000180)=0x0) syz_io_uring_submit(r2, r3, &(0x7f0000000040)=@IORING_OP_ASYNC_CANCEL, 0x0) syz_io_uring_submit(r2, 0x0, &(0x7f00000000c0)=@IORING_OP_LINK_TIMEOUT={0xf, 0x3, 0x0, 0x0, 0x0, &(0x7f0000000040)={0x0, 0x3938700}, 0x1, 0x0, 0x1}, 0x7) syz_io_uring_setup(0x3, &(0x7f0000000080), &(0x7f00000a0000)=nil, &(0x7f0000ffe000/0x2000)=nil, &(0x7f0000000100)=0x0, &(0x7f0000000180)=0x0) syz_io_uring_submit(r4, r5, &(0x7f0000000040)=@IORING_OP_ASYNC_CANCEL, 0x0) r6 = io_uring_register$IORING_REGISTER_PERSONALITY(r1, 0x9, 0x0, 0x0) syz_io_uring_setup(0x3, &(0x7f0000000080), &(0x7f00000a0000)=nil, &(0x7f0000ffe000/0x2000)=nil, &(0x7f0000000100)=0x0, &(0x7f0000000180)=0x0) syz_io_uring_submit(r7, r8, &(0x7f0000000040)=@IORING_OP_ASYNC_CANCEL, 0x0) syz_io_uring_setup(0x59c0, &(0x7f00000029c0)={0x0, 0x44ef, 0x0, 0x3, 0x60}, &(0x7f0000ffe000/0x2000)=nil, &(0x7f0000ffc000/0x4000)=nil, &(0x7f0000002a40), &(0x7f0000002a80)=0x0) r10 = io_uring_register$IORING_REGISTER_PERSONALITY(r0, 0x9, 0x0, 0x0) syz_io_uring_submit(r7, r9, &(0x7f0000002ac0)=@IORING_OP_POLL_REMOVE={0x7, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, r10}}, 0x4) syz_io_uring_submit(r4, r3, &(0x7f0000002980)=@IORING_OP_SENDMSG={0x9, 0x4, 0x0, r0, 0x0, &(0x7f0000002940)={&(0x7f00000001c0)=@ax25={{0x3, @netrom={0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0x0, 0x0}, 0x6}, [@null, @remote={0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x2}, @bcast, @netrom={0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0x0, 0x0}, @bcast, @netrom={0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0x0, 0x0}, @rose={0xbb, 0xbb, 0xbb, 0x1, 0x0}, @rose={0xbb, 0xbb, 0xbb, 0x1, 0x0}]}, 0x80, &(0x7f00000026c0)=[{&(0x7f0000000240)="0ecb9e8bd9f91e387b13afef9c27d380d98c5d6652e0205aac4e3682d14da1b999", 0x21}, {&(0x7f0000000280)="b1ab7def76af13ba2b6a837b0fcbcd9cfb9b5416126f7e3b265951a650996b669e2dbaca2ccbd5ad6cb572c261786de175d549e05f230eac883bdf31e8e890b924664aa914d811c837bfa968bcbe78ebef063e8fcf5bec1ce9c98f9bfdb8f95a8cc8e4ba005655ead5b497f3a575f68f41d73efbbb874d67b34a658456911f7f6cd1315990f768fca09ad9122090e8b76428d5ed97d1fae5cb64a728dbba3181123e729a6b87", 0xa6}, {&(0x7f0000000340)="c31e794e834f949fd46b14ba43c5d192e31531d68eae4311f94f71226f57e7d293421ae2eb2684514054eb2c0556c6cb0c186518d160cf890183935ec7f050cf4c313f53cb8adf362487aa9a2c1f1afaed414508877d60eebbcb4a59a57086d0afad9bbfb01c7584cd92c3d49ccb98b620f648b52cef706b3fabf4a8409b9c390d8460f09a5bad3c588244b56c114ef904ff7cfb02b88c14d843", 0x9a}, {&(0x7f0000000400)="35be8a1c4a32174da42cb515d14932109082f3e505fc46686c572dc6123108d65a3418f52c9b0073adf540a438e7846cf54da4477550c96f90d52cb91b7a0501304feec3450e4cc0598fcc5565e58b4f5c25d73011bf72206c0cc729b58a6d4a7a3c7679e1ca52fea894c8e6cab97ecf704439ca5f21ef7efae84e8b98b642d67686e36a78a3dcbf3354d2d57ac196096b3db9b1ea67b4f34447fc17b0d3d73dac5cbbeda0d5686ec24ec0567cb62033eb089d7234d18221b7e9cdeaa9e707e40229e7811e6485e8837dfb7735c1dad7412ff8dcc6ae0f5bb75db8cd4e4cbbecfce476a005a5cf812a6067d4ec8d31824efdfad02f932b8f2634a65a90fd57655bae75cd85d80858690b6c3432ef9425de060c2bd6e4fb25f455d8320548f945cabcec776014c8140468f382dc25a08612808d699c7d356cd94b23fa6e64b35a196203160ad6c9365005aa759a7a9e13aeb88acdf52ef7dd797df516ff79be9d1894e58099ce7dea0b5b1206b985e6596663050615de834b59345daca0cb0fd4ba46f8d1be0496e50d3cbf8d86543e903d2ad048eecf34fc3f9f26032e0bb9fe050bd892c30af89caba970d10547a4d12277c063167b909af0d58c32f0e83d70cf85ccbcec8354d2b557bd39fe642accb5940cfdb3f5f2342b94764ae9583032bf14c33af6a89936df099d0cb97a5112b2c8f18f051d773051b461ea684b5421d21d4a2b0f825fb56e5c582e052a29777f559bb7128d5f85b957c6377f8c9505abafb5b9c69694189b78226bf6dae4c4dd80dde2bf1641b78570a89f7685653c224c8e12ca8c17901915a3a53f24d1c4a91267029206d982c264ddeebb89d6d4d239d5d5ff0c7b9b0a2f93c76031894f1f0c7aeb7ddf36ea4239212437c15c408e7e5932a21552314099d99593253705215f8e6d22877426bb39f6db088b556fdf2cee16573b8f8e8b0bf58be9ba5a1624dd3ce951352b64a973d3255c72921f0d99f0a12d687a392eb9bb57eb6fb8aeb4094f2bdddb014fbb04e255f0413ba15399ff85a18fb52588fe6af10c7f619c6f78c5ada2ab9cde7ddb214ee090b7fd6e6db691656d8c397e110adea0897e402a70907efd91a3179f3c4702150c0f2ba066d7ba1b9876e203b4cffcf95a63d634a38b7c67d6f14c75534571b7b2c6e1a85421e2888f976c18ec44952ca707b3391d1cbda6f51c3dc5c07033a297892d721edfecdb9a5f438d2f9910dd50aeb5dbde64abb9fb326ff0e26298105977540b0c83dbff45f43a5235bbfe49d8486ec11ce8f5afd7812c7c639448fa4680506724759844ecbec42c66af9155a79f04276afae3444e18090c8022f404a85773ab0a5ed5b7cf2036c0bb798daa42ccf98313a00680b1b4d36e8c655c22fb4372f5adda0e3074c10f8c7b9169a92ed279cb24e2ee54d68bf4c5af0299fcc67d67a8470a89b89a474788edad26968461da752ed1cd0df5077d0f0b43fbc7def94ec5f62c7c025264596e5c75456640d9c5c0ad638baf0ecca27779ffb8542a8c23eaf7de8224010cd1551360feeb09c479aa9ae42600ffbfe9207ad7ade080c9dad183492b4005ab8a9a1def755ecb0e08830ed6f27a3b20189a5467199c73555a6490982b424e13cde8134d5872f51d55d5e8ef43f140fc79aafad43183af146aba4f2eb282c7679b422008d36ccb0b2963ce27089f1e6e81290a546a1a2c7b723dfd40f9efc0e922389f4882258ef7778025f5dbb5eeb9636fe2e0b14e06835a78dc45421bd3e2f56c4721f981590164d1831bfd95a49b7d4982569af5ff9db2a5b93a3929e4641600ba3aeb5357dca244e5315cbfe3fff0bb5b13099828a36f7466d0fe35882e3636ca622f6a7f8cad5715220a5804a11f5d51b26587a2e12d5fc032041a643455a0e26b0b37b6c6fc9bb0a5812dc0df8aad7661408ea30732e7602c49938c393dfb2b5878365fc0f44b610246bde31c4bc6e12004826ef7af6f5bc8f28af01e23cd6a50607300498afdef0dff02339b89212d84040a39d6c6a9f6cb77d289ad1465ef8f00d98b634e88d70dd4a89e052d5cb254ab6af6f97e4843bb02a3fe61fbb0c31a31bac9e15650a2a9faf52230d9059a3858dc9ce203830400f421a9290b992be02a899675447660d1f5199dff5f58018f1c4002aa6989471c5fe95469c7e3f813ab419404c51c9f9c7f8842ed719723ae3f94abcb88aca3bbe92be019c0ac35e8be4b64222683146c51b0ea5b9dc29c27842aaef2825b3223527e1a132d9beeba5b935a1bac5141ae87daa659f904a27b67d1b51e6f43a63a5d1b740867785a9cf8c5f07e7c61b82d3a3e9b0a48483f2620562fad86eb77dd0498223c8ba73b2787445c34b85dd2e678005792959dcc22a58a00233482dc7131000e04f09d812c700ecfb281608d1ccb769272cd8f3d9d7081a36634d2d1024dda54289f4b4b28b37779ff7c8c1e36353dc417fc5018dcb7a4102345e7e8ceeb4909f018ec52f3ab4df9f1b7ec7247f1351d22d4066d5d64da9e013094a51253bc8139417f61d4fce74b2b0e38b050bb7e57d592d137632ed7bc0642c35d998c4072642511dfa6d4cd8c224baea17e70d7e44389a28ce637c5cfbe9a03c856872492dfc8e4e496a9de2c13c305762fb9f71a975db0f188af5b310cc1668c7bd76b3fbd59b43e8ecfbfae5863557403f9411b65c3c38c6435206860f2e231b763c26dd24013aa6e919fe3dd059b0d8236083a4299dc59a1af292689937890d700dd35ac327808d85a5c51fcbfe5275d9ef2e099b267ffc2bb1415019ae28dd7b058afcf6ef9e8b5d3cf4298b196d418c031f79fef816b50ab226e286ed75510c1255be8e466a07850b8ee9a2135f4e8d01fe49311467157fee424c09badb7e91a7ae33288c3966e36ef3ded8907a179baf1c1ae95f4d40d3ff2e1c97352f3b2f4badf538656ec691ef7b81357e46c578fae704b69c049388270b08fa64fae969f1a00f0dcb583b770cd3a1435fad4be702524f138ca7400d6ab88959c0b22d6190d60e17a56c49cca445ff72961020c041958b0547d637e227b8a360406105e2ed95bdb12f8ac4aaf99438fe3064e82674e1e0a94dd3a2f993f91653837be6000501c68dd8897b5350945d2dad52617b2a7362fb0d5f370aa107ac140661f857913fa48110c03f787ab9391635210c7154b62f718ad1f080c037dc9832973d9b1e26d82462ba8f2940756268641bdcd1118b8f186b189460350db231cfda726e9df24d4309373e165cd97a52129c9825facedb0c2c56106f0da5672bf5b0aef540e1a60f9e11d8884b8f15d56918928f0b8d1dca39e32a40e2e1bfefa40b258a0989f8938bcb4f5857c62677c1897a0ccbd3cd5f74a12e8910ecf6ba8da0c287af25e66719a9e70e822d697cd4d5cdd5471e3f2b3b2b9f274864ba1ba86fa8f4c767e7ec13423374caf9ed6e4a6848035131de47e9fdfe3107f58dd92ac5dd6a7fa2ee7ef7973e30dc553556bae6778571ae77918ce114711661506396751fd83f16490e3ef63c3305968dd16b56919c69479be0b9e713918f00c8573940a7489831da30bc31cb1a7efe0826490abaae2eb24075ea0cc581cba90ea9f1619beab46c4eb698f8ae3a2544d9b08445a4518ca78d63b2f552ef67acf3187ae0079db0f7c5ca9aa7b34d6337207089473ca204bad09e26531c8aaf2e16034aba24a4e4ba1b6434417835cfcc93c33ef288377842bb1cfaa13b2d9a93cfd153302b11baff0c5998db849d7cffb59724a54c71a3ba0f45a46a7dd63c9eb4ae9c000509834c469489f1bd8ea2c9aa28626dd8a3ebcc2e83f0b6ca5a8fc3f4426933c249a3604f99902564fb14b938dd8676acdfbcbeb66b1647a498f965bef608d848085b7fc62cfdd6bdb8b705d3f683c735517dca2b80d476d853ebb906ce3261398f321708bb7b8e821d25b7fef8cc21771c2a88eb28045f2b6f1385519ba23f1acfbff530290f5560161618d6bc0c52ecb65e17575c05d0034f31c168d0128c9d45912128ae33f26dcda890c3284977616c53d07940ac9b2873853fcf6317c6e24ad8ecdf4358b57c6d0011967a1f279b363063c2767cc8a1ad43820e639da1512629b595c44428b7980714e5e26dfb6625e0960b28bfa94a9232e41bbb47c3aa8d5349c9ad578ce2b96542742dc72e8f009691068077b442907052a94e3397e7d22dd45fba4f300f1220a64bb5dbd3408e2d70bfb43aceae85e80b63c68e590e4bf5a315d0150d4626b652d283dbd6bd9f168aaaf1489d0df62d71217c562cbbfcc965b63ed317eb935dc91741268a748ab1006ee2b969bf9a02b38129bea98be6bf08f7e2cf329007c448ec0c8219b48c7e3796cd0a13d67687668c7d211c3b2bdca7259642320308d5bfa2c426b419068d3d01e2854793ecce60e7fc78e0bff99e2e01258277b597719d66087dd275010d2952b9501e3738160ebb97ebab124f927f1a5b6f2af2c6f21d4282a94202ddcda71958b9a7181f34fa2d60d26599171da650a5d062e6add96364a4f28475af3833e7f000741781e78b45bed7ebd373baa1f54ac1effa026d0415e840bbcf5024e8e15a5b8a6da9b5e0879ee5f6f50b7d39ca488fcf5c2b75ad92886bdacaa20604e8ca3a82e372c57b017e83d0d030db6d2f34f3061ba0cfc7a993ea3ed097c8e7e9a6f59d627b67421b7084f8d417faf09a0f081e54c4433b9107a06b79389575741e2a63cb896d734ef4d4da22000c445484a3b7dc9d8c6b5d0034667db8e5f837fa0d1a95feb1dc8dd53550334b1d95f87d611754b994cd69b42de00cea8289560584add6d92cc3290837889224f64d42621eb0344d50fccab7ead8617066f9cb103b626a34985afd550f4687a40ee6555d4b2764b0aff82276d833c1ece796f6fd40f8e66bed98c67c7bd4cf4e8c177740a58cd117938e0564e6731203d78d287203739d3d946b77b38991d1f915babd2583131264be9bd2e59a5c1ce5a1786279e1ca618f0f9158ea5c06581dfbdfb240471d4c48c53998c8ad12d176c1e1fda6f945968c037915dd2bc210fe6c289238e6f4bf8311a2f7e753d5770198aab4d4cda6943cdfb6f21f50aea77eebab55891b709a81ec4ff72acb8269489aa735ad21a1be0a0eadd7b32ce053371eac370b01f8bde3b7d92db46fa9eae44b8c78a1e710a1576d25f7285da9c6cbe37a6c154814b5ab1208cfab21fc05105c8d1a4c85e536bbb3dd69fbd426043e178c801d523e7b4fe43b2f1409284d14d100c8da94df04332197f49b67982d601af8bc7964f690580943a1344ee0e5dc67eed0c75edcb4f7265f15e11ff8c2b482f1e8979cf64a8f5ad6fe21058c7f9f903f0366ccab22576eec0ca55b23633a8bf22e32ecd8783af264465b6ed1b59051e3cfc2b46e9f33d41af870b480869c28c72cbf86e357f39029515698fb2235e75d82fdb344ae65739941edde58d0f43b52f334a419c219ea723f6dea2b40bd83c465801c0ef35ffcedce8afb9bb344a5b9dc38a34d427dc1b831c1e1fd882c1ef8532c9874641525d359b2ad43b1d5e4e58b80c03be4f4930e3d9783d6e25c416798867903ae231e60fda485440c0154a111be045272b32710ddae5241deea364f869d37e82d3d2c721054744c636aaad98e29e1f998a9008b5c128b6472afe9710e41274bcfbd1b224be8bce105ec19aa40ff87932a15e3f10700c9716929ae5e12140a072ad2ea483c0d679d307e85e58c5e9e315bd24f8152e4d92d105ac182ff6f3bc34455d3b8e0b23", 0x1000}, {&(0x7f0000001400)="1b7c92", 0x3}, {&(0x7f0000001440)="58632c1d97feee3c6945e19413920332420ec6f07eceaf87ae447f094830600c5a95d01568edc49fb3e727caddce50f05a8d1bb335c9b7442494c8d4604bcad6847b89995b67b9ddd128536a350c57e39d945e6e7856d83f2fbf444b1213a21480785c82dbabd9824454a8099ba59376478c4ab851d9e363b55ce0796f0a40713959a63158bc936ee9c96b89a5e435fb26c8160fed40a8eb578ed966d4a9895e5cbe5065a268ffe5f20bee7237b654a834105def7a3b9cc4230662a55864665ece6e1c5dadd7dd4c1f1527923f6c6e4be5edde35decdb26cdbf80b63e6b644275571f1e096c4525b4b2018f4ec0213d92748d7a442cca7d069", 0xf9}, {&(0x7f0000001540)="e0c6455cc1b4d9974ed2f93160a881088908332048cbc81e7ba9fe7b68b175001e8d6267db38bb35d38e277780a8476f40b4fa1331d08390", 0x38}, {&(0x7f0000001580)="fad25ba749ae0c9bd87309b35f19ebb6d29e29b204d08c92b4c9c1bc392066b0c14793b4c5352e7b8c63d697f484e1e58b638e341c7aee48ecfbd8b2f0a1b9906792880ad73de6e63098e5336eaf307b986e8e9827d171ca2fa73928831908764ea33425084c2f18092302e3992b0b60816d187d5e999e31cfa0af1b8601cd3c3b02515a472b44ba13f77e4040c8f3780aeae71ddb2ec0f5a04000542c38f5", 0x9f}, {&(0x7f0000001640)="346038ad20b19676175feb0fc3f1cf5b7e5c03ccb935c7fb283913e6dd081892f6cdb0d78a22ad64b7508c666a83effb6869c51cf33b02589267fe55daa1098f22422517818166c1a60ad98e8841150d029656215e2dd51509dc3ff5a908fa7e6907a035299810d056c999be2d5170007f74d73fa1c8d01dd044426a3cee98d5b9a5444b2485ea17f6df54370fa319072927c8583961be9b2ac715c2346994d0e2987c4ddafaa382cbed1bdd6558434fba53e8a58ed641bdb399693766759f2d3763f9739c474faa30d283ebd3e54777f69e5b15a413b59e82715cf0044b9040b26390723cb3b148fc32f731da508190ab5bf6ecbeba019f41369219ac562e66ca618ce66e312efae731ade8cb6415e778bd051de21cd85e8c274c2bb8af485d34e531ad551891854b8ddb7be5c3fa24806905662b3356bdc2a6cbc7022fa6f65e0dc22982510a7074f014d53327c01eb6b4829185cd67539fdce8a741f41c0d18657c0d6686834707ea73034805541a965df3a34803c058a8fb0b6565fdba43b5b7549e85fd8a85f7689315636e4f4057c12f4d7f44cdb5e0145bfd358a0bca7d294655bba13cf657609aa4e9abea3c1751d93148ed2c74055bccd97c602b9ff60301f441664a4a7112b255ee3813c8df3c338605501111676af3ea9b952cda2bbbd48a9131778c3676f53ed690ae1e75cede7ebb29ae8afbecd4b0c141e20a9a8299dcd3ee52e7d3afe6c39445c5bcfff233fdb19dd867226a4bb55e1a07490c810a3535ec3fda422653578c391d61db937ed0de25b841a1d28ea9b821c54c7ec79449213f2bd5fe026fbe400c198e133a3b831f23910ac5a1290a015134f57eef62a2431b447eb28bebac9810509b6a1c3136422d81ab801ad1500b61974ae847357ec5f56877a9356176e855f922ad7ad347d987551decf6be6eb66cfe71837dd9b1cee50574bfb9a2e33e4a980d61d34aa48390b746d3965644ace3295344b88702ca59be833d9f19fa2bed60aa13ce43a2bd12841a8fb37cef43860ecd6e2487580bef6707f0bca1028db49c5502f3140deb4fcca1544b3829a76a6091b7f11cb9795eab7a7716c9390904909c5d832827b214ab05813de74c383472fc20f965cf4501480939a5551e9aa591fde76897af48eb8bc14c9e1757a31c7acfc56c06bb838f6db474980369f939b171a874b4530423df6d0b901c1c146f73e4efa020a9b44d1d783c7289f46e1638adb2840c45bf1b7ad1a5ffb7a35ce16e84809bc9874ed4b3cd385c95b613068518b3eeae61b11cb32a1e74fc63a58f4c57306fa45699e3f8ca0e01cbf195768bb526060e5e7e3539a550a860e4d85b58b173dde1b12a06d8be3146999e4a01fec0b0375ccf068ab1677e49057ff7e5301562686cc99f47977c8323c8e05d93c7668e9d71079dd9a5471c4bbad78d987e1a7e4848d0af28462402efef21d591a778e3902264a6a6d3b1d544f0469a34a487a05e776a8efc5e1d183492d6854cfc5239537f6a1f5612b0732d8ff1b3c780bcb9bcf229e1c078c13841dcede8523bef9ea3eac1e4321a68a14849c5aadc444cf441508741570ab31df154b161da2c72d6229ed2478db43fe38828e70e7560452ebdb94232fef6bcf7f85743dc79434a18ff6ba7ac0615559fc7054dd7d95204e04837cfa0ddf1b12d8e323d6fbe1d5f916bf3c3792aeebe6b370bcd42c96b0aa488a9527ac2b4eb303c55f9f428f6c2cda51423deacb158d80297a4ffe14be607e5b521c56e015b9cdfc0eed5f008de9036b04551f564837241917e4c5b044be3674f40eca24e6500bf2ff92225a6dfeec9edcb61666e19ba58339c05ffe4eb316a92ecbd65291150ef3e1b34fadfb855e400347c1217eed09523d65d94196a76c1ac8a5a865e036c15301da5501d82b0cecade79ae61cc0d706b835848e3f2e0ba5c642090ac917f6b8252ca3b78a1cf1c68039ced5d8cf0043e8ce5d4d74c6b3bf1e3d38f97eee538a6c38d9f7248adc66c022ebec0425a0f50fa5f564808b61ebbef371abb89eda330ff87894bfa78949b3cf27f4afd4249aa47ace2a30c00b214a81196a22a31f42b79e37a771e8eb1ce686ef49459ebe7dfb1da63ad775d972c62f79279eab46eb9abab84f9ffd4b547673e789820cf9942657d2148384e358c49294abf72843e3226f5d8102b51f2c6cd7625489f0d61a307547ad719bdcf7a18d239249f6054f67e9d03bf95238d3999766fcda85b566f360065104120c2ada07b138f9a119875816924faa808e8c8496400ce7a4f27ecbdb5236a9ccaf89e7906bfd264bbfc924115ffc1c682031e030af34181d66fb21c866ec219004686f600fb0a75c082dbc3d9e226109feaa6103ae53f0a1b742a5a8a0d5c2c04a0ef4dc2a67ff88437fc384c9a45e6aca1e09f2151835dd23668dbdbcbd53f3cc91cdd93fd3267ef96fb0b21d855792f9e845c35c5d586b359dc3aee44bfa5dc48f4006765b18b52422abb2a1dadc577c93fd9690de718b2babc9185fd88d9480c84e7442f29c6ae02d6b2249b81daa441f9057417082aaa8f0b75f061e2b5b4fa4441902a1178db625a972f4b3ca5bfd1f259c48391fda2f8f9f55fe9e9c77bd8aefe0778ca69871b4444270943a177d108fe95e09701dba217c2dc6e6fdd105828b4ecb265cf397e200fe35c035965b8c4ffdf75d98dbcef999740f9ebf23015f0dc6933059271148ae616652618fd017b030917e9db0ae4593857f24d9cd14b75019798e9ac204b92cfaba8900cface7e68fb23728d69f0bb5581308d26a10805002fcde302c854893316546da45ba4ccb8cbf089236c2d23e0e0f924c0b5208257ebcdb4babf591c6ada618c6d6b494a22bf27a80c9ba23c8a12722663e432b977f32497d5bbe3b9431ad0f8016ee34976678e2c6b0f584a8295c7a7818cb9e90a9c1742391ed508eff0688071678263b3362484fc60ba1335fbddc39a3ceb34eaec3d6e456b5ba4a47a59e8be7cc23fec76a0989a02ca81c1656f4291d7041a314854531b3f0ec90c9aed99c1cfd7259eda34527330dc857589ba76c128e0d0963804143ae1b26d369bff8e0e7f6aae674b36db60e8e04a8b4b27a747daaaa1f61698b2fa737f65c25c529a55849995da02661238d30d0947f316445b0598478428ce872d8afb31d05442f60f29bf0c0ff4714fb9717a700fa1d86d6deae29bccb3d6664aa647f1fcc20609c4ab5c31bc3d2bd8cf2fe9b4a777378d900d5b960cc83f202d4397db89255859d205c4d2dac97781690c24be950fef1035cb8ac1dc739af61b010a646c5bea40d62011151fd0719df593fb10f733b00d5cb95b83ca18e7b0d63e8a763e53a8a23b647cc59df8d45620ff27ec2aa2033330cb01a9841ca066479cd97da55ce64ae6d3d00a8f49517efdab4b84ba6d7ca34ebc1418b6c9ebad2dd68b74b5c1c56035921b3a941ac901b733daa8cd2085c60ae72e68b6df16a0637b2d2472948fc91f18e2a837d7ad9a8e9d8a414231cc30abadad4e818c67354bb6f41ceca4f66faa13ca9727fa015b441c239372c9403527241a9c7543fa04c1cefc618775c8f06a6e66e5a5e49cb1702eff7f49ee10a2da10215dc85426d7f81bc1b8604f0744875f8bc392303bcc891dfeec5cb9b27ffadb0ac502a8ac794abd9557d5ea7c946bd998428ccdfdbd624925eb44657fabf6f7a26900ed852c5c4fb065ea59c01d79a5037e42f1c0f44b797b1589b1790c876d1df3b9c18faa1203b96b06fb9b05a11414781112490b769fe75c126d0468d79fbddba6a68b8a9dd3b43b7522eded0bd01fc84edb4de80de8e9c06f9285609d20c60627d2890f6d12d77f2226084343cc261bdf5778b0a32efdee8ae1d721a0233313f18c2bc9da9c6797dc30cb8e0082d34c28b5dfda66283c6aa5a71ab7978ae361cf2b0e3c3cf78a5a2e71584eb591d381e8ac1f5aeca11987acae1c0fcb15105cfc3d969724f094c1dc9b89662774a5fb5f2e675fab052409ab7694624920a610eb60b76856854fce419fb0c1a9bae71aba73f866ebc52da5f9ae58ea7f4e7564f562344763a93a21ae4a6e435752285fa62bc5545b450458dd21e6512bd43c0f478112ee37e354053ae10b4c114c3ff7bc3043f8b736c24f7af60bd0d02cd5f1ebab08650d810453b7fdaedb89e8b4ddac1743811e98e3ac6e25304aa66754e9e0368c2327985e28141835c0c419e664fefb28aa0e94fe0121265a390f4476ab387fbdbf4d7caba24b712cbdf4712dc25d420b28752521220458d4194a149a8a1514630cb1f19cf12b6b084f4ab3c5777c992dc56f179f577ab4386235e4fa8961fe4d83d619c68b1c3c773b28adbe4734aad72435af32d7f3a9cb3513d5c22688c764b215a02211ada2e63e7614b7ce0aedbbfc857a19c19882d5d7e6c3575d5eb477b935e726b41ac29fc358e5341a499214a57662298310beed495478b0f0b3cd03bd701dfd64a7e4656eb0b798ce3f824e9b0c36d0b1beed6105271c1241a069aa8eb54d8e9739f78a77aa686e62bfe9686bae326d49b837a9a4d32b52b5ca31449fd1cefece052f43aaefa9e597dba12ad89ca2ade7d98d24bc2de10c9f268da53aadc80005fcbd2bfc4e24bc87bd818b345f34d8be0f50d9035db24cd368e9cda8fb29609645f246dfea69dce96662fc70f49bb20b83b0cca57011b9ec4905a89ad84796c27d83f87b2e5c00d9e1daaef0b1d308506df35d185e5cc1afd35f73b1c19c460e07be37cbb7e721ebdc67a2cada510ac7b9c85a7ec9597587fa192af8f30fd44833f0d08a68ba443f0a7d0f645b4e6fd36337d26ad869423058df2a39950a24051f9a2415bef974101f1a2cafc39427a9db3c47af8e57c7842ff7eba4215b0412506eae0ac00f37cdb598cf9653e3f2884591e109c520cd64c5f330cc15e8541c93277b00f6fb8bf9e08f86a0e5d526dbf0eb806e7e2bb82c19ed8f62bcf1a8e8c9e4da36096dd9c9cf69865c7170177afb088dfb282315a832c6e699b6648890bcbd2c63ec118ff9ebac6aeb41dfd5cfbc753ded463e52bd1ff286230853c3c623b87090be5675b8e872afb62fd648b8e8d8bc07c0a40738599f9afc6d5d7654c199b152898c1e1ef2de88e8d7e3bf4b67dcd781e0517236ff3f7453bc77423533c117a5318ed1f22027df990f92674ffc6c53066e6244a63d5700e57e21da8b0fdb72fa1796b076da30045fe8c8e217afeacf38ea8120fcd783cd424fe5a6d54bc17abec34625d272ebf3711e3a1d9d94254595cd176c95812c52057e79980d4ae4543aeefa3b16f7d998a72f3e6c64db8171cf79a7ec3ec6e44df6bee339cec0565a302517faf7af67899b988da266d52aea01521baf7a3279f83baa00075171857f38649786d4919b3294cc23ad40c76562ff8f3ec6592a2f4c3bba3faddafeff202c962cd62d5f4acb23c6b63a9c5448759e72cbf59c458eac5d7f30db457514d40b2b7d2bc5bae5d3f930461b86a59b9d0e04d65f8707bf8783123879043eadbbc1eabd3bd899fcaf68ee6e83c6e6ff6688b7eb7b1af7c8c2b7e0a655e5d2f4e782626e3c2580ec48b2b98771477f6df3d156d84684d64ee2c6fc2fd7ead5e6b686200b6cfc647a4da89359ad5f9da63f431739cd1fec9ce4e680f382518e65b0ae50125777139091ad53ed4dfc441c4e2da3302a93f621122eb253448bfeff9630c8edb70b59f394108be58c140a0805e987ed9b2aef9a0baaf79da0f3d58435ab108ae8641202104b1f9c884de2538f4558", 0x1000}, {&(0x7f0000002640)="c8c267477d203f4068426559fa1a37a7e8b0d03111e01a9dc67f6e9e584f59ef1beeac87146e9f04812e7e7f0c4c95c505cbeb1ecd96aad74e0310fd2f41255e8ca07f895db8d6d744d1fe", 0x4b}], 0xa, &(0x7f0000002780)=[{0x90, 0x10e, 0x10001, "9a02003d7b5bcb2020b8bbb134a77f572ca3638da77ff28e295e3ebd8ffba796c41ae8b50f2fdb33e130bf7d5d75f739635e37baa9bb7a3ec6ad6897d893426c3bd8cd091ff379e7427fbde16b1e1094b894ce14765cd7b71666c453a705c4fb80faf600"/123}, {0x100, 0x109, 0x8, "8f8f2635e3f531bad8d585c6c92fadbf0d16e20b2ae5153a34191b1a03c37d1f6a9165078ec5b7a9d231378d7d3f9347f32460699785e9851ac2da12de00e758fe8c35a78e144bafdbf320af94b653470856a48a4415b7d5742f6b30d19bbcc6c83efd07951ed5e71c5ccd3b7495b515b7f9be354bad0af99e3da6d18dc7e6edfa7a80ae650810c206369aa8312ed66bdaa59743e66ff64e89eff5f603f1d4c8e8f13a04fe226a6fd452929a2725522f617b971419fb2bb581cf7e3fc453bdfdfff8eae249f223c0b9ec816e5355136cdb69eb40bc78a39c75e0883d025b4e0323b60983169acecc14"}], 0x190}, 0x0, 0x80c0, 0x0, {0x0, r6}}, 0x3ff) 22:44:50 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = mmap$IORING_OFF_CQ_RING(&(0x7f0000ffd000/0x1000)=nil, 0x1000, 0x100000a, 0x110, r0, 0x8000000) r2 = openat$bsg(0xffffffffffffff9c, &(0x7f0000000280), 0x80001, 0x0) r3 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r3, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r3, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r3, 0x6, 0x13, &(0x7f0000000000), 0x4) ioctl$AUTOFS_DEV_IOCTL_SETPIPEFD(r2, 0xc0189378, &(0x7f00000002c0)={{0x1, 0x1, 0x18, r0, {r3}}, './file0\x00'}) syz_io_uring_setup(0x440f, &(0x7f00000001c0)={0x0, 0x2d72, 0x0, 0x1, 0xcf}, &(0x7f0000ffe000/0x1000)=nil, &(0x7f0000ffc000/0x4000)=nil, &(0x7f0000000040), &(0x7f00000000c0)=0x0) r5 = io_uring_register$IORING_REGISTER_PERSONALITY(r0, 0x9, 0x0, 0x0) syz_io_uring_submit(r1, r4, &(0x7f0000000240)=@IORING_OP_TIMEOUT_REMOVE={0xc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, {0x0, r5}}, 0x40) [ 2691.536985] loop7: detected capacity change from 0 to 40 22:44:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2691.581862] loop6: detected capacity change from 0 to 40 [ 2691.585468] loop3: detected capacity change from 0 to 40 [ 2691.594987] loop2: detected capacity change from 0 to 40 [ 2691.626715] loop1: detected capacity change from 0 to 40 [ 2691.634909] loop5: detected capacity change from 0 to 40 22:44:50 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x1000000000000}) 22:44:50 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:44:50 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:44:50 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2691.740944] loop0: detected capacity change from 0 to 40 [ 2691.744405] loop1: detected capacity change from 0 to 40 [ 2691.749953] FAT-fs (loop4): bogus number of reserved sectors [ 2691.750438] FAT-fs (loop4): Can't find a valid FAT filesystem 22:44:50 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) setxattr$trusted_overlay_upper(&(0x7f0000000040)='./file0\x00', &(0x7f00000000c0), &(0x7f00000001c0)={0x0, 0xfb, 0xc6, 0x1, 0x69, "ecb924bcdfd86555f1b613f379d04714", "417427dd6161983110ca8cb6838016086baaa5fd8bbb1367ace2a245e27b4e3c04ce1e7188c4f70fe30011633e388bb3cef98c303c00ab37ef65095daf5b7d3bcb76860dfd2f01e69812ca9d0440943d78732c9aceb3d69012e424edef4da44f629325ba1b3ee37c04a502f33e17c760f82fad884198c766ad72ad984aac910090519595347eba5b4c431d1dd7a250d0ea8edbba0134e3a4c5ee1b4a35c9940bbffcaac7e58c75c35163d88ed15771b5fc"}, 0xc6, 0x0) openat(r0, &(0x7f0000000480)='./file1\x00', 0x88080, 0x0) r1 = geteuid() getsockopt$inet_IP_IPSEC_POLICY(r0, 0x0, 0x10, &(0x7f0000000380)={{{@in=@local, @in=@broadcast, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, {{@in=@multicast2}, 0x0, @in=@dev}}, &(0x7f0000000680)=0xe8) lstat(&(0x7f00000004c0)='./file2\x00', &(0x7f00000006c0)={0x0, 0x0, 0x0, 0x0, 0x0}) mount$9p_tcp(&(0x7f00000002c0), &(0x7f0000000300)='./file0\x00', &(0x7f0000000340), 0x4, &(0x7f0000000580)={'trans=tcp,', {'port', 0x3d, 0x4e20}, 0x2c, {[{@noextend}, {@uname={'uname', 0x3d, 'trusted.overlay.upper\x00'}}, {@mmap}, {@access_user}, {@access_any}, {@access_uid={'access', 0x3d, r1}}], [{@fowner_eq={'fowner', 0x3d, r2}}, {@fowner_gt={'fowner>', 0xee00}}, {@defcontext={'defcontext', 0x3d, 'staff_u'}}, {@fowner_gt={'fowner>', r3}}, {@dont_hash}]}}) [ 2691.795186] loop3: detected capacity change from 0 to 40 [ 2691.827335] syz-executor.3: attempt to access beyond end of device [ 2691.827335] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2691.851811] kworker/u4:4: attempt to access beyond end of device [ 2691.851811] loop7: rw=1, sector=2636, nr_sectors = 1472 limit=40 [ 2691.868720] kworker/u4:4: attempt to access beyond end of device [ 2691.868720] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2691.870419] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2691.915465] loop5: detected capacity change from 0 to 40 [ 2691.950523] kworker/u4:4: attempt to access beyond end of device [ 2691.950523] loop2: rw=1, sector=3556, nr_sectors = 552 limit=40 [ 2691.957453] kworker/u4:4: attempt to access beyond end of device [ 2691.957453] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2691.959048] Buffer I/O error on dev loop2, logical block 1027, lost async page write 22:45:03 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:45:03 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) mknod$loop(&(0x7f00000002c0)='./file0\x00', 0x8000, 0x0) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) lgetxattr(&(0x7f0000000040)='./file1\x00', &(0x7f00000000c0)=@random={'os2.', '\x00'}, &(0x7f00000001c0)=""/250, 0xfa) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) lremovexattr(&(0x7f0000000600)='./file0\x00', &(0x7f0000000640)=@random={'security.', '\x89'}) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$AUTOFS_DEV_IOCTL_READY(r0, 0xc0189376, &(0x7f0000000380)={{0x1, 0x1, 0x18, r1, {0x400}}, './file1\x00'}) openat(r3, &(0x7f00000003c0)='./file0\x00', 0x40, 0x1bc) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$VT_SETMODE(r2, 0x5602, &(0x7f0000000300)={0x81, 0x7, 0x3, 0x0, 0x7ff}) sendfile(r1, 0xffffffffffffffff, 0x0, 0x9) r4 = syz_mount_image$nfs4(&(0x7f0000000400), &(0x7f0000000440)='./file1\x00', 0x25d, 0x1, &(0x7f0000000540)=[{&(0x7f0000000480)="09f673b89a5e604af92c470d8d76a31d1e7d31868f9e4edacbd61d2d2393cd161585715deeea3d7d3bd876b3b60bd9252d49cce8fb664e73e5b8efc1bb71a67e5855127361954be40359a8c6d293cb09772b28249b851e159dc0df43a08034a02102b4a408d889b54298028d5998b3eb3787fedbabc3dd7d47eecc135a58692485acd15f8f803ec988dc1d6dc5670f771528c9089ca03682222e0d14c80eff796841d7a5d2fb1618eda45ea1556f80ad", 0xb0}], 0x48, &(0x7f0000000580)={[{'os2.'}, {'vfat\x00'}, {'-P*^%@\')-'}, {'\x89'}, {'\x00'}], [{@dont_hash}, {@measure}]}) openat(r4, &(0x7f00000005c0)='./file1\x00', 0x42, 0x0) 22:45:03 executing program 5: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) setxattr$incfs_id(&(0x7f0000000200)='./file0/file0\x00', &(0x7f0000000240), &(0x7f0000000280)={'0000000000000000000000000000000', 0x31}, 0x20, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) fsmount(r1, 0x0, 0x2) ioctl$AUTOFS_DEV_IOCTL_EXPIRE(r2, 0xc018937c, &(0x7f00000001c0)={{0x1, 0x1, 0x18, r0, {0x2}}, './file1\x00'}) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) move_mount(r0, &(0x7f0000000040)='./file0\x00', r0, &(0x7f00000000c0)='./file0/../file0\x00', 0x1) 22:45:03 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 19) 22:45:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 39) 22:45:03 executing program 0: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r1, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f0000000000), 0x4) sendfile(r0, r1, &(0x7f0000001400)=0x1, 0x6) r2 = openat$vcs(0xffffffffffffff9c, &(0x7f00000013c0), 0x115280, 0x0) move_mount(0xffffffffffffffff, &(0x7f0000001380)='./file0/file0\x00', r2, &(0x7f0000001ac0)='./file0\x00', 0x22) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r4 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r4, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) ioctl$F2FS_IOC_START_ATOMIC_WRITE(r0, 0xf501, 0x0) connect$inet6(r4, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) syz_mount_image$tmpfs(&(0x7f00000000c0), &(0x7f00000001c0)='./file1\x00', 0x2b6, 0x5, &(0x7f00000014c0)=[{&(0x7f0000000200)="f429df092e546eddb55af54786957b187713720a7b94b3e160fb54c4e17411ea715c9e2fb37b7cb7a5b52e818c84ec8bab64e006cbb08f597099a6e4987418a8d8f0d886aa66094cc1a1d4b35f458bfeac15cb8bf5f4d0cd34d57320cae4bf4a26e59c3bbca76bd01bb908bcfb0969b281fe392bffaef56310052b170d4f298652883e3b69f761163b45c21b4f90e0d4e5e64c297e7864f8c2aa25a5fcaad5fe84568415e558bb93559693c669618e4630841c030d2f433f7053e8c87a70ee1f1f0fdc339ded87f9c855bd6704b34c95ad4524cf562043e343b9f53ef952729543be86853df2a22a55781d6b36051f", 0xef, 0x5}, {&(0x7f0000000300)="f5401201de03888c24ce5f395e29093891b16178a13dd8a397bfba4d6ecdd112f405dbeda35a58da5d74183150cf75182e4b050ab1feae3db72fe447b1de08e843fe8212237157", 0x47, 0x1}, {&(0x7f0000000380)="566c499038a9848b5137d6f85c886b83db772e0f7f42ec7108ff5daa87b0a9a7e272be2fe4fd7c88f4b7b6efdb839c4fce9b4943b892291aa4b3c9583a710e03746f494e6271334440eda1d38ab01c5b548404791ecca8e1a6f654d03795ecb443098ae9121310af9220b0a039279399a85609292fe82c47f877b96950befd515bacb73c6db81ef2b3d802ea1496db8bfa69a753ffe68f38c78f21b2a8fdbf7d7094e14887b23ebc32307bb9a6fe4ca85b7c19660ca573eb61342def3a4b5f872b26784b3efa90bfe5de50da11b2cc537ffb46518bd958803b0fb48fdcb4794e76142368a4bd1e2d52a72be120885a3ec0fa60be8e9120c7ee796f2a4055e14751ab26238c87d2ac7532f99a09d5bd2b66e5b76221279eae6a5b652a663a3ec57923fec48a98b9ffe4137af25e6811a5fca6543341cf6ed927236a326b9229527e5028ce30433e8dfbab7e7ae793e1a7aa5908be670a4a231dc79808ddd672bd2f08e44a051d78beac31ec48a105c9c22863d36ea85c39f64ccddd580c0a434da264511292e26a2b802477685eb4ce027d72b90665f30aa731ee42f94b2ad2214d16b83733d4cb7584f00e9a16a1c069a316918b1e863695414815d4753954e23c21e67bf453d5f70765425c3379bcb370f4a0e8395d1a9f9b187c3d610b7a2110e600fa9e20879da50b66d4d3bff83344b40d76db3900ddb4d7e41d844bddd25b2b3065ddd768eac150b6b6208168e3265533b2475ae70c0b9e3b322cbb3736cca3be5bf9e1e2ec1c372c771f6b152b69d37bd821feb0eb4fb3889321a96d1b56fa5491ea71b3b68a052c53766a153b75efa7ebdc868d55f2465fc72edb203814f3e94068ec959b5af4bff491485a4d355e17648cf18e80bd0adc73f94badab35e793b86c25e52dae03bcb8dca95912e9eca80aa5bbfd0ede4a7db1d96cb84272c7c11c7799384b94d3c2cdaa688627a5528fd703dcb6726cd9c1452f035503732d00a39f2f36c8b6f2e94ffc08d3fd38454a1563219ace6fc0ce921a30cb175f27300da0584fce789e0391d43d96748bb73a00e02d594e2cc7bd0ed1933d68c725fd952819f5330d2f918b1cd0f4394f75923c0b51c2ca1eef40f002800894099ea171add71accea5b794de5f80eb73213f5493452621dfcd1c7092c99b98b408d3b1f95402c02927b95a91b7be72e15b6b8e3220b39a22ffa306ca957b166e79b133372af330388ece0689dec07861dcb560b68079a00f7c01f252ecf0ed3703323a2fc46f1729338fd3adc0af0a952891ad487dbff0c511936274a05fbd76211bad84ee449f8b95dc46544ba14629c7a852927c1bd55122ddca0a41c25b62f899c95f57c9a63a35921624af9c57e66479ca800d9258296934af6593f5676628a58ddf8cd4d1bf3e6292d47e832488a192e9601ab0081bdbb984ebca65ee38b44ef6ed5aca3dd3e3a62d3b092fce07e59b01b1c5eaf377c230406c471b3305a35f08790e148ca2f604c736abe337888a987dbcec777b6e56799db585f1a1f9d330d936abbef072862a59bc924ccfd3f4e031759961de0da779919f5f94e4359461c96ba8bf5faf3e5b151ed113ad8bc1a4e5a8e5abb3ea2c41f0c23d423d32adb2650ed4af3b73824383e9143fb77a7ec0c45a1ac3141261ccc1ee44a2546a3a61a04463b918a127d6cac925f4171c70afc965fdb393b3e1824f34064f3285686bbed15bd5d1849d1216de8ff6a5b1547ee298684fc586e80cd1aadf8a4fb65f9ff09cee607d386524b279fb3513f620a95fe99f5db2b657098029aff2ba5104b35a52f39f695547f8943b742ce04361a1cf34a8c1e0fb6008092d60595700e7efd504a522766296572000f986eec76a54b54a82aafb88bfef366a335d593a0b9b727331e96f055e8f86e18efd4a6d6d833eec1c3091ccfe571772e068d94233de32b314fc92b106b02b5eae9339eb8ec8227e77d5613ea33d6b3d2f6a544775d8cfc32a927a59a1c110405328b55e720255ba24f68f088002d65d74acf3b04e30ca185cdafc4bcbbc5e89acb783bfd5b8a3d107fddc08443ea150443c6280ddb3e6f4692dfc1281f80c1e047eb10f4ac9223f4afbd54d869f7503df6d2da8e39eaea7078f690906bbbaa259ea1f78580ce87e4cef258ecbc7a962d9b8bb4511ce3e3e2e2ed94892ad5dcbdaf62c71f95745d67ed8f09c2311f2d5fdcf8fe8ed2b0116fe4efc269d862cb8b9c84fcb7aa27fd2970d5bdf9745bcc3f650ed076ce834422f546a39eb42b3b4fd67e5fadce4fb8d233a053aced37b51577d35feac646099a64a1485731b921092be70bedd358ff8ae086454e1471c7269d198dd4a97313092f47857436a74171066f2eedfe385bc4aa5f0c0d34f76a6420512988f4b48f16915791522e9bf789a4480f8907fa6537a3ad893b55d5bae2e90fd2811af144c9057ad0a63694d8263f1c83435b36cdc901d18285482ca496031b16ec1bfc7f6ee867f67811a78894396e7ac69a7e8b96a1ba1dad5d8a9ff44be5449ea08415c2755805d658690cf66e0c53bf4db342bf1c1e2cadae1e1541b1d7b84ddb838a1ac505d9dae39e082dc9380e457cfc36956c3c5d4337f310c33098eaf6b7b4f6e330435b10459bfb8091a471db0bcd1c39fd21ac1336b7c63b7b7b8eaae3747ff1c9c8f5d23531eef7e37b097a06b99095b8745748d7c490279f9bf58aea23a352b147afabc114815f948a8f3320fd1b3db9e7d284689d4b7646990fe7a5256c7a5a9bb4f505a3105a39c62801bce3755320ae2676c4a5cafd17386b4c6d332bb401cfbdf53e0bbfa41588c8be0441d8c21f1865047de966cfcc8393e0d0586976f0a66c9e974d31d62159023612769eced7d8eff6a6767fd36375735dd33c0458466676d87345256b6d86e29f28de9495a036dd48c06e6d50bd97192efdbdf9d59ede464b2d6ffe5d2dc1cc64e0ff783ad71ade42d234dcffffa4c64730666caf8cfccdc9fee118ae64271d6ac53e98c4d68930188adbc8960b46f58dbeefb0fe2792abd6e81375759d439b241f40dc6c81d28b26f26390cbf0e109dc2a182874847bdd30aba34f2cac9c53a0b2e84d14276f4023078d53e66e65005eb6642011835c8686afa3ed21f5a647de365df8a01aad47a22dbbb8882d99b1ee47c57dd9f469055830e6aff5e523253fa56dbd0c3a471dd26705315dbda35c7132174a0809a58d9bacbe5b6c3efb7191192b1c13d5fdb4a19602b152274ae2f7eaa28d3025682b1d919d00241c72ff7a583874a806cfa2ccad2e270f7a4008fc906da79a0f71dd13dd9995ac6c40db7564cb87faa721648f77d206027943aee7615f6d60a1cd93efea5ac8166d7a6b61c5bbfd0e69a9aa2a549dd66493a8c5beefda010e1ddb5f898196d237a25f05434101aecc1d533f59f5fe55264d559176a8a95aa1715aad6ec5fb905a03fe2786d961ad94b1e2be1524bb667fc596920b54a8cb7e58827f85be020ee58bdf400c2bd39d1e33306fbd3e76de689d84512a52b54fc1690f807dd31cb29b033713b8a8d85a364e4cb2dd1cc00d4f91daad106349bf6e53e9f2dfe6e865c6e74cd67d6f4d5503f0dc29f538f735a2064de216b786a576af8af3ba44a65cea18504c9fdb60f5aede4cdff0c35c9b175c88be6dad83ed7577c3c4e0d86dd23c9742ff0d3e692fc7b374765bfd4468612fff21abcdcd4178a114bffbdca9a9275c7c79c05eff2d453990c439656a2d2b8be1d73e9dca144374e0821d6f7a0943eb7648ed9c846fa245fa2420f7efe68fcfbc8e03003ad64dab639f6dc9f45c82e81aba717520e432bb4f9d7fa3a1fa90ffca4657ec45113a917eacbcf63d69cba7e201574aed6da207889a0a6187981a2b806dfffbdbd1c5b0de0658d0b3eb7bab39a9716a2e22d094f43573e064e7a37c0d133ed0d14cdfb12c7d5d806cedbaebe57b60f8b05de6de930df96d3aced42ce8aa8de18f5fd9607663d99826192b484d2c1973b027bf24f62c2075fd2e8a83c93e93645839ea17e4a40fd67252803a82c763da6b9027bd95952be60aca8fdff4b431258971396c4010221a58b1a65ca1913bd7eae1177555b655fe8dfbd1723f746362ec3052ad64ad56d7658e499d8a5c307711721a1316ad2f4c97898384f373d85b431e7f13230e02b98c9c53d0aa32f3ce88357e6e0ff31640cff7d5c596011bd0e38185004e3f87d96bb7680a6a2b0c12ea547ae33ca8005acca1fd736ca0f0324bfb8a7e67111ca033be3b7930c4ae00aaa8ee18f037fc5726d939d13caf511bc5d0942b4163fa6e70bfeba2a393eca07e65fec17041a118e7ebb2507ef0cf08c42eb5695d19cbfc7b1f5ab36df4d6607fad9209cf34a14f768eb6b09a787ecfc27191cea473003d279832c19781e76cbf8f8836c9c1c1d0e4c2e35be8932bac9ad9e311af747c144bd1b2dbb671237f7a8d6116953549194ffbb8f43fb748c27c6091a1690ffbfc5a781421bede4fc4589a0f9f8c5471b2727debd15cf70ab36487eaded7f7859c1ed320c68400b1418a0ad1f4897e0c4622eecc52f156ffc10f00d6922e0bcfc0e9f753523e57601bfd28ba15c488a4f107964349e2a9c8d6262dc85b6559187b63108c73bb5a3d74a2ed4185a288090c87c38ef80833c5e9d7f75352b75e00f0b4a8c2538bae2572fff78ce4c8c1069c6901beb5e8fb8032b1b8f77c6e2d37df82b2939551d63bbc7666363d04687b5395954bda216cf0b232445e70102805553bf23aef590be2adf19306850417546424cb153fd5d652b8b89e41b4b427412dbd9eadc9d6488bdc0981b8771ea9e1b6e31ffd9a864453b3de54edd8796ece6f327a430520582af8e93c8487ce8a84f82ae4fcde605242a7fd42b2f3439c2be404f3b86d99c0d275438c447f7403dd8f67aeb3157ab5253bb3c4771204ab9865f8c84b6de42d2ee9a226762c4983095dbcba6992c6a2ba4c4b50d61fc31a5f0a805134cea51220da494140df0895a5af04e79580e694b5809321016493a54296a8db94392afb014d1e55656246ce9fd0e7896d5955a67e09f384f7db234f9b7253d20b29e1f40d6a862c9c33256f8704807f26ff36420886b800e49e4f2009ae12d00f7b9ed06d9a5a215d4fa80c7f2b2f74c3779fab26a87e85be47e9fe86c523106db9d3c276d01eb660b1f5553f281970ee2bbaa551500bbfea1691eaa55dd63dd36a8f5ca5d260715dbd0c1bbe45fee92ade7e9f27ed6a7a0b29fbcec7ac905ca5946047be023786797cb5056d0fa6e84ea001c46d6c4e279ef4f4f017286119896a869e35a0c814da0c474ec4e860b0bd8b242cefaa4a34c8df3b447f63d6d1dc2870156612e75bef637434ccd2886b2391c6afc68562331f18d68e32c48325ad198198d6408b64168ae3a0ec6485742e858f2abc114df5e8936e158e88c73adcacb1b5c17c32ae9abc63c841a209971cedd2aacb34974f87028d3deaeb150df2e25973b6aa74f9858726582d9172a0c917af63b94491ae7415aea9fc33d3f1c84e25c51d259f0a698608f09af0c6e2c656b453f427891533cede2d34c1daac064001f562c7b641fcee7e0c3e3af32117f4d7800ed717bfe16ee51171f93738d984e9614c198070000f415033ec77a69c7b6ab2ff77a0783a2da3f6322bad54b125e98ca077ed069ebd9ed6a7fa475eb410afd95113f4b5ed547b16bdf763a4b6dde34f25d8e7cfbb9669c03caa47d2af3c7bb3bd6455994e33009f19d0c540d9bc5198240a11a7b3931cb31e9972373a28cfa7", 0x1000, 0x16b}, {&(0x7f00000015c0)="2dd0e212b3bd145f38c396275147c232e306b021311777724b4331cda24f6b020dcd08cd5ed6c3d2c1f43e65c200f2851475d82e909833edeed2aa8dd8760ff44acc765d192d68eed56c06d9f313b1b1d89af711bae34d79e4bd414b1df5f7c385dfbfdd5215f610aa97e58dd6a362eec2d20ba84ac2be7b542549583d6632b59bdf4b0f87bb500b029db6c4441a69f8750e8a7a653ca06efbaf782f1009ca9e3fb8e90ec71556fce55f701ae1f8002e002a3081e21f4c9b9c806bcb3adcab36d81c30a743337d371bc9436c47acb2845272f970395bbbe08e82347c0b3d8f53f2f9b765306dcd07ed672306a43c104795f1041ecaf8701380c40e704c3377981092364ad53e4c36a9d508c6c1daa9b8db39c33b13c432080c3362cf095db8a4faf9a2dc81612d0293ed32c69b3ce67e269f4f0fa0c37b2bc37166c1580be13293f4b9126c95c924bd0053023a07981de473a469d1c383b2566d25fcb8fa6b985c136a3ac9672235f37ad06d397d2b2e23de660c509a17183c518b338ad527f2c80a4bc83f55647b502e4f970d1eb241221ccc5bd6f2751ad482b6f06ce1ac745b9b06d421c397d0898efa280db83c636aa74ea994b544d6538225fd37bdbffdfa", 0x1c1, 0x9}, {&(0x7f0000001480)="03386daebfb814e0da81be057331af9ba78433db7f", 0x15, 0x5}], 0x2000, &(0x7f0000001840)=ANY=[@ANYBLOB="687567653d77697468696e5f73697a652c6d6f64653d3030303001d1f993fe17bf874b9da5f088b929670300000000003030ff03005f758c65723d2001002c66736d616769633d3078303030303030303030303030303030392c000000000000fa750a0000000000000000"]) setsockopt$inet6_tcp_TCP_REPAIR(r4, 0x6, 0x13, &(0x7f0000000000), 0x4) r5 = syz_mount_image$tmpfs(&(0x7f0000001440), &(0x7f0000001540)='./file0/file0\x00', 0xffff, 0x1, &(0x7f0000001580)=[{&(0x7f00000017c0)="3d5217d9ce1447f18c27351caa315dc7a4c30fb15576435b80ea339ba972df047f85d62b9e4eadaabd91080209542df3ef54558fea855995fa087a7bf907b5809962acbeb294ad649488b3e622aafeeb9f341088021b34aab2acbf81b5ff2f5d70a6d2216d8d2ced44a221", 0x6b, 0x4}], 0x20002, &(0x7f0000001b00)=ANY=[@ANYBLOB="6804000000f6f0f0fc0700766973652c73697a653d386525386b6d252c7569642ed99c228d7789b67f72c36776ca69a4b3d4f4f290259a1572e2978820de3c6eb90879814649f1b1e6fe740100b17d07c2047e372787f2f0804f96f5d885269badee00bf684e2d", @ANYRESHEX=0xee01, @ANYBLOB=',gid=', @ANYRESHEX=0xee01, @ANYBLOB=',huge=never,permit_directio,uid>', @ANYRESDEC, @ANYBLOB=',\x00']) ioctl(r5, 0xffffffff, &(0x7f00000019c0)="c6f196d1838ce37433e813cbf3ba6263d87a25043eac3fec668320e598ae7d55f6f9df99a87f302cfef7595bbdb3fd0624ca8f6fc63ed7963309db997012208ac2bfa882a77fa2023af6c66c13406f44198a2666fed8631a5f02881089a64a67d75128ae7dae0a38570ee09c05c8f1137a1e8d764b645ad8839d90eebe366f62b2a59a7104e5139b1589053a26ded5f6c26a18d93061bfe52cc70c6f1ccf0c24b3a9432688265911426de6b5c68eef168676f1a1d966233a2a4d2086e0aae93a2d105b9dbc4fc2abbc1ceadace46e49f6b31c91e322973b47753bb05") ioctl$FS_IOC_RESVSP(r4, 0x40305828, &(0x7f0000000040)={0x0, 0x3, 0x0, 0x5}) [ 2704.426916] loop2: detected capacity change from 0 to 40 [ 2704.428499] loop5: detected capacity change from 0 to 40 22:45:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x8000000000000}) 22:45:03 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$FITRIM(0xffffffffffffffff, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2704.438089] loop3: detected capacity change from 0 to 40 [ 2704.444976] loop7: detected capacity change from 0 to 40 [ 2704.451994] loop6: detected capacity change from 0 to 40 [ 2704.462472] FAULT_INJECTION: forcing a failure. [ 2704.462472] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2704.463305] CPU: 0 PID: 13432 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2704.463799] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2704.464303] Call Trace: [ 2704.464475] [ 2704.464629] dump_stack_lvl+0xc1/0xf0 [ 2704.464890] should_fail_ex+0x4b4/0x5b0 [ 2704.465169] prepare_alloc_pages+0x178/0x500 [ 2704.465470] __alloc_pages+0x149/0x510 [ 2704.465735] ? __pfx___alloc_pages+0x10/0x10 [ 2704.466040] ? __pfx___lock_acquire+0x10/0x10 [ 2704.466352] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2704.466673] alloc_pages+0x1a0/0x260 [ 2704.466927] filemap_alloc_folio+0x374/0x410 [ 2704.467230] ? __pfx_lock_release+0x10/0x10 [ 2704.467546] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2704.467887] ? xas_load+0x6a/0x140 [ 2704.468134] __filemap_get_folio+0x32b/0xcd0 [ 2704.468432] ? __pfx___filemap_get_folio+0x10/0x10 [ 2704.468757] ? lock_is_held_type+0x9f/0x120 [ 2704.469051] ? find_held_lock+0x2c/0x110 [ 2704.469327] pagecache_get_page+0x2e/0x130 [ 2704.469616] ? __pfx_fat_get_block+0x10/0x10 [ 2704.469911] block_write_begin+0x35/0x450 [ 2704.470191] cont_write_begin+0x4fe/0x700 [ 2704.470521] ? lock_is_held_type+0x9f/0x120 [ 2704.470818] ? __pfx_fat_get_block+0x10/0x10 [ 2704.471112] ? __pfx_cont_write_begin+0x10/0x10 [ 2704.471417] ? __mark_inode_dirty+0x249/0xee0 [ 2704.471724] ? generic_write_end+0x1fe/0x3d0 [ 2704.472021] fat_write_begin+0x89/0x180 [ 2704.472287] ? __pfx_fat_get_block+0x10/0x10 [ 2704.472584] cont_write_begin+0x2fc/0x700 [ 2704.472896] ? __pfx_fat_get_block+0x10/0x10 [ 2704.473192] ? __pfx_cont_write_begin+0x10/0x10 [ 2704.473500] ? lock_release+0x1e3/0x710 [ 2704.473799] ? __pfx_fault_in_readable+0x10/0x10 [ 2704.474124] fat_write_begin+0x89/0x180 [ 2704.474386] ? __pfx_fat_get_block+0x10/0x10 [ 2704.474721] generic_perform_write+0x25a/0x580 [ 2704.475054] ? __pfx_generic_perform_write+0x10/0x10 [ 2704.475413] ? __pfx_fat_update_time+0x10/0x10 [ 2704.475741] ? __pfx_file_update_time+0x10/0x10 [ 2704.476080] ? generic_write_checks+0x2c0/0x400 [ 2704.476413] __generic_file_write_iter+0x308/0x4b0 [ 2704.476770] generic_file_write_iter+0xe7/0x350 [ 2704.477103] do_iter_readv_writev+0x211/0x3c0 [ 2704.477432] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2704.477785] ? avc_policy_seqno+0xd/0x70 [ 2704.478089] ? security_file_permission+0xb5/0xe0 [ 2704.478460] do_iter_write+0x18b/0x700 [ 2704.478753] ? __x64_sys_pwritev+0x233/0x310 [ 2704.479061] ? lock_is_held_type+0x9f/0x120 [ 2704.479376] vfs_writev+0x1ae/0x660 [ 2704.479648] ? __pfx_vfs_writev+0x10/0x10 [ 2704.479962] ? __fget_files+0x24e/0x480 [ 2704.480265] ? lock_release+0x1e3/0x710 [ 2704.480593] ? lock_acquire+0x32/0xc0 [ 2704.480899] ? __pfx___fget_files+0x10/0x10 [ 2704.481233] ? __fget_files+0x270/0x480 [ 2704.481552] __x64_sys_pwritev+0x233/0x310 [ 2704.481875] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2704.482249] do_syscall_64+0x3f/0x90 [ 2704.482546] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2704.482923] loop1: detected capacity change from 0 to 40 [ 2704.482942] RIP: 0033:0x7fe786258b19 [ 2704.482955] 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 [ 2704.484663] loop0: detected capacity change from 0 to 40 [ 2704.485211] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2704.486489] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2704.487010] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2704.487531] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2704.488058] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000002 [ 2704.488577] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2704.489102] [ 2704.493020] syz-executor.3: attempt to access beyond end of device [ 2704.493020] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2704.493128] FAT-fs (loop4): bogus number of reserved sectors [ 2704.494906] FAT-fs (loop4): Can't find a valid FAT filesystem 22:45:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xe0ffff00000000}) 22:45:03 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2704.563262] loop3: detected capacity change from 0 to 40 [ 2704.576318] syz-executor.3: attempt to access beyond end of device [ 2704.576318] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:45:03 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2704.602241] loop5: detected capacity change from 0 to 40 22:45:03 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 20) 22:45:03 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:45:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x100000000000000}) 22:45:03 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000000040)="601c4e6ba4c731f6d408c19a67a867bc08646f7766d8a02b000801010004400040caf801dd240517", 0x28}, {0x0, 0xfffffc85, 0x2800}], 0x10000, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2704.697072] loop2: detected capacity change from 0 to 40 22:45:03 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat$full(0xffffffffffffff9c, &(0x7f0000000040), 0x2402, 0x0) openat(r0, &(0x7f00000000c0)='./file1\x00', 0x4000, 0x99) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2704.705306] FAT-fs (loop4): bogus number of reserved sectors [ 2704.705764] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2704.706167] loop3: detected capacity change from 0 to 40 22:45:03 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) unlinkat(r0, &(0x7f0000000040)='./file1\x00', 0x200) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2704.714918] loop1: detected capacity change from 0 to 40 22:45:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 40) [ 2704.753431] FAT-fs (loop0): Unrecognized mount option "@" or missing value [ 2704.754233] syz-executor.3: attempt to access beyond end of device [ 2704.754233] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2704.757811] loop6: detected capacity change from 0 to 40 [ 2704.764998] loop5: detected capacity change from 0 to 40 [ 2704.770594] kworker/u4:7: attempt to access beyond end of device [ 2704.770594] loop7: rw=1, sector=2892, nr_sectors = 1216 limit=40 [ 2704.772530] kworker/u4:7: attempt to access beyond end of device [ 2704.772530] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2704.773461] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2704.778139] FAT-fs (loop0): Unrecognized mount option "@" or missing value [ 2704.967362] loop7: detected capacity change from 0 to 40 [ 2705.012368] kworker/u4:7: attempt to access beyond end of device [ 2705.012368] loop2: rw=1, sector=2484, nr_sectors = 1624 limit=40 [ 2705.014419] kworker/u4:7: attempt to access beyond end of device [ 2705.014419] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2705.015657] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2705.136161] kworker/u4:7: attempt to access beyond end of device [ 2705.136161] loop7: rw=1, sector=2844, nr_sectors = 1264 limit=40 [ 2705.137834] kworker/u4:7: attempt to access beyond end of device [ 2705.137834] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2705.138821] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:45:17 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 41) 22:45:17 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 21) 22:45:17 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2718.436292] loop0: detected capacity change from 0 to 40 [ 2718.443240] loop6: detected capacity change from 0 to 40 [ 2718.452650] loop5: detected capacity change from 0 to 40 [ 2718.460437] loop2: detected capacity change from 0 to 40 22:45:17 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:45:17 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f00000000c0)="601c6d6b646f7366d8a02b0008010100044000404af80149160d306fc5ff911796e8e45d189698a29abd1f815588491d3d755fdd94f2c82e", 0x38}, {0x0, 0x0, 0x2800}], 0x6004, &(0x7f0000000040)=ANY=[@ANYRESHEX=0x0]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = openat(r0, &(0x7f0000000100)='./file0\x00', 0x141042, 0x101) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$sock_SIOCSIFVLAN_GET_VLAN_INGRESS_PRIORITY_CMD(r0, 0x8983, &(0x7f0000000380)) mount$9p_unix(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000200)='./file0\x00', &(0x7f0000000240), 0x842, &(0x7f0000000280)={'trans=unix,', {[{@posixacl}, {@cache_none}, {@access_user}, {@fscache}, {@cache_none}, {@nodevmap}], [{@defcontext={'defcontext', 0x3d, 'user_u'}}, {@euid_gt={'euid>', 0xee01}}, {@pcr={'pcr', 0x3d, 0x12}}, {@func={'func', 0x3d, 'FIRMWARE_CHECK'}}]}}) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$CDROM_SELECT_SPEED(r2, 0x5322, 0x3) r3 = syz_open_dev$rtc(&(0x7f0000003000), 0x7, 0x208000) ioctl$AUTOFS_DEV_IOCTL_REQUESTER(r1, 0xc018937b, &(0x7f0000003040)={{0x1, 0x1, 0x18, r3, {0xee01, 0xee01}}, './file0\x00'}) 22:45:17 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x200000000000000}) 22:45:17 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x4000, 0x80) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:45:17 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) chdir(&(0x7f0000000040)='./file1\x00') [ 2718.462790] FAT-fs (loop4): bogus number of reserved sectors [ 2718.463582] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2718.477597] loop3: detected capacity change from 0 to 40 [ 2718.497028] loop7: detected capacity change from 0 to 40 [ 2718.502867] loop1: detected capacity change from 0 to 40 22:45:17 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000000240)="601c6d6b646f7366d8a02b0008010100044000404af8019d36cb6c2bf1e2e87a156092eb55b7a8ac03ad6554386c9d33deebee762dd33bac0528d179d378ba5b48f55ad327", 0x45}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffffff, &(0x7f00000000c0)='./file1\x00', 0x8200, 0x51) r1 = socket$inet6_tcp(0xa, 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000200)='./file1\x00', 0x101000, 0xe804b1ee24908c77) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r1, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f0000000000), 0x4) sendfile(r0, r1, &(0x7f00000001c0)=0x3, 0x2000000000000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) chdir(&(0x7f0000000040)='./file1\x00') 22:45:17 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17, 0x9}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = openat$hwrng(0xffffffffffffff9c, &(0x7f0000000040), 0x30100, 0x0) r2 = openat$selinux_attr(0xffffffffffffff9c, &(0x7f00000000c0)='/proc/self/attr/fscreate\x00', 0x2, 0x0) ioctl$AUTOFS_DEV_IOCTL_PROTOVER(r1, 0xc0189372, &(0x7f00000001c0)={{0x1, 0x1, 0x18, r2, {0x3}}, './file0\x00'}) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:45:17 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:45:17 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2718.657243] syz-executor.3: attempt to access beyond end of device [ 2718.657243] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2718.691776] loop0: detected capacity change from 0 to 40 22:45:17 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 22) [ 2718.702442] kworker/u4:1: attempt to access beyond end of device [ 2718.702442] loop2: rw=1, sector=2916, nr_sectors = 1192 limit=40 [ 2718.703934] kworker/u4:1: attempt to access beyond end of device [ 2718.703934] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2718.704712] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2718.728733] loop6: detected capacity change from 0 to 40 22:45:17 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x300000000000000}) [ 2718.742079] FAT-fs (loop4): bogus number of reserved sectors [ 2718.742453] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2718.744138] FAT-fs (loop6): Unrecognized mount option "@" or missing value [ 2718.746477] loop1: detected capacity change from 0 to 40 [ 2718.747498] loop5: detected capacity change from 0 to 40 [ 2718.760352] FAT-fs (loop5): invalid media value (0x08) [ 2718.760727] FAT-fs (loop5): Can't find a valid FAT filesystem 22:45:17 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) syz_mount_image$vfat(&(0x7f0000000040), &(0x7f00000000c0)='./file0\x00', 0x8, 0x4, &(0x7f0000001440)=[{&(0x7f00000001c0)="c3722703a34f762346fe84e847f463af04574e50880d5eaca2cc1a5abefb34072bed966d0776ff1c9d209b4c27c23ec7ec11c85349514662da99436cdafe7b6da86d9ea887791792c33acd88a0d2feb2ac9ee5b5d9fa6776c407aa98314bbae0f26414d44d20e47ca36a0f4ea251ea22a9778279b0f4fc394620ee3659cf1775ec44cabe1fa2ab7912baf1787fb0e793bf6db636b93e6285fc66e6f606b1ead6efeffcaeb03b4bfde477acff14409384bc1f11d5727b7f8c827e126e2a4fff1b1d521925aff0fa61636181e685c8e8a94118ae2577e78063f77f8340117997dfcd14637ec6f98985f836c3021b1ef83cd05ff8abb278a4ba0483eebe5d48fac6112df36665bcef62ed23bc34f47e5e3c09f4202958802f8e5fa24f5114890b0b0fa8b0dbe0425a2911ed4ebab23b5caa61ea5da9c65538ad8ed1f500083d3c67cc5108277a77c007a8180cb1e63a96a6fd523a3adca94cd6ab89bed4c5e0c46af82fb8451313f8b0ba3174b58d932282ee7d6f74b105bb6642880780fa9fdfaaf4a801bbb7a4f7f4095364ff8105de9d5936ec416fb4f6887544939f019f78e47c6c5e3ca02a090b9a7c3a634136cdfaee82347cd3c0afdb90ddbd5a48ffb96148456f516e761ed5e527ffb45cf4b48d67b962c5fced9d863b9b3f71443dd50c5524663df214d3e7bdd00327aa1a2b65af7497b5d35cbeb6958522dcf99f46104d419bafe242516d3864744bde9df8baf33682c9fcf94bd3f157742b200c6bb2b60c782c2f2f0064587bd7c9611b906e341c89897da676e22a6af06cdeeddf7635052f782d3e8c52f6493a52afc35bcf7a46e36ec8b10eb0fea531316eca6859192556de8a53cd93d5307105c82990c9c14680415371bf9a7cd58b33b1c19a4d7084eb76ebb1215987ddd52f423867ccbcbdfb4a0dfd06d18d4dbf3efdfd73870bf8de74bb8646b9c342cc3471005224826222373708a0cd1245156caffc17c05f0356829db73c5246a02b60ac322162d9cbbe1f466aaf65f6d45e5883736aa0d132788267a767b0402c14bf212cd1947a0c5b207b5499d04da3c609d894f11b54ac2248f01f59a22d4284371d8c2303305e170e2b61ced3ec4ad29e9bddb8160c0c5c31baf75aaf34733df9f409b6adcb6431ef13b093f7e4dcbbe843f9fb5d82979b5083072b6f18ee6c0c8ad62ab0d62db0e1f1d2f990d6e407979aaa8a6cfc6dad492bb714fcd3bada26b0cc07724e394eae5ebae12c352581868fd334a07272216183ae9bd187ca903e6f0d6cfb38cd2db1cb235eb02a7cdddd6c7fa0331dc4e476c2ce04afea9afea57994a370d94633bb1d075df14381179115366a4a533ba7354b2fb85aff87fba300d17e053ece770787581d7fdb4d2125ff8bdc160bda8675c33d5fb9b85ad3df5e6211c3d6be73e7365d30dcf4d4cc165e99104e01d848fb4a8460344d88070840a68fdf9d8929f608a0faea80eb9ccc36d6ee6b489fb086844937b3fbebff2f93506b20cf6ed1581f587d964a74e58237ca160bd232a12403e79750c8e70366026e5eaad1194d6ead42bdc1f43bca66abd1e677f272dd9223423f31f44a30e63593647da37f37aa42778a055448e6fa321b7fbd7ec6657ede5e1e3aa70defe3a21f4268bcfcfc9f07f990c53c78366e2c4e84a20067455bf0587654f965cf8da0c74e1b7a0133ad27d07f03541ccb6c6fe2edbc953024bd0fea9a3322b586e0baa5ff2c91d47cfba70bc935308abbac649a1eee89294562b8a8b2a45cb07d645e665798d307259473ca0fec067799d1dcd1e91cbcb5322e6e7c17f31fc1083d16b0be93b024108003eb51737962f5b6045766efe2f40bc6ad45f3418bab4b48fe5839c73607bef6f034ae2e88594482a3fdf13c5248f139008708bec35e3306ae085e90172d521d799db7e5f48ef1dcfbf38ab357f4613d8e07e5eb037872e8f2cfd517d5098008f4f2152c7cc7e9ccc3eea97189ffb1f2a19d26bf799241db04e8c94a21b0b6792e7156031763f532dc9d7dc5ff574c7fa63369a8b3a884c14456fe5acfb149362de9e84c3901fd6a372a344b89284a5e653bcd53be2f427b3877543bf6e4de8277f016d058a33b15b3ee45729eb23500a942dc50ffc0c92abad19556bcb7db11861759dd213a8ee9e3ff99755db87de7627779fa86051c13658041c362ef714f36cc6e5a7536531d7380fb12ce585a5bafbc4650fb7405f588835ca4be59fb921fcbc4cf8facd14ad4db6e44a2bd7c82344fed66895b39a2e5b4c1c8fbc62f27963064fc928f7492a0be56606960299da1d9d1056efc9731828ad3273d80ea6ade89f165d69f45a9bfe13a1eb6868f04522ca610177bf77c1c2e0f79e05b58d14a1f3370345e1479a51af49b7cc3d4ba61c5c21eea1bc9f8a13b484edf4dc6fac164f55de47e0f30932bcdf0ccad436d786d1bdd966ae733fe9ca7d7cbc1d28dd5f041219ba4297597b734d2025c62bde1962bbedd4786dd34f657016e9a523dfa390818c9362ef5793e7396be0213cb69fc6c5242f0c72eb1321a14769065a5b8e27bce1652718cf5523dd7f386ac803ad0ff900ffb170ec273ac8ce64b53016778f176dbb6216a8fa672e6ce03bcb43bd17020800c1030b02c74424cc751f04c433cf4de222d1673ced07d7d2df49ea4ae2483bd9bcc8a435e51078579e02d88f34d4b6863b39b88e97ab51b484698afd1ca7c1122e84401f8a87125757c8039015a2e6a5bfe9a790d6b61c2d194585853ddf7ce6865c28104ab0bc9cfe04d5819abb6addcf7c4ec2bef9f43418b5401a64ff8d6566701ff6842a3fa4cb5385f8e9998a57f37ab22a70e31d77cb3742afbb0bab3dd802e5e60015682b9d5912e38994221d37a627bb1bb5758bb1af87163e2bcc14df8734c77994347073840b55248a554405bff58e57ea43cc1eecbe0853539fd58cea9034a8e33bcd209237151a158344b11cafd08e54b3e1c4cfc4444c9f136a5e0dc3b25fd2e9da91442cb94ae925b0ef5f4304aa1d1facaaeb468c53dc3f9fa369296b591336cef7d2a6b130899ba11b83f0b3e71205fdfd58fe9cf4448c06d583b1ee58e380f17da656473a15929e26cbc1f703d4a2ea2f7b1d02767e38aa3fee34f3bd56727f2f82b88bc4f708642fa0581d864146bf36c82272a1e19b2440d7a4fbf532c1f2eab69ddf30b26971bff26e33a86f92a8a510865059eb1149cfb53d93121ee8c304efe935e6ce419c756254952fc7e1957743656f057845eebcc1b9ec3009aa41fb6db5c66c0c63bd07e8b9e1a6865f08b75b1add12fde103b73599c00bd49650f4ec4bb22a7d0de27cd6561381c918f1f8feab99d0f7fa0ba2946c1540a53e6915946364c5c9327659b591aaebcbc30b1757e3f37e7f183223ca6264b5f1761606f6696e39353166b862be5d48d85ba1970b7fb6aa41894d11f7bb2b7ca586cb2e13c08da4520fee1d8e8e190cb5c3ccccc1637d494216539131de894b28912809243f40d1b4506b7ba71b220b853941c909cd9ad400d0b53cd3e64d2dfe98e4c20f5757475867c65e09663c9756f7566c65a3ba8701d48805f011e8cacac6ea60b8a09bf34090d123775614592e3c02188a65170553a4c7e8ad829f45ec54dfaa4cc5002a7046055afb8478e6244db2f73b782ac5e971da2d27df4e1be63b2a6c3d4404769d45e47e69601aa3195c6188378c06bdc5aae5e552bc6638f9f4b65b0bd2353df31521b1da4f77cab620f0089cbaa18091ee020d8e7d1b3f103c469f12ad087dd3b31de22958ca4ef9cd9502b50eccb1c90ace4158a7574084957c33ce1089cc3d864a69c1c8398030974b8ae2581d2cb7cc6dfbe130edfbf6906510f97aae567ef2f5b2d43688a66ad53c034fb0932d115403c4a5127435325431146fbafe246fb1ec392d87cd6f33ec964db0ac4babd35f4d5a1fe7bf20284864fcc2bcedc0299ffb53d7f715bd7db4f6558dcb171a3beac0bf686b037acbad5b84c1163a0e0db7d47840bb08e09c9b9ba7cccf66e1b5a496ecffe779aba8272869851ab8ed2f6b31dc8b6b87bdae8ee03ae28dadef87d715a9bc0c72299bec5141616d62c50f52205839e7ec2e1a9f6bf9c07ae7ad73e1c1e36bb67f8175082c5dbe6316bdf44ef5eab77013a19e28e391b9ffbff66ee76a537be9649ee54ab2715e772939cfab77a4a76c392069769e6aef67e171b64928dec5d708dece99aceffe472de65f3e16139d8c2ca9cef1a7bcf4ecf92d6ea126c02548fc7a2c80ec227cbde9c86e780c7683025b4c90d3eb3c8426653fadbcd3d3f4590462e5ff1aaa0e4e40adabc17ccbd838f474f3f505266030062fd67d313d3251424e4e95be2a94ce9cdb7a975677ca8a6698b41d6665525bea3aeec2e4a85e8de90789715d9b0f1416cf598bf290433c8ec092fe839e1d4f91cab1b77121ee7426427498ff98eb7e80ee80590a8cffc06590659e04dba67872b679c74acddad93dc882fa39b8bec09557e3793cbd67d49ca3df27ff57d5e939002fce6c2dca059bf9ecb88520e5be665d4c5355d3b3969c8dfb46d2fa0d5534fee4b590da611da523151fd19a4d14a5e486e7faf32e4da1cf0fbe92499a9fd7bfc4613ba490b8cb4cd60590ca69fd6adcd08c834028ff87e647b183a121496fb2d33cc9552dea52dfe20d07b95d1df2a2b5f816959c3de934fa2189fcf22b6b086a19cd5e0cb624eb0559060ea11e967512dc300573bb07ad238a990ddb27fbae2f7e6c0b8a3ecfa8fce521d610507059ecdafc12302bed1ce41fbf1e374acfea2e96d61288025cb71907fb564afb0fbb5abd0b4929042194077afe7d63f288bcc9510862f8034b314dc122c5f1e086807e5e4f8b88e3b9ca641e91f68825b25afc8a663ca4e17044caf79184728ec6587b519af78951b34a88ccf367be83adfe2451fd01d025b0286a4c983467601a3441150dcab24d4bbfb28109920524b219c658cb66b99dcf16c72c1c50bcb14dcbfeca5bf314b46a6965c9a74aba29f3d9b44ae00f398d8e7d30fa22e2285a833f5e5ad160c1571abc567077f7214e8fa8ebeed6dc7ca50ca7de970188441001ba46702d5aea395fe3dcbd15faebaa3c051639ac654e6035242e0fbd15bbb4f06a163be4ff1dd58b507ce821b5fc85902e06b0aef07b348ec31bfeb9cd5c87f87babab62be4b7c7750ac2e3e5b86412ae6388bea3daa6b427029c595834bf0ddf3542fc8d2ed5e9bff4ea4268521ec1b654352f6ae0961eb333bc1b9911a9ee50bd6ff2aa97933b213435e95bec41449881fec83896bafa437d37865eed64f722e572eeeecd245c625c66f283ebcda26940b9be2e893f005ceb9fc49c862aa7ca5930316333b56419e4eb683e249e5b17d9a5ae815f8b0be4721fafa8d092077302d0a1ea395c61b89c403f420375d4977e4ff25327e668a3fcc280ab50bc7331690e6d1f51a1e641c6670e0ac282bdfc62b8224be13b57635f97d777ff846770c91a989c554d6567cd5b1b0de5f2b67d396ef9112d960b56d6d84a18ed3ef2856261d564b2e547988f4a5fbbbe8b790528568f97f7460578ca9b22cdf7a2cc63db278916df8a218760ab2c360bb37aefd71c03b4311bd0788e4707a46d5a23608404f7536c9f67edf52eadff0ebda8903a2bd01a2bbd5facb1b3ea4d0b9d3cfa4351b25bc8d9d33aba2c1e5c9e16f0c3b7f5f91d6e01d7703e6f9352a2f336aa4e25b176bdc5dba69ed4be2c1ee14f5793ff93fbb24bb9b0c95d04af671004e2ccf25426167abfb37142", 0x1000, 0x3}, {&(0x7f00000011c0)="21a1bfec955fe85c65c485b9051919a8cf2b9e77fba264cb0d5ca1fd9cde1097f5c4d9b92e9352b4872c19d5d65e7ce90777539627e1eec0f90b83199ec202b4771a8b352e35387770893d928d25ac62e78405269f41d0bddd57bc2cd63981434fcf9d2f03afc4820062e4fdbea71d6d2a2c3e3a8d4543439bfbd0879a621dc776eddefce3dc63685b7d88f25aba1c53956bf49189d0d7461162666cc65d04cc8ef4fe06b48c98ade0cb82c78d45624af057b4d2f232696f94", 0xb9, 0x80000000}, {&(0x7f0000001280)="8c017d00d5d61385521cabf52506b38328f358c1cb5b80d7e57063aa8be07e8f920cdb790f62ba6ed0d50d310cc685aa2b8fed6dede6b2b8f0f0aca885e0952aeae111be3ceaf8a0438f882d575ca8106ee349f8bc4f4fe9af535c6e59d266fdb5dd78588d038fa9e2cba5673840c859f88e1d47773e1dc650b731ee38229788d6dea10c540d70a2db152012c4d3566154e896e6d179b7b38db26624a4fb553aacec8f423e933e88a879a007a28fb16e203f1545762b900a2466babb09d58f760e7a92f1a5da1b12fa55ef0b2b376012422c624ba9bf8369627aa9d7f48a4ca7998a9ddfa7b0902a4fa55f4cbf65a2f3a6e44e4d1c", 0xf5, 0x8}, {&(0x7f0000001380)="6db9da874efbd76bfc05916290457e8127c80d18d51623046081034a9006969bcc410968b443c4d150126224454094c42e90d7d1fb3274c96e3d10b97d8e7d9d6b3897a0d5e8ee9a1ea1d100c38d2da7ecd693f0f3c3b54b786908553e597f4ce44d55c67f6fbaba362be2a18ba38a06bc7e83ddbb7bb91ff762c2bbc8c31bfdfa37d4c40c4347ce11d442cd2d61bb14ba2a76", 0x93, 0xffffffff}], 0x4, &(0x7f00000014c0)={[{@uni_xlate}, {@numtail}], [{@dont_hash}]}) [ 2718.799926] loop5: detected capacity change from 0 to 40 [ 2718.803099] loop6: detected capacity change from 0 to 40 [ 2718.808421] FAT-fs (loop6): Unrecognized mount option "@" or missing value [ 2718.809138] FAT-fs (loop5): invalid media value (0x08) [ 2718.809495] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2718.837348] loop3: detected capacity change from 0 to 40 [ 2718.858934] syz-executor.3: attempt to access beyond end of device [ 2718.858934] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2718.863762] loop0: detected capacity change from 0 to 40 [ 2718.865060] loop2: detected capacity change from 0 to 40 [ 2718.886252] FAULT_INJECTION: forcing a failure. [ 2718.886252] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2718.887054] CPU: 0 PID: 13525 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2718.887533] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2718.888027] Call Trace: [ 2718.888194] [ 2718.888343] dump_stack_lvl+0xc1/0xf0 [ 2718.888595] should_fail_ex+0x4b4/0x5b0 [ 2718.888864] prepare_alloc_pages+0x178/0x500 [ 2718.889167] __alloc_pages+0x149/0x510 [ 2718.889425] ? __pfx___alloc_pages+0x10/0x10 [ 2718.889713] ? __pfx___lock_acquire+0x10/0x10 [ 2718.890021] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2718.890319] alloc_pages+0x1a0/0x260 [ 2718.890564] filemap_alloc_folio+0x374/0x410 [ 2718.890871] ? __pfx_lock_release+0x10/0x10 [ 2718.891156] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2718.891480] ? xas_load+0x6a/0x140 [ 2718.891718] __filemap_get_folio+0x32b/0xcd0 [ 2718.892011] ? __pfx___filemap_get_folio+0x10/0x10 [ 2718.892330] ? lock_is_held_type+0x9f/0x120 [ 2718.892618] ? find_held_lock+0x2c/0x110 [ 2718.892892] pagecache_get_page+0x2e/0x130 [ 2718.893174] ? __pfx_fat_get_block+0x10/0x10 [ 2718.893486] block_write_begin+0x35/0x450 [ 2718.893766] cont_write_begin+0x4fe/0x700 [ 2718.894042] ? lock_is_held_type+0x9f/0x120 [ 2718.894345] ? __pfx_fat_get_block+0x10/0x10 [ 2718.894663] ? __pfx_cont_write_begin+0x10/0x10 [ 2718.894967] ? __mark_inode_dirty+0x249/0xee0 [ 2718.895267] ? generic_write_end+0x1fe/0x3d0 [ 2718.895559] fat_write_begin+0x89/0x180 [ 2718.895819] ? __pfx_fat_get_block+0x10/0x10 [ 2718.896107] cont_write_begin+0x2fc/0x700 [ 2718.896390] ? __pfx_fat_get_block+0x10/0x10 [ 2718.896682] ? __pfx_cont_write_begin+0x10/0x10 [ 2718.896985] ? lock_release+0x1e3/0x710 [ 2718.897258] ? __pfx_fault_in_readable+0x10/0x10 [ 2718.897594] fat_write_begin+0x89/0x180 [ 2718.897859] ? __pfx_fat_get_block+0x10/0x10 [ 2718.898183] generic_perform_write+0x25a/0x580 [ 2718.898487] ? __pfx_generic_perform_write+0x10/0x10 [ 2718.898854] ? __pfx_fat_update_time+0x10/0x10 [ 2718.899162] ? __pfx_file_update_time+0x10/0x10 [ 2718.899475] ? generic_write_checks+0x2c0/0x400 [ 2718.899788] __generic_file_write_iter+0x308/0x4b0 [ 2718.900137] generic_file_write_iter+0xe7/0x350 [ 2718.900449] do_iter_readv_writev+0x211/0x3c0 [ 2718.900780] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2718.901116] ? avc_policy_seqno+0xd/0x70 [ 2718.901426] ? security_file_permission+0xb5/0xe0 [ 2718.901754] do_iter_write+0x18b/0x700 [ 2718.902024] ? __x64_sys_pwritev+0x233/0x310 [ 2718.902310] ? lock_is_held_type+0x9f/0x120 [ 2718.902635] vfs_writev+0x1ae/0x660 [ 2718.902888] ? __pfx_vfs_writev+0x10/0x10 [ 2718.903186] ? __fget_files+0x24e/0x480 [ 2718.903452] ? lock_release+0x1e3/0x710 [ 2718.903750] ? lock_acquire+0x32/0xc0 [ 2718.904015] ? __pfx___fget_files+0x10/0x10 [ 2718.904331] ? __fget_files+0x270/0x480 [ 2718.904613] __x64_sys_pwritev+0x233/0x310 [ 2718.904914] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2718.905234] do_syscall_64+0x3f/0x90 [ 2718.905482] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2718.905816] RIP: 0033:0x7fe786258b19 [ 2718.906054] 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 [ 2718.907258] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2718.907739] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2718.908180] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2718.908622] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2718.909064] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000002 [ 2718.909505] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2718.909965] [ 2718.968169] kworker/u4:9: attempt to access beyond end of device [ 2718.968169] loop7: rw=1, sector=2772, nr_sectors = 1336 limit=40 [ 2718.970384] kworker/u4:9: attempt to access beyond end of device [ 2718.970384] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2718.971175] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:45:33 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f00000001c0)="601c7f6b646f7366d8a02b00089d61f0f5e46d7c5777c8b1cbb07f2a6757ff952e2043acaa115aa7057379b400000000000000082f20697c8f88a425ceaa651301d8f40338837cad0000000000000e9a0000000000000000", 0x58}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000040)=ANY=[@ANYRES64]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:45:33 executing program 1: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:45:33 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 23) 22:45:33 executing program 0: add_key$user(&(0x7f0000000040), &(0x7f00000000c0)={'syz', 0x0}, &(0x7f00000001c0)="f30d4cf0e0864458b09f98548a274ed267f9fd58a9e0fbc536a4104de30d355b80b19fe69e2c9917f2bfa352ec4870619bc31a49c0fbf0a0553adb0f52cd38cc6e9d84084d5625dee18f0e343f22a99412d01c45f19948b65f0098e619c2dc411bae980162ea2ba89c499db5eb14b8f2876cbcfe8b3ceac0b2ee62adfef93e149b186175c9910c9d9891bd84d6d8b0", 0x8f, 0xfffffffffffffffb) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2734.183797] loop7: detected capacity change from 0 to 40 22:45:33 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0xffff, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c5a6b646f7366d8a02b5cdaa91500044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x2000000, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) open_tree(r0, &(0x7f0000000040)='./file0\x00', 0x1000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file0\x00', 0x141042, 0xb8) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:45:33 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x400000000000000}) 22:45:33 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 42) 22:45:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2734.188358] loop6: detected capacity change from 0 to 40 [ 2734.188838] loop3: detected capacity change from 0 to 40 [ 2734.190556] loop5: detected capacity change from 0 to 127 [ 2734.191969] FAT-fs (loop4): bogus number of reserved sectors [ 2734.192378] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2734.197853] syz-executor.3: attempt to access beyond end of device [ 2734.197853] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2734.205917] loop2: detected capacity change from 0 to 40 [ 2734.210134] FAT-fs (loop6): Unrecognized mount option "" or missing value [ 2734.215672] FAT-fs (loop5): bogus logical sector size 55900 [ 2734.216360] FAT-fs (loop5): Can't find a valid FAT filesystem 22:45:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2734.231133] loop0: detected capacity change from 0 to 40 [ 2734.238965] loop6: detected capacity change from 0 to 40 [ 2734.240703] FAT-fs (loop6): Unrecognized mount option "" or missing value 22:45:33 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x500000000000000}) 22:45:33 executing program 6: fsmount(0xffffffffffffffff, 0x0, 0x0) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:45:33 executing program 1: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2734.414408] loop4: detected capacity change from 0 to 40 [ 2734.421628] FAT-fs (loop4): bogus number of reserved sectors [ 2734.422043] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2734.448586] loop5: detected capacity change from 0 to 127 [ 2734.466825] FAT-fs (loop5): bogus logical sector size 55900 [ 2734.467560] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2734.467727] loop6: detected capacity change from 0 to 40 22:45:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2734.653776] loop3: detected capacity change from 0 to 40 [ 2734.664434] kworker/u4:8: attempt to access beyond end of device [ 2734.664434] loop7: rw=1, sector=2636, nr_sectors = 1472 limit=40 [ 2734.675889] kworker/u4:8: attempt to access beyond end of device [ 2734.675889] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2734.677362] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2734.678525] loop4: detected capacity change from 0 to 40 [ 2734.686906] FAT-fs (loop4): bogus number of reserved sectors [ 2734.687230] syz-executor.3: attempt to access beyond end of device [ 2734.687230] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2734.687325] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2734.720479] kworker/u4:8: attempt to access beyond end of device [ 2734.720479] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2734.721925] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2746.990130] loop5: detected capacity change from 0 to 40 22:45:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x600000000000000}) 22:45:46 executing program 5: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file1\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17, 0x5}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') readlinkat(r0, &(0x7f0000000040)='./file0\x00', &(0x7f00000001c0)=""/160, 0xa0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:45:46 executing program 6: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') openat(r0, &(0x7f0000000280)='./file0\x00', 0x80080, 0x108) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r2, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) readlinkat(r2, &(0x7f00000002c0)='./file1\x00', &(0x7f0000000300)=""/148, 0x94) sendmsg$IPVS_CMD_DEL_SERVICE(r1, &(0x7f0000000240)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x400000}, 0xc, &(0x7f00000000c0)={&(0x7f00000001c0)={0x70, 0x0, 0x201, 0x70bd28, 0x25dfdbfd, {}, [@IPVS_CMD_ATTR_SERVICE={0x5c, 0x1, 0x0, 0x1, [@IPVS_SVC_ATTR_ADDR={0x14, 0x3, @ipv4=@local}, @IPVS_SVC_ATTR_ADDR={0x14, 0x3, @ipv6=@empty}, @IPVS_SVC_ATTR_SCHED_NAME={0x7, 0x6, 'fo\x00'}, @IPVS_SVC_ATTR_FLAGS={0xc, 0x7, {0x13, 0x3a}}, @IPVS_SVC_ATTR_PORT={0x6, 0x4, 0x4e20}, @IPVS_SVC_ATTR_NETMASK={0x8, 0x9, 0x2a}, @IPVS_SVC_ATTR_FLAGS={0xc, 0x7, {0x4}}]}]}, 0x70}, 0x1, 0x0, 0x0, 0x4000004}, 0x10020) 22:45:46 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 43) 22:45:46 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141002, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = socket$inet6_tcp(0xa, 0x1, 0x0) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f00000018c0)=0x1, 0x4) connect$inet6(r1, &(0x7f0000000080)={0xa, 0x4e24, 0x7fffffff, @rand_addr=' \x01\x00', 0x3}, 0x10) setsockopt$inet6_tcp_TCP_REPAIR(r1, 0x6, 0x13, &(0x7f0000000000), 0x4) fcntl$notify(r1, 0x402, 0x8000003b) 22:45:46 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 24) 22:45:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000000)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:45:46 executing program 1: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2746.994200] FAT-fs (loop5): bogus number of FAT structure [ 2746.994552] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2747.013727] loop5: detected capacity change from 0 to 40 [ 2747.016047] loop6: detected capacity change from 0 to 40 [ 2747.016444] FAT-fs (loop5): bogus number of FAT structure [ 2747.016877] FAT-fs (loop5): Can't find a valid FAT filesystem [ 2747.026382] loop3: detected capacity change from 0 to 40 22:45:46 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2747.040508] loop4: detected capacity change from 0 to 40 [ 2747.044384] loop2: detected capacity change from 0 to 40 [ 2747.053066] FAT-fs (loop4): bogus number of reserved sectors [ 2747.053465] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2747.058003] loop7: detected capacity change from 0 to 40 [ 2747.061916] syz-executor.3: attempt to access beyond end of device [ 2747.061916] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2747.063758] loop0: detected capacity change from 0 to 40 22:45:46 executing program 5: r0 = syz_mount_image$vfat(&(0x7f00000001c0), &(0x7f0000000200)='./file1/file0\x00', 0x1, 0x2, &(0x7f0000000000)=[{&(0x7f00000000c0)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x109010, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(r0, &(0x7f0000000040)='./file0\x00', 0x181402, 0x1) openat(r1, &(0x7f0000000080)='./file0\x00', 0xc0340, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1/file0\x00', 0x301000, 0xd8) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2747.096101] FAULT_INJECTION: forcing a failure. [ 2747.096101] name fail_page_alloc, interval 1, probability 0, space 0, times 0 22:45:46 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) creat(&(0x7f0000000040)='./file1\x00', 0x190) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2747.097645] CPU: 1 PID: 13598 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2747.098708] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2747.099731] Call Trace: [ 2747.100088] [ 2747.100380] dump_stack_lvl+0xc1/0xf0 [ 2747.100892] should_fail_ex+0x4b4/0x5b0 [ 2747.101418] prepare_alloc_pages+0x178/0x500 [ 2747.102021] __alloc_pages+0x149/0x510 [ 2747.102540] ? __pfx___alloc_pages+0x10/0x10 [ 2747.103141] ? __pfx___lock_acquire+0x10/0x10 [ 2747.103757] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2747.104366] alloc_pages+0x1a0/0x260 [ 2747.104869] filemap_alloc_folio+0x374/0x410 [ 2747.105466] ? __pfx_lock_release+0x10/0x10 [ 2747.106050] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2747.106709] ? xas_load+0x6a/0x140 [ 2747.107193] __filemap_get_folio+0x32b/0xcd0 [ 2747.107789] ? __pfx___filemap_get_folio+0x10/0x10 [ 2747.108448] ? lock_is_held_type+0x9f/0x120 [ 2747.109028] ? find_held_lock+0x2c/0x110 [ 2747.109579] pagecache_get_page+0x2e/0x130 [ 2747.110145] ? __pfx_fat_get_block+0x10/0x10 [ 2747.110307] loop1: detected capacity change from 0 to 40 [ 2747.110716] block_write_begin+0x35/0x450 [ 2747.111744] cont_write_begin+0x4fe/0x700 [ 2747.112310] ? lock_is_held_type+0x9f/0x120 [ 2747.112866] ? __pfx_fat_get_block+0x10/0x10 [ 2747.113456] ? __pfx_cont_write_begin+0x10/0x10 [ 2747.114066] ? __mark_inode_dirty+0x249/0xee0 [ 2747.114678] ? generic_write_end+0x1fe/0x3d0 [ 2747.115289] fat_write_begin+0x89/0x180 [ 2747.115816] ? __pfx_fat_get_block+0x10/0x10 [ 2747.116404] cont_write_begin+0x2fc/0x700 [ 2747.116980] ? __pfx_fat_get_block+0x10/0x10 [ 2747.117565] ? __pfx_cont_write_begin+0x10/0x10 [ 2747.118188] ? lock_release+0x1e3/0x710 [ 2747.118710] ? __pfx_fault_in_readable+0x10/0x10 [ 2747.119358] fat_write_begin+0x89/0x180 [ 2747.119884] ? __pfx_fat_get_block+0x10/0x10 [ 2747.120472] generic_perform_write+0x25a/0x580 [ 2747.121078] ? __pfx_generic_perform_write+0x10/0x10 [ 2747.121721] ? __pfx_fat_update_time+0x10/0x10 [ 2747.122331] ? __pfx_file_update_time+0x10/0x10 [ 2747.122956] ? generic_write_checks+0x2c0/0x400 [ 2747.123589] __generic_file_write_iter+0x308/0x4b0 [ 2747.124211] generic_file_write_iter+0xe7/0x350 [ 2747.124828] do_iter_readv_writev+0x211/0x3c0 [ 2747.125431] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2747.126083] ? avc_policy_seqno+0xd/0x70 [ 2747.126639] ? security_file_permission+0xb5/0xe0 [ 2747.127306] do_iter_write+0x18b/0x700 [ 2747.127840] ? __x64_sys_pwritev+0x233/0x310 [ 2747.128432] ? lock_is_held_type+0x9f/0x120 [ 2747.129020] vfs_writev+0x1ae/0x660 [ 2747.129526] ? __pfx_vfs_writev+0x10/0x10 [ 2747.130082] ? __fget_files+0x24e/0x480 [ 2747.130607] ? lock_release+0x1e3/0x710 [ 2747.130821] loop5: detected capacity change from 0 to 40 [ 2747.131159] ? lock_acquire+0x32/0xc0 [ 2747.132057] ? __pfx___fget_files+0x10/0x10 [ 2747.132634] ? __fget_files+0x270/0x480 [ 2747.133183] __x64_sys_pwritev+0x233/0x310 [ 2747.133706] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2747.134339] do_syscall_64+0x3f/0x90 [ 2747.134824] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2747.135505] RIP: 0033:0x7fdf12d79b19 [ 2747.135971] 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 [ 2747.138199] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2747.139124] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2747.140020] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2747.140925] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2747.141821] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2747.142715] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2747.143657] [ 2747.166212] loop5: detected capacity change from 0 to 40 22:45:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x700000000000000}) 22:45:46 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:45:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2747.224570] loop1: detected capacity change from 0 to 40 [ 2747.232133] loop4: detected capacity change from 0 to 40 [ 2747.237820] loop6: detected capacity change from 0 to 40 [ 2747.240580] FAT-fs (loop4): bogus number of reserved sectors [ 2747.241101] FAT-fs (loop4): Can't find a valid FAT filesystem 22:45:46 executing program 5: chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = syz_open_procfs(0xffffffffffffffff, &(0x7f0000000040)='net/ip6_mr_cache\x00') ioctl$AUTOFS_DEV_IOCTL_PROTOSUBVER(r1, 0xc0189373, &(0x7f0000000080)=ANY=[@ANYBLOB="01005d000100000018000000", @ANYRES32=r0, @ANYBLOB="03000000000000002e2f66696c653200"]) openat(r0, &(0x7f0000000640)='./file1\x00', 0x13f4c0, 0x110) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file2\x00', 0x111041, 0x0) ioctl$AUTOFS_DEV_IOCTL_OPENMOUNT(r2, 0xc0189374, &(0x7f0000000400)={{0x1, 0x1, 0x18, r0, {0xfff}}, './file0\x00'}) setsockopt$packet_int(r2, 0x107, 0x8, &(0x7f0000000980)=0x2, 0x4) ioctl$INCFS_IOC_CREATE_FILE(r4, 0xc058671e, &(0x7f0000000700)={{'\x00', 0x2}, {0xaeab}, 0x4, 0x0, 0x0, &(0x7f0000000440)='./file0\x00', &(0x7f0000000480)='./file2\x00', &(0x7f0000000580)="014261f90c24edbe8f2de6a9091cd253bdcb0bc3daa715b28d52a002ebe7003d45536ef22f9f06251199202f7f7adeb34702c27feba76df00874dc34e8314df530327e3b793ad1fc242f0af5860dfb215d672825b5a331", 0x57, 0x0, &(0x7f0000000a80)=ANY=[@ANYBLOB="0200000069000000000000000c0800000060fef15ff585a57d540005000000000000006235a9b2830688a798d824bef2439e0f71c1597d12be3627e66c89f1a8b8fe0a31c52452cb6b3cb023c34263663764a054933c8efb34a80bde3422d56dc354c17e204fca6eb34eefa1e2cd60cb9e540000008544d2fd6ee8fc08660faf7777b8848f91de0e4fee72b62116d235bb0ca96ab4fa080000001c6a7f820e8c18e36822614d68469dc2672d96dc83f43298737ffd7f732aafd353c7ee1d558f4b5592c8523b1402003b3c682735dada5573ff27efd4f63c29e8ba80f0f72da88520a170325086a5604beaccb0673ff6fd35771f2a9faf41fca5d043c9b0a248a37134910dfe3d6ea2d4ebea9906000000000000aec5376505128a9f887af1dd7cce5705d71fd7d5187cbc244567a37c77d50ecd47da2e71428db1e3143dcbb6558175"], 0xc9}) preadv(r4, &(0x7f0000000a00)=[{&(0x7f0000000780)=""/229, 0xe5}, {&(0x7f0000000880)=""/242, 0xf2}, {&(0x7f0000000980)}, {&(0x7f00000009c0)=""/42, 0x2a}], 0x4, 0x1400, 0x8) ioctl$EXT4_IOC_CHECKPOINT(r3, 0x4004662b, &(0x7f0000000340)=0x1) perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0x77, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r5 = openat$sr(0xffffffffffffff9c, &(0x7f0000000380), 0x800, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) sync_file_range(0xffffffffffffffff, 0x4, 0x546b, 0x2) ioctl$CDROMREADAUDIO(r5, 0x1276, 0x0) r6 = socket$inet6_udp(0xa, 0x2, 0x0) pwritev(r6, &(0x7f0000000280)=[{&(0x7f00000004c0)="223b226c1fa3fd434f3f0706251d05dcb0d268beb608706c1ba326e0b43070a13a34d36b592b7bae89e7710713b1a7a6721415c7f857c7c9549962be34268e65a9bcccc2fb971a15b3f05e79a3dc43abb92b3b8ce77a19fa2810a9a3692f360d464efd063971bff3975fb39619424db29552a20d2c278236d5b853c37f6605686d6241c7e404188535ed2f01541364ec3ca4079cf410de343a718134b5c5b0efa5f8cbd8fa5fc5b42b5d5672fb", 0xad}], 0x1, 0x0, 0x0) vmsplice(r3, &(0x7f0000000380)=[{&(0x7f00000001c0)="a0c452f84f14016b8356b0e92b63b9c358bee87b10a994fca7b5dcf35b7d1f5ccf618365adbe8ee18fe62cdf6897d6a4c63929c6caafdfd54255c16c9e7e8826c08c10a50f29e11b385a1bf00c422037fcdc0b33d0cca4193a1fc345dba9620f38be78662d0ba18fae6a23ae15293f2043d12afc2667cb88c16eb63e39e20e7b1a970c691f82a91d6cc29b349c1486a4bcd16620e5e4f637e5dc0214d91ed9902ea51d47f076b61b2352f18d568b71299fa090e3493e22a7596a73a7", 0xbc}, {&(0x7f00000000c0)="84457636252cad9e1cdd3b3b5b105f5526c22fc7ab44b5085365cdf9995c006c0f", 0x21}, {&(0x7f0000000280)}, {&(0x7f00000002c0)="546ba8fe22924b70d1dd40d1ff5d30cb2a703c0269515aec63d4b3621537d7c79a77a878bc880de9701226970b1daa35cef1e67eebcefa961075738dfd61a5f6dbc1cb820b9cdc28", 0x48}, {&(0x7f0000000340)="14ef9a1014ede04b62c17840918a07a0901641174d2a00a840e6d5c129719a64583ecf87fb1a28019e2f9a5ee146e3f0d49900000000", 0x36}], 0x5, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2747.265384] loop3: detected capacity change from 0 to 40 22:45:46 executing program 0: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) sendmmsg$inet6(r0, &(0x7f0000003080)=[{{&(0x7f0000000040)={0xa, 0x4e23, 0x2, @private2={0xfc, 0x2, '\x00', 0x1}, 0x2}, 0x1c, &(0x7f00000003c0)=[{&(0x7f00000001c0)="2e3e50eb94f1d4ec063dedbdd4cc6b77f641a9fe8884a1111ce4a1d7899be55cb907867ac27b63afe8e0a133e0a0b06ef0dcee87210f34c25ea5f4240cf0b9933bd2c7d3c6c090af83b7f0a7558dd7ae0f6098091ab7c59fc9ab6942c282f0608dffed1643257cef3576f9f2ec92badb83ef6d705f61b28aa7cb2b11a7d97e344f23f571de9316a7700f9c2501d5f528b2de0c0ea9f1ed4af39c8c083c10a8424b1fa92353c082365a24e3d73ecb9e73098527e2493e45d9c816e5212201626d917a9937722fe4aba624ac3bb270ae9b1899ce3b12239b57226d1518b8", 0xdd}, {&(0x7f00000000c0)="1de7db4ab89b155d13e2ac4051bd73c12124f02c3d474a9bf4", 0x19}, {&(0x7f00000002c0)="777bc3a5907ebf11714004ad2ccd13059b642d8d7140a1699af59a8414c41591194d188fac44d494a0f7fa6197dcaf3f891ff751f56b017d3484a88a3f957a867165fea015cb21594b462ee4706dfa1333d2907aa4599b34cfe2febacf5b9a24e6afe80c34e96006e92c944406a4d6325cb6eb5b47eea81a48f7da68db4de94f6445ffc4c856dc033a86e7d502967fc3b676f1b68e877b1c8a04a92eae50e554779b5ac085e6a3f9ced899be7e8ea87e4b517f189a664b37ddb9dc08644fab6d9c7b85e1530ce1453ede77682fce", 0x8}], 0x3}}, {{&(0x7f0000000400)={0xa, 0x4e23, 0x2a23, @loopback, 0x3}, 0x1c, &(0x7f0000001800)=[{&(0x7f0000000440)="fe74fa91201aee12894c43d14aee61f46706d72ecde6e9cc67d41bf015cb33f8b8b135157669e57b3057c3fb6d4dcd918ed13c38aea8b9dc7728a7ee490dc8eff55300d11e307f4ea9437c9d8cf6803420dc0f959c1d068f423f3dc45d1f24799f21aeffcccf893587555513c22db415ff51749bb9d7baafbfb8f4442f25a4cf05f7bd186ff15226de4edee7e88a8b3eb129a77b60ce4112a463cd696a95aca7c2497c80c9f015b4f0a1b7defd126f48457af7bb8bb36f0a2d89565b42dc1bb32ce59ef73ae14e", 0xc7}, {&(0x7f0000000540)="1defbeb19377626ae7d16a013bb10c18877c8e5d59a9117e5e419700575708d1c07c41a7f0681e335be09c40134c1e540eed852896af26725e1410e502c094c26612963ffa53ba9b0102cd30c2305da8f567250b71974f8ceaaf6c98845dd5edfcfd3a53100dc1cf96563778cb520cabf1fa6e9d317838b37d78eb1e5754f411f7e3006ca91f126368198a09f1986b901fc756280cdd48028850e65990c7b1672f6901a469c06d9c397c7647932fc50614668402316242cd657a371d054721005a5edf24bf29e3c90d4e32bc0ae1d322227287e085edd58ed8e7057fc5920710654a9dee3e36e757c302f12feeb6c9bbc21029434154b9b3750aee5e44eaae86248a2b25dbd5838780c3ddeac95b7e538023d9eb46d87e06411a2d21ec97f8fbc0a1c48637c2845e67aea6ddff1b1f5fadc4b7c78ec56bb4b21f961331cadba6d02a788ad1c45e7657b38cac3fc3457a6660e06fd8b9d14943804e1fafdbcac3f32d44dfe779fc9e37584be81e66b0e2ce413b18ca783c8fc4fceb4f46fd6b8852857b7653943a27c28d8583ff3caff9fe45f10934a7940cf48933781c7be5af626ab5b71d73e420315536d026f89bcc584434359d2271a2b1afe55cc3c387890182b45294c0347e051323f1fa7d70c8eea36ca714b57ce39b2b7fb10bb4254fc0af690815a6c9e42375040b0f08d245d4c269c267de58955790d27b64760b1ecf853ede5940a52e4e2ee2a80d04a2a3cb54b0cff4e0cc40a0f0b52f10a8a95c3b69ae6529f8012682a1e86f3391fbc5642a37702dfa0b01df319ebb91f0bdd73daad62710d34062703dd3061d5f5331011207933efdaafc6e9295dbf6aae3636a241274e73b23b91aae8189d1bcf35240828a9d88f9f75ae0ce58a23f2737715f0fe82c81e9ac9870603cfe9c65517976d8ad11267a07993bd372884393fe150b9585ec5def42950fc2b9f5a97924da178775264f6c00cecf9deebb2dfce597ca929845425ef107f9e927b1afcf6e7884701fe6cacc73b1f7f1317b46ef8e67acef0f15c72618e5fc2635714a7745441716d775e55ea8513509cf95d3c07002aed667d382d57a9111ced865aa2a7c2084548770419b0d0aa8854ce7f02f04fc01aa7870f8d7aada8fd2adc010e3cacccfc34a3452ff86da0d8821ae013ba16010011976a71452cf03d1618c725aab80e766ee177bc986b66d5e9b17f0cbe677bc2c37e269c1852bc04b7c5e3674fe6486440f584c654264d448d06e21c9b8b3f40508c1600d575f0886ab58be5f86e53516d776f2ec9e5eb707736ec8770b22a3ee627ed684f15e4cc780b24b890e6476ec045ea52e3886165de169d1743d18075b675c9f4b0a38261b850c22dedeb4d906aa63bd7feeb504e4396eae1a58c1fdffe6737a05f4363f7c7531b7f5e88dad9df844bd5b320d6e309f51ec2f26a7aecccdf4e9ca7edaa76bd9f58d6e8dc847e30c04f5f4782b40f72b9b2931b37ea239a61b30751a131dcc76476460f7f3a06e528d2575bb46050e84b87435338b7b38cb5fda1be4aa4f129431b7d48176237ac48154ffaaa95fd64cc5027d797b052645485821f7d5e55007a91c936fb1cb6cfc2bc33601251b757b8c07e0d139ce35a939514e8bc506bdb704ff1d8f1cde2c7636bb6b0e3790a6423d487b36c3900c3ee74a334f0e9c8a0e90cd1ba80d34aa82a17c80815ff1e2a2765d2fec79898860eb9ac9e8533597e7b226c4c67e9a92f9f05697a6ea067fbec53459503dc4c2322b4c69185e1641e3d5d40094ce99ab100ced829e2f09b105b8c5b50af42233895633fff041cf282548cb100a3d2f24f31c60ea984e77952707f17206575adf284e63e6fb711568a8da6a97a937eec21f70e8a32611054f47bc37f3c8a3e2b08419b33e5ab86c3b80ce30b97a4aa153aeb1be836d19b41ea767f227d62f4d8a4d4656ce91bc78373bf6ef7f9efecf8c9686e4662ba05b3238f8d82190715c44dcf5036e1090f8c8358c70d1ada0fc1869fc39d828994d286bb93fa17da01ef7a21d4b0d3b1208f133b497f4fc1e2a7e24b9b0d1e9bc6c38a2fe5cb393653a6c8deb6201ab41ab6d40d9eb5b9473be99e1ad50dc2ebc9b0506087cde77bb83a25359fdaef6ae71b2d77c24ba3e85549b392518eac8cf6689afac4ce02237bdfc2ae791dee1ebf789645141d31a81e126922e856b86069fb191f6bc08281299978193686b22bf6afda249e6d026e05e0543e6ce519c00564ed757f5c258a737d4359a76dcd9668e7a80feb11f817641dbf44174e64cc8e80b8d6cfe576129176e47977b3d5d14858e1435d67fef1e12598f433acefad2b3a3d26427a3fd403776a8c6fbfe7a496cd1799c58d01430dfafd1026abeb4169f7c81aac2a35c29d8c87844171d8278abe259228dc017a01ae278f61df5b79ae854b73632116f014470c77cdaa8a7ce0c74e1be92cb655ed2379851216427c7b726fa48b9bc9562a867d233fbdca23479530905250cfb56e7fad90fc50be58755b4f01ff85a7ecf929283845867f8645a741a7dc8f5ed56e23f9da768123dd2cd9900c1802d4da30a42122cf86dbfbb9e8664b8bb8387c2a49287d72b0e56293e28c3d6a2360deaa290318f50e6b0b3413923ab578991f15248e1231c150ce317933345b4bc14a4a9ca31284065281bf10d53587d0895914d0b8ba881148bd5aaac9505a7ddd74afd3aa8f22a36400f3a5c7d3dfcd1dbeb0356e6916922108098b38eb0902174f7e063c88540c47720511f4bb2643ceefe7c877936c78437369653494b4964f0642b6829cfc5aeb12fd2244ba7b5d00f3f8ddaf6abe306480201446cbae0223dc2a3af2c9bbf32f42090edb36a19665d927b12640b0b2475f05de50c49a6a3ad194d8917241d001ded7989698814f478a94db64c34554123659dfd7377305b5a28c3702bffa91453e83f0e73eb1d15a00b3cecef6209262a5ac1a48ee197333e0a65f7ec848521bcc8dc16a5e791e1bc6286dbb6497918b6163cf0e6708b79c14eee7d2f7301fd00036c7ce57419ce3ef5ca3bf9b794c76cc7cd82041061a51a2e28cf9ef314a4d4f6d24cf57bd6cebd354f40217644c636965e12b37300557812c038f05d6d43889ffa19b240d01297b5d3d5a43d6c8d8d5f2cdf8c4909c566056dc41ef5732499bcc4aa8820ca398203bebbab639ebf8065d3a589724ab21146b536a0f2aa5d4fb4d47ae1c58af4531d7175b1965a7348949c1297750e7690365af4567b298e9c21d2b6089a0abe44c7fcc680351ad59a064231bf9c9983f6bd19153327dcfc1030d97fbc054396ba2c5f5bc14d63d0db0b0f3a562ca7b27849730f1feb3fab5ba4aecbaab4ed928926043f07b1906ba9127ccc369e420fb04ef4095f0eb1727d118b576dae6579d0a38e8b2497853fcfce9d6c3e65a266724837dd67f12453830b4d323bc093e868bfc1afa6c9016acd131e952398b2e3b95fc681d0715df47a77d081be0bfc9147cb5aa15b0c727a26a0332d5e66fde5b6408004fde5a294a87e6d803709529e56b411f86da009fffa43685ab030fda183803e66aed59adecebbc251e28544269d149c9cc70a15bbdee868622b72e6ffec338039faf25bd1949ab4e8c4fbb2fc750cbdd32b1d0060c433751c0251fefa237030259645e4cb056d2a8dd8746da8c3839710c0172d25ff117545399c2880585edb8bf6807f58f06cf8c2a570930444f45bd71b2b0fb59bb88aba1450589aacd7b01c6325b1ad59239be6544a93bbb8fe05413db550d5d71a0effce9e0abfa19314ba8bcdabd9280fdd10585b7b4372ae35274071174fad44b0dc13d2f3d2f3ceb7ad342cebbe32a929c37db47a6e463f3b7cca4a8a140bb668b6f24985bde035488a155d09727d931d18a278343bda817c79bb91ad0f5c7601729099af6dcc7f83b0ec8144def5cc905dd686ffbbd7d3c15fdcf29cd1742ccd75c4e2dabc395e4d8cf9354e9e5ad8011aa3fb847db5bf092577667fe830c0794132cdc11802e2d0dcc99e42991c89ddfe3dcd8b81fde12bdc8934056431d812b30023277fee79ba37036a757dd9d38c560ac4917b9dc9d38d2250f4c7ed8d7e9037b3e7233b9fe8b15344b9acd76e6f92551f0e9c62a89d31527dfa4cb49b545a82edcd8978d11438681ab16005b199cb051135c5ec01eed507ef9e87e43849343dff0df38ce6bd54127f1c72f35b0f5a9101657cf9f80dbe5ec49795d1af765f62bfc42bbd3b499a8a7cbc0725970ed66557c356616fc06c219a9dd9411a005b7e45dfa684125ee46ae0e4301baaa83c322482172c8d2f2a79eeec12f11462b3f5886ab81a9d5491d03ae7164945ae8b81c17421879400a9996baf753f8d066080a0e13abe35c4070b1afb28679d40b14a846b18cd14db3e7cd29e3cdc84e38e2e3b6e0f013c47dab22313d320f329f4394449c5938b158142182653654235b7c8f1c37daf1e03ce7f7e228861a276438beab05c30f87213cf53a47ddf4d8a71e45419320c93cd33763649ffb9de282ccff096910d0fe2d44f963fb1727af7d3672d928d23c88ce55686488ef3dcfaeea5d10452e7e8bed87f2235b82a7e1624aae99c1153a91571e31072f0b86c96caa9f57b7d2ac27c874fda5194223396dd756f1765e976294c3acc73c5e91f2b58b6f9885255b9399e5581309275cb87bc0f25f775e5e33b635665ad1fbc1bd8e06870f6b0f855191fdb5a4ef2cdb1fba0d5067e5457d01e1507a3de2c095ca5a9d8b5dcbbbb3bae8098b929589f680fd14af9f1389750c4c8bfc1b194096ce2b9152ef646e3c29b24cc4ff48800ee69eed714018323e1170fb690b7802b665dd9b34d6f793cb8447a35ff675248dbe3a8114d03b33f01d43cb212edc107bd4bc83e6fd51713386f56687b9b7ad8cc922950f76f840ac747e53fc4131984fed10197f8a82f57f755af364a4d351c726d32a28cf53ff1d09a111d39ce0c2799106c43b986ffbaf1da67efde5c268b0cc718b8777ef34f3efbe5a1013b5745bcfe9beeaa350466d84b303bd85358fe32536858c4ed1538130e4c1e72f423ee852519bd74a1f06ef3a19927edfa7ecf327a3a9f2c9bb3eb41f0a49b9862738adc8860f8995ce0c3183c40afa47c204709b824eeb85c60ce191f19607de9440248a541f5cd111dc6c67a3eb6abd4a2a86c20d8427fe611e337546c5fb4663dcdaf7aeaaf4b368917238ab17b6505f60e32c6de7994872dae01c04f943027cef0898c2d2d7d65d0c71a3f510f514fc946eb4b7a03ad7fd7535b12227a7b4fbc6e01c1cc6e99bc020f20488afe6518795bbab69af35b76584d5bc5d52d58d3afd792b5f81c53e9253864e46a65c1b6ad59b10bf4c05deb93928724519e38de1604b43997094e098c0331124a7be0b2add23c9066c8813859ccf2bda2b683664735f821f83a5d16d4fef6eb8e6e532a1fa205a9d0035986f59a836485aa99deb3eb65fd24301aa9c57668c93f7eec2d85a720b9fed010fe4656ed64760c236a653f73626e1d770ab11a07b8749a91105f0f8a04b567ec42f6000129d1a364cb90bd804c88483830de67fc5730c6ada733efc85050f12ea08d59353892545a920e53b4db9f93555042695c815909be89c737005ad7271eb5fc218be3fe12c0e5593628a560a8f9f3629aef80df716e0450aad7f098e06f1ddfe4272ffe1ab5e643dfb8936ae762d5b31091d6fad494ab1b8abb3bc645200628260ca0967c5283be6aa57a49649575ffcb02de8dcd39b3b6e297de898e78d313534b", 0x1000}, {&(0x7f0000001540)="8ff936aca33e275f71b08f5022a2f4", 0xf}, {&(0x7f0000001580)="83b9a22bc4852f9d08a5980709c73c6051b9b271ec8a895940e674ea536306bf6ac0b37eb59cae0ef803714d6a41b9437342a6bca8a80614641fa21da04e607b689893dcbb330a8c42c52954d6e68fb5ffe435a3c22a08ddb0e9a29b51be9ee39ac238bbecb5e3ec1c2057a0f3c929213110782949e94e0f64a59675e736d07ad9180bd8c957f0b61e5c8875e2d6f2038c0fdd424fa4383c7cc39bc99aaae6628ec55601e7e08e0bd69aee5bdf93d7acd10024c19fe416f934", 0xb9}, {&(0x7f0000001640)="aa6420acf476a6960cfe6f9083b4d1e16b2bfc639ca516e86843abf0ce43665dafe7cc1cc9a9b61f7df6e36dc95ade2458091cf521b8a3634c234a7be3339bd514b8270855f0623e3283d5c9feeb16f7cf4dc0b391166e9b48176e55d56c89026dcb7eeaba03c4a63149761cebc80bc6888b411cc41ef94a8704a53a112a16bcc84af36715b0d20c8429e05fe057dd45d423b5a7b061ba8b161949df8b38b0b8c32911af57048d05a71cb0fe77334e2845ea9d52ceffc05deb075fa86284e9971fe0f6afc851c976fa59e8956651090d820ba136ba4d7b7af5", 0xd9}, {&(0x7f0000001740)="d12614fc1073e75212161492a93ce62f3d7dec6d6dfe7676200e12df4920106d72d3f11e228c3b0b9b9a5075b3ce84a4526a3b012d04f62f00a851462a624fb2f9e0352aea29b4c39a9dffed1087f9a7115a2664706fcd2552f24f16c877e94507b8dabd96c60d6da0f8a83c43bc402a5f0b639aefca9e6be80d84cc26945889da90c110cc64f8dc3d4c5135e0681e977ce20d1f7fbf4e3d555f7d0e0ac7be75e8ee", 0xa2}], 0x6}}, {{&(0x7f0000001880)={0xa, 0x4e23, 0x9, @local, 0x7fc}, 0x1c, &(0x7f0000001d00)=[{&(0x7f00000018c0)="da70b003f9d132d8dd3961538c7e1046b752842340b980008a636809757a8f3075f1e4ec1ea18c4caa0712827e75f99a1558acd3d154d9d92369f16f0e711e006d4cb4086faa5be3860ace4d2936ad00cda467fb7aeae3a028e63648bad6bcb2199719df193e2b0ce1103959cafe952d0c2c8eca74e5e74bad6c1b13c4995e01dde949e8e02338fd7fd0470c801a9e1a196d0e81561801dd2c40d377e04f9249c3756aad24c00f56d25beaa9f336f75782c0e0f513b9516d73de6dc4ba48205ab5752ccee40efe107692e18ea491cb9525dc3dab722c3cc8c795815435ba788c58ecdae240bd074bdb18e70b7ffb04ed3487d0c613fe", 0xf6}, {&(0x7f00000019c0)="61b0a2bf49a7247abaec29325520f35f991b75f8217d42c0d85cc6fac91ef38b6e4fcfeed5957f9b8cbf0e26ad85ffea44672dafa7c3064d61b9f0b2a72dce696f250ccd057a9fd52782c28f9a9ecd403919c37c939bff5f4ea3914e43cd118b376b88d93f50f7e058dd18b33d14f54f7febc34d61f36db191cb67085f28c95eb010f9b7b505f4d56eb0786293c5defb76bee589bef24696433a53f5632ed933391dc286765b00bdeb94237e678be8303f57e709898c79", 0xb7}, {&(0x7f0000001a80)="571a92bf85cdf36afc893c5607c5f593d21436468c790e79bd396e17a5fe07e068d01112f43f763a33d5cef41a471ebc73d55d56f18c61338042454172336a470147b02dd5702e0a36224772ee333c40aa83a9c5af1d575a58de0305e84edac550c4221fbf5f47a69f421eb5d6cb9b681dd7c62e17cfc9bba005cf3db416186fcc2da66dd33c3fa3e53bba6e827b364f608946696dc668cb238fa60551586384c32b5bf1e2f753f308bde889757010519d62801bab4aec8af806e9850749657c1dd2343e9e58b888613edd92685f967dea0994abd3d070338e6fb0501b4d824282cc3b6ce947ece5cc57a8be60934b4caafd51", 0xf3}, {&(0x7f0000001b80)}, {&(0x7f0000001bc0)="f9347729a424e70f0e6207b3cf668712bec63ca61091e10c95469ea196074d34fb1e69633453c007b7fc81f4f894223d579870f48e48f0c08b080e92c48783bb4e73e90e8856", 0x46}, {&(0x7f0000001c40)="d63a82315fd913d0d48e05e79e186bc1570700305bd8fd6d199ef5ae14315364d517388e8a1c14a1ff5dbb5e7ba9a95ec232965141d64b300db3dbb30846da49138ff6ad501df05a7d5b96a1f1fbaf8935f148eb234a22e03fa8a30a4bfc625e2bf621ce760b8a6c37ca800c458db7194c4f517c13c9eb293b2a4a4dccd64c678173a71a99bc79cd9c6921", 0x8b}], 0x6}}, {{&(0x7f0000001d80)={0xa, 0x4e24, 0x5, @mcast1, 0x5}, 0x1c, &(0x7f0000001b80)=[{&(0x7f0000001dc0)}, {&(0x7f0000002fc0)="2543d044d11c6b09ad2261af615ff2a81eaf37dc9aedcb63d2ec4f8b60854a2b5782813c9b4d22575733ba2ad574b134ed86298c63865da06b37dcf9e96bbe0ffc52a70104ea00133fd1e4cc239b7cda7d6ab77aacfb4adf", 0x58}, {&(0x7f0000003240)="00000000e142cce2490931a973a6f91c791f7917bf6addd5f39b58613ac42063ea42e6468aaa61904708485683b8a45cc23ee379ba71b7720d8c74ac192427fbfa6f7c1c37a0041b57e0d160369bf08f01e8f24360b70a6277f55a6c6a532edcdf4af6800b24db137928cfea8e721f185bd19551d9390baf9922b20c0adf12f5e5b6eaad1296994371d53ac1480b517f3a03d5a149382a6f6886a520f277845f1618791076faa3287c0d190da79a3ba888c8946f2d0e4e12f74090e4210e112dd0f05cf8df9b465b129c00"/217, 0xd9}, {&(0x7f0000001f80)="68192e01d53f1b0976adbf774792490b5175bcff9e0fcf8bc1b00fbc1b68b306199384b4c6027d1692df6d853671b53a1c61c11467985e076522695083d155baab7252857399376b6ec5455328433ea9d317cbe02b878281cb8fd1499b05a9d9025e99e7e78c799c2274dc41cf5380a42755b7aa4a9d420b9f5a2569459feef3ad33a4b3ff6e81c9037cf99047c21f0332b0519b8207f37222367b31f3a134c5a1d72d1953b49a67b73bbe4ff3c7860848ddf0119e5b55235c6a9e953d70e9eb2d7e93047bf3140ccf5df0706ee319bebbc5fe2b9134c1a18c46938ec6943fa3a1f27036b35fd63a811693b2a986609b1a8fab137bd73c6c1b729f88988644711a47ee157fadbc7c60ca14cb0293a87533b6e5054d3cc08fb091477cf1152eb32de57e2fa26a6602b3a471f4f4246a97e7e3ac0ae45739e02bd4d6ea85cb5b0560603106e5830468b5888319b2e3c3fdd95aa92e1f61659a3d5b14d0b3ae8d69005598087b78aadad8fe4afb1f0fb6ddc7393a92d1524b8998741bde45ba5494e4f93a83cee51a1d8909129f1641e9cefae5fd40992328630ccf5e439a796c93aa2ccccabafc1eb3dde4c0c21490fd82cda7b2244c5135783dabd616b12e8ba66c331fd6582806b7b4a372e6ecc0298e48f0bc777e3665cb7edde9651c880841b9b5357a48c9d4c6bde42664effd302f33a2da63791316e19df80ced1f13d98f77fadaa19387fb1780949a6e7226f8648a7519836659e6c72bfaedc7d70c73ba6a186ccfb260d259d22166813d3920803268e954d0eba291711b2b1615e79beff6fdfc251a5b52dd08a7e2eff72d6596ade828c57612925368b69fed86fccc2c16075b7e6d3b6adc47fdd35c62fdb9dfdfbd5437174b036b8ae8ba6564d216d0704bee00954f69dd6906f9524ffbf570f5a60da11c2ced803ff25a95716bfc94404d6b71dad08e962952228686d82240aa750df7523c7eea42af2e5bc7bd6affe0668f99b0c5ed57ec19eca66931d2b2fc23de69749a34a512d90db886dbb4d6c1eda3bbe500006848776d31283c8b3bf10b50b7823b3bf6fd39151a0523c3d20760bc2d17147bcd1d5b48ffb4a51c226c680c78fce9aa58821e2ad8df5b1226e21e7a95777a65b6241c6a5baaf1ca2f806944fe0474025ea065b02d167dddc272a39e9db3a72623a705ced49d7683b67ea21077fd57c76d4fa8307b753c9e80de9bfea873328ff21d7d81a1812e71ffe2fc0ca9bb2eca1b6d8f79c47191b0e7c45eecf7a17d4db710fcdcaf8acf6afdb31c56d258cf2f94b23ff17f1daa0055d027acf3252095a208c20b0c793568d5efea7b8bd23f6accf23d22d53514422396437d8970fc1656e88cab4e6b7e9a32391af960ecfc4f86cc08f83261bdc6b7ac36a6ac4e8fb7bdaf247923f96fa9aebcbf2e3cdf0d630c38a6ba07ab95cf3568bed50bb4a1ef19dbbdfb29ab03a59079b985087f4c8cb878f371f92e3f4c88558b3f64a102a05efbf505169808ea5b179e95f8cbdc46e3930e8287e3b33384e4b5e48cc7d83bc042c7ca9f2a47ad10654c0717b1ca88c41cb3f2eee77705fab15843a4fef96f4802ea16a2a26ea129f6f81f65015af9bbec0b4458aef5e9dc174eccbf098e889d3cd410b7fe9211e350aeb2bde2440fbfd33b13f29725be61fbaf42712daaac383c952ee9ad8241ae3ef9ed2305b773fd58a7b0910945617fdd4b69e9c63c1bb2c9c59a84d3eef321e0eb7b95d47468a13ea3f20f21814e0b7e271b8eaf56d9b88cc65a482d562ebc5db9d7c3d93b0ff6b009baea8ef604e9fb2730090d6da48c5e5b2d41e0ced57aab75b62747328b31c80a18c3e6160385f6095335ce6ca479d26599db2b00f248ab33f5b4ffd6a7b23809ad8bf14cdfab48bb5a7bf8cb458e5b003fabc36fef258f346d67c803cf38f958e1d0c3ed19b471217a1e2c2c97a51f65b3a69303997162bdd1408da951f1672cc2f6feb4948348708d97e066101ed75667ef4a78246a465c4cd0340ced2802ed012734db558387ee4b66640968b6c4a110b0681adb3c030c273fc8f518fce06c10a3264c02204a3da1615595a9917ad94931c07b45437ceaf5241891578941438a0c1683d6b87fcde21d13212b789d1b537cde8b7f0227d5fa745edfeb8bf77e4677f22dacfee30aacfce46ede18b9bb15331ff7cbf4d477b20248773a97ca8131625622f16bbe29ff26245e8974be7358834281493ca0f06a40321df27082ca97fb98f2b89e7e52df4443b69456d6b22ca7fb9afb9b6b77f839895cd87e351608ea4093a557e3653f2208b71caaf5f5818dd4687d936ef62af96bb9e51099915fe1e6e08ceffda12173432d074de66c435bffe810ab22dd695974274aa32c5ade4ba27dfd081f2ae813a96fcc30efcd8d2b6fe1ecbbd08e06fc30edcd856ab690f8276d148c9547b02539383e1ae7f70fb211c775f9186aa2a3bb4f50959dbf32f726aa585d9148a9feb3a12e945d52fa889e27662667328ac46222e1ffb4b00deaa29dec7ab16a47281e0b1727212667f3fa34dbebf8d12db2b3576c36bf694d1f798176a8403d61793f642a035c640604514944d25639bed39a8c00c818b0837905908cc764bc7e1a960bd67f37dc12c451c6ae15585615b98052ad4460909dba9d0084f7c39b8005a72de937d96357e9b9160d51cd998d875494e9e5b40eb968a3d7ee749dc12cf9660f32b775336c8be2d9293722f2552049ebe0405694f734a8de9458677d596224bab6a6a46c05a2ba92a28c3d8d92b01778a8c588d19e501989965ddd4bac3229c893ecea1d5d23fcc1df774a66873ece8b29a547aaed0d67a64abd69a6018309cb6e28ec04ae7c704a149eb9de19de0aa0c931825e7a2e63f4abee15b398efcecad9a5a0c56176047dd9f087d8aa101e3608f79431ca8e3ffd5526299a3283475ce9e710099a0e9abec4f39235627a0a97ee6c46e6711c872802c49f3957d2f5c6059de46b2c62048493b49d5f30ddf98197cefd7d5405f2fec592200452f9275e6b670076c4bdb269f4596f769ec97de1c4b4b80ac6ad0baa82cc7accc0b1e6de09a7590d92fbe9ec148f6407025e175880b4820c2e057d9a77a78a023699d7dd42b7f2833bf3cfa479ffcf5fb6e2befd38ebbcad57463560e986f17daf9b6833229eba095e72b9961c0454074417eb0ed92d7e49ff430488b0dc196cd9ca6cd6d810118a05edf577526d9bd3ff75aa546e9a82cb4f50f96d5334c9a1f2c24ed7d0b9fe0f8ae91050af7c7c1bb0c9dc9b4f435c30bd89e4190a6f3738fee3485c51efefa4e4dc55b5f66d90cb3dedd397f286a64200c1b9f31c553b3c33161b382c4bbf416f0f44ee4f6af629feb9f4d7c5ba4ef255cefff1ff441ee4874fe810a9b8f465704e3acdeabd644eb6065193942bd04e953d3e29113497d1efde2da7e52119be0e18f74f7cd90639a05b3de6a62157dd86978c75b4794be321986aedd7b79195d180cb2cb0d0fda0bbb6ec8522a2488f3ed9f3549c3d9a4f645e10a834114f1496105c43b1b71f7e05042f5119d7ad73710249a80bb9c68000aa271ec64e60ebd5e11c2dc0d3cf6f8c23b64c162fa409bfaecb8ad0b9eaf535243060fa1306876d0ae39cf991c25b52093af79c588b9c60a372a7ae8cc7284ed99170883a61b954b94ac39155d5bf76cd6e71019899ddb14c82a0736014914f47b942bfdf8b54be700cce91d534551b3eb6e469aeaa3a70d304f0dc641d8f19cc83ce7d667fb068594cd9e2861dc8f4a585f0083eeabef3af4c8ff4135896d2fe633b7aa4346b5d30fb021ca469f94bf9751c142c088adb9640fa141c125d0b962243848a8c843f8b1c1f2951d87cc01a1901bbd534e69bc37e91bed0d4509ae21557ec23180c4cf042e7ad0bb33918e13fd55cec1b15c2a1bbde0f2c84e030ebe239f972e5406e5aee5e376fc1c8de1803a7d3485b8ff0527c94d54ad606096401f80408b3e0fc8f524589a018a1d7f322684cb7c05dcea36bcc22eb0e72f6bb3d5d955662ea0f1a3a8fab02940c403ae86a9d068361fc5941fba0abc1af8ae3a3478213239fcaa7c3d50d0e331407f99b27dc41aadba5b8de5f035b7726176915869e68be34238023b36c5880cd58f667d311d9973c394c7357481abe1cab3c02d7dff7e2ce9a496542fd84df9584a59555c220e7352c1623185858e19d0f6632a267d46d779a1f848f640a461017006de7fdd37ce2533e7d1b64473660cba82bc3bab03ba534d591694f221e8b56ec76a982bc71ae498a1a541c44dda217468925f775ab2a2dbaf137b81565253b6dd1885b504f6bd7fbd0a3d78353e2614805db5f64de2c0fbc7e2c64d2ea91bdf5e9249a4c98f1b9efe3ee8224f07dffe89c56799bcb566e2ae61c8442691376260d563543cad4ec58c24549728395b76758aeb9fef15843198601ce6f1a4ed34030b977261ce34d9531948ef7046839375a963be3c917e58854d7f1c5b6ca305260b2df2a051ed79627d1403481cfa7e966ef0d7392ecf6840f04ad1ed935e91aae037079d4931a1de9d8a212152edc3de755344d75a6a639e5b5ed8cadfcdcc64b9c50110edd4b9e1061f481995fdd9bceea4e7d83e43ba01860a281102a0651983301a46e2f558165857ca7b9f08ab927f04eb627cfdf458d36f9863e289c8d629e5100ff86c06eb40554ca7371bb5db15613e7d58ff7f41af9f4b00013fd7a4ac1b1934b79f08e4d3dfd39238474d24cd547b358e5e2fcd791fa355d095e3fbef84394b18df72909f649082299fe585f06c91a83392fdbb7fab50a3b62adba0f2cf7158de1abbfad5b4ca47624b2d43834c22a0619739fdaba34a799dc5c5b9fa64dfb4198ba515577c2ff38ac856daff609421414391125d3d4d440c2098f5404f691d48f45387fb0af6ece63188c62301793199e3bdef2f6e7d5261d287865c497df281a5e8499e81065b3c566f24dea040f45325e6e517cba754ff255446ee0c4e5babc31aff8617a619ebc670828782ae3730978bac363095b3c3d961f0fe91135eb54e6025de58fda244e8fce2fca72be7899a644fe19109adb8a722945af298fca29ce750f7e412a10ccbc283e0471ec397f4f81f79d601bc47970ea7bce92b962a170fc50f4d5d7d8744fe864b56eefbedf47e961c10cae2e5e07d0e1bb5719865b34ff7e8f7e08ed9cabb3956e91d5429c9d2aec122e373633199cf9d3805b1cc009568e5dde242498c4f8b219421951b0c2a16dd9b92c13aed393c4e439d316006dfc576f465769f72a623d0e02e7ea17a9cc3a4e1fcabda1a44846d956337766346c7381eeeb3e5f55820ea0a861f60ea2b35c8aaec630e317c7a52c140a2e1dc8864092b03c44f6dcbc347b5357d2b04041b3a57f539687d6150c98f2ff778e26619266751f8a197a7e75433786db918dcbb84a713cd70114da6a7fdc809cc338b6a6f29baafab8254014932cac7406c9e6d5b1005155161e555c3fa9e01b8e01b40773441a0c4f3398dbca85ba8841e6fd334a7b14007401b286b5b56d757f4dfcefb58c8020eabbb926f5a22ca87d4f4ef9733f7f1ceb17f5744602dc4e322beb68e94b51bcab0666724087d840ffbde1e888933b2d83d882f0f6aef3a649d9cc98b6e2dbc6120733998effbc0c46db25f60c7a82b916b1398e342390c995d7572786f396ee7076dd7d09045d4dea060f27a72987c79abbf4285c9beaf9b15ff72a1e89e673b651c7bdae6f281f672fee591466f1fe4e8530c12a0d28e718e9bff162134e", 0x1000}], 0x4, &(0x7f0000001dc0)=ANY=[@ANYBLOB="88000000000000002900000004000000480d00000000000007580000ace1780c0001143f00080000010000000000b5700000000000007fffffffffffffff0600000000000000ff7f0000000000000001000000000000ab980000000000000600000000000000a7aeffffffffffff00000100000000000101000401f9010400000000c20400000bb30000217e81ae8069e5100000290000004300000009000000000000001400000000000000290000003e000000ff7f0000000000004c97a9e86867c7a3a926e4d22adfc0869aab10f5da2a8d30599ad220e486b973da039c39fc8e54fffba17669adb0597910f03fd26a3eb1aa4a1f30d2289494fcfa731f5dc810ce8bf365692f6f95a4c64fc95d53bb96cde2115ffec5714cbabe822a60ae2f5851d160dfb130f2f1edcc5aec20ea22f01a2586fbf58709de911d5002668f3fcdf3f4325237593e8e"], 0xb8}}], 0x4, 0x4040000) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2747.301035] syz-executor.3: attempt to access beyond end of device [ 2747.301035] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:45:46 executing program 1: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:45:46 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 44) 22:45:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2747.343510] loop7: detected capacity change from 0 to 40 22:45:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x900000000000000}) [ 2747.364270] loop1: detected capacity change from 0 to 40 22:45:46 executing program 6: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r0, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = syz_mount_image$tmpfs(&(0x7f00000013c0), &(0x7f0000001400)='./file0\x00', 0x400, 0x1, &(0x7f0000001480)=[{&(0x7f0000001440)="3a07e52dd13a", 0x6}], 0x200000, &(0x7f00000014c0)={[{@nr_blocks={'nr_blocks', 0x3d, [0x35, 0x6b, 0x32]}}, {@gid={'gid', 0x3d, 0xffffffffffffffff}}, {@nr_inodes={'nr_inodes', 0x3d, [0x67, 0x38, 0x6b, 0x30, 0x2d, 0x2d]}}, {@mode={'mode', 0x3d, 0x8}}, {@huge_advise}, {@huge_within_size}, {@gid={'gid', 0x3d, 0xee01}}, {@gid={'gid', 0x3d, 0xee01}}, {@huge_always}], [{@hash}, {@permit_directio}]}) ioctl$AUTOFS_DEV_IOCTL_EXPIRE(r0, 0xc018937c, &(0x7f0000001580)={{0x1, 0x1, 0x18, r1, {0x2}}, './file0\x00'}) chdir(&(0x7f0000000180)='./file0\x00') r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) recvmsg$unix(r3, &(0x7f0000001340)={0x0, 0x0, &(0x7f0000001240)=[{&(0x7f0000000040)=""/35, 0x23}, {&(0x7f0000000080)=""/69, 0x45}, {&(0x7f00000001c0)=""/4096, 0x1000}, {&(0x7f00000011c0)=""/71, 0x47}], 0x4, &(0x7f0000001280)=[@cred={{0x1c}}, @rights={{0x20, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x24, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}, @rights={{0x1c, 0x1, 0x1, [0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff]}}], 0x88}, 0x80012001) openat(r4, &(0x7f0000001380)='./file1\x00', 0x222300, 0x22) r5 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r5, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r5, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) openat(r5, &(0x7f00000015c0)='./file1\x00', 0x90000, 0x80) pwritev(r3, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r6 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r6, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r6, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$AUTOFS_DEV_IOCTL_PROTOVER(r2, 0xc0189372, &(0x7f0000001600)={{0x1, 0x1, 0x18, r6, {0x5}}, './file0\x00'}) [ 2747.468136] loop0: detected capacity change from 0 to 40 [ 2747.542760] loop4: detected capacity change from 0 to 40 22:45:46 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 25) 22:45:46 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 45) [ 2747.576166] kworker/u4:8: attempt to access beyond end of device [ 2747.576166] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2747.577698] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2747.589254] FAT-fs (loop4): bogus number of reserved sectors [ 2747.590181] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2747.598206] kworker/u4:1: attempt to access beyond end of device [ 2747.598206] loop2: rw=1, sector=2556, nr_sectors = 1552 limit=40 [ 2747.621731] kworker/u4:1: attempt to access beyond end of device [ 2747.621731] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2747.623311] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2747.692911] loop6: detected capacity change from 0 to 2 [ 2747.717530] tmpfs: Bad value for 'nr_blocks' [ 2747.731835] loop3: detected capacity change from 0 to 40 [ 2747.880752] loop2: detected capacity change from 0 to 40 [ 2747.890161] syz-executor.3: attempt to access beyond end of device [ 2747.890161] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2747.902555] FAULT_INJECTION: forcing a failure. [ 2747.902555] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2747.904419] CPU: 1 PID: 13640 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2747.905415] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2747.906447] Call Trace: [ 2747.906793] [ 2747.907118] dump_stack_lvl+0xc1/0xf0 [ 2747.907633] should_fail_ex+0x4b4/0x5b0 [ 2747.908179] prepare_alloc_pages+0x178/0x500 [ 2747.908773] __alloc_pages+0x149/0x510 [ 2747.909298] ? __pfx___alloc_pages+0x10/0x10 [ 2747.909951] ? __pfx___lock_acquire+0x10/0x10 [ 2747.910609] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2747.911227] alloc_pages+0x1a0/0x260 [ 2747.911828] filemap_alloc_folio+0x374/0x410 [ 2747.912429] ? __pfx_lock_release+0x10/0x10 [ 2747.913050] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2747.913746] ? xas_load+0x6a/0x140 [ 2747.914354] __filemap_get_folio+0x32b/0xcd0 [ 2747.915016] ? __pfx___filemap_get_folio+0x10/0x10 [ 2747.915672] ? lock_is_held_type+0x9f/0x120 [ 2747.916254] ? find_held_lock+0x2c/0x110 [ 2747.916816] pagecache_get_page+0x2e/0x130 [ 2747.917382] ? __pfx_fat_get_block+0x10/0x10 [ 2747.917959] block_write_begin+0x35/0x450 [ 2747.918518] cont_write_begin+0x4fe/0x700 [ 2747.919062] ? lock_is_held_type+0x9f/0x120 [ 2747.919642] ? __pfx_fat_get_block+0x10/0x10 [ 2747.920248] ? __pfx_cont_write_begin+0x10/0x10 [ 2747.920952] ? __mark_inode_dirty+0x249/0xee0 [ 2747.921563] ? generic_write_end+0x1fe/0x3d0 [ 2747.922175] fat_write_begin+0x89/0x180 [ 2747.922753] ? __pfx_fat_get_block+0x10/0x10 [ 2747.923461] cont_write_begin+0x2fc/0x700 [ 2747.924030] ? __pfx_fat_get_block+0x10/0x10 [ 2747.924727] ? __pfx_cont_write_begin+0x10/0x10 [ 2747.925447] ? lock_release+0x1e3/0x710 [ 2747.926057] ? __pfx_fault_in_readable+0x10/0x10 [ 2747.926732] fat_write_begin+0x89/0x180 [ 2747.927353] ? __pfx_fat_get_block+0x10/0x10 [ 2747.928054] generic_perform_write+0x25a/0x580 [ 2747.928760] ? __pfx_generic_perform_write+0x10/0x10 [ 2747.929528] ? __pfx_fat_update_time+0x10/0x10 [ 2747.930248] ? __pfx_file_update_time+0x10/0x10 [ 2747.930972] ? generic_write_checks+0x2c0/0x400 [ 2747.931711] __generic_file_write_iter+0x308/0x4b0 [ 2747.932466] generic_file_write_iter+0xe7/0x350 [ 2747.933179] do_iter_readv_writev+0x211/0x3c0 [ 2747.933897] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2747.934640] ? avc_policy_seqno+0xd/0x70 [ 2747.935290] ? security_file_permission+0xb5/0xe0 [ 2747.936034] do_iter_write+0x18b/0x700 [ 2747.936652] ? __x64_sys_pwritev+0x233/0x310 [ 2747.937343] ? lock_is_held_type+0x9f/0x120 [ 2747.937996] vfs_writev+0x1ae/0x660 [ 2747.938557] ? __pfx_vfs_writev+0x10/0x10 [ 2747.939188] ? __fget_files+0x24e/0x480 [ 2747.939823] ? lock_release+0x1e3/0x710 [ 2747.940395] ? lock_acquire+0x32/0xc0 [ 2747.940932] ? __pfx___fget_files+0x10/0x10 [ 2747.941524] ? __fget_files+0x270/0x480 [ 2747.942089] __x64_sys_pwritev+0x233/0x310 [ 2747.942654] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2747.943322] do_syscall_64+0x3f/0x90 [ 2747.943829] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2747.944511] RIP: 0033:0x7fe786258b19 [ 2747.945007] 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 [ 2747.947305] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2747.948283] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2747.949195] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2747.950106] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2747.951036] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000002 [ 2747.951954] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2747.952899] [ 2748.080468] loop7: detected capacity change from 0 to 40 [ 2748.171552] loop6: detected capacity change from 0 to 2 [ 2748.257410] tmpfs: Bad value for 'nr_blocks' [ 2748.454245] kworker/u4:7: attempt to access beyond end of device [ 2748.454245] loop7: rw=1, sector=3492, nr_sectors = 616 limit=40 [ 2748.459730] kworker/u4:7: attempt to access beyond end of device [ 2748.459730] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2748.461805] Buffer I/O error on dev loop7, logical block 1027, lost async page write 22:46:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 46) 22:46:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 26) 22:46:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', 0x6202, 0x0) r1 = openat$vcs(0xffffffffffffff9c, &(0x7f00000000c0), 0x4000, 0x0) openat(r1, &(0x7f00000001c0)='./file0\x00', 0x801, 0x133) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:46:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:46:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:46:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r1 = syz_mount_image$nfs4(&(0x7f0000000040), &(0x7f00000000c0)='./file0\x00', 0x3ff, 0x4, &(0x7f0000000380)=[{&(0x7f00000001c0)="f86254db8c18e70baa01a71b416639756416faa48e78e14687c4ce2b15b7875cfc1bd666cbce3b18913a4803965ae1c247fd0199246f69da8682d59afb66a9", 0x3f, 0x6}, {&(0x7f0000000200)="69d9cb7b155a593a1c184e0ccb244d172a4d5466286d0b2cb264f0a91a151419c2edc53e79013995d82e1d3f7b2b0b22c905caa69b479a1cc4f3010e7b65a028e1a517236d98b084b0fdf6b8c1b0e312216bcc654e3ab4ce40485f4b2bcdf16ea391f17cf134ef22e2aeea661bd477b06c0022408130180ff6ef5963fe73c7f5", 0x80, 0x2}, {&(0x7f0000000280)="668d5424c2e657f64b7adbf0", 0xc, 0x5}, {&(0x7f00000002c0)="83aa2150571be90ee77d6af2783d3446e24929300a69ae1691eac4f9e0918569d34c30cbce125f66cfa93f4289b0e20a5e01c881434cdc5162682b71234dd7ea72ca3618fbd00e4e4c5412eeb7a82595c7720871221f9c0dfcdcd6dd4adf718db9c8842a2587f5c77bf252bdc3ab2ae8916d14dda748a477ebf84c05b651952eb4a5b03ef66cf7c594b8e124ff3fcc33505ec38859028b734f541e821b3d2e670797", 0xa2, 0x7fff}], 0x4040, &(0x7f0000000400)={[{'-]@#:$^-,$^'}, {'vfat\x00'}, {']&'}, {'vfat\x00'}, {'vfat\x00'}], [{@fowner_gt={'fowner>', 0xffffffffffffffff}}, {@obj_role={'obj_role', 0x3d, '}%.-\xd6^[.\\m/L*#$&,^)%'}}, {@defcontext={'defcontext', 0x3d, 'unconfined_u'}}, {@func={'func', 0x3d, 'FILE_MMAP'}}, {@obj_user={'obj_user', 0x3d, 'vfat\x00'}}, {@permit_directio}, {@obj_type}, {@fscontext={'fscontext', 0x3d, 'sysadm_u'}}]}) openat(r1, &(0x7f00000004c0)='./file0\x00', 0xa4040, 0x140) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:46:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xa00000000000000}) [ 2761.584147] loop6: detected capacity change from 0 to 40 [ 2761.586952] loop1: detected capacity change from 0 to 40 [ 2761.588945] loop3: detected capacity change from 0 to 40 [ 2761.590139] loop2: detected capacity change from 0 to 40 [ 2761.591064] loop4: detected capacity change from 0 to 40 [ 2761.593497] loop0: detected capacity change from 0 to 40 [ 2761.594088] loop7: detected capacity change from 0 to 40 [ 2761.601666] FAT-fs (loop4): bogus number of reserved sectors [ 2761.602161] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2761.612797] syz-executor.3: attempt to access beyond end of device [ 2761.612797] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2761.613338] FAULT_INJECTION: forcing a failure. [ 2761.613338] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2761.614581] CPU: 0 PID: 13665 Comm: syz-executor.7 Not tainted 6.2.0-next-20230224 #1 [ 2761.615245] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2761.615753] Call Trace: [ 2761.616098] [ 2761.616105] dump_stack_lvl+0xc1/0xf0 [ 2761.616131] should_fail_ex+0x4b4/0x5b0 [ 2761.616160] prepare_alloc_pages+0x178/0x500 [ 2761.616190] __alloc_pages+0x149/0x510 [ 2761.616213] ? __pfx___alloc_pages+0x10/0x10 [ 2761.616239] ? __pfx___lock_acquire+0x10/0x10 [ 2761.616272] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2761.616301] alloc_pages+0x1a0/0x260 [ 2761.616323] filemap_alloc_folio+0x374/0x410 22:46:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x8000000000000000, 0x2, &(0x7f0000000040)=[{&(0x7f0000010000)="601c6d6b646f020000002b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) openat(0xffffffffffffff9c, &(0x7f00000000c0)='./file0\x00', 0x400, 0x10) openat(0xffffffffffffff9c, &(0x7f0000000440)='./file1\x00', 0x20000, 0x13) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) openat(r0, &(0x7f0000000480)='./file0\x00', 0x610102, 0xc) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = syz_io_uring_complete(0x0) r3 = inotify_init() mount$9p_fd(0x0, &(0x7f0000000300)='./file1\x00', &(0x7f0000000380), 0x208000, &(0x7f00000003c0)={'trans=fd,', {'rfdno', 0x3d, r2}, 0x2c, {'wfdno', 0x3d, r3}, 0x2c, {[{@cache_mmap}], [{@audit}, {@audit}, {@rootcontext={'rootcontext', 0x3d, 'user_u'}}]}}) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r4, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r4, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) ioctl$FS_IOC_SET_ENCRYPTION_POLICY(r4, 0x800c6613, &(0x7f00000004c0)=@v1={0x0, @aes256, 0x0, @desc1}) sendmsg$IPSET_CMD_SAVE(r1, &(0x7f00000002c0)={&(0x7f00000001c0)={0x10, 0x0, 0x0, 0x8000000}, 0xc, &(0x7f0000000280)={&(0x7f0000000200)={0x78, 0x8, 0x6, 0x3, 0x0, 0x0, {0x0, 0x0, 0x5}, [@IPSET_ATTR_PROTOCOL={0x5}, @IPSET_ATTR_SETNAME={0x9, 0x2, 'syz2\x00'}, @IPSET_ATTR_PROTOCOL={0x5}, @IPSET_ATTR_SETNAME={0x9, 0x2, 'syz0\x00'}, @IPSET_ATTR_PROTOCOL={0x5}, @IPSET_ATTR_SETNAME={0x9, 0x2, 'syz1\x00'}, @IPSET_ATTR_PROTOCOL={0x5}, @IPSET_ATTR_SETNAME={0x9, 0x2, 'syz0\x00'}, @IPSET_ATTR_PROTOCOL={0x5}, @IPSET_ATTR_SETNAME={0x9, 0x2, 'syz0\x00'}]}, 0x78}, 0x1, 0x0, 0x0, 0x4004051}, 0x10) [ 2761.616354] ? __pfx_lock_release+0x10/0x10 [ 2761.616383] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2761.616415] ? xas_load+0x6a/0x140 [ 2761.616438] __filemap_get_folio+0x32b/0xcd0 [ 2761.616466] ? __pfx___filemap_get_folio+0x10/0x10 [ 2761.616493] ? lock_is_held_type+0x9f/0x120 [ 2761.616522] ? find_held_lock+0x2c/0x110 [ 2761.616550] pagecache_get_page+0x2e/0x130 [ 2761.616578] ? __pfx_fat_get_block+0x10/0x10 [ 2761.616600] block_write_begin+0x35/0x450 [ 2761.616627] cont_write_begin+0x4fe/0x700 [ 2761.616654] ? lock_is_held_type+0x9f/0x120 [ 2761.616683] ? __pfx_fat_get_block+0x10/0x10 22:46:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2761.616706] ? __pfx_cont_write_begin+0x10/0x10 [ 2761.616728] ? __mark_inode_dirty+0x249/0xee0 [ 2761.616761] ? generic_write_end+0x1fe/0x3d0 [ 2761.616788] fat_write_begin+0x89/0x180 [ 2761.616807] ? __pfx_fat_get_block+0x10/0x10 [ 2761.616832] cont_write_begin+0x2fc/0x700 [ 2761.616863] ? __pfx_fat_get_block+0x10/0x10 [ 2761.616885] ? __pfx_cont_write_begin+0x10/0x10 [ 2761.616907] ? lock_release+0x1e3/0x710 [ 2761.616940] ? __pfx_fault_in_readable+0x10/0x10 [ 2761.616967] fat_write_begin+0x89/0x180 [ 2761.616986] ? __pfx_fat_get_block+0x10/0x10 [ 2761.617012] generic_perform_write+0x25a/0x580 [ 2761.617037] ? __pfx_generic_perform_write+0x10/0x10 [ 2761.617054] ? __pfx_fat_update_time+0x10/0x10 [ 2761.617076] ? __pfx_file_update_time+0x10/0x10 [ 2761.617106] ? generic_write_checks+0x2c0/0x400 [ 2761.617134] __generic_file_write_iter+0x308/0x4b0 [ 2761.617163] generic_file_write_iter+0xe7/0x350 [ 2761.617188] do_iter_readv_writev+0x211/0x3c0 [ 2761.617218] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2761.617244] ? avc_policy_seqno+0xd/0x70 [ 2761.617276] ? security_file_permission+0xb5/0xe0 [ 2761.617310] do_iter_write+0x18b/0x700 [ 2761.617340] ? __x64_sys_pwritev+0x233/0x310 [ 2761.617358] ? lock_is_held_type+0x9f/0x120 [ 2761.617390] vfs_writev+0x1ae/0x660 [ 2761.617417] ? __pfx_vfs_writev+0x10/0x10 [ 2761.617442] ? __fget_files+0x24e/0x480 [ 2761.617463] ? lock_release+0x1e3/0x710 [ 2761.617500] ? lock_acquire+0x32/0xc0 [ 2761.617526] ? __pfx___fget_files+0x10/0x10 [ 2761.617552] ? __fget_files+0x270/0x480 [ 2761.617584] __x64_sys_pwritev+0x233/0x310 [ 2761.617602] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2761.617630] do_syscall_64+0x3f/0x90 [ 2761.617649] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2761.617669] RIP: 0033:0x7fdf12d79b19 [ 2761.617682] 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 [ 2761.617700] RSP: 002b:00007fdf102ef188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2761.617718] RAX: ffffffffffffffda RBX: 00007fdf12e8cf60 RCX: 00007fdf12d79b19 [ 2761.617730] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2761.617742] RBP: 00007fdf102ef1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2761.617753] R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000002 [ 2761.617765] R13: 00007ffc2af88e0f R14: 00007fdf102ef300 R15: 0000000000022000 [ 2761.617792] [ 2761.637910] loop5: detected capacity change from 0 to 264192 22:46:00 executing program 0: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) r2 = open_tree(r1, &(0x7f0000000040)='./file1\x00', 0x1) dup2(r2, r0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:46:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:46:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xd00000000000000}) 22:46:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000040)="bc77439bab5b011dfb1ede7d8938608e410000bcf200", 0x16}], 0x1, 0x0, 0x0) [ 2761.711247] loop1: detected capacity change from 0 to 40 [ 2761.716897] loop4: detected capacity change from 0 to 40 [ 2761.723649] FAT-fs (loop4): bogus number of reserved sectors [ 2761.724129] FAT-fs (loop4): Can't find a valid FAT filesystem 22:46:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 47) [ 2761.728447] loop0: detected capacity change from 0 to 40 [ 2761.736522] loop3: detected capacity change from 0 to 40 [ 2761.745373] loop6: detected capacity change from 0 to 40 [ 2761.748222] FAT-fs (loop5): Unrecognized mount option "P" or missing value 22:46:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) 22:46:00 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:46:00 executing program 0: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000140)='./file0\x00', 0x8000, 0x6, &(0x7f0000002740)=[{&(0x7f00000001c0)="92ec5ec08459a3025338b118feb58a7c59d03d49eeca79f1c50f90d97d3bbe0eb52a60636be420d46e9598b8674cb67dbe5e0730153ad95244c12635923eae835caf7dd6853e2efba00e989a6c0fc7cb6780f3c41ca8a0ce7854caa124d8640e57dd5ff3f0fbb7cae9ddb320a864f395e6860a2dcfc17e7603ccbe315f77c8", 0x7f, 0x7e}, {&(0x7f0000000240)="bfe18657eaacb41957ea4b5989d032b7d769546c6c7339272472bb0a97987c893ebe784d516fc1c9591735a1f93c0f8ede0a64162908928a0557e3cf78a7efe4f9621915", 0x44, 0x80000000}, {&(0x7f00000014c0)="55573b74d23e48a6542504ef596f1bd56150ade6030601293e32dcadcc2965c57038a4a42dca202ef3aea1557cf12c1b82b1c7b1a13ab66d6879063395887d30a1f648fd5b2b6531c2f96b3ab1cec111b149c3acbd6f9a8a124a632137e6de6113624947e723e2b69f444eb466c155783e93ec5e5831abc23af49337230d52cdbd5d25e52adacf9f897b26da84e8b6c7df9f2e1c701090", 0x97}, {&(0x7f0000001580)="cf5bc17292c93ab79b76dd6bcce111691eaf5fc72985d04fd29ab835a8cdb839fcaf056993940ad97c07fdf7556a685f41df8365aec84a9e1ca4881c98ad6dd995e20e926ccb0500ff19283265aa017edcbeeee853eb8c4051c1038557a34072f6c90873b7458be0ff16be1b67d51c27e36b9fd9db674681008a865f72631910a232cea166951d001064b760dc3712263ea6cdea8547a77423babca932efa5666c1d39312f8339eb5bc7bcc5f32cfc0a5959f87036d7bbad1393df98003eaa50e7cd50bd9e43d11ac7cc0c087182760437d6da332c128e7996aa2124d85cedcbf44d7221f422ea115d90f2b9878095e491ac70c0b05d9743d8852906d4f618ced68041d0643dac498ecc69b8576e3c5a02b37c95e02762f21ee72c5b2a2be8427e5989b20ceaab06e211493c91574a8ebe3ade010aa22ca4468ccec95fd65e2d7be97f52de0292ebc2f5099773760c60ca9099d87b4a7f26a8630dbd18ebb52e4e9e3c65ec1faabd9fc88a6caaf58ea11dadb64d3299cce3cbaccbd772512176b1b39d56b044bcb3ee74c4ad84e41e24a83bae58df240d6b527f2580b9f36db3207bb55bc890acbe9e2b4d46af8ad274df140c1e2b929c4f96d5a6d8b0bfe5f6a2aeb134e50815045468b9e48759adc526491efea3a149d24405fee9b63dacdcc9a80e7ed859ddafa78958c279554d19e677fe3ad3965ca07fc50af9ed1c08131433a2b8bd0c89fc749b7f944085c5d9e088ca057d22ad46d3a017ccd98f541bbc1516c5ddc74b44a9bd2c7a0f90ed3dbbbded7510641c57c81d06dc73b5659d5b7c9803e6357cfc44cf07f4a3e4be14f45a88ae6e4e1323956d974d746b0cdcbc8b032ba2b5011a9c86cfda9e2a55d3dead6666eabd6f7d5758fd3239622e8b51231749e13c7249eac9a42042dbb1625534184c1ffae3d95876905c5bf1beb406b6cd1b24e5250d847ab28a2bbb724a720e63084754d0fe7fa1b0a4eaeffcc93ee787c463b6739c6655f00eadcde7c86141878c9c2c89168edac72b47a16a50f8f4eb8493c1a15a36fb66da20c864eb83979294c680cd006a64338ab11fbbba3620a92ebe0c81b8683b8afe25ea27626c0da4d89079ba9d9054337fd2ebd6ada7314568484e3c7412e0a9884f50948cf1964842d86b41e1eecae204d7fc5be18a2edfe198fb7679e7bbd78d5c0999f649cc3c48617d7854826dd5dcebbbb29595362aedeb1b97a2f0fe25eebbb1c60e903921e35304a81f02c9e2f906876dd42c6760725095c3528ea0948f8a84f1edc62f2422eb0de1b8d5b99203f6a0082c4bd587f64fb1e6a6ce610e04d2685289459f8f4965a30bce709237cb76e0eac0e9ae735028f21170c70a0d5b9a79911a76f434b95d309a3e48312c6260ce43987bff9838d058e0788a53884c1065c5128ba74dcaa9a12cf3d95c7b1fcd8e7b846638f25a24723e6b2cb7abe31584949ace433ed4c05a5c178d0f133bbd0ae0c9111d4289e0a67e0e054938bbd980b0fcf6c52fe90a9220817a11c95fc5fc2d5d340014209cb51ae96b478c5b59241641598968b277f59bf53ef1b4c4aa651cae2aec85fa55ea7aedef01011661b195921d603ba80f98626b4207cbfe7d10cc8224a7fefeab9e4951dd2e43f189f3c4289219dc70d66ded8c6f957d0845ef214d695e330a57680a2587ddae36e7b5b5fd87d383f64562d57c1365ae8270df440f1448cb31fe67bea8553f6cd6f5ccb4c86e4f145d0d976f69c8c43c47bdc804e23d8e3e16f6d0798507ec526f3d113198cd944bb733b43138ef1bafe43dce1acbc859c371b0cfaeb16e8ce7a6db3fd9ee92ca413aaff571be0ddd5c95d3114ed3825607a28b33f7c36d7d1dc108a5d3420b99aadeb56abc0de8cd74805c43d0a9f1e149c3abacec577ce0ebea2729e7b0f5c695daa069b6844d9ed23e7b14df4d6202b826bff8ad0431c9efdaaed1c888bccec415740f870a412381d401385e3cc363c884f64c0d754beb8f1b4f129cbe186dead76aec7f381bbf321aede4d54f5671fb756b4ce7d4474622da11dee66b19a6a79488cfbc8c925db99af29a4a4b33b2c06e11dc04c67b38546a3336edd548362c1e36a786c0713739725d62a1e130cec165f3d1eafe0a5d54c7cbaeb6ca1261b02a24d7884f3e9af04910453e7c6d548b9a681a5a0099fd20824c90575f6b57a22815bc9d1f44a5575e87c500c29c061a692cc16538c81a38f60f642cc4c7b70f65d225723ff599df7e904c3e4e41a3d17b3695e34760711984e622555c513eacf365d89fc6b3f800b979a3ad4ee8e721ba4ddfd5e33cf882e7c310afad90a0d678811c103a134505ade48f9bd9a6fe57a5bbf21d8d537ade5b54b1345502f34dd31617cd8886154b55187c6fd1bf2d8d868d85d6ea7fa71b8c3f04262ed8bf23726a074226c6fc0bcc3f2d8d10579fa1fc7f02bcac8e94731b4b872d67ab6f5ad007744747cd4737d27a00b9127c4734d7bc7ff864eeb529c266228b33fb0d3e98d3e05d5993876599b6ecfc2029456c07922efd102dedd0d8fec542c650f14bd0fd3e966d6648809061919f6ca73689a190d364f35fb17c4c2a3b8e6e11b16328019c2a2efc0462f6bf1346695306cd06354baa7a2c47091d90c1e40be38d5a052f68ced2630f55575300ed1eb514af5dc2148a0e529b9fdbf9529140182a22d1afbe9de2c0998e55f911e43103984261ac78df7db731060e52b8d1a67250dd0d1078ff065bc8fa3b9f255b25374cb7f97f026e4a6872ff727eff2d649754072ef0440a238951e697a11e51883190e6e26b170b73f0b6d6b99e08b649de1cb4160b070cfecf10687453aac4f1cb74f3511d15e993335d6386e417bfd27f661f9fc43cb8142421d016a73b71e2a4f682aae4bbb5a59fb56176789d5815c7d0daf4d74fbb906de788c2724811767811605dad020412a6bab2b4c74f66e8a2d354bf481693d52a9823daafcb1cbe3cd31757f9eb9a348b51cc2da575de59cb0330f1debe9be9141c901963cf3e52606e28c31f8a6967d08391a2e8aa5f5876573dc4195f33ceb4a9f926a1f9142e4633934f9215f665fdf9909db925d6abe813fd14871fb8d41797b0975a9106134944cc14a3f3bf6078754de05df581ac64e43f1dd11fc82243692b78152c4e164cb90e550ec527461c0c39a9a850cce129070967fe7b521fb8f563bb4939e15c4836c1700829956078ad6bbd268800c7e519470968ea9d6fa87eb27b0254e87fff0decac259a2737bc40ae0f1bcd6a4aa1c769ecb127e17ba1ab82a1a406adafb468cc59f694fb4924e102d34aa0b0bce5d3e168d1f449d259dd8d2db58061e330d7ab103f417b828b545a8afd3bff18cb7b6bea3756442dbcf0eb821aa196089e370bc31fdbcfc8d7e4f58fdfa6958f44ab3f2601b6f8cfb05113f3338816068efff9cd987d53937f30f624622f6826e0aa5b94ebbd43f36a5fef4fb1008e29b1b61a33603199e51b20b440593f9ceaa1a349fb7c71c6236fcdcda0e04b1337c1134101315c2d1bbde24525cba76d66406f8bbe13aba8e7e0ab6132ba8c81d0796b69b6e0def80a51bf03b6731bdf53ad2544d2e90830f12972e80ae282ae38139c12c60bd73506e1a8f0317a30b980d4073cdcf02fbeb189a2d84f2e6c569bdb87aad404bd9ad131776420a95a4f8ccb697fd8610392ca598d55567e0f917c31d825ff7dba887d2fbc6371447453e0494f766f4df755a0a35b6b02c66f1da30e4d2550a5edfce4e31d67642072b75dd8792be212db6c3caf5fa668d7f01c0ea0a409ec2806c89e8a6205db429a70b9dae3be41e42b537e2ba30ba6f07feda4f9f701547f85f2ce45368c95c59059592ce2a7f8f2fc1bad02ac39170f9892fd58c9666885e5d996a6016fb54b3fa3898ffed85a61652ae1c5b709e61fe0d5b399d3be1ed30910a5e070491a5790386ae47780f0d599b20fa101575e47792e28987a39e8c6a968a866765346ff642f121c52b9e4e5d4fa78700d21065dc846063ae35c4aa21776dbbdc24b809ffb4d7fa3e5efa94f57dd53c79532ae598bb798c38dda8802f6640b77c54a7cdf7fd6769578e18ee91b2a30fbe13766c52df352ee36fb9b0a742f11e0526b86cf30b9be6b773ad67787689d8f66bf0b6acd216cc6a5d322760d24901db233f10888ad01e1820cdae072d8217b178fba5ca37ea09085f4fe8260added2862d08e2ef97b92065e139abc4b3afbe30b9a7365b98f89038a5c7d4c1c5f292f73b18bda427d6a997f0681e7db589e7baf5a33e6246328988cc70d7b4f8aa11bcdb6b168707b55ef468a9db16fc7b05d0c0fa1be6b9ea20feabe1226f7ece305642b09ee464d0cbe175b6598cccd87634173391139bf0265d54eb4012f0b85ab533ecadca2f8675c5a16ff54aff56871ef5050d21cbc7eb0d9bd08748612e13cb4ba5c938df65bd075fc39032e78d7d60cf2dfe8db7e913a83fed651f220cd8eb12b2967fadc75a2a13eccbc925b9b4b9a199f226cc9446164c3f9412599a15f4866866ba5aecd6457d342609d77e1d7309b1009904deda06818a9569ef07dedf88d42faf84c7f006f541f6d80051393d88f477ff92a50645b58726a7a997cd2694d919eeb97171bc1ab7a240fe7551395f1309dab2c77bb284196ee71c3feced95373eaf1b201647c9b09c2b32234e1d62cbea042c01ac5f49e82fcee441b29265868b743fe6ccc8f79ede3d1c807b696e514830e1bc9a324afb9c332372dae6ea6373359c2aefffb8b5506bf3b56f649c52cd827ec95a34e3747906f0e0c6d0394c95458cb03f6cfd71693a5803306a2a931ff86177dff7f0256cf9da4e04d1a6cf912da0d33ccc8c24c26097921af9f1707bdc85e7aab674b50441a5e27cff39419540a5707935bf9b967166202f48a3e0f41d521d79b0cd7f2b8a144f4368efe930d6109957bc946ba5c099eae915454e01220272feeba2ffb525e9e1a3a4c3582431befe1d411c2c0f8f4538fd8c32fea73a5a7f1644de91c5c7d11c27842a679bb7dc944a878d658b470897567ca7f1dbbc50aba60a464c11490905aa7c2545ba82bd4c668e99f5ace37da3726b399ce1246dd01e728fcb5fa330af77b7822cf66f078a548a9a697951bd0b2dcf8a28c6ba6726b2bb70906a491605714bcfb2d9d438dcbec2ddbf8b7682f6b087cb55324f2fadaeeb4d20e0e8098859721ac87884c82c5855ae49b238d251831c0438e22c1dc63190b7cd37b219f2474de69f3baa63faac4c266a0003982c01710547636008907d150647e4f8a079ec7bee6c18d3831025d9745db2131892b01395ed76e8c0234196aafa8ac7cd72d6fbc8dccdaeea5c9c11d86ec9dadf9d9a453eb57ef1c604146980b03f68295a2d83f598b9022730c49379049b9c45ef9031362b019f96b79bcc1223ce7b4ee777df50d6a15f8440b29b4b3c24119b424232709d444d27c3911b16bf9c557a4aca0745528a9a95de8d3929320c5e1881e8d7ca8c06a937823dd9a309509690a9f8c207c8d7e2db7d6d7c6c0cbb9d6c6423d416bab606d5e43c07aa0d8d70b83488160d56ca7235fc75a5892b5dfd6984f2c8c363f85940635fa3514a7dd5abac376d7f786d7f570dc5ea4508392b688856e39fb321b973bd2e90c1a070f1e45efc3bbd9a8cef1147fd7b8670823cfcd0e4160e0e657a4a620815fee0578c621c6357e2261b17bcfcf0cebb6c5b225ae76cc86c43b95296941311c7dcaf6ebd5b9dd486d3f62362403ad4051722a58958a2d064e9b60b1fa1", 0x1000, 0x4}, {&(0x7f0000002580)="89577f1a67011239ed733037b7e3676638fcbc2d52f9a3d2832b559b00620df33fe7058a95cf034c4505ad48254ee28e78d7fc06ed8de419ab236ccaeef9dd7a4006133f6643e33d820aca3e2f50592ee726a0b4e285278e8187b4c87d56c4a217e04819d13c74523b73d5fc56f10b142aa0c2b2ee7a3743536e0571e9ce8dace13c74f4b9d300e495edf90ccb9c3ae0d87cc1954532d5a50ac9357ab0514f31d9d3259679875996317f0c4f4c16f2e794e6c790f0eabc9dbf324a9b67588bc45642ffdf87922ea6a3b8b65fb11929dde538688fc45338ddee8ca89bf21f7414a1355267a7ee1c4d43e13a7b", 0xec, 0x2}, {&(0x7f0000002680)="1bea34feb4df55411ce910c21f75d3913d7cbc391c457b55efc5b7a7429d9ced6d914fc2357b841d2ac27fb0da3d33c599fa01e3ff6e9403c464da41ab8e8425bb0886950860af855e878d783cbcfccc95bfefb515de3f9c70668b3ecc0a713c3e4006d99ad94e1ced0caa9f40a5c6767755410a67411dd2f0ec8ff107e44951e65e1f6438e4568a9599ac6c56df31e5143d891015d08d98377d47e70f95b80701fb", 0xa2, 0x1}], 0x1, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') perf_event_open(&(0x7f0000000080)={0x2, 0x80, 0xc2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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, 0x84}, 0x0, 0x0, 0xffffffffffffffff, 0x0) r1 = fsopen(&(0x7f0000002800)='efs\x00', 0x0) r2 = fsopen(&(0x7f0000000040)='nfs\x00', 0x0) r3 = open(&(0x7f00000002c0)='./file1\x00', 0x1000, 0xd2) fsconfig$FSCONFIG_CMD_CREATE(r3, 0x6, 0x0, 0x0, 0x0) fsconfig$FSCONFIG_SET_STRING(r2, 0x6, 0x0, 0x0, 0x0) dup3(r1, r2, 0x0) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x61) fcntl$dupfd(r0, 0x0, r4) syz_io_uring_complete(0x0) pwritev(r4, &(0x7f0000001480)=[{&(0x7f0000000000)='P', 0x1}, {&(0x7f0000000300)="6cf414c9872abe3690c82c1a92dcebf6492f265bceae22adcf35e11a4ea578b70f10b7794a26867d2d36e398263d185e7f035c9864e067a87b6a5448750771dc4b266af689e6cf", 0x47}, {&(0x7f0000000380)="45af23ce2930fd454b669bb2661a3801f1eef7483291935f9149cebc1fa39b8703246f534241bf768fa78f3432f2537b46a537b2642885ff9c6c81b5bb97760e725983d8ace5a47f734122615be7c098a346c8a7cbfe8336d1bc7a0af1748d21803762cc8a6c89cb967c92ba1364d3e809ef675764c2289339622e8ba9787f25f3d4ebe5309deb60a7d8805b8666e16a9df4bd3f5e0dfeed8d7f70c0fb391ede8b21f0a7ac41b0c6c2fcd658ef4e00dc45bf0aefcb4f96b5f0694674df2bf64ef2af3d40b4ed4cb5b2a840ea8782b9a5eefab42cda887fead0aa46f5f0d5cf3900f7da8748e8d3f74cffa66356f7dc20e70b1cad2aeb", 0xf6}, {&(0x7f0000000480)="8b75b3c5b8f68f8f126e54410add0625046b53bcca7e6f06720a5c9b05ea983a0d3c5186dc11457ae4a0ac851c1aa37e4c9e66f8ddf5895570aac56ecf914391556485e311a53b04158b8fa72d21e963c5643b8152347cf76a60bbebe08156d01e9694c698b33d220fdafcf8fd421cfe439abeec9a2d0de8a3536fdb5ce7df643f1054571eeb89b721ef95ecc72b61b79df06c3ddc575fc5dc0f1b2f55b053ed95aa60113c09e5a1783898792489c7339e4497c0ced56f7a2b220c0be99948ad71ef786fe8d2767eda0e94aa0939c90b998a1e55ede57314edbd8f46ccf32fa6b9e12e38dc924072675e7d7c7dd54783de25f5b1e96a15a30adacd114a1b783889d346cbdb87be2ed660073cafba2144935038eb125dc1635a1d699cadfff1cfad2e298a4c92aa8a984ff552e43410f409bc5fff5512f260c88a1964942dd21dc87224e32613d9227badc324edd3eedbf635cc2e5f7bf984791dfc6cf2538cdfedac34215249792c1a3989ece925cdbc6cd1fcaeff99a42c19580c8d8b5dd366cdffba628822313157f696b09ad27687f4744246ab99312eefd354be71c6c7cd3953ab03b4ebc9b949b5bc01d3d4239410f70648d2d5ad2c6a200396fd5a5b83aea8350c4df056a6dcf7ac7995b42fc4402b03dd42d0dc66e6317356d29c732b3a243496d512d848ffd2ee2c312c9b0826146795194630352fa7bd8a7b6a63c6f39e212fcfc8f63793b1870fc110de740ee2c294ccb7cc7e38c62c57d264aa8b8b082f63e2604f70a19ad256e962b19a1097b6ac43f281a43ec42a7dd2cf04ba3affac34ce8f12ea3b4fd301388c79d2c32bc91cc046fbe43e29d8ae07fb597a51a9fb8524ee0a0bf3ce5e0649f879904b4168fe9fc14fec3677d58ed68260daf9bd57d9c0441489cdc6dd29a72edb200433f897571177a2db1d646542de64cceb795754ece69d47b97e7a81e05a2a8d3274d4fe3730e2341905a09c832aa5422ba4be9efb10f7bc06661800d819589e1e6c95d03a5ad9f9fa4bd3096074196ed5948322c8cc88fd557b1d3a813454101ba66110ee35d8b5571b0243dd851a31b38726a49fffe8a96dc721e114429e010b8b5ef0043e422259a0bd70a809be4f648751ab674336a68ccc7035909c704316aa5e1d4956753d2d30e09e4a18086b7b3fcf933e8464e802bc41a7531a52e2e030b0969fe3321cc408601d1db0c403a50af7a4a37f74d245456587682840edca89950de2e55265295c6a0b063bc826bf75cbb491494be73b2cc9bac2e776699758bdadebb3a5dc13e62b7256794ba39229171eaa3133f34f9f41523931b95b02b8a8b6d0e66b1764b5ea6dd56c3a173966962747b15cfd6ea3f18ac150e611132752bd38a03c111413f4a45eac7f259ed8cf1df26b8c30f090fc6ddbd6fc0de217db2ebbfafa77d0a93a8f0049028d63c7aa15fbb8ef226a131dd618001a2a28b9cff8794d2b52c9705d1e3b6fc64caa4097ace05ae51f1906195224d8cefe7b6865947b43a91cd8ff2243d203c7aa674a413330219e740f1c5d12cbe6212f80e3d4e8d96fb99390bf47bc12b7e14681015f805e961ac6ce4b17222efb25d3e5679fc45b70fdad98719d38eb13b4ccf5faed786e3255f400fbb3536db7d5d8be75210fa713ee8aac65aa9c89c7a2b168438c8b3cfd9de02ce6e863fed04b0fcf5c45d864a615711c274d484d92ac0a05fd3dcca5daf15ee5c2bc34654efd8658a16535e9979d93744331c80c222bdfcf6b0013024c290ad8f23d9bd239cd8359966f272e6a0d684d55f63f4c40a3e8873a6cc7155942b4f64b2b1bea2bd6350238c5e246deed09270bafa000bd4245cee657cb08710932b9e2713638940ee4b94010d107b954e06aec0f79c73d47a392fe8a2d610341ff97f63aa4782613e350c95b2f6908d6f59012603a98e517d4b6a68774e7c218265bb1a15bffb1b9ecd1e0f164bfa1b874668bbbc02bec4b8a5b3712070791178a7909a62dd45b56ca76531736cee36f8324e199fe6c762351178d0860940bfcf046ed0dfeb7dcaa82e119da2c6f6f1a61e98d040514c3d3f01ac600e957d8785ab782aeb6718e7f76949a0b20b1f8401bbb50cec26f2e75bcfb2456f77f347ed8bf3efdf4af838bc2378c18ebc6a7293df1046493151edd60ad70b41a58625e5d078fa72f70059ba5a02ff13cad8071a76ae1b8008825420f9b995f0d93a3db5bac189571f1e7ce566d21a4906b45831e46ae86cfe3b7b9acbd895d033d93ea4570665aeb50c34b2abb6d2d46285b7b12a9d2853aee7ab477aafadf57e8582a4009ade8783ab20f408d869f01c11315e197b8cfdccac5fe632d698dd2bea5c0d27a80dee098f9eac6f2c0cb8e4bb1adef8a9c4d78309b06be15b78748586c587f9f82f465e48da5a434ec76e2cf4d9f8cb08daa1fb598232c84419a39c38a36e8ac01af32013997b858b98b5c59558510cc55ba9ac9265a757182137a5207ec40166fa33b7a440733321d33fe0a6dbf2b3e6ada87bc5135f406c41855e963875524da676363612dacbcf24818c16dd37a8555d8f5c21c10a0a2defb97179fde566a26151e4f85ab9bb101cf48a530364f9fdee0a2931cc69ec16e34a6dd95505c10834a5808b03b13422db08c6e4bfc379a67a6a62bf3abd2642735429f6a10715dd4ed7066c4b0b7af70dd2535d561514cb94ee9357df8de26e551a773cb46cfc408ef0770d8aab8a33d3b948c13852abf8af9a51ddf9c7dc57cee2c928cb045e5c441c59f447f568770e7f0502e62e991ffbd8c4afc625b4bbc615ea5e874fa3d51e9a9d16f84f40d76a55ada7cff9d7468c1da1f4cc3f3ef6bc092ee70dfff1a73828ef620f1d0c889b9e25ec18a1122b06d10b19e961ec13b7dc709065e06194b68916466d4160ee0f187c503c570e228df7b2637524773bcdca0f139c88bfd340c4a834293a53baefead9057ba9aa638e9844dc442a7bf08f84e7d2409f68d9dd290261fdefe2ada5afb4d06d2416075175f77e610e884f64809eecca904c6429716acc7984b015664e2c211117a5216d47595a9d44c500e7e70c910300d6ae12b3fd003d365ffcb76bcedf6e98c7d4ad8d2bf2a856841014179287658f6911a754a69690957ebf2c316880d9e59186bff2f4054bc2a5167c7cf497b6f6c967a77f83f5a3cf0e1eabe2272bac90bb20c2eb36fcfd2b25e9a4963ff9b4e7a1d53485ad30913b5b3bbf90c449b60699c67ebb32afcde06884fd1114eb6402a941615529e5742ca0b381e4d15a8920f94c36b1e2a87935857a919b412fbec7271915be1b5beefaa01fe1835f5774995e0b7ced570deb705284f2850b47c98d1094a7463c954f875c4f30602bc3d4f486068258fe15b14e4c24230435fd55bf61bc7d87bc1a493cddbcd0f0976c2472e5a9f375933bd683b2afded7b81a1677ba1683523fb4144864d1f5723a1ff60d0ec4a84bf5b97a295d3347153513d53fa10c7a3e083fa3dc795f28db0c425aef35d38c0a13d143b6e7f21346280997ffc2d05dc65f4f00b6b9b2e8dfca5aacdbb26e563ad75373963d5329231edb88a8d14a1139e8c198776f0992ed67784c60e0417f8663a7087d832a2e78c98f4e1462ddd2d8bf8a953667670402240b1a0d22951a3604e00b28d866c97c3358aa3cf607d6d3c8daf7ca0cffc03f430119961da336b7a2d78b1de16c29106a6d47664086346c5f661af808ee13186123f8ebb81765a25025f73bab042bb10091b436893c9fa89f6b67222c4b4caf54724463e1efb43ffb213ec0689b76d01423f4e446366e9bb9cc762a3ea28ab7dd33c3b0eb38aed82e83de8048f466ed447abf5ee6dbfdaabde3a95cc702d2fbe59237fb36f27271ac794e3c2bedefb7b7c6e297535f44e6d69d6603dc4e303f7739213d213027b720ec83c5c7a199f560dd6b8389d512434b1499d392e4bef8028d74507d8ec74d2c91182c8773112564cd07a57287a6161cf43c873caf5b87099374efab22c0c6ddfb4d4a4cd3e40899eb01e364ca149e3ba8bf09478448f097eff9656db8f31dc0b6061da3a1860028f7f8bb6b4238d3f84402e649910ced5a2073e13ccf31770c1d46838d05ff3803d526922d297c9f87c442a7ef3ce8fd1b99b2ad82cffe82411890fcacbde68dcf13396b8cf7adcf8bda1beed05a2ed63788cd42ffc323c599954cc8af212785ffa6c0d445928eeb7d6e0b3acf896492b1297f35656924ebc06f21e580fa0718e94b51a9b7b47a3e8be5a61bf8fcee7713ec49d83146d4e822ad1128a3ab25f8598db0db43a482576b3524f8a7cd13d41556da6a483221080cb53de716d9f9e41bd7bd155cf7bcdf7cd07d917ba05e1d77bfbc4d890e91c9f760bb24894ff58390919347c008e92015eeb1f6fd35a3be5336c6c441cb04ebe1af3eec6c70a767dc2088daaf8ef2dbef693d7517468eed887558d90cead8ac7b00b186107819c67c9844d6cf0f97f0f1a153adfa810823431dd25937375f717f92fd2b1eb8a92c45b5c6a8b559a3c76d48d29dec6cfd299ee8b9571eb3bf40a716e80d4b097a99337eff0dc9242f732bb49d45a6c24998a9e88278ebbb34df017499b63eeb4a7524756008720511c44727815e30cd996b8b3daf33897be4756fbab61eb76fdcf2ab18c0800eafd28ea498d75fcb2e52f32c2d4eac13f28ca0db49b57ded0eba685ec4b5b13635ecdefba601f4e9e9d5ef8653d2e417df795948bb1c998f5b5815e45a570faccdf568575d648772b97f6cccb1deb477e7b00a0c99b489a8873b048bbeca40a9540e40007b82c1d12b68a9e54071065976cc2f7cf795b4f8386bf3ba902adb50a2f0f590b787ee357bff2359e187e0099fd675fc4eeb9071de89920e54f147235bc58b1a3e9c34af57a9410c4f1b2461a877748d6356864f727d261187a424a95797a784aa0d31ae47e6c4c9b7602bdd0aab2b9062481a4ba60a4d6dd08abf92684acca3541c78e327e8560ed722e2d8708762dce8142e1c175b688ec4a92c2b374b704f7b999678e646047b685bb05322657c23f1518680e2b452a9fcf1943ea2ddfa0ee67484f751917b81ce0a2b2a6b21ad4e2d8b92eef102cf3ad7fd9aa8920df54efed715866dd27bf22e22985671a618157876183298a1d8fa8d9d12690a4f2b4f31825c46cc6b406b66191272ca6c1b053e6299abdb1f8481a265ce0e0646490fea9901654655e3b376dda3d9e26ce8665bec013e2aff8fc4fd3947e8f2bfec64ae45d8d6258cdcd8d51933022847b73a592af8a546cf75619519cab3648456edbad86dccde60059b7a50a10f81f412b846301da9b80e536d1e9e2f3b64fb9cdce410329b53c94d5b4029b1f6f1d9ca5fa07f2b319c443e1bd58fe84c7c37e4abbf86009b0940ea41382bc7efda77e2972788e49fe38f89836a7624e472959120b1370848ca8b5e4b3c65ed4f7381ef6e989cb37041c6b5e0e1c67c203c3f78d4df7bcc60885c9dfcda0b87068d076dbff51d9e8553507d94b2be213829005ab0ecd83136959bddf64929b114e5ab2a64f4af7f6b0124ba0511175f585fa957b107235c8371ba95e864867dad776f9f042c74186ccd6c3a3e1a867a61cf5ac445dad35ecabd97cc4193a1a13fa90cbc861927ee60012a188b9315c29710784832bd2afc241df0a4c5e2ab73317f93f15e737fd0a638d22a95b645a154008794ca30347589a8eb6844e50e97bf01eae7ebb884921114e5d7a25c974d0dcc8cf3f8ebe52e82eadd507d2709f180b3f0b557f245c57", 0x1000}], 0x4, 0x0, 0x0) [ 2761.847532] syz-executor.3: attempt to access beyond end of device [ 2761.847532] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2761.860048] loop7: detected capacity change from 0 to 40 [ 2761.874140] SELinux: security_context_str_to_sid (user_u) failed with errno=-22 22:46:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 27) 22:46:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0xf00000000000000}) 22:46:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000040)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100134000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x1008400, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) [ 2761.961141] loop0: detected capacity change from 0 to 264192 [ 2761.962848] FAT-fs (loop0): invalid media value (0x1c) [ 2761.963241] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2761.967070] loop4: detected capacity change from 0 to 40 [ 2761.967511] loop1: detected capacity change from 0 to 40 [ 2761.977584] kworker/u4:0: attempt to access beyond end of device [ 2761.977584] loop2: rw=1, sector=2396, nr_sectors = 1712 limit=40 [ 2761.991173] kworker/u4:0: attempt to access beyond end of device [ 2761.991173] loop2: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2761.991187] FAT-fs (loop4): bogus number of reserved sectors [ 2761.991969] Buffer I/O error on dev loop2, logical block 1027, lost async page write [ 2761.993765] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2762.005090] loop5: detected capacity change from 0 to 264192 [ 2762.006540] FAT-fs (loop5): Unrecognized mount option "P" or missing value [ 2762.034810] loop3: detected capacity change from 0 to 40 22:46:01 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2762.039486] SELinux: security_context_str_to_sid (user_u) failed with errno=-22 [ 2762.220805] loop0: detected capacity change from 0 to 264192 [ 2762.221810] syz-executor.3: attempt to access beyond end of device [ 2762.221810] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2762.225597] loop6: detected capacity change from 0 to 40 [ 2762.226802] FAT-fs (loop0): Unrecognized mount option "P" or missing value [ 2762.234264] FAT-fs (loop6): Directory bread(block 20) failed [ 2762.244839] FAT-fs (loop6): Directory bread(block 20) failed [ 2762.245486] FAT-fs (loop6): Directory bread(block 20) failed [ 2762.253875] FAT-fs (loop6): Directory bread(block 20) failed [ 2762.262280] FAT-fs (loop6): Directory bread(block 20) failed [ 2762.263008] FAT-fs (loop6): Directory bread(block 20) failed [ 2762.264039] FAT-fs (loop6): Directory bread(block 20) failed [ 2762.265323] FAT-fs (loop6): Directory bread(block 20) failed 22:46:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x1100000000000000}) [ 2762.275790] loop2: detected capacity change from 0 to 40 22:46:01 executing program 0: keyctl$update(0x2, 0x0, 0x0, 0x0) r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x5, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17, 0x20}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000280)=ANY=[@ANYBLOB="87315bc22715a8f76d44dea08d8decadc052b68f140a794f660f94b68fdbc74eb398fbefd5959dc8bc1cc1d298b2a836800be8d2f9c7325de29992a6732718d6a5458711a24c2b13c035d8c5687fff53d49d17679c53d6e8", @ANYBLOB="e8b40fd9538202244f61d1901c4e8de3f793598823eef0dfa0588d5f8b7b2765770578fcf744092bea62d5026b6931d19eaa54dabb2b4e7030fffc0e844267c186fa4bcee533a9faf97bcd986d47f66e9adb594dfb24c0bc6e576aec7ef52db0e1c82b84529fae424c8da370cadd7285e655d14b5e17f8a758156411f81ef40288bb4c2b344954814e4e0b02fbeeca54f88322975b1dae94a610b515a5dd6d4a6acc59c3f0263d5cb8f8e0fa71f7c1573781fad5adbe137027cc9952e638741e7879dcaadab96bf2f734da81f0a5a819fcf7", @ANYRESHEX, @ANYRESDEC, @ANYBLOB="db80f9b6ee3c3dcf2d773fb12bad479a6ca9a87700c05054ed2c97a75b542d0e23415be7d71002b135cbfc4037d76055262125fb3b441b89d0c1d8a30fbb7169ceea22cacd82a200acbf061003807de6de471e8a6a3573f0a9cb3ba181dc64444a0463a4f05ddb98b113474551b4ef8185110729d21e7fba5130f76401a29ef7a8584816aefc27e8de84630551f52a27cf73f593230835f1c5bad54f19860f6ed479220bb04b81a56a126bfe0ae22580c6ffc0af058cb5ba2e2e199454ab0b4d3b61cd0c037e77cff04632f073c00e57095620ad020f617153542c978541b0bdc1d1ae2ef14c16add48c384c5726f7268bb4e58683637eab2d7cc93496ce4a619ebca78f8e65810b36c5bbf2bef3cc3988472a37488dec224b685c6d8c6380e9bd0f65e1b4584881afaf54ad4f52c171edc4cee8d484d15467c5df06ba863e6fe9dcb000c38af8b384bf966d40d8788d2ba082d4720303aee87eb8ce436162177885ba46a241dab978ba6e88cd949c9a1c106de2a3443279b019af9a1b39b202546ec6160225a181dea091c8f51df12cdaa0eca19fd1ea17c77eddf064dd70528c46786e901a4c3f1cb01dab5185f0413f722376e56c76d0159a11670c8e248c424cfa0b7deabf5eb527a9e72dc1f202bbd63d2759ffa3378b5e9d9cdcf2b53c07eb1e4c3254ae0fb49fe1d008501e2343a826807a4f640e552ca19c5e4f44eb29147031b1b7acd22d7ccbd43791bd14b6973fc926e9822fa0dcd6700764d03a84f31484fa39b3297e03603d67fe5a4241f5915fb661165bf1d77beeff368b368f663dab93ae3e3c465ef9ba87aa2ce689e6d35dae7bc53b3d8794b653c3fe530e25577111b0d33126272fe47b8afccec020fcbb06f295c7e60f62c9dcfaa2c0db78f845f3a5f56844ad59e7727c8fd923796a015b1daf7142b643a1846687bf16fc6bb92441d297d7ce8fe170e2c34e99abd1e3a3040bf50b58529f87b6c93a45a31614d4c10528e35ce0621bfb10aa9e4a76cc29fca5108eac8bab89ccb89b5b03edec2380e781bcee64ef91061a85b0fd7f4254674574ca89effb5718bef39c65b3d6cbfbf5cf20c02bac7e84cf0bebe9c375bd6671da0147101f7f42def97684a342489eb87375d2cc4a3115bcda90a4a016935baa077eab9be67e18bb1c13ef2382accc0febe72923d314f65d17ea74ecc00e115a6cb910939089d20ccaa3317561c23086fb00f87952a920fc879b395c9ffefdd21e9a8294bc47fb74b9de2501b0134f7344763abcb21c9e6c8f84aa61ccc9c4fa5d2d24b3136db0ec79b5d47a2d8b54d13431d9238379fcf3b26099d1ddbc28f0ba15909cd342d2f93bd354f173247ebd84b079e020332450e64bb286ba58073bb64193f7fc9ccefe6418646178f2ca7e83b0207580c87af8933b47a58cbe0e98ae0099dec9cc0259a7cc286c105da1a76224e83540814759fe65c0dc994342cc0b6a3127373ba2111258e5f541607dc52701aa2e3de171449acfb3abfc42ecd644d1136ea93de752c3c6aef1d36a426b5ea7607ca4369d3bffc5396f9dd211db641889c5812258e1862b5aa69e78bae487e884e4ca2146e6c361e2fb9c4b445f26d8d76980b67a5a817aafbd57d8b2275022fbbffcbaa23db5ae6f85b8122aaa641bf228bce8a7d4fcf5c155f47b080141bc26df3bbe9996755f883129a8508f0ebbc58f7747785002d8b70ae28e8f5916e24474175d3fa1ba5cd010f866b946a3931342bd1bd6e42c5e43f7795f4e6f7f639b7a69782ba721de8266bd96a13cc039f4c2fae6503a0f8fa601c9ce90a56f7c907b4fab9050f2529d0b10146897b2ba7787bdf64b829ea17cd4b15b496bb0674a9443334b4daf5cceb11f3d058d54d48d55b8099a0c9f9ebc9fcf7d296d9333360300b0576c02c145f1463ab0b635e8965bd3bcf490d86579103b99c8e0fc2443354406f264cc70efd06405ea95e5cff9a4640c003f5d470425433b03b7d5f8a5219a967354ea251bc651b383baa5fcbee13e1476be50a5d2f231852115928e3ec53db346bebe70e2826306d574bb514fb6680dcb6439a7d5eaf35a2f4c9007351738974400eb3b355609e060aef3987701bc13d2f87fe05e802447dafdbddd50c55f5b876668d7bf10c13e59ac9ca417aee81964a45df559aff11167d56d9a5d773cf6da039aa86184bdf1be4bbbff1863bd21a5cc24474411308ed1ed482c9b97bae14732cd5127362db996ffad435f47311231b06514bd47a4eabb893e74490e1e32022d48e743495ddd15d76e2c11ffcf0209ff392b2e564ee7e213db1d1dd6dd1a15f2f6984212537e66d34a2d4c7b71e71704bcb1653030e1ca119790fd3685d5519a0f10f3016730114889e9674e5f81e9371b9917ee31941ee16105786217db507584891570c54361862d1c53c0e89695cdea191781fa1eea5d5d40361ad8aef48ec51ca2713538b955256871b6ceb3f2c57b9bf88c2fbb07b1d1ee5874bb5e5088a7ef6617934ef23f18b0060cae0630835c2a2cb48bca3f9b69c383536d82afda04e627835842a176913229d4bfb547dcdb51b343124d4ad52d007430c1fdc36028f4573d77e9d475805b6f58b391c674901149a0967c28166248bec8bf5db9538fe87b7add46267cc2333744f56e6d11bdeee80c17ee838554ffa861ab6053fc51d6373e6ab77f95cd53a4dbcd289db494736df46d9cea163a95c28fafbd34c7608b63856e366f1ee524e6b54020e2f138ccb0c27e909ea47bbfec68ffb6eeebf8618a5d29e14b54caf7614b1f0c6c29dbfd9a51098d235dab715297c6dafa613ddae97b86e4b3d02c56e49a26d8ee51d6ca42e6ad39ef8f4eca890b4d4107dceb97614a40b275adad8fcf9689321da12d79e2989db46485cd577543bff5c5eff43eac90ba613ffbecb97aeb6038e6e981d9d01add878f317ec64a626c03b6331710a8bc2473fc3d6ea501304393f5424087757b8452e69253d020ceb43bf72e4b50210bdff028c5ba7af7a6e123021649e8976c8c451b941620aa743acf7107ba1e73a6fed5393e856d626583502c784396e867cd3ca4c7c169eb5fbc155a6a05bba99aad049c975a99dcf3a1e06d99db1ed2076f2abfad932f3204e8424d2bd87b150e9f94680cd18cbfbc6b08b5271726b7d9440cf52671e8ce3e6635ff63c11d10eecf70616e8bf7ecc37ededeb713a30a1a5d51f64a61298d6a707872fd62c9cba916bf817978b619e88d36782276028592de5e94d7b226f2e772daa8a12b42e9a7dbfe3b92a221175eda54c2b0080cbfa7afa5be9c3b23d3529a55c7ac06244b065397ddb499ef7d19155ec831ce109dd7782b25cd2cc61abd8f941b9d31a69e08ca7791ff4259ddced4e4bf53587804acd51f8b92883dcd642891fe06fc706bf0af2dbbadc73ff46a2981ac4d596e6286f449ab663ef99e246246b0556c9bd36050a1b1252230c19ef08389eb7b4f5c3f16d51affdf18629c515b34fd825699b04d95a682e0cb73277355540b1ac1882cfc2319bd0b79ee6a1cbe0407fe4e652291c3a1c37916c39c6603e993d62e117e8ab9869c044d879b80b3a53f4277287950cc70db6f47dfcd8b5369abc9138b4a3ab463fc39651f189f7c227184015faf7429b25ece147212f3df03839ec593f335ff5be603f4b8de38d4b6008af287468c6275eaf220bdfa2a88a79d77480af83f42262b7f23fbca5b1d3ab4c9305bdd8aeed9d35dfb5da3efac354917133e3bbd2efd5e56b89d9dc49ad3b4920509be0e141a784b02282e9d0f7b80dfcd8b48773e5f397312a2606ee0b4c35d012b86f9f087190c3f2ae1b85888f1dce21758b2373304f643fe76d9e7b1d53b9d5a3b2f3f9ad479d7bf44c053727de51ac325f5692abda28b3faef7e55d0f298d67860235619f2a6edf71bb4936489de6b5325e358b632c647580b1c16eef4f80c9be822751e036e141297cee4c805e147f98a3107a040aa24cc810d87e4226de222bdea3c13589f8218a2155a339983bdaa4bb695024469d52d847f343c4a1aeb36363976ee6deefb737bc178bcaa4940de59882add714808b2d729d860a6742f120b7c1bc9fe2980c8800d340b1b64fc2393b1ec58cf950e3d07d974e608c01bb1a3af8c19f7f6e1677f2864adcc052adb863ccb1569b1e55c38364bc81a42ad3dee054f3f929f02bb7be371283d4fad9a3b21fbeb3df26fcb975d4f6ba987beae2cf4336765ed312d35a983b0a4d404a305bbbd12311463be8d5be596fed510a7253b117f1fd96f66930a332b67d8c135cd0ad9c9f99c89342b76c9ea3e4704606d4105bad93ed0366033bacea3eacc0e0949c2631f9987d9284b0ebcfd7f7c5cd2d49925bcf7dcabf1e65e49804af0b1f4ef860ccaf77633e49265ca287fd5d6b685d2dca3a0a39b9dc308719f3b32d3e1dea337234658b38ea6156ce42cc0e5db1085d1c1ef44d1681dc484f1df28c2cd41bbdf50401b1ac052245c4b215fe3763ee7d94a06b62d7b0811bed2520f4f11995dfc493384d4e4ca987d4cf4898391bd9b7a4765818804b2b0233c9ae2213210680721d24bb86d5f9ebdbb32fd763928bf21caf3dcaec66ab1d0dcdd7b6a711cda28d2efc71d66d2e4ccd1057ff584575331d253a75d9f7513e393c799a82b1b2eb8b039ff76449e5678fb7a9120d4d57c6a9dfc3aa4b9b405e7b85fcc9f93d081551f19264dc4eb510e88799e8f0202e709f08b8dc3de5f62dd0e99b1dbb37580634e70f2cc1a57b740d266c360d55b0978b3b8fe81f87806efa883d30bca1f3c0592fb08aeb7a4b1fd79abd71af656ecb6953758e072637e2b4e3c264b16e2b0c68be6bbd5eefff1f6f2e401e6bcf955147ee268cd301a95cddff8cbabaa1b313c432f244a9caf346bc9cd9835888877cbdb44b700965d8742b69dc2d31bcc8b1cc2402868b1dd2356975bbcedad4dda6630b29adbb5a15aaa12a766913825818ec6c920e4884b40baa0e89f1f0a0d26c21fb4474635db70b0d1fbd0f6324f7cbce3b7bfdf83eb3d2e26310577ad7a4ab147c2e57b69b5b683c8a914cc52c0b0aa6d0dc7d201f91faf6f670de993c747e74250366be7589c05e29d2ca43abf15282e644a0b2fb3f661b22f30e706d4e4903cbdd785c65d732f2993ac806baf2503054ced2a08b2624536bcf4404cdfca1544732168e2727365e835a9d064b8ca0c401d10813b71106baaca88f92fa0087dce6892bdbc4d398241e395f6d63306200bf5164d6f95e4be4db5df82218ce7e4ece6cab21da510d396fc917a142bbfab0233f835b6bbca6b6f8773adf391ae5d0c1721807686621535c02e8a3f592d2ab65bdd6b2de9fd95cb728aecc0200edb857cf69bec99fa131ca037a0b867f96005a4892c10de48cda55b8f72a3ddc9b422754fb492440e69c90862479815717c83937b52cb086361c6c61f4df511f27bae49bc8e4cb3d9fc8cdad18ef66df01ac7096dad4edc257d0b5282a0fb9df0f77bc5b1d98033a78a295bc75bf2358d94da3c342c241cd66ea9bac47155d819b2ff4fe1a6de0e9a1a94f34c9810ce24e92e7ab0f64433810bef86c4abd35bc2ca87dde0eee0ae5e2f055ca63c7eb01356eeb124ad05738e1be905446b41dfbbb9e90a771ec566858d4220b199a15d828adfe5958266dfa29a8f6e1787d0f0e244e26b147aa934e7189785d28a80b4682a43b7ed1070787d650937a6db83946dac0d1f190d85b3b7dd9e971e34f8015c41faa9c7833b20f5c3d0a4d5b0293023d4a4cca52f899810ff5b6"]) openat(r0, &(0x7f0000000200)='./file0\x00', 0x2e443, 0x100) openat(0xffffffffffffffff, &(0x7f0000000240)='./file0\x00', 0x151000, 0x40) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat$bsg(0xffffffffffffff9c, &(0x7f00000000c0), 0x40, 0x0) openat(r1, &(0x7f00000001c0)='./file1\x00', 0x40000, 0x1) r2 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', 0x141042, 0x0) pwritev(r2, &(0x7f0000000140)=[{&(0x7f0000000000)='Q', 0x1}], 0x1, 0x44b2, 0x10000) [ 2762.287930] FAULT_INJECTION: forcing a failure. [ 2762.287930] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2762.288744] CPU: 1 PID: 13710 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2762.289267] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2762.289812] Call Trace: [ 2762.289994] [ 2762.290156] dump_stack_lvl+0xc1/0xf0 [ 2762.290435] should_fail_ex+0x4b4/0x5b0 [ 2762.290728] prepare_alloc_pages+0x178/0x500 [ 2762.291049] __alloc_pages+0x149/0x510 [ 2762.291335] ? __pfx___alloc_pages+0x10/0x10 [ 2762.291650] ? __pfx___lock_acquire+0x10/0x10 [ 2762.291974] ? __lock_acquire+0x18df/0x6380 [ 2762.292287] alloc_pages+0x1a0/0x260 [ 2762.292552] filemap_alloc_folio+0x374/0x410 [ 2762.292884] ? __pfx_lock_release+0x10/0x10 [ 2762.293191] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2762.293547] ? xas_load+0x6a/0x140 [ 2762.293808] __filemap_get_folio+0x32b/0xcd0 [ 2762.294123] ? __pfx___filemap_get_folio+0x10/0x10 [ 2762.294472] ? lock_is_held_type+0x9f/0x120 [ 2762.294786] ? find_held_lock+0x2c/0x110 [ 2762.295079] pagecache_get_page+0x2e/0x130 [ 2762.295393] ? __pfx_fat_get_block+0x10/0x10 [ 2762.295704] block_write_begin+0x35/0x450 [ 2762.296018] cont_write_begin+0x4fe/0x700 [ 2762.296331] ? lock_is_held_type+0x9f/0x120 [ 2762.296653] ? __pfx_fat_get_block+0x10/0x10 [ 2762.296978] ? __pfx_cont_write_begin+0x10/0x10 [ 2762.297323] ? __mark_inode_dirty+0x249/0xee0 [ 2762.297667] ? generic_write_end+0x1fe/0x3d0 [ 2762.297997] fat_write_begin+0x89/0x180 [ 2762.298277] ? __pfx_fat_get_block+0x10/0x10 [ 2762.298610] cont_write_begin+0x2fc/0x700 [ 2762.298924] ? __pfx_fat_get_block+0x10/0x10 [ 2762.299258] ? __pfx_cont_write_begin+0x10/0x10 [ 2762.299599] ? lock_release+0x1e3/0x710 [ 2762.299904] ? __pfx_fault_in_readable+0x10/0x10 [ 2762.300257] fat_write_begin+0x89/0x180 [ 2762.300552] ? __pfx_fat_get_block+0x10/0x10 [ 2762.300881] generic_perform_write+0x25a/0x580 [ 2762.301225] ? __pfx_generic_perform_write+0x10/0x10 [ 2762.301589] ? __pfx_fat_update_time+0x10/0x10 [ 2762.301926] ? __pfx_file_update_time+0x10/0x10 [ 2762.302279] ? generic_write_checks+0x2c0/0x400 [ 2762.302613] __generic_file_write_iter+0x308/0x4b0 [ 2762.302979] generic_file_write_iter+0xe7/0x350 [ 2762.303330] do_iter_readv_writev+0x211/0x3c0 [ 2762.303669] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2762.304040] ? avc_policy_seqno+0xd/0x70 [ 2762.304355] ? security_file_permission+0xb5/0xe0 [ 2762.304723] do_iter_write+0x18b/0x700 [ 2762.305016] ? __x64_sys_pwritev+0x233/0x310 [ 2762.305344] ? lock_is_held_type+0x9f/0x120 [ 2762.305659] vfs_writev+0x1ae/0x660 [ 2762.305945] ? __pfx_vfs_writev+0x10/0x10 [ 2762.306256] ? __fget_files+0x24e/0x480 [ 2762.306553] ? lock_release+0x1e3/0x710 [ 2762.306863] ? lock_acquire+0x32/0xc0 [ 2762.307142] ? __pfx___fget_files+0x10/0x10 [ 2762.307484] ? __fget_files+0x270/0x480 [ 2762.307792] __x64_sys_pwritev+0x233/0x310 [ 2762.308103] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2762.308458] do_syscall_64+0x3f/0x90 [ 2762.308736] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2762.309109] RIP: 0033:0x7fe786258b19 [ 2762.309367] 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 [ 2762.310626] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2762.311131] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2762.311655] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2762.312159] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2762.312659] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000002 [ 2762.313162] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2762.313677] [ 2762.321389] kworker/u4:8: attempt to access beyond end of device [ 2762.321389] loop7: rw=1, sector=2860, nr_sectors = 1248 limit=40 [ 2762.339265] kworker/u4:8: attempt to access beyond end of device [ 2762.339265] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2762.340754] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2762.352469] loop0: detected capacity change from 0 to 40 [ 2762.353837] FAT-fs (loop0): Unrecognized mount option "1['mDޠR [ 2762.353837] yOfNՕȼҘ6 2]♒s'֥EL+5hSԝgSS$OaѐNY#ߠX_{'ewxD +bki1ўTڻ+Np0BgK3{͘mGnYM$nWj~-+RBLprUK^XdL+4IT" or missing value [ 2762.376024] loop0: detected capacity change from 0 to 40 [ 2762.377499] FAT-fs (loop0): Unrecognized mount option "1['mDޠR [ 2762.377499] yOfNՕȼҘ6 2]♒s'֥EL+5hSԝgSS$OaѐNY#ߠX_{'ewxD +bki1ўTڻ+Np0BgK3{͘mGnYM$nWj~-+RBLprUK^XdL+4IT" or missing value [ 2762.439378] loop3: detected capacity change from 0 to 40 [ 2762.447987] syz-executor.3: attempt to access beyond end of device [ 2762.447987] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 22:46:14 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x4000000}) [ 2775.526465] loop3: detected capacity change from 0 to 40 22:46:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x2000000000000000}) 22:46:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) ioctl$EXT4_IOC_CHECKPOINT(r1, 0x4004662b, &(0x7f0000000340)=0x1) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) r2 = syz_init_net_socket$bt_l2cap(0x1f, 0x1, 0x0) r3 = openat$autofs(0xffffffffffffff9c, &(0x7f00000000c0), 0x82, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(r3, 0xc0189375, &(0x7f0000000040)={{0x1, 0x1, 0x18, r2}, './file1\x00'}) 22:46:14 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x1000000, 0x0) (fail_nth: 28) 22:46:14 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) 22:46:14 executing program 6: stat(&(0x7f00000000c0)='./file1\x00', &(0x7f00000001c0)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) recvmsg$unix(0xffffffffffffffff, &(0x7f0000000640)={&(0x7f0000000240), 0x6e, &(0x7f00000005c0)=[{&(0x7f00000002c0)=""/236, 0xec}, {&(0x7f00000003c0)=""/62, 0x3e}, {&(0x7f0000000400)=""/141, 0x8d}, {&(0x7f00000004c0)=""/250, 0xfa}], 0x4, &(0x7f0000000600)=[@rights={{0x14, 0x1, 0x1, [0xffffffffffffffff]}}, @cred={{0x1c, 0x1, 0x2, {0x0, 0x0, 0x0}}}], 0x38}, 0x140) statx(0xffffffffffffffff, &(0x7f0000000400)='./file1\x00', 0x6000, 0x7ff, &(0x7f0000000880)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) keyctl$chown(0x4, 0x0, 0x0, r3) fsetxattr$system_posix_acl(0xffffffffffffffff, &(0x7f0000000040)='system.posix_acl_access\x00', &(0x7f0000000680)={{}, {0x1, 0x1e4dec145e12acc4}, [{0x2, 0x5, 0xee00}], {0x4, 0x5}, [{0x8, 0x3}, {0x8, 0x1, r0}, {0x8, 0x2, r2}, {0x8, 0x1, r3}, {0x8, 0x6, 0xee00}, {0x8, 0x1}]}, 0x5c, 0x3) r4 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') ioctl$AUTOFS_DEV_IOCTL_READY(r1, 0xc0189376, &(0x7f0000000700)=ANY=[@ANYBLOB="010080002396000002000000", @ANYRES32=r4, @ANYBLOB='?\x00\x00\x00\x00\x00\x00\x00./file0\x00']) mkdirat(r5, &(0x7f0000000740)='./file1\x00', 0x8) r6 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r6, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:46:14 executing program 0: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) openat(r0, &(0x7f0000000040)='./file1\x00', 0x8500, 0x101) chdir(&(0x7f0000000180)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r1, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x0, 0x0) 22:46:14 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000000)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b0008010100044000404af801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x141042, 0x0) pwritev(r0, &(0x7f0000000140)=[{&(0x7f0000000000)='P', 0x1}], 0x1, 0x2000000, 0x0) (fail_nth: 48) [ 2775.531263] loop2: detected capacity change from 0 to 40 [ 2775.535841] loop5: detected capacity change from 0 to 40 [ 2775.540965] loop6: detected capacity change from 0 to 40 [ 2775.546123] loop7: detected capacity change from 0 to 40 [ 2775.563857] syz-executor.3: attempt to access beyond end of device [ 2775.563857] loop3: rw=2051, sector=24, nr_sectors = 4088 limit=40 [ 2775.569085] FAULT_INJECTION: forcing a failure. [ 2775.569085] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2775.569918] CPU: 0 PID: 13736 Comm: syz-executor.2 Not tainted 6.2.0-next-20230224 #1 [ 2775.570441] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2775.570908] loop4: detected capacity change from 0 to 40 [ 2775.570974] Call Trace: [ 2775.570982] [ 2775.572033] dump_stack_lvl+0xc1/0xf0 [ 2775.572306] should_fail_ex+0x4b4/0x5b0 [ 2775.572590] prepare_alloc_pages+0x178/0x500 [ 2775.572912] __alloc_pages+0x149/0x510 [ 2775.573189] ? __pfx___alloc_pages+0x10/0x10 [ 2775.573495] ? __pfx___lock_acquire+0x10/0x10 [ 2775.573821] ? clean_bdev_aliases+0x4b8/0x5b0 [ 2775.574136] alloc_pages+0x1a0/0x260 [ 2775.574179] loop0: detected capacity change from 0 to 40 [ 2775.574394] filemap_alloc_folio+0x374/0x410 [ 2775.575381] ? __pfx_lock_release+0x10/0x10 [ 2775.575688] ? __pfx_filemap_alloc_folio+0x10/0x10 [ 2775.576035] ? xas_load+0x6a/0x140 [ 2775.576290] __filemap_get_folio+0x32b/0xcd0 [ 2775.576596] ? __pfx___filemap_get_folio+0x10/0x10 [ 2775.576936] ? lock_is_held_type+0x9f/0x120 [ 2775.577239] ? find_held_lock+0x2c/0x110 [ 2775.577525] pagecache_get_page+0x2e/0x130 [ 2775.577825] ? __pfx_fat_get_block+0x10/0x10 [ 2775.578129] block_write_begin+0x35/0x450 [ 2775.578421] cont_write_begin+0x4fe/0x700 [ 2775.578725] ? lock_is_held_type+0x9f/0x120 [ 2775.579040] ? __pfx_fat_get_block+0x10/0x10 [ 2775.579373] ? __pfx_cont_write_begin+0x10/0x10 [ 2775.579692] ? __mark_inode_dirty+0x249/0xee0 [ 2775.580012] ? generic_write_end+0x1fe/0x3d0 [ 2775.580317] fat_write_begin+0x89/0x180 [ 2775.580588] ? __pfx_fat_get_block+0x10/0x10 [ 2775.580903] cont_write_begin+0x2fc/0x700 [ 2775.581221] ? __pfx_fat_get_block+0x10/0x10 [ 2775.581543] ? __pfx_cont_write_begin+0x10/0x10 [ 2775.581883] ? lock_release+0x1e3/0x710 [ 2775.582192] ? __pfx_fault_in_readable+0x10/0x10 [ 2775.582533] fat_write_begin+0x89/0x180 [ 2775.582824] ? __pfx_fat_get_block+0x10/0x10 [ 2775.583143] generic_perform_write+0x25a/0x580 [ 2775.583490] ? __pfx_generic_perform_write+0x10/0x10 [ 2775.583853] ? __pfx_fat_update_time+0x10/0x10 [ 2775.584191] ? __pfx_file_update_time+0x10/0x10 [ 2775.584528] ? generic_write_checks+0x2c0/0x400 [ 2775.584873] __generic_file_write_iter+0x308/0x4b0 [ 2775.585043] FAT-fs (loop4): bogus number of reserved sectors [ 2775.585228] generic_file_write_iter+0xe7/0x350 [ 2775.585962] FAT-fs (loop4): Can't find a valid FAT filesystem [ 2775.586256] do_iter_readv_writev+0x211/0x3c0 [ 2775.587277] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 2775.587649] ? avc_policy_seqno+0xd/0x70 [ 2775.587958] ? security_file_permission+0xb5/0xe0 [ 2775.588328] do_iter_write+0x18b/0x700 [ 2775.588623] ? __x64_sys_pwritev+0x233/0x310 [ 2775.588948] ? lock_is_held_type+0x9f/0x120 [ 2775.589270] vfs_writev+0x1ae/0x660 [ 2775.589545] ? __pfx_vfs_writev+0x10/0x10 [ 2775.589853] ? __fget_files+0x24e/0x480 [ 2775.590141] ? lock_release+0x1e3/0x710 [ 2775.590436] ? lock_acquire+0x32/0xc0 [ 2775.590720] ? __pfx___fget_files+0x10/0x10 [ 2775.591036] ? __fget_files+0x270/0x480 [ 2775.591353] __x64_sys_pwritev+0x233/0x310 [ 2775.591652] ? __pfx___x64_sys_pwritev+0x10/0x10 [ 2775.591997] do_syscall_64+0x3f/0x90 [ 2775.592265] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2775.592627] RIP: 0033:0x7fe786258b19 [ 2775.592888] 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 [ 2775.594118] RSP: 002b:00007fe7837ce188 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 [ 2775.594641] RAX: ffffffffffffffda RBX: 00007fe78636bf60 RCX: 00007fe786258b19 [ 2775.595122] RDX: 0000000000000001 RSI: 0000000020000140 RDI: 0000000000000003 [ 2775.595623] RBP: 00007fe7837ce1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2775.596114] R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000002 [ 2775.596605] R13: 00007ffc6d7576af R14: 00007fe7837ce300 R15: 0000000000022000 [ 2775.597112] 22:46:14 executing program 1: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000000)=ANY=[]) chdir(&(0x7f0000000180)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x226e1, 0x0) ioctl$FITRIM(r0, 0xc0185879, &(0x7f00000002c0)={0x0, 0x700000000, 0x6c000000}) [ 2775.722114] [ 2775.722290] ====================================================== [ 2775.722701] WARNING: possible circular locking dependency detected [ 2775.723097] 6.2.0-next-20230224 #1 Not tainted [ 2775.723421] ------------------------------------------------------ [ 2775.723815] syz-executor.5/273 is trying to acquire lock: [ 2775.724164] ffff888018f94880 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: __flush_work+0xdd/0xd80 [ 2775.724851] [ 2775.724851] but task is already holding lock: [ 2775.725226] ffff888018f94920 (&hdev->cmd_sync_work_lock){+.+.}-{3:3}, at: hci_cmd_sync_clear+0x45/0x250 [ 2775.725853] [ 2775.725853] which lock already depends on the new lock. [ 2775.725853] [ 2775.726364] [ 2775.726364] the existing dependency chain (in reverse order) is: [ 2775.726839] [ 2775.726839] -> #1 (&hdev->cmd_sync_work_lock){+.+.}-{3:3}: [ 2775.727297] __mutex_lock+0x133/0x14a0 [ 2775.727619] hci_cmd_sync_work+0x1e6/0x320 [ 2775.727942] process_one_work+0xa0f/0x1790 [ 2775.728264] worker_thread+0x63b/0x1260 [ 2775.728571] kthread+0x2e9/0x3a0 [ 2775.728835] ret_from_fork+0x2c/0x50 [ 2775.729121] [ 2775.729121] -> #0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}: [ 2775.729657] __lock_acquire+0x2d56/0x6380 [ 2775.729978] lock_acquire.part.0+0xea/0x320 [ 2775.730306] __flush_work+0x109/0xd80 [ 2775.730599] __cancel_work_timer+0x39c/0x4e0 [ 2775.730925] hci_cmd_sync_clear+0x52/0x250 [ 2775.731242] hci_unregister_dev+0xf9/0x410 [ 2775.734908] vhci_release+0x80/0x100 [ 2775.735203] __fput+0x263/0xa40 [ 2775.735489] task_work_run+0x174/0x280 [ 2775.735807] do_exit+0xad8/0x2800 [ 2775.736085] do_group_exit+0xd4/0x2a0 [ 2775.736466] __x64_sys_exit_group+0x3e/0x50 [ 2775.736922] do_syscall_64+0x3f/0x90 [ 2775.737318] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2775.737839] [ 2775.737839] other info that might help us debug this: [ 2775.737839] [ 2775.738545] Possible unsafe locking scenario: [ 2775.738545] [ 2775.739087] CPU0 CPU1 [ 2775.739534] ---- ---- [ 2775.739959] lock(&hdev->cmd_sync_work_lock); [ 2775.740390] lock((work_completion)(&hdev->cmd_sync_work)); [ 2775.741119] lock(&hdev->cmd_sync_work_lock); [ 2775.741728] lock((work_completion)(&hdev->cmd_sync_work)); [ 2775.742239] [ 2775.742239] *** DEADLOCK *** [ 2775.742239] [ 2775.742790] 1 lock held by syz-executor.5/273: [ 2775.743215] #0: ffff888018f94920 (&hdev->cmd_sync_work_lock){+.+.}-{3:3}, at: hci_cmd_sync_clear+0x45/0x250 [ 2775.744156] [ 2775.744156] stack backtrace: [ 2775.744563] CPU: 0 PID: 273 Comm: syz-executor.5 Not tainted 6.2.0-next-20230224 #1 [ 2775.745259] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2775.745999] Call Trace: [ 2775.746243] [ 2775.746462] dump_stack_lvl+0x91/0xf0 [ 2775.746828] check_noncircular+0x263/0x2e0 [ 2775.747239] ? __pfx_check_noncircular+0x10/0x10 [ 2775.747726] ? save_trace+0x285/0xcb0 [ 2775.748095] ? __pfx_register_lock_class+0x10/0x10 [ 2775.748491] __lock_acquire+0x2d56/0x6380 [ 2775.748806] ? __pfx___lock_acquire+0x10/0x10 [ 2775.749134] ? __pfx___lock_acquire+0x10/0x10 [ 2775.749471] ? __pfx___lock_acquire+0x10/0x10 [ 2775.749804] lock_acquire.part.0+0xea/0x320 [ 2775.750122] ? __flush_work+0xdd/0xd80 [ 2775.750412] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 2775.750775] ? __flush_work+0xdd/0xd80 [ 2775.751068] ? rcu_read_lock_sched_held+0x42/0x80 [ 2775.751436] ? trace_lock_acquire+0x170/0x1e0 [ 2775.751772] ? __flush_work+0xdd/0xd80 [ 2775.752063] ? lock_acquire+0x32/0xc0 [ 2775.752357] ? __flush_work+0xdd/0xd80 [ 2775.752649] __flush_work+0x109/0xd80 [ 2775.752938] ? __flush_work+0xdd/0xd80 [ 2775.753231] ? __pfx_mark_lock.part.0+0x10/0x10 [ 2775.753578] ? __pfx___flush_work+0x10/0x10 [ 2775.753905] ? lock_acquire.part.0+0xea/0x320 [ 2775.754236] ? hci_cmd_sync_clear+0x45/0x250 [ 2775.754559] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 2775.754926] ? hci_cmd_sync_clear+0x45/0x250 [ 2775.755252] ? rcu_read_lock_sched_held+0x42/0x80 [ 2775.755603] ? __pfx_perf_trace_preemptirq_template+0x10/0x10 [ 2775.756025] ? lock_is_held_type+0x9f/0x120 [ 2775.756347] ? mark_held_locks+0x9e/0xe0 [ 2775.756651] __cancel_work_timer+0x39c/0x4e0 [ 2775.756973] ? __pfx___cancel_work_timer+0x10/0x10 [ 2775.757329] ? __cancel_work_timer+0x2aa/0x4e0 [ 2775.757657] ? __pfx___cancel_work_timer+0x10/0x10 [ 2775.758012] ? lock_release+0x1e3/0x710 [ 2775.758311] ? __pfx_lock_release+0x10/0x10 [ 2775.758630] ? do_raw_write_lock+0x11e/0x3b0 [ 2775.758948] ? __pfx_vhci_release+0x10/0x10 [ 2775.759265] hci_cmd_sync_clear+0x52/0x250 [ 2775.759586] ? __pfx_vhci_release+0x10/0x10 [ 2775.759911] hci_unregister_dev+0xf9/0x410 [ 2775.760226] vhci_release+0x80/0x100 [ 2775.760500] __fput+0x263/0xa40 [ 2775.760754] task_work_run+0x174/0x280 [ 2775.761042] ? __pfx_task_work_run+0x10/0x10 [ 2775.761364] ? switch_task_namespaces+0xb1/0xd0 [ 2775.761706] ? kmem_cache_free+0xff/0x510 [ 2775.762007] do_exit+0xad8/0x2800 [ 2775.762269] ? lock_release+0x1e3/0x710 [ 2775.762562] ? __pfx_lock_release+0x10/0x10 [ 2775.762884] ? do_raw_spin_lock+0x125/0x270 [ 2775.763198] ? __pfx_do_exit+0x10/0x10 [ 2775.763485] do_group_exit+0xd4/0x2a0 [ 2775.763769] __x64_sys_exit_group+0x3e/0x50 [ 2775.764078] do_syscall_64+0x3f/0x90 [ 2775.764347] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2775.764708] RIP: 0033:0x7fc38ce10b19 [ 2775.764979] Code: Unable to access opcode bytes at 0x7fc38ce10aef. [ 2775.765406] RSP: 002b:00007ffda5ffc578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 2775.765945] RAX: ffffffffffffffda RBX: 00000000000003e6 RCX: 00007fc38ce10b19 [ 2775.766448] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000043 [ 2775.766952] RBP: 0000000000000000 R08: 0000000000000014 R09: 00000000000003e6 [ 2775.767468] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc38ce6b0c3 [ 2775.767964] R13: 0000000000000000 R14: 000000000000000a R15: 00007ffda5ffc760 [ 2775.768467] [ 2775.807214] kworker/u4:5: attempt to access beyond end of device [ 2775.807214] loop7: rw=1, sector=3148, nr_sectors = 960 limit=40 [ 2775.818935] kworker/u4:5: attempt to access beyond end of device [ 2775.818935] loop7: rw=1, sector=4108, nr_sectors = 4 limit=40 [ 2775.820508] Buffer I/O error on dev loop7, logical block 1027, lost async page write [ 2778.417323] Bluetooth: hci5: unexpected cc 0x0c03 length: 249 > 1 [ 2778.422178] Bluetooth: hci5: unexpected cc 0x1003 length: 249 > 9 [ 2778.423341] Bluetooth: hci5: unexpected cc 0x1001 length: 249 > 9 [ 2778.427461] Bluetooth: hci5: unexpected cc 0x0c23 length: 249 > 4 [ 2778.428900] Bluetooth: hci5: unexpected cc 0x0c25 length: 249 > 3 [ 2778.430112] Bluetooth: hci5: unexpected cc 0x0c38 length: 249 > 2 [ 2780.461671] Bluetooth: hci5: command 0x0409 tx timeout [ 2782.509693] Bluetooth: hci5: command 0x041b tx timeout [ 2784.557696] Bluetooth: hci5: command 0x040f tx timeout VM DIAGNOSIS: 22:46:15 Registers: info registers vcpu 0 RAX=0000000000000032 RBX=00000000000003f8 RCX=0000000000000000 RDX=00000000000003f8 RSI=ffffffff82502865 RDI=ffffffff87f10da0 RBP=ffffffff87f10d60 RSP=ffff888018c87110 R8 =0000000000000001 R9 =000000000000000a R10=0000000000000032 R11=0000000000000001 R12=0000000000000032 R13=ffffffff87f10d60 R14=0000000000000010 R15=ffffffff82502850 RIP=ffffffff825028bd RFL=00000002 [-------] 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 0000000000000000 00000000 00000000 GS =0000 ffff88806ce00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe4ffd11e000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe4ffd11c000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=0000001b2c327000 CR3=000000000e7de000 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=ffffffffffffffffffffffffffffffff XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=000000000000000000000000000000ff XMM05=00000000000000000000000000000000 XMM06=0000000000000000000000524f525245 XMM07=00000000000000000000000000000000 XMM08=000000000000000000524f5252450040 XMM09=00000000000000000000000000000000 XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000 info registers vcpu 1 RAX=1ffffd4000070893 RBX=ffffea0000384480 RCX=ffffffff816fc6ab RDX=ffff888019b95040 RSI=0000000000000000 RDI=0000000000000000 RBP=0000000000000000 RSP=ffff8880429776e8 R8 =0000000000000007 R9 =0000000000000000 R10=0000000000000000 R11=0000000000000001 R12=0000000000000001 R13=ffff888042977ad8 R14=dffffc0000000000 R15=0000000000000000 RIP=ffffffff814b7128 RFL=00000246 [---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 0000000000000000 00000000 00000000 GS =0000 ffff88806cf00000 00000000 00000000 LDT=0000 fffffe0000000000 00000000 00000000 TR =0040 fffffe4dc4033000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe4dc4031000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00005555558e8c98 CR3=000000000ee58000 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=ffffffffffffffffffffffffffffffff XMM01=ffffffffffffffffffffffffffffffff XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 XMM04=000000000000000000000000000000ff XMM05=00000000000000000000000000000000 XMM06=0000000000000000000000524f525245 XMM07=00000000000000000000000000000000 XMM08=000000000000000000524f5252450040 XMM09=00000000000000000000000000000000 XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000