loop6, logical block 31, lost async page write 12:07:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1313.715698] syz-executor.5: attempt to access beyond end of device [ 1313.715698] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1313.717508] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:07:01 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) [ 1313.778674] loop2: detected capacity change from 0 to 40 [ 1313.781649] loop0: detected capacity change from 0 to 40 12:07:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:07:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1313.810548] loop3: detected capacity change from 0 to 40 [ 1313.826923] loop7: detected capacity change from 0 to 40 12:07:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x2) 12:07:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1313.893185] loop6: detected capacity change from 0 to 40 [ 1313.904148] loop5: detected capacity change from 0 to 40 [ 1313.941151] loop0: detected capacity change from 0 to 40 [ 1313.942095] syz-executor.6: attempt to access beyond end of device [ 1313.942095] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1313.943514] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1313.948459] loop2: detected capacity change from 0 to 40 [ 1313.952284] syz-executor.5: attempt to access beyond end of device [ 1313.952284] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1313.954030] Buffer I/O error on dev loop5, logical block 31, lost async page write [ 1331.742251] loop7: detected capacity change from 0 to 40 [ 1331.761796] loop4: detected capacity change from 0 to 40 12:07:19 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:07:19 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:07:19 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) 12:07:19 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:19 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:07:19 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x2) 12:07:19 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:07:19 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:07:19 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1331.784292] loop2: detected capacity change from 0 to 40 [ 1331.788659] syz-executor.4: attempt to access beyond end of device [ 1331.788659] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1331.789850] Buffer I/O error on dev loop4, logical block 31, lost async page write [ 1331.794925] loop5: detected capacity change from 0 to 40 [ 1331.801311] loop0: detected capacity change from 0 to 40 [ 1331.817352] loop3: detected capacity change from 0 to 40 [ 1331.825905] loop6: detected capacity change from 0 to 40 [ 1331.826266] loop7: detected capacity change from 0 to 40 12:07:19 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x2) 12:07:19 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) [ 1331.854481] syz-executor.5: attempt to access beyond end of device [ 1331.854481] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1331.855393] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:07:19 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1331.908017] loop2: detected capacity change from 0 to 40 [ 1331.923948] loop4: detected capacity change from 0 to 40 12:07:19 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:07:19 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) [ 1331.965293] syz-executor.4: attempt to access beyond end of device [ 1331.965293] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1331.966292] Buffer I/O error on dev loop4, logical block 31, lost async page write 12:07:19 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x2) 12:07:19 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1331.997041] loop7: detected capacity change from 0 to 40 [ 1332.028010] loop3: detected capacity change from 0 to 40 [ 1332.055448] loop2: detected capacity change from 0 to 40 [ 1332.086895] loop5: detected capacity change from 0 to 40 [ 1332.089348] loop0: detected capacity change from 0 to 40 [ 1332.167915] syz-executor.5: attempt to access beyond end of device [ 1332.167915] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1332.169655] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:07:32 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:07:32 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:32 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:07:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:32 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x2) 12:07:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:07:32 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:07:32 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1344.878526] loop7: detected capacity change from 0 to 40 [ 1344.923761] loop5: detected capacity change from 0 to 40 [ 1344.928962] loop3: detected capacity change from 0 to 40 [ 1344.930287] loop0: detected capacity change from 0 to 40 [ 1344.932037] loop2: detected capacity change from 0 to 40 [ 1344.934200] loop4: detected capacity change from 0 to 40 [ 1344.938323] loop6: detected capacity change from 0 to 40 12:07:32 executing program 7: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:07:32 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) [ 1345.090803] syz-executor.5: attempt to access beyond end of device [ 1345.090803] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1345.092671] Buffer I/O error on dev loop5, logical block 31, lost async page write [ 1345.139945] loop3: detected capacity change from 0 to 40 12:07:33 executing program 7: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1345.211953] loop0: detected capacity change from 0 to 40 [ 1345.217238] loop2: detected capacity change from 0 to 40 12:07:33 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:33 executing program 7: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:33 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1345.777361] syz-executor.4: attempt to access beyond end of device [ 1345.777361] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1345.779255] Buffer I/O error on dev loop4, logical block 31, lost async page write [ 1345.797675] syz-executor.6: attempt to access beyond end of device [ 1345.797675] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1345.799304] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:07:45 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:07:45 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1358.036039] loop6: detected capacity change from 0 to 40 12:07:45 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) 12:07:45 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:45 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:45 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:07:45 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) 12:07:45 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1358.054906] loop7: detected capacity change from 0 to 40 [ 1358.070174] loop4: detected capacity change from 0 to 40 [ 1358.075328] loop2: detected capacity change from 0 to 40 [ 1358.081186] syz-executor.6: attempt to access beyond end of device [ 1358.081186] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1358.082053] loop0: detected capacity change from 0 to 40 [ 1358.082485] loop5: detected capacity change from 0 to 40 [ 1358.083447] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:07:46 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:46 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:07:46 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) [ 1358.176661] syz-executor.4: attempt to access beyond end of device [ 1358.176661] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1358.178150] Buffer I/O error on dev loop4, logical block 31, lost async page write 12:07:46 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1358.190988] syz-executor.5: attempt to access beyond end of device [ 1358.190988] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1358.192356] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:07:46 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1358.205030] loop7: detected capacity change from 0 to 40 [ 1358.236083] loop2: detected capacity change from 0 to 40 [ 1358.238019] loop6: detected capacity change from 0 to 40 12:07:46 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1358.267956] loop0: detected capacity change from 0 to 40 12:07:46 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) 12:07:46 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1358.294104] syz-executor.6: attempt to access beyond end of device [ 1358.294104] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1358.295635] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:07:46 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:07:46 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1358.349280] loop7: detected capacity change from 0 to 40 [ 1358.383244] loop2: detected capacity change from 0 to 40 [ 1358.391708] loop4: detected capacity change from 0 to 40 [ 1358.402772] loop0: detected capacity change from 0 to 40 [ 1358.458974] syz-executor.4: attempt to access beyond end of device [ 1358.458974] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1358.460077] Buffer I/O error on dev loop4, logical block 31, lost async page write 12:07:59 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) 12:07:59 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:59 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:07:59 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:07:59 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:59 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:07:59 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:07:59 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) [ 1371.258462] loop6: detected capacity change from 0 to 40 [ 1371.263214] loop7: detected capacity change from 0 to 40 [ 1371.265120] loop4: detected capacity change from 0 to 40 [ 1371.267332] loop2: detected capacity change from 0 to 40 [ 1371.269181] loop0: detected capacity change from 0 to 40 [ 1371.272208] loop5: detected capacity change from 0 to 40 [ 1371.283239] FAT-fs (loop3): bogus number of reserved sectors [ 1371.284134] FAT-fs (loop3): Can't find a valid FAT filesystem 12:07:59 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1371.430431] syz-executor.4: attempt to access beyond end of device [ 1371.430431] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1371.432966] Buffer I/O error on dev loop4, logical block 31, lost async page write 12:07:59 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:59 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1371.475926] FAT-fs (loop3): bogus number of reserved sectors [ 1371.476825] FAT-fs (loop3): Can't find a valid FAT filesystem 12:07:59 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:07:59 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1371.544555] loop7: detected capacity change from 0 to 40 [ 1372.164287] I/O error, dev loop7, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 12:08:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1372.201192] loop2: detected capacity change from 0 to 40 [ 1372.215752] loop0: detected capacity change from 0 to 40 [ 1372.243824] loop4: detected capacity change from 0 to 40 [ 1372.298041] syz-executor.4: attempt to access beyond end of device [ 1372.298041] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1372.299633] Buffer I/O error on dev loop4, logical block 31, lost async page write [ 1372.336671] kworker/u4:8: attempt to access beyond end of device [ 1372.336671] loop5: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1372.338170] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:08:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:08:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:08:12 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:12 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:08:12 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:08:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1384.868128] loop0: detected capacity change from 0 to 40 [ 1384.871250] loop6: detected capacity change from 0 to 40 [ 1384.874578] loop5: detected capacity change from 0 to 40 [ 1384.957172] loop4: detected capacity change from 0 to 40 [ 1384.959595] loop7: detected capacity change from 0 to 40 12:08:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:08:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1385.004497] FAT-fs (loop3): bogus number of reserved sectors [ 1385.004946] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1385.011146] syz-executor.4: attempt to access beyond end of device [ 1385.011146] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1385.011993] Buffer I/O error on dev loop4, logical block 31, lost async page write 12:08:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1385.074388] loop6: detected capacity change from 0 to 40 [ 1385.076788] loop0: detected capacity change from 0 to 40 12:08:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:08:13 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:13 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1385.125971] loop5: detected capacity change from 0 to 40 12:08:13 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) [ 1385.174782] FAT-fs (loop3): bogus number of reserved sectors [ 1385.175673] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1385.179884] loop4: detected capacity change from 0 to 40 [ 1385.197336] syz-executor.5: attempt to access beyond end of device [ 1385.197336] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1385.199008] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:08:13 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1385.249121] loop6: detected capacity change from 0 to 40 12:08:13 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1385.291373] loop0: detected capacity change from 0 to 40 12:08:13 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x0, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1385.309209] syz-executor.4: attempt to access beyond end of device [ 1385.309209] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1385.310886] Buffer I/O error on dev loop4, logical block 31, lost async page write 12:08:13 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:08:13 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:13 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, 0x0, 0x0, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:08:13 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1385.421836] FAT-fs (loop3): bogus number of reserved sectors [ 1385.422679] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1385.427325] loop5: detected capacity change from 0 to 40 [ 1385.443008] loop6: detected capacity change from 0 to 40 [ 1385.451891] loop0: detected capacity change from 0 to 40 [ 1385.478885] syz-executor.5: attempt to access beyond end of device [ 1385.478885] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1385.479856] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:08:26 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x0, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:08:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, 0x0, 0x0, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:08:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:26 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:08:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:26 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x0, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1398.944757] loop6: detected capacity change from 0 to 40 [ 1398.982045] loop5: detected capacity change from 0 to 40 [ 1398.998625] loop0: detected capacity change from 0 to 40 [ 1399.006954] loop4: detected capacity change from 0 to 40 [ 1399.008152] FAT-fs (loop3): bogus number of reserved sectors [ 1399.009131] FAT-fs (loop3): Can't find a valid FAT filesystem 12:08:27 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, 0x0, 0x0, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:08:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:27 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1399.198095] FAT-fs (loop7): bogus number of reserved sectors [ 1399.198986] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1399.210506] syz-executor.5: attempt to access beyond end of device [ 1399.210506] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1399.212018] Buffer I/O error on dev loop5, logical block 31, lost async page write [ 1399.239101] loop3: detected capacity change from 0 to 40 [ 1399.258858] FAT-fs (loop3): bogus number of reserved sectors [ 1399.259671] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1399.263535] loop0: detected capacity change from 0 to 40 12:08:27 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:27 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0), 0x0, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1399.444009] loop3: detected capacity change from 0 to 40 [ 1399.455233] loop0: detected capacity change from 0 to 40 [ 1399.461557] FAT-fs (loop3): bogus number of reserved sectors [ 1399.462258] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1399.463575] FAT-fs (loop7): bogus number of reserved sectors [ 1399.464368] FAT-fs (loop7): Can't find a valid FAT filesystem 12:08:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:39 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x0, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1411.588062] loop6: detected capacity change from 0 to 40 12:08:39 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0), 0x0, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:08:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1411.599873] loop0: detected capacity change from 0 to 40 [ 1411.608675] loop5: detected capacity change from 0 to 40 [ 1411.626238] loop3: detected capacity change from 0 to 40 [ 1411.639814] FAT-fs (loop3): bogus number of reserved sectors [ 1411.640213] FAT-fs (loop3): Can't find a valid FAT filesystem 12:08:39 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:39 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x0, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1411.654688] loop4: detected capacity change from 0 to 40 [ 1411.688188] FAT-fs (loop7): bogus number of reserved sectors [ 1411.688648] FAT-fs (loop7): Can't find a valid FAT filesystem 12:08:39 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x0, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:08:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0), 0x0, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:08:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:08:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:39 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1411.879189] loop3: detected capacity change from 0 to 40 [ 1411.884906] FAT-fs (loop3): bogus number of reserved sectors [ 1411.885320] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1411.904643] FAT-fs (loop7): bogus number of reserved sectors [ 1411.905243] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1411.923947] loop0: detected capacity change from 0 to 40 [ 1411.928638] loop6: detected capacity change from 0 to 40 [ 1423.326732] loop3: detected capacity change from 0 to 40 12:08:51 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:08:51 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:51 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:51 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:51 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:08:51 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x10, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:08:51 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:51 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1423.331386] loop6: detected capacity change from 0 to 40 [ 1423.339679] loop2: detected capacity change from 0 to 40 [ 1423.340066] loop0: detected capacity change from 0 to 40 [ 1423.342180] FAT-fs (loop3): bogus number of reserved sectors [ 1423.342732] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1423.345308] loop5: detected capacity change from 0 to 40 12:08:51 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 1423.403910] loop4: detected capacity change from 0 to 40 [ 1423.408077] FAT-fs (loop7): bogus number of reserved sectors [ 1423.408549] FAT-fs (loop7): Can't find a valid FAT filesystem 12:08:51 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:51 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1423.452267] loop3: detected capacity change from 0 to 40 [ 1423.453401] loop0: detected capacity change from 0 to 40 [ 1423.464714] FAT-fs (loop3): bogus number of reserved sectors [ 1423.465267] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1423.487700] loop6: detected capacity change from 0 to 40 12:08:51 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:08:51 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1423.610076] FAT-fs (loop7): bogus number of reserved sectors [ 1423.610533] FAT-fs (loop7): Can't find a valid FAT filesystem 12:09:04 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:09:04 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:04 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:04 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:09:04 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:09:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:04 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x10, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:04 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x10, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1436.606767] loop7: detected capacity change from 0 to 40 [ 1436.610263] FAT-fs (loop7): bogus number of reserved sectors [ 1436.611209] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1436.620620] loop3: detected capacity change from 0 to 40 [ 1436.622334] loop6: detected capacity change from 0 to 40 [ 1436.627437] loop2: detected capacity change from 0 to 40 [ 1436.636358] loop4: detected capacity change from 0 to 40 [ 1436.639747] FAT-fs (loop3): bogus number of reserved sectors [ 1436.640141] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1436.643288] loop0: detected capacity change from 0 to 40 [ 1436.661742] syz-executor.6: attempt to access beyond end of device [ 1436.661742] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1436.663209] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:09:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:04 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:04 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:04 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x2) 12:09:04 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:04 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1436.788399] loop6: detected capacity change from 0 to 40 [ 1436.815285] loop3: detected capacity change from 0 to 40 [ 1436.826051] syz-executor.6: attempt to access beyond end of device [ 1436.826051] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1436.827291] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1436.830213] loop7: detected capacity change from 0 to 40 [ 1436.838084] FAT-fs (loop7): bogus number of reserved sectors [ 1436.838717] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1436.840875] FAT-fs (loop3): bogus number of reserved sectors [ 1436.841717] FAT-fs (loop3): Can't find a valid FAT filesystem 12:09:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) [ 1436.888049] loop0: detected capacity change from 0 to 40 12:09:04 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1436.923318] loop4: detected capacity change from 0 to 40 [ 1436.943142] loop6: detected capacity change from 0 to 40 [ 1436.943375] loop2: detected capacity change from 0 to 40 [ 1436.960340] loop7: detected capacity change from 0 to 40 12:09:04 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x10, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1436.969827] kworker/u4:5: attempt to access beyond end of device [ 1436.969827] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1436.971396] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 1436.971690] syz-executor.6: attempt to access beyond end of device [ 1436.971690] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1436.974169] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1436.991479] FAT-fs (loop7): bogus number of reserved sectors [ 1436.992304] FAT-fs (loop7): Can't find a valid FAT filesystem 12:09:04 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x10, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:04 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x2) [ 1437.046115] syz-executor.2: attempt to access beyond end of device [ 1437.046115] loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1437.047195] Buffer I/O error on dev loop2, logical block 31, lost async page write [ 1437.099098] loop0: detected capacity change from 0 to 40 [ 1437.173080] kworker/u4:5: attempt to access beyond end of device [ 1437.173080] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1437.174740] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:09:17 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:17 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:09:17 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x10, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:17 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x2) 12:09:17 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:17 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:17 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, 0x0, 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:17 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r3, 0x2) [ 1449.735303] loop6: detected capacity change from 0 to 40 [ 1449.736308] loop3: detected capacity change from 0 to 40 [ 1449.739138] loop2: detected capacity change from 0 to 40 [ 1449.745772] FAT-fs (loop3): bogus number of reserved sectors [ 1449.745930] loop4: detected capacity change from 0 to 40 [ 1449.746259] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1449.773148] loop0: detected capacity change from 0 to 40 [ 1449.787781] loop7: detected capacity change from 0 to 40 [ 1449.796195] syz-executor.2: attempt to access beyond end of device [ 1449.796195] loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1449.797724] Buffer I/O error on dev loop2, logical block 31, lost async page write [ 1449.800881] FAT-fs (loop7): bogus number of reserved sectors [ 1449.801844] FAT-fs (loop7): Can't find a valid FAT filesystem 12:09:17 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:17 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:17 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1449.899399] loop3: detected capacity change from 0 to 40 [ 1449.906868] FAT-fs (loop3): bogus number of reserved sectors [ 1449.907304] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1449.912926] loop4: detected capacity change from 0 to 40 12:09:17 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1449.927670] kworker/u4:7: attempt to access beyond end of device 12:09:17 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x2) [ 1449.927670] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1449.929276] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 1449.930291] syz-executor.6: attempt to access beyond end of device [ 1449.930291] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1449.931711] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1449.949831] loop2: detected capacity change from 0 to 40 12:09:17 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, 0x0, 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:17 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r3, 0x2) [ 1450.007959] loop7: detected capacity change from 0 to 40 [ 1450.011940] FAT-fs (loop7): bogus number of reserved sectors [ 1450.012804] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1450.093755] loop6: detected capacity change from 0 to 40 [ 1450.115537] loop0: detected capacity change from 0 to 40 [ 1450.124121] syz-executor.6: attempt to access beyond end of device [ 1450.124121] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1450.125343] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1450.171998] syz-executor.2: attempt to access beyond end of device [ 1450.171998] loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1450.173067] Buffer I/O error on dev loop2, logical block 31, lost async page write [ 1450.218176] kworker/u4:2: attempt to access beyond end of device [ 1450.218176] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1450.219779] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:09:29 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x10, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:29 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:09:29 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, 0x0, 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:29 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r3, 0x2) 12:09:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1461.188051] loop2: detected capacity change from 0 to 40 [ 1461.191673] loop4: detected capacity change from 0 to 40 [ 1461.195931] loop6: detected capacity change from 0 to 40 12:09:29 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x2) [ 1461.201306] loop0: detected capacity change from 0 to 40 [ 1461.201755] loop3: detected capacity change from 0 to 40 [ 1461.204984] FAT-fs (loop2): bogus number of reserved sectors [ 1461.205431] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1461.208065] FAT-fs (loop3): bogus number of reserved sectors [ 1461.208495] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1461.229805] loop7: detected capacity change from 0 to 40 [ 1461.261914] FAT-fs (loop7): bogus number of reserved sectors [ 1461.263073] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1461.264389] syz-executor.6: attempt to access beyond end of device [ 1461.264389] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1461.266028] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:09:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1461.324136] loop2: detected capacity change from 0 to 40 [ 1461.324899] loop3: detected capacity change from 0 to 40 [ 1461.330811] FAT-fs (loop3): bogus number of reserved sectors [ 1461.331218] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1461.373592] kworker/u4:6: attempt to access beyond end of device [ 1461.373592] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1461.374383] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:09:29 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:29 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x2) 12:09:29 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) 12:09:29 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:29 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r3, 0x2) 12:09:29 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1461.465657] loop6: detected capacity change from 0 to 40 [ 1461.476697] loop0: detected capacity change from 0 to 40 [ 1461.479399] loop3: detected capacity change from 0 to 40 [ 1461.482664] FAT-fs (loop3): invalid media value (0x00) [ 1461.483073] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1461.496204] loop7: detected capacity change from 0 to 40 [ 1461.499567] loop2: detected capacity change from 0 to 40 [ 1461.504859] FAT-fs (loop7): bogus number of reserved sectors [ 1461.505990] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1461.510188] syz-executor.6: attempt to access beyond end of device [ 1461.510188] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1461.511268] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1461.515399] loop4: detected capacity change from 0 to 40 [ 1461.567974] syz-executor.2: attempt to access beyond end of device [ 1461.567974] loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1461.569383] Buffer I/O error on dev loop2, logical block 31, lost async page write [ 1461.581395] kworker/u4:6: attempt to access beyond end of device [ 1461.581395] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1461.582228] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:09:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) 12:09:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) 12:09:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:41 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, 0x0, 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1473.603239] loop4: detected capacity change from 0 to 40 [ 1473.608984] loop2: detected capacity change from 0 to 40 12:09:41 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:41 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:09:41 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1473.621622] loop3: detected capacity change from 0 to 40 [ 1473.630094] loop6: detected capacity change from 0 to 40 [ 1473.656022] FAT-fs (loop3): invalid media value (0x00) [ 1473.656781] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1473.658059] loop0: detected capacity change from 0 to 40 [ 1473.674198] loop7: detected capacity change from 0 to 40 [ 1473.685555] FAT-fs (loop7): bogus number of reserved sectors [ 1473.686344] FAT-fs (loop7): Can't find a valid FAT filesystem 12:09:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:09:41 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1473.775221] loop2: detected capacity change from 0 to 40 12:09:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) [ 1473.783194] kworker/u4:6: attempt to access beyond end of device [ 1473.783194] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1473.784792] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 1473.792618] loop4: detected capacity change from 0 to 40 12:09:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:41 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1473.858062] loop0: detected capacity change from 0 to 40 12:09:41 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:09:41 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1473.897185] loop7: detected capacity change from 0 to 40 [ 1473.912842] FAT-fs (loop7): bogus number of reserved sectors [ 1473.913245] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1473.915247] loop3: detected capacity change from 0 to 40 [ 1473.919822] FAT-fs (loop3): invalid media value (0x00) [ 1473.920182] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1473.945301] loop2: detected capacity change from 0 to 40 [ 1473.946771] loop4: detected capacity change from 0 to 40 [ 1473.968477] FAT-fs (loop2): bogus number of reserved sectors [ 1473.969306] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1473.993372] syz-executor.6: attempt to access beyond end of device [ 1473.993372] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1473.994332] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1473.996184] kworker/u4:6: attempt to access beyond end of device [ 1473.996184] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1473.997946] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:09:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:55 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:55 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:55 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:55 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) 12:09:55 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:55 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x2) [ 1487.835628] loop7: detected capacity change from 0 to 40 [ 1487.838208] loop0: detected capacity change from 0 to 40 [ 1487.848277] FAT-fs (loop7): bogus number of reserved sectors [ 1487.849041] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1487.859888] loop4: detected capacity change from 0 to 40 [ 1487.877922] loop6: detected capacity change from 0 to 40 [ 1487.900307] loop3: detected capacity change from 0 to 40 [ 1487.912387] FAT-fs (loop3): invalid media value (0x00) [ 1487.913228] FAT-fs (loop3): Can't find a valid FAT filesystem 12:09:55 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:09:55 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1487.980806] kworker/u4:5: attempt to access beyond end of device [ 1487.980806] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 1487.982367] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:09:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1488.060361] loop7: detected capacity change from 0 to 40 [ 1488.069343] loop0: detected capacity change from 0 to 40 [ 1488.086484] FAT-fs (loop7): bogus number of reserved sectors [ 1488.087346] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1488.146599] loop3: detected capacity change from 0 to 40 12:09:56 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1488.206848] FAT-fs (loop3): invalid media value (0x00) [ 1488.207674] FAT-fs (loop3): Can't find a valid FAT filesystem 12:09:56 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1488.321064] loop0: detected capacity change from 0 to 40 12:09:56 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1488.404625] syz-executor.6: attempt to access beyond end of device [ 1488.404625] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1488.406405] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:09:56 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:09:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:56 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x0) [ 1488.583270] loop3: detected capacity change from 0 to 40 [ 1488.586574] FAT-fs (loop3): invalid media value (0x00) [ 1488.587047] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1488.601157] loop7: detected capacity change from 0 to 40 [ 1488.608503] loop6: detected capacity change from 0 to 40 [ 1488.622835] FAT-fs (loop7): bogus number of reserved sectors [ 1488.623711] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1488.654696] loop4: detected capacity change from 0 to 40 12:09:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1488.691264] syz-executor.6: attempt to access beyond end of device [ 1488.691264] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1488.692331] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 1488.724220] loop3: detected capacity change from 0 to 40 [ 1488.730380] FAT-fs (loop3): bogus number of FAT sectors [ 1488.730897] FAT-fs (loop3): Can't find a valid FAT filesystem 12:09:56 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:09:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1488.848028] loop2: detected capacity change from 0 to 40 [ 1488.882196] loop7: detected capacity change from 0 to 40 [ 1488.888821] FAT-fs (loop7): invalid media value (0x00) [ 1488.889193] FAT-fs (loop7): Can't find a valid FAT filesystem 12:09:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x0) 12:09:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:09:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1489.055625] loop3: detected capacity change from 0 to 40 [ 1489.061604] FAT-fs (loop3): bogus number of FAT sectors [ 1489.061968] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1489.129779] loop7: detected capacity change from 0 to 40 [ 1489.143556] FAT-fs (loop7): invalid media value (0x00) [ 1489.143922] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1489.145341] loop6: detected capacity change from 0 to 40 [ 1489.196440] syz-executor.6: attempt to access beyond end of device [ 1489.196440] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1489.197438] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:10:12 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:12 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x0) [ 1504.362254] loop6: detected capacity change from 0 to 40 [ 1504.365559] loop7: detected capacity change from 0 to 40 12:10:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x0) 12:10:12 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:12 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1504.380157] loop0: detected capacity change from 0 to 40 [ 1504.380191] FAT-fs (loop7): invalid media value (0x00) [ 1504.381342] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1504.409390] loop4: detected capacity change from 0 to 40 [ 1504.427283] loop3: detected capacity change from 0 to 40 12:10:12 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1504.438050] syz-executor.0: attempt to access beyond end of device [ 1504.438050] loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1504.439040] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 1504.469116] FAT-fs (loop3): bogus number of FAT sectors [ 1504.470148] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1504.498626] loop7: detected capacity change from 0 to 40 [ 1504.548495] FAT-fs (loop7): invalid media value (0x00) [ 1504.548863] FAT-fs (loop7): Can't find a valid FAT filesystem 12:10:25 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:25 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(0x0, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:25 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:25 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:25 executing program 4: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1517.434908] loop6: detected capacity change from 0 to 40 [ 1517.435163] loop5: detected capacity change from 0 to 40 12:10:25 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:25 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x0) 12:10:25 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1517.438234] loop7: detected capacity change from 0 to 40 [ 1517.445146] FAT-fs (loop7): invalid media value (0x00) [ 1517.445586] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1517.455483] loop3: detected capacity change from 0 to 40 [ 1517.486751] syz-executor.5: attempt to access beyond end of device [ 1517.486751] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1517.487742] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:10:25 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:25 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:25 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x0) [ 1517.600191] loop7: detected capacity change from 0 to 40 [ 1517.615241] FAT-fs (loop7): invalid media value (0x00) [ 1517.615664] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1517.634113] loop5: detected capacity change from 0 to 40 [ 1517.667360] loop3: detected capacity change from 0 to 40 12:10:25 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:25 executing program 4: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1517.748544] loop7: detected capacity change from 0 to 40 [ 1517.752506] FAT-fs (loop7): bogus number of FAT sectors [ 1517.752904] FAT-fs (loop7): Can't find a valid FAT filesystem 12:10:37 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(0x0, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:37 executing program 4: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:37 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:37 executing program 6: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:37 executing program 0: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:37 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1529.438680] loop7: detected capacity change from 0 to 40 [ 1529.448202] loop5: detected capacity change from 0 to 40 [ 1529.448610] loop3: detected capacity change from 0 to 40 [ 1529.459775] loop2: detected capacity change from 0 to 40 [ 1529.474490] FAT-fs (loop7): bogus number of FAT sectors [ 1529.475220] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1529.478619] FAT-fs (loop5): invalid media value (0x00) [ 1529.479326] FAT-fs (loop5): Can't find a valid FAT filesystem 12:10:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1529.635789] loop3: detected capacity change from 0 to 40 12:10:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:37 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(0x0, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:37 executing program 6: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:37 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1529.781310] loop4: detected capacity change from 0 to 40 [ 1529.783277] loop7: detected capacity change from 0 to 40 [ 1529.785857] FAT-fs (loop7): bogus number of FAT sectors [ 1529.786197] FAT-fs (loop7): Can't find a valid FAT filesystem 12:10:37 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(0x0, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:37 executing program 0: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:37 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(0x0, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1529.867219] loop3: detected capacity change from 0 to 40 12:10:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1530.003799] loop7: detected capacity change from 0 to 40 12:10:49 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r3, 0x2) 12:10:49 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1541.959386] loop6: detected capacity change from 0 to 40 12:10:49 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x0, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:49 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:10:49 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:49 executing program 0: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1541.971665] loop3: detected capacity change from 0 to 40 [ 1542.004106] loop7: detected capacity change from 0 to 40 12:10:49 executing program 5: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:10:49 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:10:49 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1542.031054] loop4: detected capacity change from 0 to 40 12:10:49 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1542.080616] loop3: detected capacity change from 0 to 40 12:10:50 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1542.181161] loop3: detected capacity change from 0 to 40 [ 1542.214859] loop7: detected capacity change from 0 to 40 [ 1542.314562] syz-executor.6: attempt to access beyond end of device [ 1542.314562] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1542.315594] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:11:02 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:02 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:02 executing program 0: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:02 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:02 executing program 4: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:02 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:11:02 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:02 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r3, 0x2) [ 1555.098804] loop0: detected capacity change from 0 to 40 [ 1555.137124] loop4: detected capacity change from 0 to 40 [ 1555.140696] loop2: detected capacity change from 0 to 40 [ 1555.142386] loop6: detected capacity change from 0 to 40 [ 1555.154108] loop3: detected capacity change from 0 to 40 [ 1555.158573] loop5: detected capacity change from 0 to 40 [ 1555.168251] loop7: detected capacity change from 0 to 40 [ 1555.611077] syz-executor.2: attempt to access beyond end of device [ 1555.611077] loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1555.619687] Buffer I/O error on dev loop2, logical block 31, lost async page write 12:11:03 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1556.355016] loop3: detected capacity change from 0 to 40 12:11:03 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:03 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:03 executing program 0: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:04 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:04 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:04 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:04 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:11:04 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1557.306884] loop7: detected capacity change from 0 to 40 [ 1557.344251] I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2 [ 1557.349361] loop0: detected capacity change from 0 to 40 [ 1557.376548] loop3: detected capacity change from 0 to 40 [ 1557.380731] loop6: detected capacity change from 0 to 40 12:11:05 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1557.411282] loop4: detected capacity change from 0 to 40 12:11:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:05 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1557.461081] loop7: detected capacity change from 0 to 40 [ 1557.566738] loop3: detected capacity change from 0 to 40 12:11:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:18 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:18 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:18 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1571.046894] loop6: detected capacity change from 0 to 40 [ 1571.050834] loop5: detected capacity change from 0 to 40 12:11:18 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:18 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1571.056926] loop4: detected capacity change from 0 to 40 [ 1571.059242] loop3: detected capacity change from 0 to 40 [ 1571.082477] loop2: detected capacity change from 0 to 40 [ 1571.084994] loop7: detected capacity change from 0 to 40 12:11:19 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1571.175651] loop3: detected capacity change from 0 to 40 12:11:19 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:19 executing program 6: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:19 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:19 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1571.254345] loop4: detected capacity change from 0 to 40 12:11:19 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1571.314403] loop3: detected capacity change from 0 to 40 [ 1571.380797] loop7: detected capacity change from 0 to 40 [ 1583.635235] loop5: detected capacity change from 0 to 40 12:11:31 executing program 6: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:31 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:31 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:31 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:31 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:31 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:31 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:11:31 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1583.674499] syz-executor.5: attempt to access beyond end of device [ 1583.674499] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1583.675568] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:11:31 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1583.692225] loop2: detected capacity change from 0 to 40 [ 1583.708741] loop7: detected capacity change from 0 to 40 [ 1583.710372] loop0: detected capacity change from 0 to 40 [ 1583.743087] loop3: detected capacity change from 0 to 40 [ 1583.758903] loop5: detected capacity change from 0 to 40 [ 1583.793846] syz-executor.5: attempt to access beyond end of device [ 1583.793846] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1583.794856] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:11:31 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:31 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:31 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:31 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1583.862038] loop0: detected capacity change from 0 to 40 [ 1583.865079] loop7: detected capacity change from 0 to 40 [ 1583.865490] loop3: detected capacity change from 0 to 40 12:11:31 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1583.916883] loop2: detected capacity change from 0 to 40 12:11:31 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1583.920545] syz-executor.0: attempt to access beyond end of device [ 1583.920545] loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1583.922174] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:11:31 executing program 6: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:31 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1583.967010] syz-executor.2: attempt to access beyond end of device [ 1583.967010] loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1583.968007] Buffer I/O error on dev loop2, logical block 31, lost async page write [ 1583.969893] loop7: detected capacity change from 0 to 40 12:11:31 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1584.023233] loop3: detected capacity change from 0 to 40 12:11:31 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:44 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:44 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:44 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) [ 1596.403283] loop6: detected capacity change from 0 to 40 12:11:44 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:11:44 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1596.411067] loop0: detected capacity change from 0 to 40 [ 1596.431779] loop7: detected capacity change from 0 to 40 12:11:44 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1596.492910] loop3: detected capacity change from 0 to 40 12:11:44 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1596.530732] syz-executor.0: attempt to access beyond end of device [ 1596.530732] loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1596.532320] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:11:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:11:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) [ 1596.594284] loop7: detected capacity change from 0 to 40 [ 1596.632583] loop6: detected capacity change from 0 to 40 12:11:44 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1596.716232] loop2: detected capacity change from 0 to 40 [ 1596.733723] syz-executor.2: attempt to access beyond end of device [ 1596.733723] loop2: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1596.734741] Buffer I/O error on dev loop2, logical block 31, lost async page write [ 1596.811785] loop3: detected capacity change from 0 to 40 12:11:59 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:11:59 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:11:59 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:59 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:59 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x0, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1611.174601] loop5: detected capacity change from 0 to 40 12:11:59 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:11:59 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) 12:11:59 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1611.204268] loop6: detected capacity change from 0 to 40 [ 1611.235151] loop7: detected capacity change from 0 to 40 [ 1611.238131] loop3: detected capacity change from 0 to 40 12:11:59 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 1611.341285] loop6: detected capacity change from 0 to 40 12:11:59 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:11:59 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:59 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:11:59 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 1611.498915] loop7: detected capacity change from 0 to 40 [ 1611.503894] loop3: detected capacity change from 0 to 40 [ 1611.521946] loop6: detected capacity change from 0 to 40 12:11:59 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1611.885913] syz-executor.5: attempt to access beyond end of device [ 1611.885913] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1611.891687] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:12:11 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:11 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1623.797097] loop5: detected capacity change from 0 to 40 12:12:11 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:11 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:11 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:11 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:11 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:11 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 1623.805098] loop6: detected capacity change from 0 to 40 [ 1623.807971] loop0: detected capacity change from 0 to 40 [ 1623.812493] FAT-fs (loop4): bogus number of reserved sectors [ 1623.813322] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1623.835457] loop3: detected capacity change from 0 to 40 [ 1623.837985] loop7: detected capacity change from 0 to 40 12:12:11 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:11 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:12:11 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:11 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:11 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1623.987495] loop3: detected capacity change from 0 to 40 [ 1623.998093] loop7: detected capacity change from 0 to 40 [ 1624.004780] loop0: detected capacity change from 0 to 40 12:12:11 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x0, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1624.034221] loop6: detected capacity change from 0 to 40 12:12:11 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:11 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:11 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1624.081399] syz-executor.0: attempt to access beyond end of device [ 1624.081399] loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1624.082900] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 1624.088059] perf: interrupt took too long (2549 > 2500), lowering kernel.perf_event_max_sample_rate to 78000 [ 1624.108382] FAT-fs (loop4): bogus number of reserved sectors [ 1624.108876] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1624.122065] loop3: detected capacity change from 0 to 40 12:12:12 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1624.172193] perf: interrupt took too long (3222 > 3186), lowering kernel.perf_event_max_sample_rate to 62000 12:12:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1624.201512] FAT-fs (loop2): bogus number of reserved sectors [ 1624.202310] FAT-fs (loop2): Can't find a valid FAT filesystem 12:12:12 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1624.232743] loop7: detected capacity change from 0 to 40 [ 1624.254687] loop0: detected capacity change from 0 to 40 12:12:12 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1624.289171] loop5: detected capacity change from 0 to 40 [ 1624.297588] loop6: detected capacity change from 0 to 40 [ 1624.322352] syz-executor.0: attempt to access beyond end of device [ 1624.322352] loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1624.325366] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 1624.333551] loop3: detected capacity change from 0 to 40 12:12:26 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:26 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:26 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) 12:12:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:12:26 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1638.385039] FAT-fs (loop4): bogus number of reserved sectors [ 1638.385545] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1638.419637] loop6: detected capacity change from 0 to 40 [ 1638.436969] loop7: detected capacity change from 0 to 40 12:12:26 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1638.459589] loop0: detected capacity change from 0 to 40 [ 1638.462362] loop3: detected capacity change from 0 to 40 12:12:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1638.518378] syz-executor.0: attempt to access beyond end of device [ 1638.518378] loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1638.520043] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:12:26 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) [ 1638.562221] loop6: detected capacity change from 0 to 40 12:12:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:26 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1638.603908] FAT-fs (loop4): bogus number of reserved sectors [ 1638.604324] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1638.616058] loop7: detected capacity change from 0 to 40 [ 1638.622684] loop3: detected capacity change from 0 to 40 12:12:39 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:39 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:39 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) 12:12:39 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:12:39 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:39 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:39 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1652.062609] loop3: detected capacity change from 0 to 40 12:12:39 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1652.107945] loop7: detected capacity change from 0 to 40 [ 1652.110259] loop6: detected capacity change from 0 to 40 [ 1652.126572] FAT-fs (loop5): bogus number of reserved sectors [ 1652.127261] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1652.143980] FAT-fs (loop4): bogus number of reserved sectors [ 1652.144716] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1652.153748] FAT-fs (loop0): bogus number of reserved sectors [ 1652.154878] FAT-fs (loop0): Can't find a valid FAT filesystem 12:12:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:40 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:12:40 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:40 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1652.315074] loop3: detected capacity change from 0 to 40 [ 1652.347998] loop6: detected capacity change from 0 to 40 [ 1652.353126] loop7: detected capacity change from 0 to 40 12:12:40 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:40 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1652.513532] FAT-fs (loop4): bogus number of reserved sectors [ 1652.514528] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1652.567224] loop3: detected capacity change from 0 to 40 [ 1652.577908] loop7: detected capacity change from 0 to 40 [ 1667.921600] FAT-fs (loop5): bogus number of reserved sectors [ 1667.922167] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1667.933041] loop4: detected capacity change from 0 to 40 12:12:55 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:55 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:55 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:55 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:55 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(0xffffffffffffffff, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:55 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1667.960946] FAT-fs (loop4): bogus number of reserved sectors [ 1667.961827] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1667.963913] loop6: detected capacity change from 0 to 40 [ 1667.964718] loop7: detected capacity change from 0 to 40 [ 1667.969243] loop3: detected capacity change from 0 to 40 12:12:55 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:12:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:12:55 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{0x0}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:12:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1668.114308] loop6: detected capacity change from 0 to 40 12:12:56 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x0, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:12:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1668.215698] loop5: detected capacity change from 0 to 40 [ 1668.226541] loop3: detected capacity change from 0 to 40 [ 1668.230949] loop7: detected capacity change from 0 to 40 12:12:56 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1668.252036] loop6: detected capacity change from 0 to 40 12:12:56 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1668.293381] syz-executor.5: attempt to access beyond end of device [ 1668.293381] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 1668.297176] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:12:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1668.319239] loop4: detected capacity change from 0 to 40 [ 1668.322184] loop0: detected capacity change from 0 to 40 [ 1668.330985] FAT-fs (loop0): bogus number of reserved sectors [ 1668.331375] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1668.354578] FAT-fs (loop4): bogus number of reserved sectors [ 1668.355609] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1668.355947] loop6: detected capacity change from 0 to 40 12:13:08 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:13:08 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:08 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1681.043045] loop4: detected capacity change from 0 to 40 [ 1681.051911] loop6: detected capacity change from 0 to 40 12:13:08 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(0xffffffffffffffff, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:08 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) 12:13:08 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:13:08 executing program 5: r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:08 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1681.060808] FAT-fs (loop4): bogus number of reserved sectors [ 1681.061200] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1681.082196] loop3: detected capacity change from 0 to 40 12:13:08 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1681.107005] loop0: detected capacity change from 0 to 40 [ 1681.120850] loop7: detected capacity change from 0 to 40 [ 1681.128282] FAT-fs (loop0): bogus number of reserved sectors [ 1681.129131] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1681.150833] loop6: detected capacity change from 0 to 40 12:13:09 executing program 6: chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:13:09 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) 12:13:09 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1681.295748] loop3: detected capacity change from 0 to 40 12:13:09 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(0xffffffffffffffff, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:09 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1681.352592] loop4: detected capacity change from 0 to 40 [ 1681.362156] FAT-fs (loop4): bogus number of reserved sectors [ 1681.362574] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1681.387185] loop7: detected capacity change from 0 to 40 [ 1696.466384] loop7: detected capacity change from 0 to 40 [ 1696.467462] loop2: detected capacity change from 0 to 40 12:13:24 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) 12:13:24 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(0xffffffffffffffff, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:24 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:13:24 executing program 6: chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:13:24 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, 0xffffffffffffffff, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:24 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:13:24 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:13:24 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(0xffffffffffffffff, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1696.492614] FAT-fs (loop2): bogus number of reserved sectors [ 1696.493013] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1696.522070] loop3: detected capacity change from 0 to 40 [ 1696.544333] loop4: detected capacity change from 0 to 40 12:13:24 executing program 6: chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1696.555088] FAT-fs (loop4): bogus number of reserved sectors [ 1696.555957] FAT-fs (loop4): Can't find a valid FAT filesystem 12:13:24 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) 12:13:24 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:13:24 executing program 6: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:13:24 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1696.671852] loop3: detected capacity change from 0 to 40 12:13:24 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1696.694831] loop7: detected capacity change from 0 to 40 12:13:24 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, 0xffffffffffffffff, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1696.732940] loop6: detected capacity change from 0 to 40 [ 1696.734249] loop2: detected capacity change from 0 to 40 [ 1696.737109] loop5: detected capacity change from 0 to 40 [ 1696.740098] FAT-fs (loop2): bogus number of reserved sectors [ 1696.740555] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1696.762188] FAT-fs (loop5): bogus number of reserved sectors [ 1696.763141] FAT-fs (loop5): Can't find a valid FAT filesystem 12:13:24 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1696.858095] loop7: detected capacity change from 0 to 40 [ 1709.838262] loop7: detected capacity change from 0 to 40 [ 1709.849359] loop5: detected capacity change from 0 to 40 12:13:37 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:13:37 executing program 6: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:13:37 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) preadv(0xffffffffffffffff, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x100000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r1, 0x0, 0x0, 0x87ffffc) open_tree(r1, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r0) 12:13:37 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, 0xffffffffffffffff, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) 12:13:37 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:13:37 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, 0xffffffffffffffff, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1709.853335] FAT-fs (loop5): bogus number of reserved sectors [ 1709.853869] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1709.860915] loop3: detected capacity change from 0 to 40 [ 1709.880771] loop6: detected capacity change from 0 to 40 [ 1709.898157] loop4: detected capacity change from 0 to 40 12:13:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) 12:13:37 executing program 6: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1709.934359] FAT-fs (loop4): bogus number of reserved sectors [ 1709.935229] FAT-fs (loop4): Can't find a valid FAT filesystem 12:13:37 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 1709.980890] loop3: detected capacity change from 0 to 40 12:13:37 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:13:37 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) preadv(0xffffffffffffffff, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x100000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r1, 0x0, 0x0, 0x87ffffc) open_tree(r1, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r0) 12:13:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0x0) 12:13:37 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1710.064786] loop5: detected capacity change from 0 to 40 [ 1710.065051] loop6: detected capacity change from 0 to 40 [ 1710.071102] loop7: detected capacity change from 0 to 40 [ 1710.099022] loop3: detected capacity change from 0 to 40 12:13:53 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:13:53 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1725.994469] loop5: detected capacity change from 0 to 40 12:13:53 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:53 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, 0xffffffffffffffff, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:53 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0x0) 12:13:53 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:13:53 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) 12:13:53 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1726.059242] loop6: detected capacity change from 0 to 40 [ 1726.083654] loop3: detected capacity change from 0 to 40 [ 1726.088650] loop7: detected capacity change from 0 to 40 [ 1726.091865] loop4: detected capacity change from 0 to 40 [ 1726.108393] FAT-fs (loop4): bogus number of reserved sectors [ 1726.109286] FAT-fs (loop4): Can't find a valid FAT filesystem 12:13:54 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:13:54 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:13:54 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) 12:13:54 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0x0) [ 1726.250751] loop5: detected capacity change from 0 to 40 [ 1726.297518] loop7: detected capacity change from 0 to 40 [ 1726.309101] loop6: detected capacity change from 0 to 40 [ 1726.321089] loop3: detected capacity change from 0 to 40 12:13:54 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') ftruncate(0xffffffffffffffff, 0x0) 12:13:54 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:13:54 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) 12:13:54 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1726.477961] loop4: detected capacity change from 0 to 40 [ 1726.491195] FAT-fs (loop4): bogus number of reserved sectors [ 1726.492019] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1726.515196] loop5: detected capacity change from 0 to 40 [ 1726.528607] loop7: detected capacity change from 0 to 40 12:13:54 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:54 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:13:54 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:13:54 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:13:54 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') ftruncate(0xffffffffffffffff, 0x0) 12:13:54 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) [ 1726.717684] loop5: detected capacity change from 0 to 40 [ 1726.756495] loop7: detected capacity change from 0 to 40 12:13:54 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1726.795068] loop0: detected capacity change from 0 to 40 [ 1726.842322] loop3: detected capacity change from 0 to 40 [ 1726.857460] FAT-fs (loop3): bogus number of reserved sectors [ 1726.858233] FAT-fs (loop3): Can't find a valid FAT filesystem 12:14:06 executing program 3: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1738.899677] loop7: detected capacity change from 0 to 40 12:14:06 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, 0x0, 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:06 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:14:06 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') ftruncate(0xffffffffffffffff, 0x0) 12:14:06 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) 12:14:06 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:06 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:06 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1738.910035] loop5: detected capacity change from 0 to 40 [ 1738.932647] loop4: detected capacity change from 0 to 40 [ 1738.936996] FAT-fs (loop4): bogus number of reserved sectors [ 1738.937581] FAT-fs (loop4): Can't find a valid FAT filesystem 12:14:06 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) [ 1738.972968] FAT-fs (loop2): bogus number of reserved sectors [ 1738.973887] FAT-fs (loop2): Can't find a valid FAT filesystem 12:14:06 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, 0x0, 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:06 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1739.025380] loop7: detected capacity change from 0 to 40 12:14:06 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1739.090629] loop5: detected capacity change from 0 to 40 12:14:06 executing program 3: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:07 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:07 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1739.177187] loop4: detected capacity change from 0 to 40 [ 1739.186940] FAT-fs (loop4): bogus number of reserved sectors [ 1739.187353] FAT-fs (loop4): Can't find a valid FAT filesystem 12:14:07 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) [ 1739.223068] loop5: detected capacity change from 0 to 40 [ 1739.245124] FAT-fs (loop6): bogus number of reserved sectors [ 1739.246064] FAT-fs (loop6): Can't find a valid FAT filesystem 12:14:07 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:07 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:07 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, 0x0, 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1739.294789] loop7: detected capacity change from 0 to 40 [ 1739.313058] loop5: detected capacity change from 0 to 40 12:14:07 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0x0) [ 1739.384313] loop2: detected capacity change from 0 to 40 [ 1739.399834] FAT-fs (loop2): bogus number of reserved sectors [ 1739.400228] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1739.412108] loop7: detected capacity change from 0 to 40 [ 1751.889629] FAT-fs (loop6): bogus number of reserved sectors [ 1751.890087] FAT-fs (loop6): Can't find a valid FAT filesystem 12:14:19 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:14:19 executing program 3: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r1, 0x0, 0x0, 0x87ffffc) open_tree(r1, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), 0xffffffffffffffff) 12:14:19 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:19 executing program 5: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:19 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:19 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:19 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:19 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0x0) [ 1751.909549] loop7: detected capacity change from 0 to 40 [ 1751.919348] loop4: detected capacity change from 0 to 40 [ 1751.923837] loop2: detected capacity change from 0 to 40 [ 1751.949305] loop0: detected capacity change from 0 to 40 [ 1751.951250] FAT-fs (loop0): bogus number of reserved sectors [ 1751.951764] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1751.955275] FAT-fs (loop2): bogus number of reserved sectors [ 1751.955736] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1751.956278] FAT-fs (loop4): bogus number of reserved sectors [ 1751.958894] FAT-fs (loop4): Can't find a valid FAT filesystem 12:14:32 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0x0) [ 1764.849440] loop7: detected capacity change from 0 to 40 12:14:32 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:32 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:32 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:32 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:32 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1764.856963] loop0: detected capacity change from 0 to 40 12:14:32 executing program 5: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:32 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1764.877525] FAT-fs (loop6): bogus number of reserved sectors [ 1764.877936] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1764.879208] FAT-fs (loop3): bogus number of reserved sectors [ 1764.880138] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1764.882623] FAT-fs (loop0): bogus number of reserved sectors [ 1764.883392] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1764.896119] loop4: detected capacity change from 0 to 40 [ 1764.910297] FAT-fs (loop4): bogus number of reserved sectors [ 1764.911254] FAT-fs (loop4): Can't find a valid FAT filesystem 12:14:32 executing program 5: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:32 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:32 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:32 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1764.977352] loop2: detected capacity change from 0 to 40 [ 1764.992544] FAT-fs (loop2): bogus number of FAT sectors [ 1764.992935] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1765.110708] FAT-fs (loop6): bogus number of reserved sectors [ 1765.111118] FAT-fs (loop6): Can't find a valid FAT filesystem 12:14:47 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:47 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1779.504459] loop0: detected capacity change from 0 to 40 12:14:47 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, 0x0, 0x0, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:14:47 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r1, 0x0, 0x0, 0x87ffffc) open_tree(r1, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), 0xffffffffffffffff) 12:14:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:14:47 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1779.527800] loop4: detected capacity change from 0 to 40 [ 1779.529204] loop5: detected capacity change from 0 to 40 [ 1779.531165] FAT-fs (loop6): bogus number of reserved sectors [ 1779.531607] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1779.532243] FAT-fs (loop4): invalid media value (0x00) [ 1779.532788] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1779.550001] FAT-fs (loop0): invalid media value (0x00) [ 1779.550724] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1779.569086] loop2: detected capacity change from 0 to 40 [ 1779.572098] FAT-fs (loop2): bogus number of FAT sectors [ 1779.572491] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1779.580100] loop3: detected capacity change from 0 to 40 [ 1779.598722] FAT-fs (loop3): bogus number of reserved sectors [ 1779.599611] FAT-fs (loop3): Can't find a valid FAT filesystem 12:14:47 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1779.655902] loop5: detected capacity change from 0 to 40 12:14:47 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1779.672165] FAT-fs (loop6): bogus number of reserved sectors [ 1779.672784] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1779.705021] loop4: detected capacity change from 0 to 40 [ 1779.708752] FAT-fs (loop4): invalid media value (0x00) [ 1779.709143] FAT-fs (loop4): Can't find a valid FAT filesystem 12:14:47 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:47 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:14:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:14:47 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, 0x0, 0x0, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1779.788364] loop0: detected capacity change from 0 to 40 [ 1779.797521] FAT-fs (loop0): invalid media value (0x00) [ 1779.797907] FAT-fs (loop0): Can't find a valid FAT filesystem 12:14:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:14:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1779.828916] loop5: detected capacity change from 0 to 40 [ 1779.830321] loop6: detected capacity change from 0 to 40 [ 1779.835983] FAT-fs (loop6): bogus number of reserved sectors [ 1779.836492] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1779.866394] loop2: detected capacity change from 0 to 40 [ 1779.874649] FAT-fs (loop2): bogus number of FAT sectors [ 1779.875035] FAT-fs (loop2): Can't find a valid FAT filesystem 12:14:47 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1779.899059] loop3: detected capacity change from 0 to 40 [ 1779.909475] FAT-fs (loop3): invalid media value (0x00) [ 1779.909827] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1779.918783] loop7: detected capacity change from 0 to 40 [ 1779.925077] FAT-fs (loop7): invalid media value (0x00) [ 1779.925449] FAT-fs (loop7): Can't find a valid FAT filesystem 12:15:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:15:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:15:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:00 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, 0x0, 0x0, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:15:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:15:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1792.848922] loop0: detected capacity change from 0 to 40 [ 1792.856902] loop4: detected capacity change from 0 to 40 [ 1792.857973] loop6: detected capacity change from 0 to 40 [ 1792.859544] loop5: detected capacity change from 0 to 40 [ 1792.862359] loop7: detected capacity change from 0 to 40 [ 1792.864797] FAT-fs (loop0): invalid media value (0x00) [ 1792.865489] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1792.867718] FAT-fs (loop6): bogus number of reserved sectors [ 1792.868469] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1792.869288] FAT-fs (loop4): invalid media value (0x00) [ 1792.870032] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1792.873489] loop3: detected capacity change from 0 to 40 [ 1792.880122] loop2: detected capacity change from 0 to 40 [ 1792.887335] FAT-fs (loop7): invalid media value (0x00) [ 1792.888046] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1792.892652] FAT-fs (loop3): bogus number of reserved sectors [ 1792.893501] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1792.896239] FAT-fs (loop2): bogus number of FAT sectors [ 1792.897006] FAT-fs (loop2): Can't find a valid FAT filesystem 12:15:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:15:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1793.074136] loop5: detected capacity change from 0 to 40 [ 1793.087742] loop6: detected capacity change from 0 to 40 [ 1793.097835] FAT-fs (loop6): bogus number of reserved sectors [ 1793.098436] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1793.099125] FAT-fs (loop7): bogus number of reserved sectors [ 1793.099796] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1793.152392] FAT-fs (loop3): bogus number of reserved sectors [ 1793.153227] FAT-fs (loop3): Can't find a valid FAT filesystem 12:15:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1793.256758] loop5: detected capacity change from 0 to 40 [ 1793.309398] loop6: detected capacity change from 0 to 40 12:15:01 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1793.324468] FAT-fs (loop6): bogus number of reserved sectors [ 1793.325199] FAT-fs (loop6): Can't find a valid FAT filesystem 12:15:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:01 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:15:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1793.480827] loop4: detected capacity change from 0 to 40 12:15:01 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1793.498606] FAT-fs (loop4): invalid media value (0x00) [ 1793.499316] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1793.505056] loop7: detected capacity change from 0 to 40 [ 1793.518540] FAT-fs (loop7): invalid media value (0x00) [ 1793.519255] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1793.563668] loop6: detected capacity change from 0 to 40 [ 1793.590135] FAT-fs (loop6): bogus number of reserved sectors [ 1793.591284] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1806.821270] loop4: detected capacity change from 0 to 40 [ 1806.824239] loop3: detected capacity change from 0 to 40 12:15:14 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:15:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:15:14 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:14 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:15:14 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) 12:15:14 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:15:14 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1806.833676] FAT-fs (loop3): bogus number of FAT sectors [ 1806.834070] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1806.834924] loop7: detected capacity change from 0 to 40 [ 1806.835992] FAT-fs (loop4): invalid media value (0x00) [ 1806.836353] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1806.841481] FAT-fs (loop0): bogus number of reserved sectors [ 1806.841883] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1806.861090] loop2: detected capacity change from 0 to 40 [ 1806.863534] FAT-fs (loop7): bogus number of reserved sectors [ 1806.864332] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1806.867097] FAT-fs (loop2): bogus number of FAT sectors [ 1806.867524] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1806.884056] loop6: detected capacity change from 0 to 40 [ 1806.905546] FAT-fs (loop6): bogus number of reserved sectors [ 1806.906360] FAT-fs (loop6): Can't find a valid FAT filesystem 12:15:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) [ 1806.957019] loop3: detected capacity change from 0 to 40 [ 1806.970980] FAT-fs (loop3): bogus number of FAT sectors [ 1806.971357] FAT-fs (loop3): Can't find a valid FAT filesystem 12:15:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:14 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:14 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:15:14 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) [ 1807.068878] loop6: detected capacity change from 0 to 40 [ 1807.076486] FAT-fs (loop6): bogus number of reserved sectors [ 1807.077272] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1807.150467] loop3: detected capacity change from 0 to 40 [ 1807.179200] FAT-fs (loop3): bogus number of FAT sectors [ 1807.179613] FAT-fs (loop3): Can't find a valid FAT filesystem 12:15:27 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) 12:15:27 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:15:27 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:15:27 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:15:27 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:27 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:15:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:15:27 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1819.911399] loop3: detected capacity change from 0 to 40 [ 1819.929556] FAT-fs (loop3): bogus number of FAT sectors [ 1819.930356] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1819.937384] loop6: detected capacity change from 0 to 40 [ 1819.941044] loop2: detected capacity change from 0 to 40 [ 1819.944936] loop7: detected capacity change from 0 to 40 [ 1819.945673] loop4: detected capacity change from 0 to 40 [ 1819.955961] FAT-fs (loop2): bogus number of FAT sectors [ 1819.956790] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1819.958592] FAT-fs (loop5): bogus number of reserved sectors [ 1819.959584] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1819.960932] FAT-fs (loop4): invalid media value (0x00) [ 1819.961716] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1819.970746] FAT-fs (loop6): bogus number of reserved sectors [ 1819.971648] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1819.974533] FAT-fs (loop7): invalid media value (0x00) [ 1819.975288] FAT-fs (loop7): Can't find a valid FAT filesystem 12:15:27 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:15:27 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') 12:15:28 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:28 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1820.174712] loop2: detected capacity change from 0 to 40 [ 1820.185113] loop3: detected capacity change from 0 to 40 [ 1820.188527] FAT-fs (loop2): bogus number of FAT sectors [ 1820.189237] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1820.199688] FAT-fs (loop3): bogus number of FAT sectors [ 1820.200471] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1820.208517] FAT-fs (loop5): bogus number of reserved sectors [ 1820.209297] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1820.222584] loop6: detected capacity change from 0 to 40 [ 1820.236761] FAT-fs (loop6): bogus number of reserved sectors [ 1820.237769] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1820.248324] loop7: detected capacity change from 0 to 40 [ 1820.269430] FAT-fs (loop7): invalid media value (0x00) [ 1820.270237] FAT-fs (loop7): Can't find a valid FAT filesystem 12:15:28 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:15:28 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) [ 1820.424687] loop2: detected capacity change from 0 to 40 [ 1820.438591] FAT-fs (loop2): bogus number of FAT sectors [ 1820.439323] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1832.265297] loop4: detected capacity change from 0 to 40 [ 1832.269964] loop3: detected capacity change from 0 to 40 12:15:40 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:40 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:40 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:40 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:15:40 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:15:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) 12:15:40 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {0x0}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:15:40 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1832.271914] loop2: detected capacity change from 0 to 40 [ 1832.273586] FAT-fs (loop4): bogus number of FAT sectors [ 1832.273995] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1832.275209] FAT-fs (loop3): bogus number of FAT sectors [ 1832.275717] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1832.281828] loop6: detected capacity change from 0 to 40 [ 1832.283450] FAT-fs (loop6): bogus number of reserved sectors [ 1832.283859] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1832.296505] FAT-fs (loop2): bogus number of FAT sectors [ 1832.297270] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1832.298049] loop7: detected capacity change from 0 to 40 [ 1832.301782] FAT-fs (loop0): bogus number of reserved sectors [ 1832.302612] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1832.302892] FAT-fs (loop7): invalid media value (0x00) [ 1832.303759] FAT-fs (loop7): Can't find a valid FAT filesystem 12:15:40 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1832.331104] FAT-fs (loop5): bogus number of reserved sectors [ 1832.331973] FAT-fs (loop5): Can't find a valid FAT filesystem 12:15:40 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1832.380464] loop6: detected capacity change from 0 to 40 [ 1832.387178] loop3: detected capacity change from 0 to 40 [ 1832.409121] FAT-fs (loop6): bogus number of reserved sectors [ 1832.409978] FAT-fs (loop6): Can't find a valid FAT filesystem 12:15:40 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:40 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:15:40 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:40 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:15:40 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1832.478967] loop2: detected capacity change from 0 to 40 [ 1832.481286] loop4: detected capacity change from 0 to 40 [ 1832.487290] FAT-fs (loop2): bogus number of FAT sectors [ 1832.487816] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1832.488285] FAT-fs (loop4): bogus number of FAT sectors [ 1832.488690] FAT-fs (loop4): Can't find a valid FAT filesystem 12:15:40 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) [ 1832.503757] loop3: detected capacity change from 0 to 40 [ 1832.610695] FAT-fs (loop5): bogus number of reserved sectors [ 1832.611569] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1832.618240] loop7: detected capacity change from 0 to 40 [ 1832.633295] FAT-fs (loop7): invalid media value (0x00) [ 1832.634221] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1844.420077] loop6: detected capacity change from 0 to 40 [ 1844.427845] loop7: detected capacity change from 0 to 40 [ 1844.434920] FAT-fs (loop5): bogus number of reserved sectors [ 1844.435367] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1844.435895] FAT-fs (loop7): bogus number of reserved sectors [ 1844.436267] FAT-fs (loop7): Can't find a valid FAT filesystem 12:15:52 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:52 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') 12:15:52 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:15:52 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:52 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:15:52 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:15:52 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:15:52 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {0x0}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1844.442305] FAT-fs (loop6): bogus number of reserved sectors [ 1844.442723] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1844.450604] loop3: detected capacity change from 0 to 40 [ 1844.451144] loop0: detected capacity change from 0 to 40 [ 1844.459275] loop4: detected capacity change from 0 to 40 [ 1844.479333] loop2: detected capacity change from 0 to 40 [ 1844.481983] FAT-fs (loop2): bogus number of FAT sectors [ 1844.482362] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1844.483402] FAT-fs (loop4): bogus number of FAT sectors [ 1844.484259] FAT-fs (loop4): Can't find a valid FAT filesystem [ 1844.486309] FAT-fs (loop0): bogus number of FAT sectors [ 1844.487102] FAT-fs (loop0): Can't find a valid FAT filesystem 12:15:52 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:15:52 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1844.515090] loop3: detected capacity change from 0 to 40 12:15:52 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1844.542320] loop6: detected capacity change from 0 to 40 [ 1844.549989] FAT-fs (loop6): invalid media value (0x00) [ 1844.550353] FAT-fs (loop6): Can't find a valid FAT filesystem 12:15:52 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:15:52 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:15:52 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1844.644719] loop3: detected capacity change from 0 to 40 [ 1844.646524] FAT-fs (loop5): bogus number of reserved sectors [ 1844.647291] FAT-fs (loop5): Can't find a valid FAT filesystem 12:15:52 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:15:52 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {0x0}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1844.673689] loop2: detected capacity change from 0 to 40 [ 1844.680130] loop6: detected capacity change from 0 to 40 [ 1844.683659] FAT-fs (loop2): bogus number of FAT sectors [ 1844.684036] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1844.688936] FAT-fs (loop6): invalid media value (0x00) [ 1844.689301] FAT-fs (loop6): Can't find a valid FAT filesystem 12:15:52 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1844.767931] loop3: detected capacity change from 0 to 40 12:16:05 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:05 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:16:05 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {0x0}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:16:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) 12:16:05 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {0x0}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:16:05 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:05 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:16:05 executing program 2: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1857.441368] loop5: detected capacity change from 0 to 40 [ 1857.448054] loop4: detected capacity change from 0 to 40 [ 1857.453179] FAT-fs (loop5): bogus number of reserved sectors [ 1857.453634] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1857.475140] loop2: detected capacity change from 0 to 40 [ 1857.494672] loop6: detected capacity change from 0 to 40 [ 1857.497162] FAT-fs (loop6): invalid media value (0x00) [ 1857.497761] FAT-fs (loop6): Can't find a valid FAT filesystem 12:16:05 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:16:05 executing program 2: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1857.559835] loop5: detected capacity change from 0 to 40 12:16:05 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:05 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1857.609046] FAT-fs (loop5): bogus number of reserved sectors [ 1857.609883] FAT-fs (loop5): Can't find a valid FAT filesystem 12:16:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) [ 1857.641390] loop2: detected capacity change from 0 to 40 12:16:05 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:05 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1857.707027] loop7: detected capacity change from 0 to 40 [ 1857.723867] loop6: detected capacity change from 0 to 40 [ 1857.723992] loop5: detected capacity change from 0 to 40 [ 1857.733626] FAT-fs (loop5): bogus number of reserved sectors [ 1857.734023] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1857.737926] loop4: detected capacity change from 0 to 40 [ 1857.743377] FAT-fs (loop6): invalid media value (0x00) [ 1857.744286] FAT-fs (loop6): Can't find a valid FAT filesystem 12:16:20 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:20 executing program 2: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:16:20 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:20 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1872.892734] loop6: detected capacity change from 0 to 40 [ 1872.895147] loop0: detected capacity change from 0 to 40 [ 1872.897016] loop4: detected capacity change from 0 to 40 12:16:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:16:20 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:16:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) 12:16:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1872.911271] FAT-fs (loop6): invalid media value (0x00) [ 1872.911674] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1872.912955] loop2: detected capacity change from 0 to 40 [ 1872.938226] loop5: detected capacity change from 0 to 40 12:16:20 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1872.948491] FAT-fs (loop5): bogus number of reserved sectors [ 1872.949223] FAT-fs (loop5): Can't find a valid FAT filesystem 12:16:20 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:16:20 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:20 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1873.066555] FAT-fs (loop3): bogus number of reserved sectors [ 1873.067162] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1873.094127] loop2: detected capacity change from 0 to 40 12:16:21 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1873.124949] loop5: detected capacity change from 0 to 40 [ 1873.128731] loop6: detected capacity change from 0 to 40 12:16:21 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1873.137469] FAT-fs (loop5): bogus number of reserved sectors [ 1873.137880] FAT-fs (loop5): Can't find a valid FAT filesystem 12:16:21 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1873.147509] FAT-fs (loop6): invalid media value (0x00) [ 1873.148214] FAT-fs (loop6): Can't find a valid FAT filesystem 12:16:21 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1873.185620] loop4: detected capacity change from 0 to 40 12:16:21 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:16:21 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:16:21 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1873.220895] FAT-fs (loop3): bogus number of reserved sectors [ 1873.221695] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1873.263616] loop5: detected capacity change from 0 to 40 [ 1873.265966] loop7: detected capacity change from 0 to 40 [ 1873.266014] loop2: detected capacity change from 0 to 40 [ 1873.274127] FAT-fs (loop5): bogus number of reserved sectors [ 1873.274616] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1873.275089] FAT-fs (loop7): bogus number of reserved sectors [ 1873.275514] FAT-fs (loop7): Can't find a valid FAT filesystem 12:16:34 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:34 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:34 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:34 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}], 0x0, &(0x7f0000000140)=ANY=[]) 12:16:34 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:16:34 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:16:34 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b91", 0x40}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1886.996310] loop0: detected capacity change from 0 to 40 [ 1887.005042] loop7: detected capacity change from 0 to 40 [ 1887.005751] loop2: detected capacity change from 0 to 40 [ 1887.006501] FAT-fs (loop3): bogus number of reserved sectors [ 1887.006895] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1887.020268] loop5: detected capacity change from 0 to 40 [ 1887.025511] FAT-fs (loop5): bogus number of reserved sectors [ 1887.025901] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1887.031107] loop6: detected capacity change from 0 to 40 [ 1887.034653] loop4: detected capacity change from 0 to 40 [ 1887.038300] FAT-fs (loop6): bogus number of FAT sectors [ 1887.038709] FAT-fs (loop6): Can't find a valid FAT filesystem [ 1887.040513] FAT-fs (loop7): bogus number of FAT sectors [ 1887.041129] FAT-fs (loop7): Can't find a valid FAT filesystem 12:16:34 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) 12:16:34 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) [ 1887.107634] FAT-fs (loop3): bogus number of reserved sectors [ 1887.108062] FAT-fs (loop3): Can't find a valid FAT filesystem 12:16:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:16:35 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:35 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1887.166211] loop6: detected capacity change from 0 to 40 [ 1887.168364] loop5: detected capacity change from 0 to 40 [ 1887.176894] FAT-fs (loop5): bogus number of reserved sectors [ 1887.177312] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1887.179402] FAT-fs (loop6): bogus number of FAT sectors [ 1887.179813] FAT-fs (loop6): Can't find a valid FAT filesystem 12:16:35 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1887.213306] FAT-fs (loop3): bogus number of reserved sectors [ 1887.213740] FAT-fs (loop3): Can't find a valid FAT filesystem 12:16:35 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) 12:16:35 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:35 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:16:35 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1887.295810] loop5: detected capacity change from 0 to 40 [ 1887.299021] loop6: detected capacity change from 0 to 40 [ 1887.304038] FAT-fs (loop5): bogus number of reserved sectors [ 1887.304528] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1887.304982] FAT-fs (loop6): bogus number of FAT sectors [ 1887.305332] FAT-fs (loop6): Can't find a valid FAT filesystem 12:16:35 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:35 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1887.352108] FAT-fs (loop3): bogus number of reserved sectors [ 1887.352918] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1887.382716] loop7: detected capacity change from 0 to 40 [ 1887.388968] loop4: detected capacity change from 0 to 40 12:16:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:47 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:47 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:47 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) 12:16:47 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:16:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:16:47 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1899.959373] loop5: detected capacity change from 0 to 40 [ 1899.960367] loop4: detected capacity change from 0 to 40 [ 1899.963253] loop6: detected capacity change from 0 to 40 12:16:47 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b91", 0x40}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1899.976662] loop3: detected capacity change from 0 to 40 [ 1899.987141] loop7: detected capacity change from 0 to 40 [ 1899.987673] FAT-fs (loop3): bogus number of reserved sectors [ 1899.988032] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1899.988398] FAT-fs (loop5): bogus number of reserved sectors [ 1899.988472] FAT-fs (loop5): Can't find a valid FAT filesystem 12:16:47 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:16:47 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:16:47 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1900.070668] loop6: detected capacity change from 0 to 40 [ 1900.084451] loop4: detected capacity change from 0 to 40 [ 1900.107088] loop3: detected capacity change from 0 to 40 [ 1900.115724] FAT-fs (loop3): bogus number of reserved sectors [ 1900.116137] FAT-fs (loop3): Can't find a valid FAT filesystem 12:17:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:00 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b91", 0x40}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:00 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b91", 0x40}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:17:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1912.526863] FAT-fs (loop2): bogus number of reserved sectors [ 1912.527743] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1912.544613] loop4: detected capacity change from 0 to 40 [ 1912.548208] loop7: detected capacity change from 0 to 40 [ 1912.549302] loop6: detected capacity change from 0 to 40 [ 1912.551688] loop3: detected capacity change from 0 to 40 [ 1912.553332] FAT-fs (loop3): bogus number of reserved sectors [ 1912.553758] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1912.558973] FAT-fs (loop7): bogus number of reserved sectors [ 1912.559348] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1912.568794] loop5: detected capacity change from 0 to 40 [ 1912.595481] FAT-fs (loop5): bogus number of reserved sectors [ 1912.596304] FAT-fs (loop5): Can't find a valid FAT filesystem 12:17:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:17:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:00 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1912.704303] loop3: detected capacity change from 0 to 40 12:17:00 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1912.731237] loop6: detected capacity change from 0 to 40 [ 1912.734902] FAT-fs (loop3): bogus number of reserved sectors [ 1912.735870] FAT-fs (loop3): Can't find a valid FAT filesystem 12:17:00 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) [ 1912.749060] loop4: detected capacity change from 0 to 40 [ 1912.768789] FAT-fs (loop2): bogus number of reserved sectors [ 1912.769609] FAT-fs (loop2): Can't find a valid FAT filesystem 12:17:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1912.835009] loop5: detected capacity change from 0 to 40 [ 1912.854505] FAT-fs (loop5): bogus number of reserved sectors [ 1912.855104] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1912.861157] loop0: detected capacity change from 0 to 40 [ 1912.892338] loop7: detected capacity change from 0 to 40 [ 1912.893237] FAT-fs (loop0): invalid media value (0x00) [ 1912.894036] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1912.905594] FAT-fs (loop7): bogus number of reserved sectors [ 1912.906442] FAT-fs (loop7): Can't find a valid FAT filesystem 12:17:13 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:17:13 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b91", 0x40}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:13 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:13 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:13 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:13 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:13 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:13 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27d", 0x60}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 1925.830503] FAT-fs (loop2): bogus number of reserved sectors [ 1925.831245] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1925.839331] loop6: detected capacity change from 0 to 40 [ 1925.863959] loop3: detected capacity change from 0 to 40 [ 1925.866196] loop5: detected capacity change from 0 to 40 [ 1925.875944] loop4: detected capacity change from 0 to 40 [ 1925.884247] FAT-fs (loop5): invalid media value (0x00) [ 1925.885218] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1925.885473] FAT-fs (loop0): bogus number of reserved sectors [ 1925.886598] FAT-fs (loop0): Can't find a valid FAT filesystem [ 1925.897455] FAT-fs (loop3): bogus number of reserved sectors [ 1925.898168] FAT-fs (loop3): Can't find a valid FAT filesystem 12:17:13 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:13 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:17:13 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:13 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:13 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1926.045030] FAT-fs (loop2): bogus number of reserved sectors [ 1926.046201] FAT-fs (loop2): Can't find a valid FAT filesystem 12:17:13 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1926.102074] loop5: detected capacity change from 0 to 40 [ 1926.103768] loop6: detected capacity change from 0 to 40 [ 1926.107149] loop3: detected capacity change from 0 to 40 [ 1926.118603] FAT-fs (loop5): invalid media value (0x00) [ 1926.119461] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1926.123909] FAT-fs (loop3): bogus number of reserved sectors [ 1926.124723] FAT-fs (loop3): Can't find a valid FAT filesystem 12:17:14 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27d", 0x60}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:14 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1926.210821] loop4: detected capacity change from 0 to 40 12:17:14 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440", 0x12}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1926.314893] FAT-fs (loop2): bogus number of reserved sectors [ 1926.315737] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1926.334048] loop5: detected capacity change from 0 to 40 [ 1926.346916] FAT-fs (loop5): invalid media value (0x00) [ 1926.347648] FAT-fs (loop5): Can't find a valid FAT filesystem 12:17:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1938.818897] loop7: detected capacity change from 0 to 40 12:17:26 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27d", 0x60}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:26 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:26 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00", 0xc}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:17:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1938.828746] loop5: detected capacity change from 0 to 40 12:17:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1938.832232] FAT-fs (loop7): bogus number of reserved sectors [ 1938.832798] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1938.834006] FAT-fs (loop5): invalid media value (0x00) [ 1938.834538] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1938.844028] FAT-fs (loop2): bogus number of reserved sectors [ 1938.844563] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1938.869099] loop6: detected capacity change from 0 to 40 12:17:26 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1938.888833] loop3: detected capacity change from 0 to 40 [ 1938.890992] loop0: detected capacity change from 0 to 40 [ 1938.891392] FAT-fs (loop3): bogus number of reserved sectors [ 1938.892209] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1938.894400] loop4: detected capacity change from 0 to 40 12:17:26 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:17:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1938.947010] loop2: detected capacity change from 0 to 40 [ 1938.953784] FAT-fs (loop2): bogus number of reserved sectors [ 1938.954267] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1938.958355] loop7: detected capacity change from 0 to 40 [ 1938.962132] loop5: detected capacity change from 0 to 40 [ 1938.964591] FAT-fs (loop5): invalid media value (0x00) [ 1938.965053] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1938.971153] FAT-fs (loop7): bogus number of reserved sectors [ 1938.971751] FAT-fs (loop7): Can't find a valid FAT filesystem 12:17:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1939.083920] loop3: detected capacity change from 0 to 40 [ 1939.092117] FAT-fs (loop3): bogus number of reserved sectors [ 1939.092713] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1939.095609] loop6: detected capacity change from 0 to 40 12:17:44 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620", 0x70}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:17:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:44 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:44 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1956.790340] loop5: detected capacity change from 0 to 40 [ 1956.791556] loop7: detected capacity change from 0 to 40 [ 1956.796819] loop2: detected capacity change from 0 to 40 [ 1956.800779] FAT-fs (loop2): bogus number of reserved sectors [ 1956.801196] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1956.807582] FAT-fs (loop5): invalid media value (0x00) [ 1956.807959] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1956.822703] loop3: detected capacity change from 0 to 40 [ 1956.837861] loop4: detected capacity change from 0 to 40 [ 1956.852940] FAT-fs (loop3): bogus number of reserved sectors [ 1956.853828] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1956.856850] loop6: detected capacity change from 0 to 40 12:17:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1956.896782] loop5: detected capacity change from 0 to 40 [ 1956.929399] loop2: detected capacity change from 0 to 40 [ 1956.935685] FAT-fs (loop2): bogus number of reserved sectors [ 1956.936087] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1956.948537] FAT-fs (loop5): bogus number of FAT sectors [ 1956.949267] FAT-fs (loop5): Can't find a valid FAT filesystem 12:17:44 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:44 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b", 0xb}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:44 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1957.055875] loop3: detected capacity change from 0 to 40 12:17:44 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:44 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620", 0x70}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:44 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:44 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1957.078143] loop2: detected capacity change from 0 to 40 [ 1957.079043] FAT-fs (loop3): bogus number of reserved sectors [ 1957.079881] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1957.096914] FAT-fs (loop2): bogus number of reserved sectors [ 1957.097972] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1957.136813] loop6: detected capacity change from 0 to 40 [ 1957.139748] loop7: detected capacity change from 0 to 40 [ 1957.152366] FAT-fs (loop7): bogus number of reserved sectors [ 1957.153206] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1957.177353] loop4: detected capacity change from 0 to 40 12:17:57 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:57 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b", 0xb}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1970.085847] loop2: detected capacity change from 0 to 40 [ 1970.088265] loop5: detected capacity change from 0 to 40 12:17:57 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620", 0x70}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:57 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27d", 0x60}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:17:57 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:17:57 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:57 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:57 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1970.102307] FAT-fs (loop2): bogus number of reserved sectors [ 1970.102739] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1970.105096] FAT-fs (loop5): bogus number of FAT sectors [ 1970.105516] FAT-fs (loop5): Can't find a valid FAT filesystem [ 1970.121458] loop4: detected capacity change from 0 to 40 [ 1970.127016] loop6: detected capacity change from 0 to 40 12:17:58 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{0x0}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1970.145950] loop7: detected capacity change from 0 to 40 [ 1970.149380] loop3: detected capacity change from 0 to 40 12:17:58 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1970.163460] FAT-fs (loop3): bogus number of reserved sectors [ 1970.164334] FAT-fs (loop3): Can't find a valid FAT filesystem 12:17:58 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1970.205762] loop2: detected capacity change from 0 to 40 12:17:58 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1970.213381] FAT-fs (loop2): bogus number of reserved sectors [ 1970.214123] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1970.217251] loop5: detected capacity change from 0 to 40 12:17:58 executing program 7: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:17:58 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:17:58 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:58 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b", 0xb}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1970.308643] loop7: detected capacity change from 0 to 40 [ 1970.316126] loop2: detected capacity change from 0 to 40 [ 1970.318028] loop5: detected capacity change from 0 to 40 [ 1970.321125] loop3: detected capacity change from 0 to 40 [ 1970.324889] FAT-fs (loop2): bogus number of reserved sectors [ 1970.325284] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1970.334656] FAT-fs (loop3): bogus number of reserved sectors [ 1970.335067] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1970.362933] loop6: detected capacity change from 0 to 40 [ 1970.363023] loop4: detected capacity change from 0 to 40 12:17:58 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:17:58 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, 0x0) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1970.430010] loop5: detected capacity change from 0 to 40 [ 1970.455233] loop2: detected capacity change from 0 to 40 [ 1970.468681] FAT-fs (loop2): bogus number of reserved sectors [ 1970.469374] FAT-fs (loop2): Can't find a valid FAT filesystem 12:18:10 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620", 0x70}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:10 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:18:10 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2d", 0x78}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:10 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004", 0x11}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:10 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:10 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:18:10 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:10 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 1982.444219] loop2: detected capacity change from 0 to 40 [ 1982.449244] loop5: detected capacity change from 0 to 40 [ 1982.458213] loop6: detected capacity change from 0 to 40 [ 1982.464341] FAT-fs (loop2): bogus number of reserved sectors [ 1982.465136] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1982.469278] loop3: detected capacity change from 0 to 40 [ 1982.471097] loop4: detected capacity change from 0 to 40 [ 1982.493462] FAT-fs (loop3): invalid media value (0x00) [ 1982.494159] FAT-fs (loop3): Can't find a valid FAT filesystem 12:18:10 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b", 0xb}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:10 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:18:10 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:18:10 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004", 0x11}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:10 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1982.661950] loop5: detected capacity change from 0 to 40 [ 1982.670246] loop2: detected capacity change from 0 to 40 [ 1982.682334] FAT-fs (loop2): bogus number of reserved sectors [ 1982.683167] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1982.695996] loop6: detected capacity change from 0 to 40 [ 1982.738201] loop3: detected capacity change from 0 to 40 [ 1982.740668] loop4: detected capacity change from 0 to 40 [ 1982.752223] FAT-fs (loop3): invalid media value (0x00) [ 1982.752913] FAT-fs (loop3): Can't find a valid FAT filesystem 12:18:23 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:23 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b", 0xb}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:23 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2d", 0x78}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:23 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:23 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:18:23 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:18:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004", 0x11}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1995.582819] loop4: detected capacity change from 0 to 40 [ 1995.586263] loop6: detected capacity change from 0 to 40 [ 1995.591712] loop3: detected capacity change from 0 to 40 [ 1995.621141] loop5: detected capacity change from 0 to 40 [ 1995.621463] FAT-fs (loop3): invalid media value (0x00) [ 1995.622285] FAT-fs (loop3): Can't find a valid FAT filesystem [ 1995.622715] loop2: detected capacity change from 0 to 40 12:18:23 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 1995.636586] FAT-fs (loop2): bogus number of reserved sectors [ 1995.636989] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1995.643633] loop0: detected capacity change from 0 to 40 12:18:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 1995.658536] loop7: detected capacity change from 0 to 40 [ 1995.673176] FAT-fs (loop7): bogus number of reserved sectors [ 1995.674154] FAT-fs (loop7): Can't find a valid FAT filesystem [ 1995.691891] loop6: detected capacity change from 0 to 40 [ 1995.700518] loop4: detected capacity change from 0 to 40 12:18:23 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r0, 0x0) 12:18:23 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b", 0xb}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:23 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004400020", 0x14}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:23 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 1995.784180] loop4: detected capacity change from 0 to 40 [ 1995.814664] loop3: detected capacity change from 0 to 40 [ 1995.814966] loop0: detected capacity change from 0 to 40 [ 1995.835831] FAT-fs (loop3): invalid media value (0x00) [ 1995.836684] FAT-fs (loop3): Can't find a valid FAT filesystem 12:18:23 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 1995.863564] loop2: detected capacity change from 0 to 40 [ 1995.868687] loop5: detected capacity change from 0 to 40 [ 1995.883522] FAT-fs (loop2): bogus number of reserved sectors [ 1995.884354] FAT-fs (loop2): Can't find a valid FAT filesystem [ 1995.897896] loop4: detected capacity change from 0 to 40 12:18:36 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2d", 0x78}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:36 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2d", 0x78}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:36 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:18:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r0, 0x0) 12:18:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004400020", 0x14}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:36 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, 0x0, 0x0, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:36 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) [ 2008.909160] loop5: detected capacity change from 0 to 40 12:18:36 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004", 0x11}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 2008.923491] loop7: detected capacity change from 0 to 40 [ 2008.929390] loop2: detected capacity change from 0 to 40 [ 2008.931202] FAT-fs (loop7): bogus number of reserved sectors [ 2008.931656] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2008.933119] FAT-fs (loop2): invalid media value (0x00) [ 2008.933541] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2008.947307] loop4: detected capacity change from 0 to 40 [ 2008.970499] loop3: detected capacity change from 0 to 40 12:18:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r0, 0x0) [ 2008.976528] FAT-fs (loop3): invalid media value (0x00) [ 2008.976902] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2008.977899] loop6: detected capacity change from 0 to 40 12:18:36 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004", 0x11}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:36 executing program 7: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2009.050975] loop5: detected capacity change from 0 to 40 12:18:36 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:36 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004400020", 0x14}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 2009.053540] loop2: detected capacity change from 0 to 40 [ 2009.060753] FAT-fs (loop2): invalid media value (0x00) [ 2009.061150] FAT-fs (loop2): Can't find a valid FAT filesystem 12:18:36 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:18:36 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r0, 0x0) 12:18:37 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004", 0x11}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:37 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19", 0x7c}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2009.140826] loop5: detected capacity change from 0 to 40 [ 2009.181299] loop2: detected capacity change from 0 to 40 [ 2009.188176] FAT-fs (loop2): invalid media value (0x00) [ 2009.188583] FAT-fs (loop2): Can't find a valid FAT filesystem 12:18:37 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r0, 0x0) [ 2009.209731] loop3: detected capacity change from 0 to 40 [ 2009.222161] loop4: detected capacity change from 0 to 40 [ 2009.229533] FAT-fs (loop3): invalid media value (0x00) [ 2009.230320] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2009.238821] loop6: detected capacity change from 0 to 40 12:18:37 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:37 executing program 7: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:37 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004400020", 0x14}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 2009.268326] loop5: detected capacity change from 0 to 40 [ 2009.301260] loop2: detected capacity change from 0 to 40 [ 2009.309855] FAT-fs (loop2): invalid media value (0x00) [ 2009.310295] FAT-fs (loop2): Can't find a valid FAT filesystem 12:18:37 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r0, 0x0) 12:18:37 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:37 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004400020", 0x14}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:37 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 2009.378743] loop5: detected capacity change from 0 to 40 [ 2009.419502] loop2: detected capacity change from 0 to 40 [ 2009.431656] FAT-fs (loop2): invalid media value (0x00) [ 2009.432050] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2009.478959] loop3: detected capacity change from 0 to 40 [ 2009.502929] FAT-fs (loop3): invalid media value (0x00) [ 2009.504028] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2009.522057] loop6: detected capacity change from 0 to 40 12:18:53 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:18:53 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:18:53 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b000801010004400020", 0x14}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:18:53 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:53 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:18:53 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:18:53 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19", 0x7c}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2025.231930] loop6: detected capacity change from 0 to 40 [ 2025.240891] loop2: detected capacity change from 0 to 40 12:18:53 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) [ 2025.250527] loop4: detected capacity change from 0 to 40 [ 2025.252879] FAT-fs (loop2): invalid media value (0x00) [ 2025.253245] FAT-fs (loop2): Can't find a valid FAT filesystem 12:18:53 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) [ 2025.307889] loop3: detected capacity change from 0 to 40 [ 2025.310299] FAT-fs (loop3): invalid media value (0x00) [ 2025.310713] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2025.311581] loop5: detected capacity change from 0 to 40 [ 2025.319145] loop7: detected capacity change from 0 to 40 [ 2025.343503] FAT-fs (loop7): bogus number of reserved sectors [ 2025.344357] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2025.364210] loop6: detected capacity change from 0 to 40 12:19:05 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:19:05 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:05 executing program 7: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:05 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0), 0x0, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:05 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, 0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:19:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:19:05 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19", 0x7c}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:05 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2037.783692] loop5: detected capacity change from 0 to 40 [ 2037.786606] loop3: detected capacity change from 0 to 40 [ 2037.790380] FAT-fs (loop3): invalid media value (0x00) [ 2037.790779] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2037.799589] loop0: detected capacity change from 0 to 40 [ 2037.810360] loop2: detected capacity change from 0 to 40 [ 2037.826670] FAT-fs (loop2): invalid media value (0x00) [ 2037.827348] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2037.830504] loop6: detected capacity change from 0 to 40 [ 2037.831984] loop4: detected capacity change from 0 to 40 12:19:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, 0x0) 12:19:05 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:19:05 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) [ 2037.896243] loop3: detected capacity change from 0 to 40 12:19:05 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602c", 0x7e}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2037.900892] loop5: detected capacity change from 0 to 40 12:19:05 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:19:05 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:05 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, 0x0) 12:19:05 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, 0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 2037.982763] loop4: detected capacity change from 0 to 40 [ 2037.999992] loop3: detected capacity change from 0 to 40 [ 2038.044576] loop2: detected capacity change from 0 to 40 [ 2038.049376] FAT-fs (loop0): bogus number of reserved sectors [ 2038.050074] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2038.056705] FAT-fs (loop2): invalid media value (0x00) [ 2038.057477] FAT-fs (loop2): Can't find a valid FAT filesystem [ 2038.076890] loop6: detected capacity change from 0 to 40 12:19:18 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602c", 0x7e}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2050.604761] loop6: detected capacity change from 0 to 40 12:19:18 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, 0x0, 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:19:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000", 0x15}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) 12:19:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:18 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:18 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:18 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, 0x0) [ 2050.628003] loop4: detected capacity change from 0 to 40 [ 2050.628280] loop2: detected capacity change from 0 to 40 [ 2050.631657] FAT-fs (loop7): bogus number of reserved sectors [ 2050.632155] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2050.638299] loop3: detected capacity change from 0 to 40 [ 2050.648675] FAT-fs (loop2): invalid media value (0x00) [ 2050.649474] FAT-fs (loop2): Can't find a valid FAT filesystem 12:19:18 executing program 5: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:18 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0), 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:19:18 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2050.743780] loop6: detected capacity change from 0 to 40 [ 2050.752839] loop4: detected capacity change from 0 to 40 12:19:18 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, 0x0) 12:19:18 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 2050.826171] FAT-fs (loop7): bogus number of reserved sectors [ 2050.826808] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2050.891349] loop2: detected capacity change from 0 to 40 [ 2065.853130] loop2: detected capacity change from 0 to 40 [ 2065.860763] loop6: detected capacity change from 0 to 40 12:19:33 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:33 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, 0x0) 12:19:33 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:33 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0), 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:19:33 executing program 3: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:33 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602c", 0x7e}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:33 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602c", 0x7e}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:33 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, 0x0) [ 2065.928165] loop4: detected capacity change from 0 to 40 [ 2065.929126] FAT-fs (loop7): bogus number of reserved sectors [ 2065.929605] FAT-fs (loop7): Can't find a valid FAT filesystem [ 2065.940453] loop2: detected capacity change from 0 to 40 [ 2065.949103] FAT-fs (loop0): bogus number of reserved sectors [ 2065.950057] FAT-fs (loop0): Can't find a valid FAT filesystem 12:19:33 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa", 0x7f}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:33 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0), 0x0, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) 12:19:33 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:33 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2066.096088] loop6: detected capacity change from 0 to 40 [ 2066.125330] loop4: detected capacity change from 0 to 40 [ 2066.155747] FAT-fs (loop5): bogus number of reserved sectors [ 2066.156666] FAT-fs (loop5): Can't find a valid FAT filesystem 12:19:34 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:34 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2066.200957] loop4: detected capacity change from 0 to 40 12:19:34 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 2066.254349] loop7: detected capacity change from 0 to 40 [ 2066.279496] FAT-fs (loop3): bogus number of reserved sectors [ 2066.280240] FAT-fs (loop3): Can't find a valid FAT filesystem 12:19:34 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x0) [ 2066.348062] loop6: detected capacity change from 0 to 40 12:19:34 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:34 executing program 3: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2066.410018] FAT-fs (loop0): bogus number of reserved sectors [ 2066.410855] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2066.436656] loop4: detected capacity change from 0 to 40 12:19:34 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x0) 12:19:34 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa", 0x7f}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2066.537768] FAT-fs (loop5): bogus number of reserved sectors [ 2066.538585] FAT-fs (loop5): Can't find a valid FAT filesystem 12:19:34 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2066.641983] loop6: detected capacity change from 0 to 40 12:19:34 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:34 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x1, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2066.718451] loop2: detected capacity change from 0 to 40 [ 2066.746054] loop4: detected capacity change from 0 to 40 12:19:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r1, 0x0) 12:19:34 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:34 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2066.860594] FAT-fs (loop0): bogus number of reserved sectors [ 2066.861548] FAT-fs (loop0): Can't find a valid FAT filesystem [ 2066.888291] loop6: detected capacity change from 0 to 40 [ 2066.956644] loop4: detected capacity change from 0 to 40 12:19:48 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x0) 12:19:48 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:48 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa", 0x7f}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:48 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:19:48 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), 0x0, 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:19:48 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2080.331564] loop4: detected capacity change from 0 to 40 12:19:48 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:19:48 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2080.338816] loop3: detected capacity change from 0 to 40 12:19:48 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 2080.398919] loop6: detected capacity change from 0 to 40 [ 2080.402893] loop7: detected capacity change from 0 to 40 [ 2080.452741] loop4: detected capacity change from 0 to 40 12:19:48 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(0xffffffffffffffff, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 2080.549692] loop3: detected capacity change from 0 to 40 12:20:00 executing program 0: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:00 executing program 5: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2092.832489] loop6: detected capacity change from 0 to 40 12:20:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x0) [ 2092.856196] loop7: detected capacity change from 0 to 40 12:20:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:20:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:00 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:00 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:00 executing program 3: syz_mount_image$vfat(0x0, &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2092.862353] loop2: detected capacity change from 0 to 40 12:20:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x0) [ 2092.885880] loop0: detected capacity change from 0 to 40 [ 2092.888466] loop4: detected capacity change from 0 to 40 [ 2092.888921] loop3: detected capacity change from 0 to 40 [ 2092.892519] loop5: detected capacity change from 0 to 40 [ 2092.951127] loop6: detected capacity change from 0 to 40 12:20:00 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:00 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:00 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2093.046085] loop2: detected capacity change from 0 to 40 [ 2093.071962] loop4: detected capacity change from 0 to 40 [ 2093.094809] loop6: detected capacity change from 0 to 40 12:20:12 executing program 7: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x0, 0x0) ftruncate(r1, 0x0) 12:20:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:20:12 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2104.582152] loop4: detected capacity change from 0 to 40 [ 2104.583345] loop6: detected capacity change from 0 to 40 12:20:12 executing program 2: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:20:12 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2104.612874] loop3: detected capacity change from 0 to 40 [ 2104.628967] loop0: detected capacity change from 0 to 40 12:20:12 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:12 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:20:12 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:12 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r1, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 2104.782950] loop3: detected capacity change from 0 to 40 [ 2104.785383] loop6: detected capacity change from 0 to 40 [ 2104.786151] loop4: detected capacity change from 0 to 40 12:20:12 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) [ 2104.804191] loop0: detected capacity change from 0 to 40 [ 2104.875054] loop7: detected capacity change from 0 to 40 12:20:27 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:27 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:27 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:27 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:27 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2119.723346] loop3: detected capacity change from 0 to 40 [ 2119.728035] loop5: detected capacity change from 0 to 40 [ 2119.735186] loop4: detected capacity change from 0 to 40 12:20:27 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:27 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:27 executing program 6: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2119.773392] loop0: detected capacity change from 0 to 40 12:20:27 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2119.794121] loop7: detected capacity change from 0 to 40 12:20:27 executing program 3: chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:27 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2119.887931] loop4: detected capacity change from 0 to 40 12:20:27 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:27 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:27 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {0x0}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:27 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:27 executing program 6: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x4, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2120.056919] loop0: detected capacity change from 0 to 40 [ 2120.062971] loop4: detected capacity change from 0 to 40 12:20:28 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:28 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x2) 12:20:28 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x101042, 0x0) ftruncate(r3, 0x2) [ 2120.201101] loop2: detected capacity change from 0 to 40 [ 2120.205020] loop3: detected capacity change from 0 to 40 12:20:28 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:28 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:28 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2120.300576] loop4: detected capacity change from 0 to 40 [ 2120.350728] loop7: detected capacity change from 0 to 40 [ 2120.402773] loop2: detected capacity change from 0 to 40 [ 2133.416573] loop6: detected capacity change from 0 to 40 12:20:41 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) 12:20:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:41 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {0x0}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:20:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(r3, 0x2) 12:20:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r1, 0xffffffffffffffff, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:41 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) 12:20:41 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(0xffffffffffffffff, 0x0, 0x0, 0x87ffffc) open_tree(0xffffffffffffffff, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2133.447951] loop0: detected capacity change from 0 to 40 [ 2133.451740] loop3: detected capacity change from 0 to 40 [ 2133.463573] loop7: detected capacity change from 0 to 40 [ 2133.474686] loop5: detected capacity change from 0 to 40 [ 2133.483055] loop4: detected capacity change from 0 to 40 [ 2133.511387] syz-executor.7: attempt to access beyond end of device [ 2133.511387] loop7: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2133.512559] Buffer I/O error on dev loop7, logical block 31, lost async page write 12:20:41 executing program 3: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {0x0}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:20:41 executing program 7: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x2) [ 2133.597381] syz-executor.5: attempt to access beyond end of device [ 2133.597381] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2133.600152] Buffer I/O error on dev loop5, logical block 31, lost async page write [ 2133.624295] loop6: detected capacity change from 0 to 40 12:20:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) ftruncate(0xffffffffffffffff, 0x2) 12:20:41 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {0x0}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2133.678691] syz-executor.6: attempt to access beyond end of device [ 2133.678691] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2133.680259] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 2133.681367] loop4: detected capacity change from 0 to 40 [ 2133.721911] loop0: detected capacity change from 0 to 40 12:20:41 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) sendfile(0xffffffffffffffff, r0, 0x0, 0xfffffdef) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x2) 12:20:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:20:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2133.824744] loop6: detected capacity change from 0 to 40 [ 2133.826608] loop5: detected capacity change from 0 to 40 [ 2133.874591] loop4: detected capacity change from 0 to 40 [ 2133.878158] syz-executor.6: attempt to access beyond end of device [ 2133.878158] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2133.879684] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 2133.892808] kworker/u4:8: attempt to access beyond end of device [ 2133.892808] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 2133.894114] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:20:41 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:41 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:20:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) 12:20:41 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2133.983877] loop5: detected capacity change from 0 to 40 [ 2134.019120] loop6: detected capacity change from 0 to 40 [ 2134.028399] syz-executor.5: attempt to access beyond end of device [ 2134.028399] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2134.029745] Buffer I/O error on dev loop5, logical block 31, lost async page write 12:20:41 executing program 4: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {0x0}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2134.072183] syz-executor.6: attempt to access beyond end of device [ 2134.072183] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2134.073128] Buffer I/O error on dev loop6, logical block 31, lost async page write 12:20:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) [ 2134.177165] loop3: detected capacity change from 0 to 40 [ 2134.255053] syz-executor.3: attempt to access beyond end of device [ 2134.255053] loop3: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2134.256133] Buffer I/O error on dev loop3, logical block 31, lost async page write 12:20:55 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:20:55 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:55 executing program 6: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) fallocate(r3, 0x0, 0x0, 0x87ffffc) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:55 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:20:55 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:20:55 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:20:55 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:20:55 executing program 0: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2147.388328] loop4: detected capacity change from 0 to 40 [ 2147.405825] loop5: detected capacity change from 0 to 40 [ 2147.440086] syz-executor.5: attempt to access beyond end of device [ 2147.440086] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2147.441176] Buffer I/O error on dev loop5, logical block 31, lost async page write [ 2147.452956] loop7: detected capacity change from 0 to 40 [ 2147.457258] loop3: detected capacity change from 0 to 40 12:20:55 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 2147.583010] loop4: detected capacity change from 0 to 40 12:21:09 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) 12:21:09 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:21:09 executing program 3: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:21:09 executing program 2: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r0, r1, &(0x7f0000000300)=0x1, 0x2) pwritev(r1, &(0x7f0000000040)=[{&(0x7f0000000000)="ca", 0x1}, {0x0}], 0x2, 0x7fffffc, 0x0) ioctl$AUTOFS_DEV_IOCTL_CLOSEMOUNT(0xffffffffffffffff, 0xc0189375, &(0x7f0000000140)={{0x1, 0x1, 0x18, r0}, './file1\x00'}) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(r2, &(0x7f0000000240)='./file1\x00', 0x101000, 0x2) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(r2, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b2bfa698a0550", 0xc3}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) open_tree(r3, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:21:09 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x8040000) openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) 12:21:09 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2161.946968] loop5: detected capacity change from 0 to 40 12:21:09 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) [ 2161.956177] loop7: detected capacity change from 0 to 40 [ 2161.978677] loop6: detected capacity change from 0 to 40 12:21:09 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) lsetxattr$trusted_overlay_upper(&(0x7f00000001c0)='./file0\x00', &(0x7f0000000240), &(0x7f0000000280)={0x0, 0xfb, 0xf6, 0x3, 0x7e, "bd0ed3d889b7cce172762f2494801425", "7625283f791a14c5e1ac9b2d1eb0b480b54159c62b264850c888631e7eac44b32511c1c5c91629879144e63f815ffc8efe45750b26f613915add014faf3e7fd611434954ffc25c9355d39ac5ac0b4f10df231679bf39a1dcc96688998845fa246aaaca178585e5221b6b099216747fe467c15abda40df0c7041f072195dc4ebe46b200f521d111d23297978d9bbb914216b4373f531146cba03d55a7a6f1088dec5fed6f0e7947041d7124c19ef3dfb738fe76e647f1d7988355f97af1a78dd2ab40b35ad89e717dd7c10d4dfd1c4d81167c751afa876cadd41236cec7bbfc675c"}, 0xf6, 0x1) sendfile(r2, r0, 0x0, 0xfffffdef) ftruncate(0xffffffffffffffff, 0x2) [ 2161.986722] loop4: detected capacity change from 0 to 40 [ 2161.994285] syz-executor.5: attempt to access beyond end of device [ 2161.994285] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2161.995899] Buffer I/O error on dev loop5, logical block 31, lost async page write [ 2162.019023] loop0: detected capacity change from 0 to 40 [ 2162.042405] syz-executor.4: attempt to access beyond end of device [ 2162.042405] loop4: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2162.043947] Buffer I/O error on dev loop4, logical block 31, lost async page write [ 2162.068363] syz-executor.6: attempt to access beyond end of device [ 2162.068363] loop6: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2162.074188] Buffer I/O error on dev loop6, logical block 31, lost async page write [ 2162.075637] syz-executor.0: attempt to access beyond end of device [ 2162.075637] loop0: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2162.075678] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:21:09 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x8040000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(&(0x7f0000000000)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0x4, @perf_bp={0x0, 0x1}, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x7690}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x2) 12:21:10 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 1) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2162.166795] loop7: detected capacity change from 0 to 40 [ 2162.179822] loop5: detected capacity change from 0 to 40 [ 2162.187100] FAULT_INJECTION: forcing a failure. [ 2162.187100] name failslab, interval 1, probability 0, space 0, times 1 [ 2162.187981] CPU: 0 PID: 11490 Comm: syz-executor.7 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2162.188532] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2162.189117] Call Trace: [ 2162.189306] [ 2162.189468] dump_stack_lvl+0xc1/0xf0 [ 2162.189741] should_fail_ex+0x4b4/0x5b0 [ 2162.190026] should_failslab+0x9/0x20 [ 2162.190295] __kmem_cache_alloc_node+0x5b/0x310 [ 2162.190612] ? alloc_pipe_info+0x10e/0x590 [ 2162.190917] kmalloc_trace+0x26/0x120 [ 2162.191178] alloc_pipe_info+0x10e/0x590 [ 2162.191476] splice_direct_to_actor+0x6e6/0x8c0 [ 2162.191792] ? __pfx_direct_splice_actor+0x10/0x10 [ 2162.192137] ? inode_security+0x105/0x140 [ 2162.192424] ? avc_policy_seqno+0xd/0x70 [ 2162.192716] ? selinux_file_permission+0x96/0x520 [ 2162.193044] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2162.193390] ? security_file_permission+0xb5/0xe0 [ 2162.193732] do_splice_direct+0x1bc/0x290 [ 2162.194017] ? __pfx_do_splice_direct+0x10/0x10 [ 2162.194337] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2162.194655] ? lock_is_held_type+0x9f/0x120 [ 2162.194953] do_sendfile+0xb1d/0x12b0 [ 2162.195229] ? __pfx_do_sendfile+0x10/0x10 [ 2162.195536] __x64_sys_sendfile64+0x1d5/0x210 [ 2162.195849] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2162.196205] do_syscall_64+0x3f/0x90 [ 2162.196468] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2162.196815] RIP: 0033:0x7f997ddb4b19 [ 2162.197066] 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 [ 2162.198310] RSP: 002b:00007f997b32a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2162.198805] RAX: ffffffffffffffda RBX: 00007f997dec7f60 RCX: 00007f997ddb4b19 [ 2162.199319] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2162.199828] RBP: 00007f997b32a1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2162.200343] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2162.200849] R13: 00007ffee6a64fff R14: 00007f997b32a300 R15: 0000000000022000 [ 2162.201372] [ 2162.323219] syz-executor.5: attempt to access beyond end of device [ 2162.323219] loop5: rw=2049, sector=124, nr_sectors = 4 limit=40 [ 2162.326098] Buffer I/O error on dev loop5, logical block 31, lost async page write [ 2174.151113] FAULT_INJECTION: forcing a failure. [ 2174.151113] name failslab, interval 1, probability 0, space 0, times 0 [ 2174.152656] CPU: 0 PID: 11500 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.153717] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.154772] Call Trace: [ 2174.155117] [ 2174.155128] loop2: detected capacity change from 0 to 40 [ 2174.155414] dump_stack_lvl+0xc1/0xf0 [ 2174.156323] should_fail_ex+0x4b4/0x5b0 [ 2174.156877] should_failslab+0x9/0x20 [ 2174.157541] __kmem_cache_alloc_node+0x5b/0x310 [ 2174.158176] ? __do_sys_memfd_create+0x12d/0x910 [ 2174.158832] ? __do_sys_memfd_create+0x12d/0x910 [ 2174.159474] __kmalloc+0x46/0xc0 [ 2174.159941] __do_sys_memfd_create+0x12d/0x910 [ 2174.160584] ? ksys_write+0x1a7/0x260 [ 2174.161119] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2174.161817] do_syscall_64+0x3f/0x90 [ 2174.162336] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.163031] RIP: 0033:0x7f6258ab6b19 [ 2174.163535] 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 [ 2174.165835] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2174.166833] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f6258ab6b19 [ 2174.167745] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007f6258b100fb [ 2174.168684] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2174.169608] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2174.170515] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2174.171456] 12:21:22 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) (fail_nth: 1) 12:21:22 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 2) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:21:22 executing program 5: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:21:22 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) (fail_nth: 1) 12:21:22 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 1) 12:21:22 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 1) 12:21:22 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521f", 0x62}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:21:22 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 1) [ 2174.180310] loop0: detected capacity change from 0 to 40 [ 2174.182256] FAULT_INJECTION: forcing a failure. [ 2174.182256] name fail_usercopy, interval 1, probability 0, space 0, times 1 [ 2174.183211] CPU: 1 PID: 11502 Comm: syz-executor.2 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.183748] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.184284] Call Trace: [ 2174.184466] [ 2174.184626] dump_stack_lvl+0xc1/0xf0 [ 2174.184896] should_fail_ex+0x4b4/0x5b0 [ 2174.185178] _copy_to_user+0x2e/0x150 [ 2174.185449] simple_read_from_buffer+0xd0/0x170 [ 2174.185781] proc_fail_nth_read+0x19c/0x230 [ 2174.186087] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2174.186418] ? security_file_permission+0xb5/0xe0 [ 2174.186762] vfs_read+0x260/0x940 [ 2174.187016] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2174.187349] ? __pfx_vfs_read+0x10/0x10 [ 2174.187638] ? __pfx___fget_files+0x10/0x10 [ 2174.187948] ? __fget_files+0x270/0x480 [ 2174.188240] ksys_read+0x12b/0x260 [ 2174.188515] ? __pfx_ksys_read+0x10/0x10 [ 2174.188808] do_syscall_64+0x3f/0x90 [ 2174.189082] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.189434] RIP: 0033:0x7fe1db23869c [ 2174.189687] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48 [ 2174.190849] RSP: 002b:00007fe1d87fb170 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 2174.191347] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe1db23869c [ 2174.191810] RDX: 000000000000000f RSI: 00007fe1d87fb1e0 RDI: 0000000000000004 [ 2174.192293] RBP: 00007fe1d87fb1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2174.192752] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 2174.193219] R13: 00007ffed4675ebf R14: 00007fe1d87fb300 R15: 0000000000022000 [ 2174.193701] [ 2174.205329] FAULT_INJECTION: forcing a failure. [ 2174.205329] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2174.206141] CPU: 1 PID: 11507 Comm: syz-executor.0 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.206679] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.207207] Call Trace: [ 2174.207388] [ 2174.207549] dump_stack_lvl+0xc1/0xf0 [ 2174.207817] should_fail_ex+0x4b4/0x5b0 [ 2174.208108] _copy_to_user+0x2e/0x150 [ 2174.208389] simple_read_from_buffer+0xd0/0x170 [ 2174.208717] proc_fail_nth_read+0x19c/0x230 [ 2174.209017] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2174.209352] ? security_file_permission+0xb5/0xe0 [ 2174.209694] vfs_read+0x260/0x940 [ 2174.209945] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2174.210277] ? __pfx_vfs_read+0x10/0x10 [ 2174.210556] ? __pfx___fget_files+0x10/0x10 [ 2174.210852] ? __fget_files+0x270/0x480 [ 2174.211148] ksys_read+0x12b/0x260 [ 2174.211413] ? __pfx_ksys_read+0x10/0x10 [ 2174.211708] do_syscall_64+0x3f/0x90 [ 2174.211972] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.212347] RIP: 0033:0x7f6b1114b69c [ 2174.212601] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48 [ 2174.213822] RSP: 002b:00007f6b0e70e170 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 2174.214361] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6b1114b69c [ 2174.214862] RDX: 000000000000000f RSI: 00007f6b0e70e1e0 RDI: 0000000000000007 [ 2174.215360] RBP: 00007f6b0e70e1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2174.215856] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 2174.216366] R13: 00007fff5636164f R14: 00007f6b0e70e300 R15: 0000000000022000 [ 2174.216880] [ 2174.220089] FAULT_INJECTION: forcing a failure. [ 2174.220089] name failslab, interval 1, probability 0, space 0, times 0 [ 2174.220959] CPU: 1 PID: 11511 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.221538] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.222107] Call Trace: [ 2174.222291] [ 2174.222458] dump_stack_lvl+0xc1/0xf0 [ 2174.222737] should_fail_ex+0x4b4/0x5b0 [ 2174.223034] should_failslab+0x9/0x20 [ 2174.223314] __kmem_cache_alloc_node+0x5b/0x310 [ 2174.223652] ? __do_sys_memfd_create+0x12d/0x910 [ 2174.224011] ? __do_sys_memfd_create+0x12d/0x910 [ 2174.224361] __kmalloc+0x46/0xc0 [ 2174.224616] __do_sys_memfd_create+0x12d/0x910 [ 2174.224955] ? ksys_write+0x1a7/0x260 [ 2174.225245] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2174.225622] do_syscall_64+0x3f/0x90 [ 2174.225884] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.226256] RIP: 0033:0x7ff72d55eb19 [ 2174.226507] 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 [ 2174.227751] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2174.228258] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2174.228785] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2174.229292] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2174.229801] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2174.230313] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2174.230732] loop7: detected capacity change from 0 to 40 [ 2174.230819] [ 2174.246303] loop4: detected capacity change from 0 to 40 12:21:22 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:21:22 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 2) [ 2174.289666] FAULT_INJECTION: forcing a failure. [ 2174.289666] name failslab, interval 1, probability 0, space 0, times 0 [ 2174.291166] CPU: 0 PID: 11514 Comm: syz-executor.4 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.292219] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.293287] Call Trace: [ 2174.293640] [ 2174.293949] dump_stack_lvl+0xc1/0xf0 [ 2174.294481] should_fail_ex+0x4b4/0x5b0 12:21:22 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) [ 2174.295045] should_failslab+0x9/0x20 [ 2174.295631] __kmem_cache_alloc_node+0x5b/0x310 [ 2174.296260] ? alloc_pipe_info+0x10e/0x590 [ 2174.296873] kmalloc_trace+0x26/0x120 [ 2174.297385] alloc_pipe_info+0x10e/0x590 [ 2174.297956] splice_direct_to_actor+0x6e6/0x8c0 [ 2174.298604] ? __pfx_direct_splice_actor+0x10/0x10 [ 2174.299289] ? inode_security+0x105/0x140 [ 2174.299866] ? avc_policy_seqno+0xd/0x70 [ 2174.300450] ? selinux_file_permission+0x96/0x520 [ 2174.301116] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2174.301832] ? security_file_permission+0xb5/0xe0 [ 2174.302521] do_splice_direct+0x1bc/0x290 [ 2174.303104] ? __pfx_do_splice_direct+0x10/0x10 12:21:22 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 1) [ 2174.303791] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2174.304459] ? lock_is_held_type+0x9f/0x120 [ 2174.305059] do_sendfile+0xb1d/0x12b0 [ 2174.305627] ? __pfx_do_sendfile+0x10/0x10 [ 2174.306243] __x64_sys_sendfile64+0x1d5/0x210 [ 2174.306873] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2174.307578] do_syscall_64+0x3f/0x90 [ 2174.308115] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.308849] RIP: 0033:0x7fa2fe095b19 [ 2174.309365] 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 [ 2174.311751] RSP: 002b:00007fa2fb60b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2174.312785] RAX: ffffffffffffffda RBX: 00007fa2fe1a8f60 RCX: 00007fa2fe095b19 [ 2174.313720] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2174.314671] RBP: 00007fa2fb60b1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2174.315629] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2174.316582] R13: 00007fff486f0c3f R14: 00007fa2fb60b300 R15: 0000000000022000 [ 2174.317566] [ 2174.317731] loop2: detected capacity change from 0 to 40 12:21:22 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 2) [ 2174.336462] loop6: detected capacity change from 0 to 40 [ 2174.344814] FAT-fs (loop6): bogus number of FAT sectors [ 2174.345197] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2174.360740] loop5: detected capacity change from 0 to 40 [ 2174.369982] loop0: detected capacity change from 0 to 40 12:21:22 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x7) [ 2174.381075] FAULT_INJECTION: forcing a failure. [ 2174.381075] name failslab, interval 1, probability 0, space 0, times 0 [ 2174.381878] CPU: 1 PID: 11522 Comm: syz-executor.5 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.382442] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.383010] Call Trace: [ 2174.383195] [ 2174.383362] dump_stack_lvl+0xc1/0xf0 [ 2174.383651] should_fail_ex+0x4b4/0x5b0 [ 2174.383952] should_failslab+0x9/0x20 [ 2174.384228] __kmem_cache_alloc_node+0x5b/0x310 [ 2174.384586] ? alloc_pipe_info+0x10e/0x590 [ 2174.384906] kmalloc_trace+0x26/0x120 [ 2174.385182] alloc_pipe_info+0x10e/0x590 [ 2174.385498] splice_direct_to_actor+0x6e6/0x8c0 [ 2174.385838] ? __pfx_direct_splice_actor+0x10/0x10 [ 2174.386190] ? inode_security+0x105/0x140 [ 2174.386493] ? avc_policy_seqno+0xd/0x70 [ 2174.386794] ? selinux_file_permission+0x96/0x520 [ 2174.387143] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2174.387511] ? security_file_permission+0xb5/0xe0 [ 2174.387875] do_splice_direct+0x1bc/0x290 [ 2174.388179] ? __pfx_do_splice_direct+0x10/0x10 [ 2174.388535] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2174.388868] ? lock_is_held_type+0x9f/0x120 [ 2174.389188] do_sendfile+0xb1d/0x12b0 [ 2174.389481] ? __pfx_do_sendfile+0x10/0x10 [ 2174.389803] __x64_sys_sendfile64+0x1d5/0x210 [ 2174.390123] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2174.390490] do_syscall_64+0x3f/0x90 [ 2174.390764] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.391141] RIP: 0033:0x7fbe67910b19 [ 2174.391419] 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 [ 2174.392687] RSP: 002b:00007fbe64e86188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2174.393232] RAX: ffffffffffffffda RBX: 00007fbe67a23f60 RCX: 00007fbe67910b19 [ 2174.393731] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2174.394221] RBP: 00007fbe64e861d0 R08: 0000000000000000 R09: 0000000000000000 [ 2174.394717] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2174.395210] R13: 00007ffff00e3d6f R14: 00007fbe64e86300 R15: 0000000000022000 [ 2174.395724] 12:21:22 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 3) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:21:22 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 3) 12:21:22 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2) [ 2174.449502] loop3: detected capacity change from 0 to 40 [ 2174.453312] FAULT_INJECTION: forcing a failure. [ 2174.453312] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2174.454920] CPU: 0 PID: 11528 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.455983] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.457073] Call Trace: [ 2174.457435] [ 2174.457757] dump_stack_lvl+0xc1/0xf0 [ 2174.458306] should_fail_ex+0x4b4/0x5b0 [ 2174.458881] _copy_from_user+0x2e/0x180 [ 2174.459448] __do_sys_memfd_create+0x1b0/0x910 [ 2174.460094] ? ksys_write+0x1a7/0x260 [ 2174.460647] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2174.461373] do_syscall_64+0x3f/0x90 [ 2174.461884] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.462601] RIP: 0033:0x7f6258ab6b19 [ 2174.463092] 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 [ 2174.465485] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2174.466458] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f6258ab6b19 [ 2174.467407] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007f6258b100fb [ 2174.468368] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2174.469321] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2174.470271] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2174.471248] [ 2174.473333] loop2: detected capacity change from 0 to 40 [ 2174.482539] FAT-fs (loop3): bogus number of FAT sectors [ 2174.483337] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2174.492210] loop7: detected capacity change from 0 to 40 [ 2174.505832] FAULT_INJECTION: forcing a failure. [ 2174.505832] name failslab, interval 1, probability 0, space 0, times 0 [ 2174.506678] CPU: 1 PID: 11531 Comm: syz-executor.7 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2174.507243] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2174.507814] Call Trace: [ 2174.508002] [ 2174.508164] dump_stack_lvl+0xc1/0xf0 [ 2174.508457] should_fail_ex+0x4b4/0x5b0 [ 2174.508759] should_failslab+0x9/0x20 [ 2174.509040] __kmem_cache_alloc_node+0x5b/0x310 [ 2174.509384] ? alloc_pipe_info+0x1e9/0x590 [ 2174.509697] ? lock_is_held_type+0x9f/0x120 [ 2174.510010] ? alloc_pipe_info+0x1e9/0x590 [ 2174.510327] __kmalloc+0x46/0xc0 [ 2174.510582] alloc_pipe_info+0x1e9/0x590 [ 2174.510889] splice_direct_to_actor+0x6e6/0x8c0 [ 2174.511226] ? __pfx_direct_splice_actor+0x10/0x10 [ 2174.511581] ? inode_security+0x105/0x140 [ 2174.511889] ? avc_policy_seqno+0xd/0x70 [ 2174.512191] ? selinux_file_permission+0x96/0x520 [ 2174.512552] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2174.512927] ? security_file_permission+0xb5/0xe0 [ 2174.513294] do_splice_direct+0x1bc/0x290 [ 2174.513602] ? __pfx_do_splice_direct+0x10/0x10 [ 2174.513947] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2174.514285] ? lock_is_held_type+0x9f/0x120 [ 2174.514604] do_sendfile+0xb1d/0x12b0 [ 2174.514900] ? __pfx_do_sendfile+0x10/0x10 [ 2174.515224] __x64_sys_sendfile64+0x1d5/0x210 [ 2174.515553] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2174.515924] do_syscall_64+0x3f/0x90 [ 2174.516203] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2174.516593] RIP: 0033:0x7f997ddb4b19 [ 2174.516860] 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 [ 2174.518115] RSP: 002b:00007f997b32a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2174.518647] RAX: ffffffffffffffda RBX: 00007f997dec7f60 RCX: 00007f997ddb4b19 [ 2174.519137] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2174.519633] RBP: 00007f997b32a1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2174.520127] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2174.520635] R13: 00007ffee6a64fff R14: 00007f997b32a300 R15: 0000000000022000 [ 2174.521146] [ 2174.522547] loop0: detected capacity change from 0 to 40 12:21:22 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 2) 12:21:22 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 2) [ 2174.576043] loop4: detected capacity change from 0 to 40 [ 2174.634830] loop5: detected capacity change from 0 to 40 12:21:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 4) 12:21:34 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521f", 0x62}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:21:34 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 4) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:21:34 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x8) 12:21:34 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 3) 12:21:34 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x700) 12:21:34 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 3) 12:21:34 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 3) [ 2186.573738] FAULT_INJECTION: forcing a failure. [ 2186.573738] name failslab, interval 1, probability 0, space 0, times 0 [ 2186.574289] loop2: detected capacity change from 0 to 40 [ 2186.574566] CPU: 0 PID: 11556 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2186.575734] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2186.576263] Call Trace: [ 2186.576452] [ 2186.576626] dump_stack_lvl+0xc1/0xf0 [ 2186.576897] should_fail_ex+0x4b4/0x5b0 [ 2186.577179] should_failslab+0x9/0x20 [ 2186.577449] kmem_cache_alloc_lru+0x6b/0x590 [ 2186.577754] ? shmem_alloc_inode+0x27/0x50 [ 2186.578047] ? lock_release+0x1e3/0x710 [ 2186.578334] shmem_alloc_inode+0x27/0x50 [ 2186.578611] ? __pfx_shmem_alloc_inode+0x10/0x10 [ 2186.578933] alloc_inode+0x63/0x240 [ 2186.579194] new_inode+0x25/0x1f0 [ 2186.579449] shmem_get_inode+0x183/0xeb0 [ 2186.579728] ? do_raw_spin_unlock+0x53/0x220 [ 2186.580035] __shmem_file_setup+0x171/0x300 [ 2186.580338] __do_sys_memfd_create+0x32b/0x910 [ 2186.580673] ? ksys_write+0x1a7/0x260 [ 2186.580944] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2186.581146] FAULT_INJECTION: forcing a failure. [ 2186.581146] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2186.581303] do_syscall_64+0x3f/0x90 [ 2186.582997] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2186.583347] RIP: 0033:0x7f6258ab6b19 [ 2186.583600] 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 [ 2186.584762] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2186.585255] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f6258ab6b19 [ 2186.585716] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007f6258b100fb [ 2186.586183] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2186.586646] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2186.587107] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2186.587580] [ 2186.587744] CPU: 1 PID: 11552 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2186.588818] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2186.589859] Call Trace: [ 2186.590209] [ 2186.590516] dump_stack_lvl+0xc1/0xf0 [ 2186.591039] should_fail_ex+0x4b4/0x5b0 [ 2186.591603] _copy_from_user+0x2e/0x180 [ 2186.592164] __do_sys_memfd_create+0x1b0/0x910 [ 2186.592811] ? ksys_write+0x1a7/0x260 [ 2186.593351] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2186.594071] do_syscall_64+0x3f/0x90 [ 2186.594595] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2186.595301] RIP: 0033:0x7ff72d55eb19 [ 2186.595802] 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 [ 2186.598113] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2186.599101] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2186.600064] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2186.601009] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2186.601950] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2186.602866] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2186.603823] [ 2186.615257] loop7: detected capacity change from 0 to 40 [ 2186.616683] loop5: detected capacity change from 0 to 40 [ 2186.634285] FAULT_INJECTION: forcing a failure. [ 2186.634285] name failslab, interval 1, probability 0, space 0, times 0 [ 2186.635129] CPU: 0 PID: 11562 Comm: syz-executor.5 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2186.635663] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2186.636208] Call Trace: [ 2186.636252] loop4: detected capacity change from 0 to 40 [ 2186.636382] [ 2186.636389] dump_stack_lvl+0xc1/0xf0 [ 2186.637492] should_fail_ex+0x4b4/0x5b0 [ 2186.637614] loop0: detected capacity change from 0 to 40 [ 2186.637769] should_failslab+0x9/0x20 [ 2186.638696] __kmem_cache_alloc_node+0x5b/0x310 [ 2186.639025] ? alloc_pipe_info+0x1e9/0x590 [ 2186.639323] ? lock_is_held_type+0x9f/0x120 [ 2186.639643] ? alloc_pipe_info+0x1e9/0x590 [ 2186.639949] __kmalloc+0x46/0xc0 [ 2186.640199] alloc_pipe_info+0x1e9/0x590 [ 2186.640496] splice_direct_to_actor+0x6e6/0x8c0 [ 2186.640832] ? __pfx_direct_splice_actor+0x10/0x10 [ 2186.641169] ? inode_security+0x105/0x140 [ 2186.641463] ? avc_policy_seqno+0xd/0x70 [ 2186.641754] ? selinux_file_permission+0x96/0x520 [ 2186.642098] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2186.642452] ? security_file_permission+0xb5/0xe0 [ 2186.642813] do_splice_direct+0x1bc/0x290 [ 2186.643097] ? __pfx_do_splice_direct+0x10/0x10 [ 2186.643435] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2186.643758] ? lock_is_held_type+0x9f/0x120 [ 2186.644068] do_sendfile+0xb1d/0x12b0 [ 2186.644348] ? __pfx_do_sendfile+0x10/0x10 [ 2186.644718] __x64_sys_sendfile64+0x1d5/0x210 [ 2186.645025] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2186.645386] do_syscall_64+0x3f/0x90 [ 2186.645650] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2186.646014] RIP: 0033:0x7fbe67910b19 [ 2186.646271] 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 [ 2186.647465] RSP: 002b:00007fbe64e86188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2186.647962] RAX: ffffffffffffffda RBX: 00007fbe67a23f60 RCX: 00007fbe67910b19 [ 2186.648427] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2186.648897] RBP: 00007fbe64e861d0 R08: 0000000000000000 R09: 0000000000000000 [ 2186.649361] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2186.649846] R13: 00007ffff00e3d6f R14: 00007fbe64e86300 R15: 0000000000022000 [ 2186.650355] [ 2186.673108] FAULT_INJECTION: forcing a failure. [ 2186.673108] name failslab, interval 1, probability 0, space 0, times 0 [ 2186.674649] CPU: 1 PID: 11563 Comm: syz-executor.4 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2186.675742] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2186.676784] Call Trace: [ 2186.677148] [ 2186.677467] dump_stack_lvl+0xc1/0xf0 [ 2186.678011] should_fail_ex+0x4b4/0x5b0 [ 2186.678576] should_failslab+0x9/0x20 [ 2186.679112] __kmem_cache_alloc_node+0x5b/0x310 [ 2186.679747] ? alloc_pipe_info+0x1e9/0x590 [ 2186.680354] ? lock_is_held_type+0x9f/0x120 [ 2186.680955] ? alloc_pipe_info+0x1e9/0x590 [ 2186.681558] __kmalloc+0x46/0xc0 [ 2186.682031] alloc_pipe_info+0x1e9/0x590 [ 2186.682617] splice_direct_to_actor+0x6e6/0x8c0 [ 2186.683243] ? __pfx_direct_splice_actor+0x10/0x10 [ 2186.683904] ? inode_security+0x105/0x140 [ 2186.684477] ? avc_policy_seqno+0xd/0x70 [ 2186.685035] ? selinux_file_permission+0x96/0x520 [ 2186.685692] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2186.686399] ? security_file_permission+0xb5/0xe0 [ 2186.687092] do_splice_direct+0x1bc/0x290 [ 2186.687668] ? __pfx_do_splice_direct+0x10/0x10 [ 2186.688332] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2186.688992] ? lock_is_held_type+0x9f/0x120 [ 2186.689603] do_sendfile+0xb1d/0x12b0 [ 2186.690175] ? __pfx_do_sendfile+0x10/0x10 [ 2186.690800] __x64_sys_sendfile64+0x1d5/0x210 [ 2186.691424] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2186.692129] do_syscall_64+0x3f/0x90 [ 2186.692689] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2186.693402] RIP: 0033:0x7fa2fe095b19 [ 2186.693922] 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 [ 2186.696301] RSP: 002b:00007fa2fb60b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2186.697335] RAX: ffffffffffffffda RBX: 00007fa2fe1a8f60 RCX: 00007fa2fe095b19 [ 2186.698284] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2186.699235] RBP: 00007fa2fb60b1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2186.700188] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2186.701164] R13: 00007fff486f0c3f R14: 00007fa2fb60b300 R15: 0000000000022000 [ 2186.702149] 12:21:34 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 5) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2186.738949] loop6: detected capacity change from 0 to 40 12:21:34 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x7000000) 12:21:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 5) 12:21:34 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521f", 0x62}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2186.751834] FAT-fs (loop6): bogus number of FAT sectors [ 2186.752209] FAT-fs (loop6): Can't find a valid FAT filesystem 12:21:34 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 4) [ 2186.767829] loop2: detected capacity change from 0 to 40 12:21:34 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0xfe) 12:21:34 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 6) 12:21:34 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 4) [ 2186.813636] loop7: detected capacity change from 0 to 40 [ 2186.831383] FAULT_INJECTION: forcing a failure. [ 2186.831383] name failslab, interval 1, probability 0, space 0, times 0 [ 2186.832325] CPU: 0 PID: 11577 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2186.832923] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2186.833489] Call Trace: [ 2186.833682] [ 2186.833851] dump_stack_lvl+0xc1/0xf0 [ 2186.834141] should_fail_ex+0x4b4/0x5b0 [ 2186.834447] ? security_inode_alloc+0x38/0x160 [ 2186.834786] should_failslab+0x9/0x20 [ 2186.835069] kmem_cache_alloc+0x5a/0x320 [ 2186.835372] security_inode_alloc+0x38/0x160 [ 2186.835703] inode_init_always+0xbb2/0xea0 [ 2186.836026] alloc_inode+0x84/0x240 [ 2186.836306] new_inode+0x25/0x1f0 [ 2186.836590] shmem_get_inode+0x183/0xeb0 [ 2186.836890] ? do_raw_spin_unlock+0x53/0x220 [ 2186.837215] __shmem_file_setup+0x171/0x300 [ 2186.837533] __do_sys_memfd_create+0x32b/0x910 [ 2186.837876] ? ksys_write+0x1a7/0x260 [ 2186.838146] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2186.838523] do_syscall_64+0x3f/0x90 [ 2186.838794] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2186.839174] RIP: 0033:0x7f6258ab6b19 [ 2186.839427] 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 [ 2186.840677] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2186.841209] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f6258ab6b19 [ 2186.841700] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007f6258b100fb [ 2186.842204] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2186.842701] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2186.843194] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2186.843706] [ 2186.853606] FAULT_INJECTION: forcing a failure. [ 2186.853606] name failslab, interval 1, probability 0, space 0, times 0 [ 2186.854402] CPU: 0 PID: 11575 Comm: syz-executor.7 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2186.854944] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2186.855486] Call Trace: [ 2186.855661] [ 2186.855820] dump_stack_lvl+0xc1/0xf0 [ 2186.856073] should_fail_ex+0x4b4/0x5b0 [ 2186.856354] should_failslab+0x9/0x20 [ 2186.856631] __kmem_cache_alloc_node+0x5b/0x310 [ 2186.856947] ? iter_file_splice_write+0x169/0xcb0 [ 2186.857281] ? iter_file_splice_write+0x169/0xcb0 [ 2186.857615] __kmalloc+0x46/0xc0 [ 2186.857864] iter_file_splice_write+0x169/0xcb0 [ 2186.858192] ? __pfx_iter_file_splice_write+0x10/0x10 [ 2186.858544] ? __pfx_generic_file_splice_read+0x10/0x10 [ 2186.858910] ? inode_security+0x105/0x140 [ 2186.859204] ? security_file_permission+0xb5/0xe0 [ 2186.859541] ? __pfx_iter_file_splice_write+0x10/0x10 [ 2186.859898] direct_splice_actor+0x113/0x180 [ 2186.860206] splice_direct_to_actor+0x33a/0x8c0 [ 2186.860543] ? __pfx_direct_splice_actor+0x10/0x10 [ 2186.860880] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2186.861230] ? security_file_permission+0xb5/0xe0 [ 2186.861571] do_splice_direct+0x1bc/0x290 [ 2186.861862] ? __pfx_do_splice_direct+0x10/0x10 [ 2186.862190] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2186.862506] ? lock_is_held_type+0x9f/0x120 [ 2186.862809] do_sendfile+0xb1d/0x12b0 [ 2186.863093] ? __pfx_do_sendfile+0x10/0x10 [ 2186.863401] __x64_sys_sendfile64+0x1d5/0x210 [ 2186.863708] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2186.864078] do_syscall_64+0x3f/0x90 [ 2186.864346] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2186.864710] RIP: 0033:0x7f997ddb4b19 [ 2186.864965] 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 [ 2186.866169] RSP: 002b:00007f997b32a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2186.866714] RAX: ffffffffffffffda RBX: 00007f997dec7f60 RCX: 00007f997ddb4b19 [ 2186.867230] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2186.867741] RBP: 00007f997b32a1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2186.868241] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2186.868770] R13: 00007ffee6a64fff R14: 00007f997b32a300 R15: 0000000000022000 [ 2186.869287] [ 2186.870268] loop0: detected capacity change from 0 to 40 [ 2186.882773] FAULT_INJECTION: forcing a failure. [ 2186.882773] name failslab, interval 1, probability 0, space 0, times 0 [ 2186.883647] CPU: 0 PID: 11583 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2186.884234] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2186.884814] Call Trace: [ 2186.885005] [ 2186.885177] dump_stack_lvl+0xc1/0xf0 [ 2186.885470] should_fail_ex+0x4b4/0x5b0 [ 2186.885780] should_failslab+0x9/0x20 [ 2186.886060] kmem_cache_alloc_lru+0x6b/0x590 [ 2186.886383] ? shmem_alloc_inode+0x27/0x50 [ 2186.886705] ? lock_release+0x1e3/0x710 [ 2186.887020] shmem_alloc_inode+0x27/0x50 [ 2186.887321] ? __pfx_shmem_alloc_inode+0x10/0x10 [ 2186.887672] alloc_inode+0x63/0x240 [ 2186.887950] new_inode+0x25/0x1f0 [ 2186.888217] shmem_get_inode+0x183/0xeb0 [ 2186.888532] ? do_raw_spin_unlock+0x53/0x220 [ 2186.888864] __shmem_file_setup+0x171/0x300 [ 2186.889185] __do_sys_memfd_create+0x32b/0x910 [ 2186.889525] ? ksys_write+0x1a7/0x260 [ 2186.889815] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2186.890192] do_syscall_64+0x3f/0x90 [ 2186.890464] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2186.890836] RIP: 0033:0x7ff72d55eb19 [ 2186.891105] 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 [ 2186.892372] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2186.892915] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2186.893405] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2186.893904] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2186.894397] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2186.894902] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2186.895416] 12:21:34 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 4) [ 2186.910750] loop5: detected capacity change from 0 to 40 [ 2186.918010] kworker/u4:3: attempt to access beyond end of device [ 2186.918010] loop2: rw=1, sector=124, nr_sectors = 4 limit=40 [ 2186.918812] Buffer I/O error on dev loop2, logical block 31, lost async page write 12:21:34 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e", 0x93}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2186.972261] loop4: detected capacity change from 0 to 40 12:21:48 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 5) 12:21:48 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x700000000000000) 12:21:48 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e", 0x93}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:21:48 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x12d) 12:21:48 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 5) 12:21:48 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 5) [ 2200.448139] loop7: detected capacity change from 0 to 40 [ 2200.449352] loop2: detected capacity change from 0 to 40 [ 2200.458880] loop6: detected capacity change from 0 to 40 [ 2200.459358] loop3: detected capacity change from 0 to 40 12:21:48 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 6) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:21:48 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 7) [ 2200.471833] FAT-fs (loop6): bogus number of FAT sectors [ 2200.472204] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2200.475751] loop4: detected capacity change from 0 to 40 [ 2200.483813] loop5: detected capacity change from 0 to 40 [ 2200.493530] FAT-fs (loop3): bogus number of FAT sectors [ 2200.494220] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2200.501702] FAULT_INJECTION: forcing a failure. [ 2200.501702] name failslab, interval 1, probability 0, space 0, times 0 [ 2200.502527] CPU: 0 PID: 11613 Comm: syz-executor.5 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2200.503066] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2200.503606] Call Trace: [ 2200.503784] [ 2200.503943] dump_stack_lvl+0xc1/0xf0 [ 2200.503970] loop0: detected capacity change from 0 to 40 [ 2200.504216] should_fail_ex+0x4b4/0x5b0 [ 2200.505157] should_failslab+0x9/0x20 [ 2200.505419] __kmem_cache_alloc_node+0x5b/0x310 [ 2200.505735] ? iter_file_splice_write+0x169/0xcb0 [ 2200.506068] ? iter_file_splice_write+0x169/0xcb0 [ 2200.506398] __kmalloc+0x46/0xc0 [ 2200.506643] iter_file_splice_write+0x169/0xcb0 [ 2200.506982] ? __pfx_iter_file_splice_write+0x10/0x10 [ 2200.507340] ? __pfx_generic_file_splice_read+0x10/0x10 [ 2200.507715] ? inode_security+0x105/0x140 [ 2200.508012] ? security_file_permission+0xb5/0xe0 [ 2200.508356] ? __pfx_iter_file_splice_write+0x10/0x10 [ 2200.508712] direct_splice_actor+0x113/0x180 [ 2200.509014] splice_direct_to_actor+0x33a/0x8c0 [ 2200.509335] ? __pfx_direct_splice_actor+0x10/0x10 [ 2200.509682] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2200.510027] ? security_file_permission+0xb5/0xe0 [ 2200.510383] do_splice_direct+0x1bc/0x290 [ 2200.510682] ? __pfx_do_splice_direct+0x10/0x10 [ 2200.511036] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2200.511378] ? lock_is_held_type+0x9f/0x120 [ 2200.511715] do_sendfile+0xb1d/0x12b0 [ 2200.512024] ? __pfx_do_sendfile+0x10/0x10 [ 2200.512358] __x64_sys_sendfile64+0x1d5/0x210 [ 2200.512682] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2200.513054] do_syscall_64+0x3f/0x90 [ 2200.513326] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2200.513718] RIP: 0033:0x7fbe67910b19 [ 2200.513995] 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 [ 2200.515282] RSP: 002b:00007fbe64e86188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2200.515833] RAX: ffffffffffffffda RBX: 00007fbe67a23f60 RCX: 00007fbe67910b19 [ 2200.516346] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2200.516881] RBP: 00007fbe64e861d0 R08: 0000000000000000 R09: 0000000000000000 [ 2200.517392] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2200.517913] R13: 00007ffff00e3d6f R14: 00007fbe64e86300 R15: 0000000000022000 [ 2200.518445] [ 2200.520676] FAULT_INJECTION: forcing a failure. [ 2200.520676] name failslab, interval 1, probability 0, space 0, times 0 [ 2200.522042] CPU: 1 PID: 11610 Comm: syz-executor.4 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2200.523013] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2200.523973] Call Trace: [ 2200.524297] [ 2200.524593] dump_stack_lvl+0xc1/0xf0 [ 2200.525101] should_fail_ex+0x4b4/0x5b0 [ 2200.525612] should_failslab+0x9/0x20 [ 2200.526092] __kmem_cache_alloc_node+0x5b/0x310 [ 2200.526677] ? iter_file_splice_write+0x169/0xcb0 [ 2200.527291] ? iter_file_splice_write+0x169/0xcb0 [ 2200.527893] __kmalloc+0x46/0xc0 [ 2200.528330] iter_file_splice_write+0x169/0xcb0 [ 2200.528942] ? __pfx_iter_file_splice_write+0x10/0x10 [ 2200.529581] ? __pfx_generic_file_splice_read+0x10/0x10 [ 2200.530235] ? inode_security+0x105/0x140 [ 2200.530775] ? security_file_permission+0xb5/0xe0 [ 2200.531385] ? __pfx_iter_file_splice_write+0x10/0x10 [ 2200.532018] direct_splice_actor+0x113/0x180 [ 2200.532570] splice_direct_to_actor+0x33a/0x8c0 [ 2200.533201] ? __pfx_direct_splice_actor+0x10/0x10 [ 2200.533821] ? __pfx_splice_direct_to_actor+0x10/0x10 [ 2200.534450] ? security_file_permission+0xb5/0xe0 12:21:48 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 7) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:21:48 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 8) 12:21:48 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0xffffffff00000000) [ 2200.535063] do_splice_direct+0x1bc/0x290 [ 2200.535747] ? __pfx_do_splice_direct+0x10/0x10 [ 2200.536336] ? __x64_sys_sendfile64+0x1d5/0x210 [ 2200.536925] ? lock_is_held_type+0x9f/0x120 [ 2200.537466] do_sendfile+0xb1d/0x12b0 [ 2200.537971] ? __pfx_do_sendfile+0x10/0x10 [ 2200.538525] __x64_sys_sendfile64+0x1d5/0x210 [ 2200.539087] ? __pfx___x64_sys_sendfile64+0x10/0x10 [ 2200.539711] do_syscall_64+0x3f/0x90 [ 2200.540189] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2200.540834] RIP: 0033:0x7fa2fe095b19 [ 2200.541292] 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 [ 2200.543392] RSP: 002b:00007fa2fb60b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 2200.544287] RAX: ffffffffffffffda RBX: 00007fa2fe1a8f60 RCX: 00007fa2fe095b19 [ 2200.545151] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 [ 2200.545994] RBP: 00007fa2fb60b1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2200.546829] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 [ 2200.547667] R13: 00007fff486f0c3f R14: 00007fa2fb60b300 R15: 0000000000022000 [ 2200.548549] [ 2200.574258] FAULT_INJECTION: forcing a failure. [ 2200.574258] name failslab, interval 1, probability 0, space 0, times 0 [ 2200.575171] CPU: 0 PID: 11617 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2200.575768] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2200.576337] Call Trace: [ 2200.576533] [ 2200.576711] dump_stack_lvl+0xc1/0xf0 [ 2200.577000] should_fail_ex+0x4b4/0x5b0 [ 2200.577301] should_failslab+0x9/0x20 [ 2200.577588] kmem_cache_alloc_lru+0x6b/0x590 [ 2200.577906] ? __d_alloc+0x31/0x9c0 [ 2200.578186] __d_alloc+0x31/0x9c0 [ 2200.578453] ? get_random_u32+0x3b2/0x670 [ 2200.578765] d_alloc_pseudo+0x1d/0x70 [ 2200.579049] alloc_file_pseudo+0xd2/0x260 [ 2200.579337] ? __pfx_alloc_file_pseudo+0x10/0x10 [ 2200.579687] ? lockdep_annotate_inode_mutex_key+0x4b/0x200 [ 2200.580098] ? shmem_get_inode+0x6be/0xeb0 [ 2200.580422] ? do_raw_spin_unlock+0x53/0x220 [ 2200.580750] __shmem_file_setup+0x202/0x300 [ 2200.581073] __do_sys_memfd_create+0x32b/0x910 [ 2200.581415] ? ksys_write+0x1a7/0x260 [ 2200.581704] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2200.582087] do_syscall_64+0x3f/0x90 [ 2200.582358] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2200.582759] RIP: 0033:0x7f6258ab6b19 [ 2200.583027] 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 [ 2200.584299] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2200.584835] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f6258ab6b19 [ 2200.585343] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007f6258b100fb [ 2200.585807] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2200.586311] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2200.586775] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2200.587314] [ 2200.601192] loop2: detected capacity change from 0 to 40 [ 2200.621898] loop7: detected capacity change from 0 to 40 12:21:48 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 6) 12:21:48 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2d01) 12:21:48 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 6) [ 2200.705898] FAULT_INJECTION: forcing a failure. [ 2200.705898] name failslab, interval 1, probability 0, space 0, times 0 [ 2200.706823] CPU: 0 PID: 11625 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2200.707416] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2200.708010] Call Trace: [ 2200.708202] [ 2200.708377] dump_stack_lvl+0xc1/0xf0 [ 2200.708684] should_fail_ex+0x4b4/0x5b0 [ 2200.708994] ? security_inode_alloc+0x38/0x160 [ 2200.709336] should_failslab+0x9/0x20 [ 2200.709621] kmem_cache_alloc+0x5a/0x320 [ 2200.709938] security_inode_alloc+0x38/0x160 [ 2200.710276] inode_init_always+0xbb2/0xea0 [ 2200.710600] alloc_inode+0x84/0x240 [ 2200.710884] new_inode+0x25/0x1f0 [ 2200.711158] shmem_get_inode+0x183/0xeb0 [ 2200.711447] ? do_raw_spin_unlock+0x53/0x220 [ 2200.711787] __shmem_file_setup+0x171/0x300 [ 2200.712113] __do_sys_memfd_create+0x32b/0x910 [ 2200.712473] ? ksys_write+0x1a7/0x260 [ 2200.712771] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2200.713153] do_syscall_64+0x3f/0x90 [ 2200.713438] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2200.713821] RIP: 0033:0x7ff72d55eb19 [ 2200.714094] 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 [ 2200.715371] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2200.715920] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2200.716421] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2200.716933] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2200.717457] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2200.717977] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2200.718491] [ 2200.749317] loop0: detected capacity change from 0 to 40 [ 2200.772283] loop5: detected capacity change from 0 to 40 12:22:01 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e", 0x93}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:22:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0xffffffffffffffff) 12:22:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x3f00) 12:22:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 7) 12:22:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 9) 12:22:01 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 8) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:22:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 6) 12:22:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 7) [ 2213.430290] loop3: detected capacity change from 0 to 40 [ 2213.432533] loop7: detected capacity change from 0 to 40 [ 2213.433703] loop4: detected capacity change from 0 to 40 [ 2213.435358] loop2: detected capacity change from 0 to 40 [ 2213.436246] loop5: detected capacity change from 0 to 40 [ 2213.439962] loop6: detected capacity change from 0 to 40 [ 2213.441204] loop0: detected capacity change from 0 to 40 [ 2213.441680] FAT-fs (loop3): bogus number of FAT sectors [ 2213.442315] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2213.453938] FAT-fs (loop6): bogus number of FAT sectors [ 2213.454769] FAT-fs (loop6): Can't find a valid FAT filesystem 12:22:01 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 9) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:22:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 7) 12:22:01 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 8) 12:22:01 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r2 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r1}, 0x2c, {'wfdno', 0x3d, r2}}) stat(&(0x7f0000000240)='./file0\x00', &(0x7f00000001c0)={0x0, 0x0, 0x0, 0x0, 0x0}) setresuid(0x0, r3, 0x0) mount$9p_fd(0x0, &(0x7f0000000000)='./file1\x00', &(0x7f0000000040), 0x828880, &(0x7f0000000240)={'trans=fd,', {'rfdno', 0x3d, r0}, 0x2c, {'wfdno', 0x3d, r1}, 0x2c, {[{@cache_none}, {@access_user}, {@version_9p2000}, {@mmap}], [{@pcr={'pcr', 0x3d, 0x31}}, {@fowner_gt={'fowner>', r3}}]}}) ftruncate(r0, 0x0) 12:22:01 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 10) 12:22:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 8) 12:22:01 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0xfeff) [ 2213.587905] loop4: detected capacity change from 0 to 40 [ 2213.589592] loop7: detected capacity change from 0 to 40 [ 2213.590876] loop2: detected capacity change from 0 to 40 [ 2213.598188] FAULT_INJECTION: forcing a failure. [ 2213.598188] name failslab, interval 1, probability 0, space 0, times 0 [ 2213.599811] CPU: 1 PID: 11665 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2213.601079] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2213.602131] Call Trace: [ 2213.602465] [ 2213.602770] dump_stack_lvl+0xc1/0xf0 [ 2213.603267] should_fail_ex+0x4b4/0x5b0 [ 2213.603803] should_failslab+0x9/0x20 [ 2213.604286] kmem_cache_alloc_lru+0x6b/0x590 [ 2213.604886] ? __d_alloc+0x31/0x9c0 [ 2213.605376] __d_alloc+0x31/0x9c0 [ 2213.605855] ? get_random_u32+0x3b2/0x670 [ 2213.606395] d_alloc_pseudo+0x1d/0x70 [ 2213.606898] alloc_file_pseudo+0xd2/0x260 [ 2213.607429] ? __pfx_alloc_file_pseudo+0x10/0x10 [ 2213.608044] ? lockdep_annotate_inode_mutex_key+0x4b/0x200 [ 2213.608751] ? shmem_get_inode+0x6be/0xeb0 [ 2213.609329] ? do_raw_spin_unlock+0x53/0x220 [ 2213.609905] __shmem_file_setup+0x202/0x300 [ 2213.610462] __do_sys_memfd_create+0x32b/0x910 [ 2213.611050] ? ksys_write+0x1a7/0x260 [ 2213.611551] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2213.612214] do_syscall_64+0x3f/0x90 [ 2213.612696] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2213.613352] RIP: 0033:0x7ff72d55eb19 [ 2213.613816] 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 [ 2213.615986] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2213.616930] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2213.617804] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2213.618678] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2213.619543] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2213.620420] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2213.621312] 12:22:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 8) [ 2213.672982] FAULT_INJECTION: forcing a failure. [ 2213.672982] name failslab, interval 1, probability 0, space 0, times 0 [ 2213.674493] CPU: 1 PID: 11670 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2213.675500] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2213.676504] Call Trace: [ 2213.676840] [ 2213.677138] dump_stack_lvl+0xc1/0xf0 [ 2213.677652] should_fail_ex+0x4b4/0x5b0 [ 2213.678188] ? __alloc_file+0x21/0x240 [ 2213.678690] should_failslab+0x9/0x20 [ 2213.679188] kmem_cache_alloc+0x5a/0x320 [ 2213.679712] __alloc_file+0x21/0x240 [ 2213.680184] alloc_empty_file+0x71/0x190 [ 2213.680716] alloc_file+0x5e/0x810 [ 2213.681201] alloc_file_pseudo+0x16e/0x260 [ 2213.681833] ? __pfx_alloc_file_pseudo+0x10/0x10 [ 2213.682428] ? lockdep_annotate_inode_mutex_key+0x4b/0x200 [ 2213.683123] ? do_raw_spin_unlock+0x53/0x220 [ 2213.683733] __shmem_file_setup+0x202/0x300 [ 2213.684301] __do_sys_memfd_create+0x32b/0x910 [ 2213.684909] ? ksys_write+0x1a7/0x260 [ 2213.685420] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2213.686124] do_syscall_64+0x3f/0x90 [ 2213.686620] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2213.687296] RIP: 0033:0x7f6258ab6b19 [ 2213.687781] 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 [ 2213.690047] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2213.690989] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f6258ab6b19 [ 2213.691875] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007f6258b100fb [ 2213.692759] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2213.693653] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2213.694545] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2213.695481] [ 2213.704985] loop5: detected capacity change from 0 to 40 [ 2213.712399] loop0: detected capacity change from 0 to 40 [ 2213.715582] loop4: detected capacity change from 0 to 40 12:22:01 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa", 0xab}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:22:01 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r0}, 0x2c, {'wfdno', 0x3d, r1}}) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x3085086, &(0x7f0000000040)=ANY=[@ANYRES16, @ANYRESDEC=r0]) chdir(&(0x7f0000000140)='./file0\x00') r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x0) r3 = openat$selinux_attr(0xffffffffffffff9c, &(0x7f0000000000)='/proc/self/attr/fscreate\x00', 0x2, 0x0) write(r3, &(0x7f0000000240)="1471e5bcfc5c7fbf4e1c171efeb8d07dc5977b4962eebe8ab818c12817d070e5bff10be37bebf24c6d1697ec0fbb6ec9552b3d466294fe705546fde1fa2aae5523052a08a3c2d70dc689757805042bf96e793769c37620db7fdcb1ef0fe89f763c8c7c8ed7ed27b5e72925aa4f5c008c9def7783197d4bb5a2a33248207c7f9b1ff07c25c1eda5a3a748daf8d846304a1503471de0aaae10bb0408097099a7bac956c12e0060dc8d450e8f2242d106d1047f93de1a6d1ec895bb4e42dd47ac62cca5eb4d57db202259d4d8366660f682df42fdf7a67df89f23752f90f8", 0xdd) 12:22:01 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 10) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2213.773185] loop7: detected capacity change from 0 to 40 12:22:01 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 9) [ 2213.778087] loop2: detected capacity change from 0 to 40 12:22:01 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 9) [ 2213.813812] loop2: detected capacity change from 0 to 40 [ 2213.827328] kworker/u4:7: attempt to access beyond end of device [ 2213.827328] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 2213.828326] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 2213.830344] I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2 [ 2213.851601] loop4: detected capacity change from 0 to 40 [ 2213.887142] loop5: detected capacity change from 0 to 40 12:22:15 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 9) 12:22:15 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 11) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:22:15 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa", 0xab}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:22:15 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 10) 12:22:15 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 11) 12:22:15 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000000000)="601c7d6b646f7366d8a02b00080101001e40002000f801", 0x17}, {0x0, 0x0, 0x101}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r0, 0x0) 12:22:15 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 10) 12:22:15 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0xfffe) [ 2227.268232] loop2: detected capacity change from 0 to 1 [ 2227.271873] loop7: detected capacity change from 0 to 40 [ 2227.272931] FAULT_INJECTION: forcing a failure. [ 2227.272931] name failslab, interval 1, probability 0, space 0, times 0 [ 2227.274125] CPU: 0 PID: 11701 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2227.274870] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2227.275615] Call Trace: [ 2227.275854] [ 2227.276081] dump_stack_lvl+0xc1/0xf0 [ 2227.276459] should_fail_ex+0x4b4/0x5b0 [ 2227.276843] ? security_inode_alloc+0x38/0x160 [ 2227.277295] should_failslab+0x9/0x20 [ 2227.277664] kmem_cache_alloc+0x5a/0x320 [ 2227.278054] security_inode_alloc+0x38/0x160 [ 2227.278488] inode_init_always+0xbb2/0xea0 [ 2227.278901] alloc_inode+0x84/0x240 [ 2227.279262] new_inode+0x25/0x1f0 [ 2227.279612] shmem_get_inode+0x183/0xeb0 [ 2227.280003] ? do_raw_spin_unlock+0x53/0x220 [ 2227.280433] __shmem_file_setup+0x171/0x300 [ 2227.280850] __do_sys_memfd_create+0x32b/0x910 [ 2227.281296] ? ksys_write+0x1a7/0x260 [ 2227.281669] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2227.282165] do_syscall_64+0x3f/0x90 [ 2227.282529] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2227.283012] RIP: 0033:0x7ff72d55eb19 [ 2227.283363] 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 [ 2227.284983] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2227.285695] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2227.286341] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2227.286978] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2227.287618] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2227.288259] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2227.288923] [ 2227.300783] loop0: detected capacity change from 0 to 40 [ 2227.305517] FAT-fs (loop2): unable to read boot sector (logical sector size = 2048) [ 2227.315574] loop2: detected capacity change from 0 to 1 [ 2227.319005] loop5: detected capacity change from 0 to 40 [ 2227.321545] FAT-fs (loop2): Unrecognized mount option "./file0" or missing value [ 2227.322687] loop4: detected capacity change from 0 to 40 [ 2227.335689] loop6: detected capacity change from 0 to 40 [ 2227.348619] FAT-fs (loop6): bogus number of FAT sectors [ 2227.349458] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2227.403109] kworker/u4:9: attempt to access beyond end of device [ 2227.403109] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 2227.404134] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:22:28 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x80000) 12:22:28 executing program 2: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x1, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000040)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r2 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r1}, 0x2c, {'wfdno', 0x3d, r2}}) ioctl$AUTOFS_DEV_IOCTL_PROTOVER(r2, 0xc0189372, &(0x7f0000000000)={{0x1, 0x1, 0x18, r0, {0x1}}, './file0\x00'}) r3 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r3, 0x0) 12:22:28 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa", 0xab}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:22:28 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 12) 12:22:28 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 12) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:22:28 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 11) [ 2240.306715] loop2: detected capacity change from 0 to 40 [ 2240.306820] loop7: detected capacity change from 0 to 40 12:22:28 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 11) [ 2240.316915] loop0: detected capacity change from 0 to 40 [ 2240.318404] loop5: detected capacity change from 0 to 40 [ 2240.326581] FAULT_INJECTION: forcing a failure. [ 2240.326581] name failslab, interval 1, probability 0, space 0, times 0 [ 2240.327380] CPU: 0 PID: 11734 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2240.327923] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2240.328468] Call Trace: [ 2240.328650] [ 2240.328815] dump_stack_lvl+0xc1/0xf0 [ 2240.329093] should_fail_ex+0x4b4/0x5b0 [ 2240.329389] ? __alloc_file+0x21/0x240 [ 2240.329668] should_failslab+0x9/0x20 [ 2240.329932] kmem_cache_alloc+0x5a/0x320 [ 2240.330221] __alloc_file+0x21/0x240 [ 2240.330488] alloc_empty_file+0x71/0x190 [ 2240.330787] alloc_file+0x5e/0x810 [ 2240.331042] alloc_file_pseudo+0x16e/0x260 [ 2240.331335] ? __pfx_alloc_file_pseudo+0x10/0x10 [ 2240.331678] ? lockdep_annotate_inode_mutex_key+0x4b/0x200 [ 2240.332070] ? do_raw_spin_unlock+0x53/0x220 12:22:28 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 10) [ 2240.332387] __shmem_file_setup+0x202/0x300 [ 2240.332780] __do_sys_memfd_create+0x32b/0x910 [ 2240.333121] ? ksys_write+0x1a7/0x260 [ 2240.333401] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2240.333764] do_syscall_64+0x3f/0x90 [ 2240.334032] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2240.334390] RIP: 0033:0x7ff72d55eb19 [ 2240.334649] 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 [ 2240.335885] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2240.336404] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2240.336893] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2240.337394] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2240.337891] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2240.338390] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2240.338908] [ 2240.354481] FAULT_INJECTION: forcing a failure. [ 2240.354481] name failslab, interval 1, probability 0, space 0, times 0 [ 2240.355248] CPU: 0 PID: 11737 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2240.355792] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2240.356331] Call Trace: [ 2240.356511] [ 2240.356678] dump_stack_lvl+0xc1/0xf0 [ 2240.356944] should_fail_ex+0x4b4/0x5b0 [ 2240.357246] ? security_file_alloc+0x38/0x170 [ 2240.357578] should_failslab+0x9/0x20 [ 2240.357838] kmem_cache_alloc+0x5a/0x320 [ 2240.358122] security_file_alloc+0x38/0x170 [ 2240.358440] __alloc_file+0xb6/0x240 [ 2240.358696] alloc_empty_file+0x71/0x190 [ 2240.358976] alloc_file+0x5e/0x810 [ 2240.359227] alloc_file_pseudo+0x16e/0x260 [ 2240.359515] ? __pfx_alloc_file_pseudo+0x10/0x10 [ 2240.359846] ? lockdep_annotate_inode_mutex_key+0x4b/0x200 [ 2240.360241] ? do_raw_spin_unlock+0x53/0x220 [ 2240.360554] __shmem_file_setup+0x202/0x300 [ 2240.360855] __do_sys_memfd_create+0x32b/0x910 [ 2240.361188] ? ksys_write+0x1a7/0x260 [ 2240.361475] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2240.361848] do_syscall_64+0x3f/0x90 [ 2240.362120] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2240.362491] RIP: 0033:0x7f6258ab6b19 [ 2240.362758] 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 [ 2240.364013] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2240.364554] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f6258ab6b19 [ 2240.365044] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007f6258b100fb [ 2240.365546] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2240.366036] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2240.366534] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2240.367037] [ 2240.373940] loop4: detected capacity change from 0 to 40 12:22:28 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 13) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2240.428721] loop7: detected capacity change from 0 to 40 12:22:28 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r0}, 0x2c, {'wfdno', 0x3d, r1}}) ioctl$CDROM_SEND_PACKET(r1, 0x5393, &(0x7f00000000c0)={"7daf4cb674cd2819f5608e70", &(0x7f0000000240)="7bda992d5d5c676659e822f544d2846cc1db059181530a754ee75582613adcb94220dfea03369d474e96b231a22c1836fa0ff384203a8465dce99ae2a6aac3ab70dd9c01e49de4222f314578dae476d0f0fede80f27d6da1cad15e337d651afbe6657c0e7cfac3db5db64f670ac0b1851bff60840a31ae3f951087e3958ad616b2abb0592f3a30a8", 0x88, 0x10001, &(0x7f0000000000)={0x4, 0x1, 0x6, 0x0, 0x0, 0x1, 0x0, "fa8d18c2", 0x0, "e6cf16ff", 0x40, 0x80, 0x5f, "2bc659", "c4028729eaa611947f855d7f8fdba1e91e52a742a53f66656028669813d99b36847c3012bda3725c0d83d29a15bc"}, 0x3, 0xe25, 0x5, &(0x7f0000000040)}) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x0) 12:22:28 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 11) [ 2240.446101] loop3: detected capacity change from 0 to 40 [ 2240.454291] FAT-fs (loop3): bogus number of FAT sectors [ 2240.454778] FAT-fs (loop3): Can't find a valid FAT filesystem 12:22:28 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 12) 12:22:28 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 14) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2240.496231] kworker/u4:8: attempt to access beyond end of device [ 2240.496231] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 2240.498210] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:22:28 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 12) 12:22:28 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 12) 12:22:28 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x1000000) 12:22:28 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 13) [ 2240.520777] loop5: detected capacity change from 0 to 40 [ 2240.554917] loop7: detected capacity change from 0 to 40 [ 2240.565117] FAULT_INJECTION: forcing a failure. [ 2240.565117] name failslab, interval 1, probability 0, space 0, times 0 [ 2240.566463] CPU: 1 PID: 11753 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2240.567394] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2240.568310] Call Trace: [ 2240.568619] [ 2240.568895] dump_stack_lvl+0xc1/0xf0 [ 2240.569374] should_fail_ex+0x4b4/0x5b0 [ 2240.569866] ? security_file_alloc+0x38/0x170 [ 2240.570411] should_failslab+0x9/0x20 [ 2240.570868] kmem_cache_alloc+0x5a/0x320 [ 2240.571356] security_file_alloc+0x38/0x170 [ 2240.571876] __alloc_file+0xb6/0x240 [ 2240.572328] alloc_empty_file+0x71/0x190 [ 2240.572815] alloc_file+0x5e/0x810 [ 2240.573279] alloc_file_pseudo+0x16e/0x260 [ 2240.573840] ? __pfx_alloc_file_pseudo+0x10/0x10 [ 2240.574480] ? lockdep_annotate_inode_mutex_key+0x4b/0x200 [ 2240.575271] ? do_raw_spin_unlock+0x53/0x220 [ 2240.575915] __shmem_file_setup+0x202/0x300 [ 2240.576546] __do_sys_memfd_create+0x32b/0x910 [ 2240.577218] ? ksys_write+0x1a7/0x260 [ 2240.577781] ? __pfx___do_sys_memfd_create+0x10/0x10 [ 2240.578527] do_syscall_64+0x3f/0x90 [ 2240.579070] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2240.579142] loop0: detected capacity change from 0 to 40 [ 2240.579786] RIP: 0033:0x7ff72d55eb19 [ 2240.579813] 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 [ 2240.583124] RSP: 002b:00007ff72aad3f48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f [ 2240.584161] RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007ff72d55eb19 [ 2240.585125] RDX: 0000000000005000 RSI: 0000000000000000 RDI: 00007ff72d5b80fb [ 2240.586118] RBP: 0000000000000002 R08: 0000000000002800 R09: ffffffffffffffff [ 2240.587111] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000008100000 [ 2240.588098] R13: 0000000020000100 R14: 0000000000005000 R15: 0000000020000140 [ 2240.589115] [ 2240.595347] loop2: detected capacity change from 0 to 40 12:22:28 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 13) [ 2240.621685] loop6: detected capacity change from 0 to 40 [ 2240.632621] FAT-fs (loop6): bogus number of FAT sectors [ 2240.632994] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2240.637681] loop4: detected capacity change from 0 to 40 [ 2240.656710] kworker/u4:3: attempt to access beyond end of device [ 2240.656710] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 2240.658120] Buffer I/O error on dev loop0, logical block 31, lost async page write [ 2240.658825] loop5: detected capacity change from 0 to 40 12:22:28 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc6983", 0xb7}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:22:28 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r0}, 0x2c, {'wfdno', 0x3d, r1}}) symlinkat(&(0x7f0000000000)='./file0\x00', r1, &(0x7f0000000040)='./file1\x00') openat(0xffffffffffffffff, &(0x7f00000000c0)='./file0\x00', 0x80000, 0x6) chdir(&(0x7f0000000140)='./file0\x00') r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r2, 0x0) [ 2240.807189] loop2: detected capacity change from 0 to 40 [ 2240.819979] loop7: detected capacity change from 0 to 40 [ 2240.821323] FAULT_INJECTION: forcing a failure. [ 2240.821323] name fail_page_alloc, interval 1, probability 0, space 0, times 1 [ 2240.822344] CPU: 0 PID: 11777 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2240.822912] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2240.823458] Call Trace: [ 2240.823639] [ 2240.823801] dump_stack_lvl+0xc1/0xf0 [ 2240.824072] should_fail_ex+0x4b4/0x5b0 [ 2240.824355] prepare_alloc_pages+0x178/0x500 [ 2240.824680] __alloc_pages+0x149/0x510 [ 2240.824957] ? __pfx___alloc_pages+0x10/0x10 [ 2240.825268] ? __pfx___lock_acquire+0x10/0x10 [ 2240.825594] ? find_held_lock+0x2c/0x110 [ 2240.825886] ? __pfx_mark_lock.part.0+0x10/0x10 [ 2240.826230] vma_alloc_folio+0xe2/0x450 [ 2240.826290] loop5: detected capacity change from 0 to 40 [ 2240.826505] shmem_alloc_folio+0x11c/0x1f0 [ 2240.826549] ? __pfx_shmem_alloc_folio+0x10/0x10 12:22:28 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 14) 12:22:28 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 15) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:22:28 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2000000) 12:22:28 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 14) 12:22:28 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 13) [ 2240.827870] ? percpu_counter_add_batch+0xc8/0x180 [ 2240.828393] ? __vm_enough_memory+0x188/0x3f0 [ 2240.828712] shmem_get_folio_gfp.constprop.0+0x858/0x17d0 [ 2240.829105] ? __pfx_shmem_get_folio_gfp.constprop.0+0x10/0x10 [ 2240.829519] ? rcu_read_lock_sched_held+0x42/0x80 [ 2240.829860] shmem_write_begin+0x148/0x360 [ 2240.830156] ? __pfx_shmem_write_begin+0x10/0x10 [ 2240.830498] generic_perform_write+0x25a/0x580 [ 2240.830830] ? __pfx_generic_perform_write+0x10/0x10 [ 2240.831181] ? __pfx_file_update_time+0x10/0x10 [ 2240.831512] ? generic_write_checks+0x2c0/0x400 [ 2240.831834] __generic_file_write_iter+0x308/0x4b0 [ 2240.832169] ? trace_lock_acquire+0x170/0x1e0 [ 2240.832497] generic_file_write_iter+0xe7/0x350 [ 2240.832828] vfs_write+0x9bd/0xdd0 [ 2240.833086] ? __pfx_vfs_write+0x10/0x10 [ 2240.833398] __x64_sys_pwrite64+0x1ff/0x260 [ 2240.833699] ? __pfx___x64_sys_pwrite64+0x10/0x10 [ 2240.834047] do_syscall_64+0x3f/0x90 [ 2240.834312] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2240.834670] RIP: 0033:0x7f6258a69ab7 [ 2240.834941] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2240.836197] RSP: 002b:00007f625602bf20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2240.836518] loop4: detected capacity change from 0 to 40 [ 2240.836727] RAX: ffffffffffffffda RBX: 00007f6258b00970 RCX: 00007f6258a69ab7 [ 2240.836740] RDX: 0000000000000016 RSI: 0000000020010000 RDI: 0000000000000004 [ 2240.836752] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2240.838890] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2240.839387] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2240.839907] [ 2240.841612] loop0: detected capacity change from 0 to 40 [ 2240.904820] loop6: detected capacity change from 0 to 40 [ 2240.908993] FAT-fs (loop6): bogus number of reserved sectors [ 2240.909444] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2240.945373] kworker/u4:5: attempt to access beyond end of device [ 2240.945373] loop0: rw=1, sector=124, nr_sectors = 4 limit=40 [ 2240.947679] Buffer I/O error on dev loop0, logical block 31, lost async page write 12:22:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 13) 12:22:41 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x121042, 0x0) pwritev(r1, &(0x7f00000000c0)=[{&(0x7f0000000000)="dbf2", 0x2}], 0x1, 0x8001, 0x0) r2 = mmap$IORING_OFF_SQ_RING(&(0x7f0000ffc000/0x3000)=nil, 0x3000, 0x100000b, 0x11, r1, 0x0) syz_io_uring_submit(r2, 0x0, 0x0, 0x0) syz_io_uring_submit(r2, 0x0, &(0x7f0000000000)=@IORING_OP_ASYNC_CANCEL={0xe, 0x5, 0x0, 0x0, 0x0, 0x23456}, 0x1ff) ftruncate(r0, 0x0) r3 = open_tree(r1, &(0x7f0000000040)='./file0\x00', 0x9800) ioctl$AUTOFS_DEV_IOCTL_FAIL(r3, 0xc0189377, &(0x7f0000000180)={{0x1, 0x1, 0x18, r0, {0x80000000, 0x1}}, './file1/file0\x00'}) 12:22:41 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc6983", 0xb7}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:22:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 14) 12:22:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0xfffffff) 12:22:41 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 16) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:22:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 15) 12:22:41 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 15) [ 2253.925680] loop4: detected capacity change from 0 to 40 [ 2253.940764] FAULT_INJECTION: forcing a failure. [ 2253.940764] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2253.941659] CPU: 1 PID: 11798 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2253.942246] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2253.942830] Call Trace: [ 2253.943023] [ 2253.943199] dump_stack_lvl+0xc1/0xf0 [ 2253.943496] should_fail_ex+0x4b4/0x5b0 [ 2253.943812] copyin+0x19/0x120 [ 2253.944066] copy_page_from_iter_atomic+0x272/0x12c0 [ 2253.944462] ? __pfx_copy_page_from_iter_atomic+0x10/0x10 [ 2253.944873] ? shmem_write_begin+0x15f/0x360 [ 2253.945223] ? __pfx_shmem_write_begin+0x10/0x10 [ 2253.945607] generic_perform_write+0x2cf/0x580 [ 2253.945965] ? __pfx_generic_perform_write+0x10/0x10 [ 2253.946358] ? __pfx_file_update_time+0x10/0x10 [ 2253.946701] ? generic_write_checks+0x2c0/0x400 [ 2253.947059] __generic_file_write_iter+0x308/0x4b0 [ 2253.947432] ? trace_lock_acquire+0x170/0x1e0 [ 2253.947782] generic_file_write_iter+0xe7/0x350 [ 2253.948133] vfs_write+0x9bd/0xdd0 [ 2253.948416] ? __pfx_vfs_write+0x10/0x10 [ 2253.948755] __x64_sys_pwrite64+0x1ff/0x260 [ 2253.949085] ? __pfx___x64_sys_pwrite64+0x10/0x10 [ 2253.949488] do_syscall_64+0x3f/0x90 [ 2253.949776] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2253.950146] RIP: 0033:0x7f6258a69ab7 [ 2253.950420] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2253.951711] RSP: 002b:00007f625602bf20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2253.952265] RAX: ffffffffffffffda RBX: 00007f6258b00970 RCX: 00007f6258a69ab7 [ 2253.952772] RDX: 0000000000000016 RSI: 0000000020010000 RDI: 0000000000000004 [ 2253.953283] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2253.953796] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2253.954303] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2253.954830] [ 2253.966269] loop0: detected capacity change from 0 to 40 [ 2253.968555] loop3: detected capacity change from 0 to 40 [ 2253.985516] FAT-fs (loop3): bogus number of FAT sectors [ 2253.985897] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2253.994183] loop5: detected capacity change from 0 to 40 [ 2253.999366] loop2: detected capacity change from 0 to 40 [ 2254.002605] loop7: detected capacity change from 0 to 40 12:22:41 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 15) 12:22:41 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x2d010000) [ 2254.014768] loop6: detected capacity change from 0 to 40 [ 2254.020727] FAT-fs (loop6): bogus number of FAT sectors [ 2254.021109] FAT-fs (loop6): Can't find a valid FAT filesystem 12:22:41 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 14) [ 2254.053239] syz-executor.2: attempt to access beyond end of device [ 2254.053239] loop2: rw=2049, sector=92, nr_sectors = 4 limit=40 12:22:41 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 16) [ 2254.075897] loop0: detected capacity change from 0 to 40 12:22:41 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc6983", 0xb7}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2254.100345] FAULT_INJECTION: forcing a failure. [ 2254.100345] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 2254.101284] CPU: 1 PID: 11811 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2254.101849] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2254.102397] Call Trace: [ 2254.102585] [ 2254.102749] dump_stack_lvl+0xc1/0xf0 [ 2254.103028] should_fail_ex+0x4b4/0x5b0 [ 2254.103322] prepare_alloc_pages+0x178/0x500 [ 2254.103648] __alloc_pages+0x149/0x510 [ 2254.103929] ? __pfx___alloc_pages+0x10/0x10 [ 2254.104244] ? __pfx___lock_acquire+0x10/0x10 [ 2254.104581] ? find_held_lock+0x2c/0x110 [ 2254.104874] ? __pfx_mark_lock.part.0+0x10/0x10 [ 2254.105211] vma_alloc_folio+0xe2/0x450 [ 2254.105508] shmem_alloc_folio+0x11c/0x1f0 [ 2254.105813] ? __pfx_shmem_alloc_folio+0x10/0x10 [ 2254.106167] ? percpu_counter_add_batch+0xc8/0x180 [ 2254.106515] ? __vm_enough_memory+0x188/0x3f0 [ 2254.106847] shmem_get_folio_gfp.constprop.0+0x858/0x17d0 [ 2254.107135] syz-executor.2: attempt to access beyond end of device [ 2254.107135] loop2: rw=2049, sector=56, nr_sectors = 4 limit=40 [ 2254.107235] ? __pfx_shmem_get_folio_gfp.constprop.0+0x10/0x10 [ 2254.109125] ? rcu_read_lock_sched_held+0x42/0x80 [ 2254.109494] shmem_write_begin+0x148/0x360 [ 2254.109800] ? __pfx_shmem_write_begin+0x10/0x10 [ 2254.110148] generic_perform_write+0x25a/0x580 [ 2254.110493] ? __pfx_generic_perform_write+0x10/0x10 [ 2254.110857] ? __pfx_file_update_time+0x10/0x10 [ 2254.111198] ? generic_write_checks+0x2c0/0x400 [ 2254.111535] __generic_file_write_iter+0x308/0x4b0 [ 2254.111886] ? trace_lock_acquire+0x170/0x1e0 [ 2254.112212] generic_file_write_iter+0xe7/0x350 [ 2254.112545] vfs_write+0x9bd/0xdd0 [ 2254.112817] ? __pfx_vfs_write+0x10/0x10 [ 2254.113133] __x64_sys_pwrite64+0x1ff/0x260 [ 2254.113454] ? __pfx___x64_sys_pwrite64+0x10/0x10 [ 2254.113809] do_syscall_64+0x3f/0x90 [ 2254.114079] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2254.114437] RIP: 0033:0x7ff72d511ab7 [ 2254.114702] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2254.115888] RSP: 002b:00007ff72aad3f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2254.116398] RAX: ffffffffffffffda RBX: 00007ff72d5a8970 RCX: 00007ff72d511ab7 [ 2254.116893] RDX: 0000000000000016 RSI: 0000000020010000 RDI: 0000000000000004 [ 2254.117375] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2254.117872] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2254.118354] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2254.118851] 12:22:42 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 16) [ 2254.136380] FAULT_INJECTION: forcing a failure. [ 2254.136380] name failslab, interval 1, probability 0, space 0, times 0 [ 2254.137182] CPU: 1 PID: 11814 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2254.137742] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2254.138296] Call Trace: [ 2254.138479] [ 2254.138640] dump_stack_lvl+0xc1/0xf0 [ 2254.138913] should_fail_ex+0x4b4/0x5b0 [ 2254.139202] ? getname_flags.part.0+0x50/0x4f0 [ 2254.139523] should_failslab+0x9/0x20 [ 2254.139794] kmem_cache_alloc+0x5a/0x320 [ 2254.140084] getname_flags.part.0+0x50/0x4f0 [ 2254.140399] ? vfs_write+0x491/0xdd0 [ 2254.140680] getname+0x92/0xe0 [ 2254.140921] do_sys_openat2+0xf9/0x4c0 [ 2254.141199] ? __pfx_do_sys_openat2+0x10/0x10 [ 2254.141543] __x64_sys_openat+0x143/0x200 [ 2254.141847] ? __pfx___x64_sys_openat+0x10/0x10 [ 2254.142185] do_syscall_64+0x3f/0x90 [ 2254.142453] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2254.142815] RIP: 0033:0x7f6258a69a04 [ 2254.143070] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2254.144268] RSP: 002b:00007f625602bed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2254.144776] RAX: ffffffffffffffda RBX: 00007f6258b00970 RCX: 00007f6258a69a04 [ 2254.145257] RDX: 0000000000000002 RSI: 00007f625602c000 RDI: 00000000ffffff9c [ 2254.145752] RBP: 00007f625602c000 R08: 0000000000000000 R09: ffffffffffffffff [ 2254.146272] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2254.146798] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2254.147338] [ 2254.169534] loop3: detected capacity change from 0 to 40 [ 2254.174497] FAT-fs (loop3): bogus number of reserved sectors [ 2254.174909] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2254.190606] loop4: detected capacity change from 0 to 40 [ 2254.264740] loop5: detected capacity change from 0 to 40 12:22:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 15) 12:22:56 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 17) 12:22:56 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b", 0xbd}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:22:56 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x3f000000) 12:22:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 17) 12:22:56 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = signalfd4(r0, &(0x7f0000000200)={[0x3]}, 0x8, 0x800) write$binfmt_aout(r1, &(0x7f0000001580)={{0x108, 0x5, 0x40, 0x1f1, 0x126, 0x9, 0x22b, 0x3}, "1f887af43357a1beb91525a1a0cd4a83178156147af641bae91e26d1a44e58c62477e45a41aac3021527d80fb4e2951ea5a9223c6405ae18202b311b20202f2cbe86b8c00eac4d8e02d8e0c7f15f9d045fa1fa0bd0082cddc0c33ec77febbc23f5a3fc0a3c09cad333dbd1b3cf8e4dbf51488c5a25497bf3bc09b3f127dfcf9db3275ffb0e64c829f66de3cd21a280a9b20913087700d22e910d8f3e092c742a49871d89b567f08bec749b0c", ['\x00', '\x00', '\x00', '\x00']}, 0x4cc) r2 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)=ANY=[@ANYBLOB='trans=fd,rfdno=', @ANYRESHEX=r0, @ANYBLOB="2c7766806e6f3d", @ANYRESHEX=r2, @ANYBLOB=',\x00']) readlinkat(r2, &(0x7f00000000c0)='./file1\x00', &(0x7f0000000480)=""/4096, 0x1000) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x3, &(0x7f0000000180)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}, {&(0x7f0000001480)="c7875a30d078163b45f9b05131ff83581fc0b127dc85a2d1a301ce481e3d06ef957849b8a9645bf966c529d7df562450e82160feb5594182387c356cf56c03f7dcd0ef202874cee22009de68efc253b367c7449955f762e87052932d7dcc414490aa798b42a06480db0c24780869430d26667548a9b242586653bc98fe1b67c29db45dd311ad307f53ccefa7ad216b95625d7b42a7ac3587900a0e8aef3cc443469c486ef5210407c1e13f96d528db42f94aef40c05f5369be36e18e2dc2f33b32da73721b25539e87074e3aebda2391a8f216d543db24123d154b5ab79bdb8a035ab3076d0d00c381d8eda6", 0xec, 0x7f}], 0x0, &(0x7f0000000380)=ANY=[@ANYBLOB="725d991d7e2a20b7c4993fdd3961ffeb99d515af18f55d829f2155456f37dc3a3aa79a4732c2eb4f8a6eeabf2211c29dd6fa4ac7b1201d950eca0e01393636baa99fb99df9a85a69d94a9c9f189ef5321283dc959f4d32336efb193553ec122ca2ed66efbb3224dad2711ebdc8cfb19bfbadb7850dfde885ae53fa8682c091f1ce09e9ce37e1daa78b61a8d3ce901889a95199a771ab2a9f17c2e1a54eccc2249526a36594119a0122aa98221e45dfa7dc4e67400cc16b943597c26ef7c7519066f19a3ce461978bf6200830df0540a407d432e7a15daa0e6b1378972841ac894a42", @ANYBLOB="280bcda6db8414addac3e14ef0", @ANYRES32, @ANYRES64=r0]) chdir(&(0x7f0000000140)='./file0\x00') r3 = openat$urandom(0xffffffffffffff9c, &(0x7f0000000000), 0x200900, 0x0) ioctl$FAT_IOCTL_GET_VOLUME_ID(r3, 0x80047213, &(0x7f0000000040)) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) socket$inet6(0xa, 0xa, 0x9) ftruncate(r4, 0x0) 12:22:56 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 16) 12:22:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 17) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2268.431788] loop7: detected capacity change from 0 to 40 [ 2268.434034] loop4: detected capacity change from 0 to 40 [ 2268.448115] 9pnet_fd: Insufficient options for proto=fd [ 2268.449155] loop2: detected capacity change from 0 to 40 [ 2268.450848] FAT-fs (loop2): Unrecognized mount option "r]~* ę?9a]!UEo7::G2On"JDZ 966ZiJ2ܕM23n5S" or missing value [ 2268.488140] loop5: detected capacity change from 0 to 40 12:22:56 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 17) [ 2268.495149] FAULT_INJECTION: forcing a failure. [ 2268.495149] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2268.495978] CPU: 0 PID: 11842 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2268.496546] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2268.497112] Call Trace: [ 2268.497300] [ 2268.497472] dump_stack_lvl+0xc1/0xf0 [ 2268.497764] should_fail_ex+0x4b4/0x5b0 [ 2268.498064] copyin+0x19/0x120 [ 2268.498315] copy_page_from_iter_atomic+0x272/0x12c0 [ 2268.498693] ? __pfx_copy_page_from_iter_atomic+0x10/0x10 [ 2268.499090] ? shmem_write_begin+0x15f/0x360 [ 2268.499426] ? __pfx_shmem_write_begin+0x10/0x10 [ 2268.499775] generic_perform_write+0x2cf/0x580 [ 2268.500126] ? __pfx_generic_perform_write+0x10/0x10 [ 2268.500497] ? __pfx_file_update_time+0x10/0x10 [ 2268.500825] ? generic_write_checks+0x2c0/0x400 [ 2268.501167] __generic_file_write_iter+0x308/0x4b0 [ 2268.501500] ? trace_lock_acquire+0x170/0x1e0 [ 2268.501869] generic_file_write_iter+0xe7/0x350 [ 2268.502207] vfs_write+0x9bd/0xdd0 [ 2268.502479] ? __pfx_vfs_write+0x10/0x10 [ 2268.502803] __x64_sys_pwrite64+0x1ff/0x260 [ 2268.503123] ? __pfx___x64_sys_pwrite64+0x10/0x10 [ 2268.503485] do_syscall_64+0x3f/0x90 [ 2268.503761] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2268.504132] RIP: 0033:0x7ff72d511ab7 [ 2268.504392] Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b [ 2268.505631] RSP: 002b:00007ff72aad3f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 [ 2268.506159] RAX: ffffffffffffffda RBX: 00007ff72d5a8970 RCX: 00007ff72d511ab7 [ 2268.506653] RDX: 0000000000000016 RSI: 0000000020010000 RDI: 0000000000000004 [ 2268.507148] RBP: 0000000000000002 R08: 0000000000000000 R09: ffffffffffffffff [ 2268.507640] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 [ 2268.508128] R13: 0000000000000004 R14: 0000000020000200 R15: 0000000000000000 [ 2268.508639] 12:22:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 18) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2268.530329] loop6: detected capacity change from 0 to 40 [ 2268.535008] loop0: detected capacity change from 0 to 40 [ 2268.545842] FAT-fs (loop6): bogus number of FAT sectors [ 2268.546755] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2268.567739] loop3: detected capacity change from 0 to 40 12:22:56 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 18) [ 2268.581628] FAT-fs (loop3): bogus number of FAT sectors [ 2268.582046] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2268.591158] loop7: detected capacity change from 0 to 40 [ 2268.602932] loop4: detected capacity change from 0 to 40 [ 2268.618903] loop5: detected capacity change from 0 to 40 12:22:56 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 16) [ 2268.652965] 9pnet_fd: Insufficient options for proto=fd [ 2268.653930] loop2: detected capacity change from 0 to 40 [ 2268.655226] FAT-fs (loop2): Unrecognized mount option "r]~* ę?9a]!UEo7::G2On"JDZ 966ZiJ2ܕM23n5S" or missing value 12:22:56 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 19) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:22:56 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 18) 12:22:56 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 19) [ 2268.736360] loop7: detected capacity change from 0 to 40 [ 2268.759889] loop5: detected capacity change from 0 to 40 [ 2268.810186] FAULT_INJECTION: forcing a failure. [ 2268.810186] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2268.811873] CPU: 1 PID: 11864 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2268.812919] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2268.813980] Call Trace: [ 2268.814327] [ 2268.814639] dump_stack_lvl+0xc1/0xf0 [ 2268.815161] should_fail_ex+0x4b4/0x5b0 [ 2268.815717] strncpy_from_user+0x38/0x3f0 [ 2268.816295] getname_flags.part.0+0x95/0x4f0 [ 2268.816895] ? vfs_write+0x491/0xdd0 [ 2268.817422] getname+0x92/0xe0 [ 2268.817879] do_sys_openat2+0xf9/0x4c0 [ 2268.818406] ? __pfx_do_sys_openat2+0x10/0x10 [ 2268.819028] __x64_sys_openat+0x143/0x200 [ 2268.819607] ? __pfx___x64_sys_openat+0x10/0x10 [ 2268.820294] do_syscall_64+0x3f/0x90 [ 2268.820838] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2268.821583] RIP: 0033:0x7f6258a69a04 [ 2268.822130] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2268.824588] RSP: 002b:00007f625602bed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2268.825641] RAX: ffffffffffffffda RBX: 00007f6258b00970 RCX: 00007f6258a69a04 [ 2268.826618] RDX: 0000000000000002 RSI: 00007f625602c000 RDI: 00000000ffffff9c [ 2268.827540] RBP: 00007f625602c000 R08: 0000000000000000 R09: ffffffffffffffff [ 2268.828483] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2268.829418] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2268.830390] [ 2268.840954] FAULT_INJECTION: forcing a failure. [ 2268.840954] name failslab, interval 1, probability 0, space 0, times 0 [ 2268.841841] CPU: 0 PID: 11865 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2268.842410] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2268.842984] Call Trace: [ 2268.843171] [ 2268.843337] dump_stack_lvl+0xc1/0xf0 [ 2268.843622] should_fail_ex+0x4b4/0x5b0 [ 2268.843921] ? getname_flags.part.0+0x50/0x4f0 [ 2268.844258] should_failslab+0x9/0x20 [ 2268.844540] kmem_cache_alloc+0x5a/0x320 [ 2268.844835] getname_flags.part.0+0x50/0x4f0 [ 2268.845159] ? vfs_write+0x491/0xdd0 [ 2268.845437] getname+0x92/0xe0 [ 2268.845691] do_sys_openat2+0xf9/0x4c0 [ 2268.845982] ? __pfx_do_sys_openat2+0x10/0x10 [ 2268.846315] __x64_sys_openat+0x143/0x200 [ 2268.846617] ? __pfx___x64_sys_openat+0x10/0x10 [ 2268.846968] do_syscall_64+0x3f/0x90 [ 2268.847244] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2268.847615] RIP: 0033:0x7ff72d511a04 [ 2268.847881] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2268.849133] RSP: 002b:00007ff72aad3ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2268.849671] RAX: ffffffffffffffda RBX: 00007ff72d5a8970 RCX: 00007ff72d511a04 [ 2268.850167] RDX: 0000000000000002 RSI: 00007ff72aad4000 RDI: 00000000ffffff9c [ 2268.850663] RBP: 00007ff72aad4000 R08: 0000000000000000 R09: ffffffffffffffff [ 2268.851159] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2268.851691] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2268.852229] 12:23:10 executing program 2: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) pwrite64(r0, &(0x7f0000000000)="5da20460227f7906874c87ff2023ff3793dc8fb2728e207ad7bd7859665ce98b96b3", 0x22, 0xa) ftruncate(r1, 0x0) 12:23:10 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 17) 12:23:10 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 19) 12:23:11 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 20) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:23:11 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0xfeffffff) 12:23:11 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 18) 12:23:11 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 20) 12:23:11 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b", 0xbd}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) [ 2283.136759] FAULT_INJECTION: forcing a failure. [ 2283.136759] name failslab, interval 1, probability 0, space 0, times 0 [ 2283.138114] CPU: 1 PID: 11878 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2283.139033] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2283.139941] Call Trace: [ 2283.140242] [ 2283.140511] dump_stack_lvl+0xc1/0xf0 [ 2283.140967] should_fail_ex+0x4b4/0x5b0 [ 2283.141452] ? __alloc_file+0x21/0x240 [ 2283.141929] should_failslab+0x9/0x20 [ 2283.142377] kmem_cache_alloc+0x5a/0x320 [ 2283.142862] __alloc_file+0x21/0x240 [ 2283.143298] alloc_empty_file+0x71/0x190 [ 2283.143774] path_openat+0xd8/0x2750 [ 2283.144229] ? __pfx_path_openat+0x10/0x10 [ 2283.144716] ? __pfx___lock_acquire+0x10/0x10 [ 2283.145242] ? __create_object+0x3ee/0xc90 [ 2283.145754] do_filp_open+0x1ba/0x410 [ 2283.146225] ? __pfx_do_filp_open+0x10/0x10 [ 2283.146728] ? find_held_lock+0x2c/0x110 [ 2283.147210] ? alloc_fd+0x2eb/0x760 [ 2283.147645] ? lock_release+0x1e3/0x710 [ 2283.148129] ? do_raw_spin_lock+0x125/0x270 [ 2283.148645] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 2283.149216] ? lock_acquire+0x32/0xc0 [ 2283.149698] ? alloc_fd+0x6e/0x760 [ 2283.150159] ? _raw_spin_unlock+0x1e/0x40 [ 2283.150682] ? alloc_fd+0x2eb/0x760 [ 2283.151155] do_sys_openat2+0x171/0x4c0 [ 2283.151658] ? __pfx_do_sys_openat2+0x10/0x10 [ 2283.152235] __x64_sys_openat+0x143/0x200 [ 2283.152753] ? __pfx___x64_sys_openat+0x10/0x10 [ 2283.153342] do_syscall_64+0x3f/0x90 [ 2283.153831] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2283.154460] RIP: 0033:0x7f6258a69a04 [ 2283.154910] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2283.157012] RSP: 002b:00007f625602bed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2283.157911] RAX: ffffffffffffffda RBX: 00007f6258b00970 RCX: 00007f6258a69a04 [ 2283.158749] RDX: 0000000000000002 RSI: 00007f625602c000 RDI: 00000000ffffff9c [ 2283.159578] RBP: 00007f625602c000 R08: 0000000000000000 R09: ffffffffffffffff [ 2283.160372] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2283.161170] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2283.162039] [ 2283.163870] loop3: detected capacity change from 0 to 40 [ 2283.168058] loop0: detected capacity change from 0 to 40 [ 2283.170105] FAT-fs (loop3): bogus number of FAT sectors [ 2283.170830] FAT-fs (loop3): Can't find a valid FAT filesystem [ 2283.172269] loop2: detected capacity change from 0 to 40 [ 2283.180502] loop4: detected capacity change from 0 to 40 [ 2283.195846] loop7: detected capacity change from 0 to 40 [ 2283.198052] loop5: detected capacity change from 0 to 40 12:23:11 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 18) 12:23:11 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0xffffff0f) 12:23:11 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 19) 12:23:11 executing program 2: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r0}, 0x2c, {'wfdno', 0x3d, r1}}) r2 = openat(r1, &(0x7f0000000100)='./file1\x00', 0x1c1001, 0x14) r3 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r2}, 0x2c, {'wfdno', 0x3d, r3}}) r4 = openat(r3, &(0x7f00000000c0)='./file0\x00', 0x80, 0x85) pwritev(r4, &(0x7f0000000680)=[{&(0x7f0000000700)="dd0d5d99d934ba4fba50f5a417705fa9633ba3768e0b233131e05c9628040f5df9916c495ace6a26a83f8ff5fcd663f0a20497440bba427490a3ad47b2f2c4553ea86c16db6a144460c17d73284497e241c6a2ab09edd904cb8f30c17b36ec2393d7b2111abca685549d62de6e511945fe4bb0d2a7ae1d2c013a8a7183124ec64923b06cacbd83795d149fbe15c7eb15508b080fae2d041b7da9ac5a1f986fb1dd3f2a97e48f0c56a64acea4f5815df88f58d784168fe936efb03d51ebefcde43be16741ae4f11087446b0a9ec654084063df3c9320a69f8f4edd19435514078307294ad363a3c0858a573ee24a7ee5897a8", 0xa7}, {&(0x7f0000000380)="349f74df62905c527dcfc1e72cd29666b33c50730fdbe4dc42d385f884273a3ac2cfea5f2931e4d65aced8b2156017540c9b2924d049dfbc96612d6b3a92559be6b4842694fe55993a0968947adeed65a0eed5999bee712e5a09e2904b0114f07064e55091f5bffd51c5fac4ef01c9ac44277da35d1413db3ac8e23dd7ace4a371ffcfc6cb0be1e7", 0x88}, {&(0x7f0000000440)="90a1d73306df20375284185167698dfe21d23cad589ce43cad40bd3a258731a8dbef112eacb6db352bb91aec7eb833c0d3619e54d7631ad48e036e499b563e0cb7595696825a91e9fd7a9918b19da48b470fb45b4d3302cfb01401d3d5f6dd13c8fbe04cca9a26f51f9718d306eb5337079b47aa0111d785284526ca7934a87015c411", 0xffffffffffffff4d}, {&(0x7f0000000500)="455931a680d36f874e22aac4ff84f23c1ff32dc08b6eadd791390fac2b64206190b74e14e273975aaf89bceff1abc2e1f2703cb2cd186f26143fdd78d41807cf572f7ec3515c021ab44df08f2dbacd0437eaac3d59b9555be93dabf202e44429df47837add3fe185a45685739a07c4a4bc85e2ec8415339644cb25a1ccdeea3c3870ca12206f314b95136da48b50f5d8658ac09b2493bee3cc10d96c48", 0x9d}, {&(0x7f00000005c0)="a02c71551ec797bf6066634ba962235000986d491c5590f5473ee304937eb16d8b1fe4ebfc00b6e4b00c77de0295267857674dee1d9daff5a85fcebc9f580894e6f5930652a940ebd147280d5ca2c93dc26b8d01d9df75b2f44111cf66d6dbc28c0d724cd8fe7c8a4f65169b19afbe230b967277a5cc84422efc40d6c6390e63c03242f30aaf1e1a834fbd88094004df7657a364646d7ba708dd8ed86d9b571d008ae0ed8f0c42070a", 0xa9}, {&(0x7f0000000240)="545d4da74437920e20a3dad2dc9c7ac225936e0a55aaf9882235fc29e1e2c2d22d3ca713143f71b45eb399b05e576be58aee1360cee1", 0x36}], 0x6, 0x4, 0x880) r5 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r5, 0x0) sendmsg$DEVLINK_CMD_SB_POOL_GET(r1, &(0x7f0000000140)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x4000000}, 0xc, &(0x7f0000000040)={&(0x7f0000000800)={0x12c, 0x0, 0x800, 0x70bd2b, 0x25dfdbfc, {}, [{@pci={{0x8}, {0x11}}, {0x8, 0xb, 0x4}, {0x6, 0x11, 0x2}}, {@pci={{0x8}, {0x11}}, {0x8, 0xb, 0x401}, {0x6, 0x11, 0x9}}, {@nsim={{0xe}, {0xf, 0x2, {'netdevsim', 0x0}}}, {0x8, 0xb, 0x87ac}, {0x6, 0x11, 0x3f}}, {@nsim={{0xe}, {0xf, 0x2, {'netdevsim', 0x0}}}, {0x8, 0xb, 0x3ff}, {0x6, 0x11, 0x25c}}, {@nsim={{0xe}, {0xf, 0x2, {'netdevsim', 0x0}}}, {0x8}, {0x6, 0x11, 0xc291}}, {@nsim={{0xe}, {0xf, 0x2, {'netdevsim', 0x0}}}, {0x8, 0xb, 0x4}, {0x6, 0x11, 0x3ff}}]}, 0x12c}, 0x1, 0x0, 0x0, 0x20008000}, 0x8000) 12:23:11 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 20) 12:23:11 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 21) 12:23:11 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 21) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) [ 2283.342984] loop0: detected capacity change from 0 to 40 [ 2283.344083] FAULT_INJECTION: forcing a failure. [ 2283.344083] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2283.345322] CPU: 1 PID: 11895 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2283.346147] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2283.346959] Call Trace: [ 2283.347225] [ 2283.347462] dump_stack_lvl+0xc1/0xf0 [ 2283.347870] should_fail_ex+0x4b4/0x5b0 [ 2283.348298] strncpy_from_user+0x38/0x3f0 [ 2283.348747] getname_flags.part.0+0x95/0x4f0 [ 2283.349209] ? vfs_write+0x491/0xdd0 [ 2283.349616] getname+0x92/0xe0 [ 2283.349991] do_sys_openat2+0xf9/0x4c0 [ 2283.350403] ? __pfx_do_sys_openat2+0x10/0x10 [ 2283.350883] __x64_sys_openat+0x143/0x200 [ 2283.351315] ? __pfx___x64_sys_openat+0x10/0x10 [ 2283.351822] do_syscall_64+0x3f/0x90 [ 2283.352220] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2283.352757] RIP: 0033:0x7ff72d511a04 [ 2283.353141] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2283.354904] RSP: 002b:00007ff72aad3ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2283.355669] RAX: ffffffffffffffda RBX: 00007ff72d5a8970 RCX: 00007ff72d511a04 [ 2283.356390] RDX: 0000000000000002 RSI: 00007ff72aad4000 RDI: 00000000ffffff9c [ 2283.357098] RBP: 00007ff72aad4000 R08: 0000000000000000 R09: ffffffffffffffff [ 2283.357817] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2283.358534] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2283.359263] [ 2283.382200] loop2: detected capacity change from 0 to 40 [ 2283.406034] 9pnet_fd: Insufficient options for proto=fd [ 2283.420940] loop6: detected capacity change from 0 to 40 [ 2283.424819] 9pnet_fd: Insufficient options for proto=fd [ 2283.427700] FAT-fs (loop6): bogus number of FAT sectors [ 2283.428216] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2283.431064] loop4: detected capacity change from 0 to 40 12:23:11 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0xfffffffe) [ 2283.447189] loop7: detected capacity change from 0 to 40 [ 2283.456041] loop5: detected capacity change from 0 to 40 12:23:11 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 19) [ 2283.490555] FAULT_INJECTION: forcing a failure. [ 2283.490555] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2283.492009] CPU: 0 PID: 11905 Comm: syz-executor.7 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2283.493009] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2283.494008] Call Trace: [ 2283.494341] [ 2283.494643] dump_stack_lvl+0xc1/0xf0 [ 2283.495143] should_fail_ex+0x4b4/0x5b0 [ 2283.495678] _copy_to_user+0x2e/0x150 [ 2283.496187] simple_read_from_buffer+0xd0/0x170 [ 2283.496792] proc_fail_nth_read+0x19c/0x230 [ 2283.497343] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2283.497998] ? security_file_permission+0xb5/0xe0 [ 2283.498625] vfs_read+0x260/0x940 [ 2283.499091] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2283.499694] ? __pfx_vfs_read+0x10/0x10 [ 2283.500210] ? __pfx___fget_files+0x10/0x10 [ 2283.500755] ? __fget_files+0x270/0x480 [ 2283.501278] ksys_read+0x12b/0x260 [ 2283.501744] ? __pfx_ksys_read+0x10/0x10 [ 2283.502296] do_syscall_64+0x3f/0x90 [ 2283.502780] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2283.503419] RIP: 0033:0x7f997dd6769c [ 2283.503886] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48 [ 2283.506027] RSP: 002b:00007f997b32a170 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 2283.506933] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f997dd6769c [ 2283.507783] RDX: 000000000000000f RSI: 00007f997b32a1e0 RDI: 0000000000000007 [ 2283.508630] RBP: 00007f997b32a1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2283.509472] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000002 [ 2283.510334] R13: 00007ffee6a64fff R14: 00007f997b32a300 R15: 0000000000022000 [ 2283.511210] 12:23:11 executing program 2: r0 = syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x0) openat(r0, &(0x7f0000000180)='./file0\x00', 0x0, 0x8) setxattr$trusted_overlay_opaque(&(0x7f0000000000)='.\x00', &(0x7f0000000040), &(0x7f00000000c0), 0x2, 0x1) 12:23:11 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 21) [ 2283.522884] FAULT_INJECTION: forcing a failure. [ 2283.522884] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2283.524055] CPU: 1 PID: 11906 Comm: syz-executor.5 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2283.524801] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2283.525535] Call Trace: [ 2283.525772] [ 2283.525995] dump_stack_lvl+0xc1/0xf0 [ 2283.526366] should_fail_ex+0x4b4/0x5b0 [ 2283.526744] _copy_to_user+0x2e/0x150 [ 2283.527107] simple_read_from_buffer+0xd0/0x170 [ 2283.527547] proc_fail_nth_read+0x19c/0x230 [ 2283.527956] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2283.528407] ? security_file_permission+0xb5/0xe0 [ 2283.528880] vfs_read+0x260/0x940 [ 2283.529224] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2283.529671] ? __pfx_vfs_read+0x10/0x10 [ 2283.530059] ? __pfx___fget_files+0x10/0x10 [ 2283.530472] ? __fget_files+0x270/0x480 [ 2283.530866] ksys_read+0x12b/0x260 [ 2283.531215] ? __pfx_ksys_read+0x10/0x10 [ 2283.531612] do_syscall_64+0x3f/0x90 [ 2283.531968] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2283.532443] RIP: 0033:0x7fbe678c369c [ 2283.532785] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48 [ 2283.534402] RSP: 002b:00007fbe64e86170 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 2283.535086] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fbe678c369c [ 2283.535712] RDX: 000000000000000f RSI: 00007fbe64e861e0 RDI: 0000000000000007 [ 2283.536342] RBP: 00007fbe64e861d0 R08: 0000000000000000 R09: 0000000000000000 [ 2283.536976] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000002 [ 2283.537621] R13: 00007ffff00e3d6f R14: 00007fbe64e86300 R15: 0000000000022000 [ 2283.538281] [ 2283.548746] loop0: detected capacity change from 0 to 40 12:23:11 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 20) [ 2283.573107] FAULT_INJECTION: forcing a failure. [ 2283.573107] name failslab, interval 1, probability 0, space 0, times 0 [ 2283.574187] CPU: 1 PID: 11910 Comm: syz-executor.3 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2283.574916] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2283.575625] Call Trace: [ 2283.575855] [ 2283.576061] dump_stack_lvl+0xc1/0xf0 [ 2283.576415] should_fail_ex+0x4b4/0x5b0 [ 2283.576777] ? __alloc_file+0x21/0x240 [ 2283.577129] should_failslab+0x9/0x20 [ 2283.577471] kmem_cache_alloc+0x5a/0x320 [ 2283.577851] __alloc_file+0x21/0x240 [ 2283.578192] alloc_empty_file+0x71/0x190 [ 2283.578559] path_openat+0xd8/0x2750 [ 2283.578910] ? __pfx_path_openat+0x10/0x10 [ 2283.579284] ? __pfx___lock_acquire+0x10/0x10 [ 2283.579700] ? __create_object+0x3ee/0xc90 [ 2283.580092] do_filp_open+0x1ba/0x410 [ 2283.580450] ? __pfx_do_filp_open+0x10/0x10 [ 2283.580841] ? find_held_lock+0x2c/0x110 [ 2283.581212] ? alloc_fd+0x2eb/0x760 [ 2283.581544] ? lock_release+0x1e3/0x710 [ 2283.581929] ? do_raw_spin_lock+0x125/0x270 [ 2283.582316] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 2283.582733] ? lock_acquire+0x32/0xc0 [ 2283.583093] ? alloc_fd+0x6e/0x760 [ 2283.583419] ? _raw_spin_unlock+0x1e/0x40 [ 2283.583796] ? alloc_fd+0x2eb/0x760 [ 2283.584133] do_sys_openat2+0x171/0x4c0 [ 2283.584503] ? __pfx_do_sys_openat2+0x10/0x10 [ 2283.584913] __x64_sys_openat+0x143/0x200 [ 2283.585287] ? __pfx___x64_sys_openat+0x10/0x10 [ 2283.585714] do_syscall_64+0x3f/0x90 [ 2283.586062] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2283.586516] RIP: 0033:0x7ff72d511a04 [ 2283.586849] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2283.588380] RSP: 002b:00007ff72aad3ed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2283.589042] RAX: ffffffffffffffda RBX: 00007ff72d5a8970 RCX: 00007ff72d511a04 [ 2283.589637] RDX: 0000000000000002 RSI: 00007ff72aad4000 RDI: 00000000ffffff9c [ 2283.590237] RBP: 00007ff72aad4000 R08: 0000000000000000 R09: ffffffffffffffff [ 2283.590832] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2283.591418] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2283.592031] [ 2283.607633] FAULT_INJECTION: forcing a failure. [ 2283.607633] name failslab, interval 1, probability 0, space 0, times 0 [ 2283.608595] CPU: 1 PID: 11914 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2283.609274] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2283.609975] Call Trace: [ 2283.610199] [ 2283.610404] dump_stack_lvl+0xc1/0xf0 [ 2283.610746] should_fail_ex+0x4b4/0x5b0 [ 2283.611103] ? security_file_alloc+0x38/0x170 [ 2283.611509] should_failslab+0x9/0x20 [ 2283.611852] kmem_cache_alloc+0x5a/0x320 [ 2283.612223] security_file_alloc+0x38/0x170 [ 2283.612612] __alloc_file+0xb6/0x240 [ 2283.612946] alloc_empty_file+0x71/0x190 [ 2283.613307] path_openat+0xd8/0x2750 [ 2283.613648] ? __pfx_path_openat+0x10/0x10 [ 2283.614025] ? __pfx___lock_acquire+0x10/0x10 [ 2283.614424] ? __create_object+0x3ee/0xc90 [ 2283.614813] do_filp_open+0x1ba/0x410 [ 2283.615155] ? __pfx_do_filp_open+0x10/0x10 [ 2283.615537] ? find_held_lock+0x2c/0x110 [ 2283.615892] ? alloc_fd+0x2eb/0x760 [ 2283.616216] ? lock_release+0x1e3/0x710 [ 2283.616573] ? do_raw_spin_lock+0x125/0x270 [ 2283.616948] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 2283.617349] ? lock_acquire+0x32/0xc0 [ 2283.617693] ? alloc_fd+0x6e/0x760 [ 2283.618033] ? _raw_spin_unlock+0x1e/0x40 [ 2283.618410] ? alloc_fd+0x2eb/0x760 [ 2283.618740] do_sys_openat2+0x171/0x4c0 [ 2283.619096] ? __pfx_do_sys_openat2+0x10/0x10 [ 2283.619498] __x64_sys_openat+0x143/0x200 [ 2283.619865] ? __pfx___x64_sys_openat+0x10/0x10 [ 2283.620283] do_syscall_64+0x3f/0x90 [ 2283.620617] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2283.621056] RIP: 0033:0x7f6258a69a04 [ 2283.621373] Code: 84 00 00 00 00 00 44 89 54 24 0c e8 96 f9 ff ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 89 44 24 0c e8 c8 f9 ff ff 8b 44 [ 2283.622876] RSP: 002b:00007f625602bed0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 [ 2283.623511] RAX: ffffffffffffffda RBX: 00007f6258b00970 RCX: 00007f6258a69a04 [ 2283.624103] RDX: 0000000000000002 RSI: 00007f625602c000 RDI: 00000000ffffff9c [ 2283.624693] RBP: 00007f625602c000 R08: 0000000000000000 R09: ffffffffffffffff [ 2283.625289] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 [ 2283.625907] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2283.626354] loop2: detected capacity change from 0 to 40 [ 2283.626511] 12:23:11 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x8000000000000) [ 2283.649327] loop4: detected capacity change from 0 to 40 12:23:11 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) 12:23:11 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 2283.694887] loop0: detected capacity change from 0 to 40 [ 2283.745698] loop5: detected capacity change from 0 to 40 [ 2283.795295] loop7: detected capacity change from 0 to 40 12:23:26 executing program 3: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 20) 12:23:26 executing program 1: sendmsg$NL80211_CMD_TRIGGER_SCAN(0xffffffffffffffff, 0x0, 0x4000000) r0 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./file1\x00', 0x4042, 0x1) preadv(r0, &(0x7f00000015c0)=[{&(0x7f0000000340)=""/252, 0xfc}, {&(0x7f0000000440)=""/16, 0x10}, {&(0x7f0000000480)=""/208, 0xd0}, {&(0x7f0000000580)=""/4096, 0x1000}, {&(0x7f0000001580)}], 0x5, 0x0, 0x1898) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x1000)=nil, 0x1000, 0x1000009, 0x80013, 0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000240)='./file1\x00', 0x101000, 0x0) sendfile(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x0) perf_event_open(&(0x7f0000000080)={0x0, 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, 0xfffffffc, 0x0, @perf_config_ext}, 0x0, 0x7, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f0000000280)={0x1, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 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) sendfile(r0, r0, 0x0, 0x100000) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x4042, 0x0) pwritev(0xffffffffffffffff, &(0x7f0000001900)=[{&(0x7f0000001640)="7de77dc098016857ff12bcbc433915c6c2c906da4597f972fee904863d30f88a6d4702d7e91087364aa77cc92767669a6d01bd239b46c4b804509e65dff09bcb59767566d8396cf2828fd46ef4d9917042e4cb619f7e1b93df6bd351ce8be21b004fae9f6cad46ed36ad99b42213a2d7992e610da40c4e463dbcd5e704d2b6e2944a5519dcbf02f3cf2600d1704f81487496d7f860b4dbc35bfc48ca39b031d6f2421d", 0xa3}, {0xffffffffffffffff}, {&(0x7f0000001700)="a4626c754441c5ef11fb05122c5e1a7352bdce3cc98892f66d7ace2dcdfd39225888c072ce323fa83e40cce9267352e88d7c1aa8259c2480297becb3beff52fa0ddc74", 0x43}, {&(0x7f0000001780)="f09f3a16fc168822490815e5ce6a286a0bedcb960afc76349c4fed637e257976d06ede0030441e454fec62edc32ed23b2769c51527ab84838d748103a5ce889b481f84cb162cf798d71d00336e09a9d57085ef45ae63901188c0b4e75ac93dfd521fb324a0d49f079966b3dbbc7a842c16e9849ce027204b7a34f1d52b69f0aa83156d48210f8e12d3c776052f68b746882e5e3b6cf6a162efbe343e636089a65ac786e83e6c058ee40baa2a37d794e5427922e9fc698387a99165f79b", 0xbd}, {&(0x7f0000001880)="87b7e982914a2454e326fe695441e2747d281bd6c55a6aa5b5738afb9bc5de45e2c0dfa62dbfd356b2cb2b1fa048b31da297631247f5cd10522fda0c89db4b915e5cc04ec79bda026f387cdbb6d7136211ba861b54b4ce302b0808bba084b27db8331ea2eba13479bccb67b242a99620a3196b3e6ed45d2dc86b8a19602caa46", 0x80}], 0x5, 0x8000, 0x3) fallocate(r2, 0x0, 0x0, 0x87ffffc) open_tree(r2, &(0x7f0000000200)='./file1\x00', 0x1001) syz_genetlink_get_family_id$devlink(&(0x7f00000001c0), r1) 12:23:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 22) 12:23:26 executing program 2: r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r0}, 0x2c, {'wfdno', 0x3d, r1}}) r2 = socket$packet(0x11, 0x3, 0x300) ioctl$sock_SIOCGIFINDEX(r2, 0x8933, &(0x7f0000000040)={'syz_tun\x00', 0x0}) setsockopt$packet_add_memb(r2, 0x107, 0x1, &(0x7f0000000080)={r3, 0x1, 0x6, @broadcast}, 0x10) setsockopt$inet6_IPV6_PKTINFO(r0, 0x29, 0x32, &(0x7f0000000040)={@mcast1, r3}, 0x14) syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17, 0x3}, {0x0, 0x0, 0x2800}], 0x8c00, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r5 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r6 = openat$zero(0xffffffffffffff9c, &(0x7f0000000300), 0x200000, 0x0) mount$9p_fd(0x0, &(0x7f0000000280)='./file1\x00', &(0x7f00000002c0), 0x0, &(0x7f0000000340)={'trans=fd,', {'rfdno', 0x3d, r5}, 0x2c, {'wfdno', 0x3d, r6}}) openat(r6, &(0x7f0000000000)='./file0/file0\x00', 0x181000, 0x100) ftruncate(r4, 0x0) 12:23:26 executing program 0: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r0, &(0x7f00000000c0)='9', 0x1, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) ftruncate(r1, 0x100000000000000) 12:23:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) (fail_nth: 21) [ 2298.530130] loop4: detected capacity change from 0 to 40 [ 2298.530732] loop7: detected capacity change from 0 to 40 12:23:26 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x40080, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000180)='./file0\x00', 0x2, 0x12) r1 = openat$loop_ctrl(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) pwrite64(r1, &(0x7f0000000240)="b903f5e663de595333efcd71063aeda629e5bb1e730d813d58e8e2b49dcfb626a1f2a4ae10bbc20bdb7d1c02a9b3205042c0250a04db4e0cddea79304571028548053c37837551d2355718b09a24981dd3b7e13515bf6b0efff978a57ee97f77040c48b01b0be6662930ddb9957453ad92872def83de4b7bc32e543376b26ffded2d69b9310201428365086ee6ae07ebdd8ce37d6ec8f572d7ff8ea5f37cb7d9f5af5bd18df5d47c63b5f60ab8854425bf1d3def873d438ed36906012bee", 0xbe, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, 0x0, 0x0, 0x0) ftruncate(0xffffffffffffffff, 0x0) openat(0xffffffffffffffff, &(0x7f0000000040)='./file1\x00', 0x2c080, 0x41) 12:23:26 executing program 5: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) syz_io_uring_setup(0x7782, &(0x7f0000000000)={0x0, 0x625e, 0x2, 0x1, 0x3d1, 0x0, r1}, &(0x7f0000ffc000/0x4000)=nil, &(0x7f0000ffd000/0x1000)=nil, &(0x7f0000000180)=0x0, &(0x7f00000001c0)) syz_io_uring_setup(0x1, &(0x7f0000000080)={0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, &(0x7f00000a0000)=nil, &(0x7f00000b0000)=nil, &(0x7f0000000100)=0x0, &(0x7f0000000140)=0x0) socketpair$nbd(0x1, 0x1, 0x0, &(0x7f0000000000)={0xffffffffffffffff}) syz_io_uring_submit(r3, r4, &(0x7f00000001c0)=@IORING_OP_POLL_ADD={0x6, 0x0, 0x0, @fd=r5}, 0x0) syz_io_uring_submit(r2, r4, &(0x7f0000000240)=@IORING_OP_FSYNC={0x3, 0x1, 0x0, @fd_index=0x9, 0x0, 0x0, 0x0, 0x0, 0x1}, 0x9) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r6 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r6, r0, 0x0, 0xfffffdef) [ 2298.541948] syz_tun: entered promiscuous mode [ 2298.542923] loop2: detected capacity change from 0 to 40 [ 2298.552236] loop7: detected capacity change from 0 to 40 [ 2298.556669] FAULT_INJECTION: forcing a failure. [ 2298.556669] name fail_usercopy, interval 1, probability 0, space 0, times 0 [ 2298.557484] CPU: 0 PID: 11939 Comm: syz-executor.4 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2298.558038] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2298.558582] Call Trace: [ 2298.558764] [ 2298.558927] dump_stack_lvl+0xc1/0xf0 [ 2298.559208] should_fail_ex+0x4b4/0x5b0 [ 2298.559503] _copy_to_user+0x2e/0x150 [ 2298.559783] simple_read_from_buffer+0xd0/0x170 [ 2298.560115] proc_fail_nth_read+0x19c/0x230 [ 2298.560430] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2298.560762] ? security_file_permission+0xb5/0xe0 [ 2298.561108] vfs_read+0x260/0x940 [ 2298.561371] ? __pfx_proc_fail_nth_read+0x10/0x10 [ 2298.561725] ? __pfx_vfs_read+0x10/0x10 [ 2298.562031] ? __pfx___fget_files+0x10/0x10 [ 2298.562353] ? __fget_files+0x270/0x480 [ 2298.562653] ksys_read+0x12b/0x260 [ 2298.562926] ? __pfx_ksys_read+0x10/0x10 [ 2298.563238] do_syscall_64+0x3f/0x90 [ 2298.563510] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2298.563891] RIP: 0033:0x7fa2fe04869c [ 2298.564161] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48 [ 2298.565419] RSP: 002b:00007fa2fb60b170 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 2298.565928] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa2fe04869c [ 2298.566447] RDX: 000000000000000f RSI: 00007fa2fb60b1e0 RDI: 0000000000000007 [ 2298.566943] RBP: 00007fa2fb60b1d0 R08: 0000000000000000 R09: 0000000000000000 [ 2298.567443] R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000002 [ 2298.567945] R13: 00007fff486f0c3f R14: 00007fa2fb60b300 R15: 0000000000022000 [ 2298.568464] [ 2298.580845] syz_tun: left promiscuous mode [ 2298.588505] syz_tun: entered promiscuous mode [ 2298.589327] loop2: detected capacity change from 0 to 40 [ 2298.596009] loop5: detected capacity change from 0 to 40 [ 2298.603213] loop6: detected capacity change from 0 to 40 [ 2298.615485] loop0: detected capacity change from 0 to 40 [ 2298.617232] loop3: detected capacity change from 0 to 40 [ 2298.630506] FAT-fs (loop6): bogus number of FAT sectors [ 2298.631217] FAT-fs (loop6): Can't find a valid FAT filesystem [ 2298.633360] FAT-fs (loop3): bogus number of FAT sectors [ 2298.634120] FAT-fs (loop3): Can't find a valid FAT filesystem 12:23:26 executing program 4: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) [ 2298.651893] syz_tun: left promiscuous mode 12:23:26 executing program 7: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f801", 0x17}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) chdir(&(0x7f0000000140)='./file0\x00') r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x2, 0x0) pwrite64(r1, &(0x7f00000000c0)='9', 0x1, 0x0) r2 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x101042, 0x0) perf_event_open(0x0, 0x0, 0x0, 0xffffffffffffffff, 0x0) sendfile(r2, r0, 0x0, 0xfffffdef) openat(0xffffffffffffff9c, 0x0, 0x41, 0x20) ftruncate(0xffffffffffffffff, 0x0) 12:23:26 executing program 6: syz_mount_image$vfat(&(0x7f0000000080), &(0x7f0000000100)='./file0\x00', 0x0, 0x2, &(0x7f0000000200)=[{&(0x7f0000010000)="601c6d6b646f7366d8a02b00080101000440002000f8", 0x16}, {0x0, 0x0, 0x2800}], 0x0, &(0x7f0000000140)=ANY=[]) (fail_nth: 23) [ 2298.711701] loop4: detected capacity change from 0 to 40 [ 2298.742800] FAULT_INJECTION: forcing a failure. [ 2298.742800] name failslab, interval 1, probability 0, space 0, times 0 [ 2298.744264] CPU: 1 PID: 11962 Comm: syz-executor.6 Not tainted 6.3.0-rc2-next-20230314 #1 [ 2298.745282] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 [ 2298.746319] Call Trace: [ 2298.746651] [ 2298.746945] dump_stack_lvl+0xc1/0xf0 [ 2298.747455] should_fail_ex+0x4b4/0x5b0 [ 2298.747980] ? __kernfs_new_node+0xd4/0x870 [ 2298.748536] should_failslab+0x9/0x20 [ 2298.748665] loop7: detected capacity change from 0 to 40 [ 2298.749023] kmem_cache_alloc+0x5a/0x320 [ 2298.749941] __kernfs_new_node+0xd4/0x870 [ 2298.750511] ? __pfx___kernfs_new_node+0x10/0x10 [ 2298.751125] ? selinux_sb_statfs+0x1c3/0x260 [ 2298.751695] ? __pfx___lock_acquire+0x10/0x10 [ 2298.752302] ? __pfx_selinux_sb_statfs+0x10/0x10 [ 2298.752914] ? loop_configure+0x2fb/0x1a00 [ 2298.753491] ? rcu_read_lock_sched_held+0x42/0x80 [ 2298.754138] ? trace_lock_acquire+0x170/0x1e0 [ 2298.754737] ? shmem_statfs+0x1b7/0x3e0 [ 2298.755279] kernfs_create_dir_ns+0xa0/0x230 [ 2298.755845] internal_create_group+0x786/0xb90 [ 2298.756475] ? __pfx_internal_create_group+0x10/0x10 [ 2298.757153] loop_configure+0xf37/0x1a00 [ 2298.757735] lo_ioctl+0x93a/0x19a0 [ 2298.758224] ? putname+0x102/0x140 [ 2298.758706] ? entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2298.759401] ? __pfx_lo_ioctl+0x10/0x10 [ 2298.759921] ? __pfx_avc_has_extended_perms+0x10/0x10 [ 2298.760604] ? __pfx___lock_acquire+0x10/0x10 [ 2298.761240] ? __lock_acquire+0xbd4/0x63b0 [ 2298.762123] ? trace_lock_acquire+0x170/0x1e0 [ 2298.762936] ? __pfx___fget_files+0x10/0x10 [ 2298.763655] ? lock_acquire+0x32/0xc0 [ 2298.764345] ? __pfx___fget_files+0x10/0x10 [ 2298.765056] ? __pfx_lo_ioctl+0x10/0x10 [ 2298.765710] blkdev_ioctl+0x35e/0x7f0 [ 2298.766351] ? __pfx_blkdev_ioctl+0x10/0x10 [ 2298.766964] ? selinux_file_ioctl+0xba/0x270 [ 2298.767555] ? __pfx_blkdev_ioctl+0x10/0x10 [ 2298.768172] __x64_sys_ioctl+0x19e/0x210 [ 2298.768712] do_syscall_64+0x3f/0x90 [ 2298.769219] entry_SYSCALL_64_after_hwframe+0x72/0xdc [ 2298.769905] RIP: 0033:0x7f6258ab68d7 [ 2298.770386] Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 a4 54 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 2298.772531] RSP: 002b:00007f625602bf48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 2298.773452] RAX: ffffffffffffffda RBX: 00007f6258b00970 RCX: 00007f6258ab68d7 [ 2298.774337] RDX: 0000000000000004 RSI: 0000000000004c00 RDI: 0000000000000005 [ 2298.775191] RBP: 0000000000000005 R08: 0000000000000000 R09: ffffffffffffffff [ 2298.776058] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 [ 2298.776915] R13: 0000000000000004 R14: 0000000020000230 R15: 0000000000000002 [ 2298.777796] [ 2298.779036] loop6: detected capacity change from 0 to 40 [ 2298.811612] FAT-fs (loop6): bogus number of FAT sectors [ 2298.812303] FAT-fs (loop6): Can't find a valid FAT filesystem VM DIAGNOSIS: 12:28:30 Registers: info registers vcpu 0 RAX=000000000089cf53 RBX=0000000000000000 RCX=ffffffff8449656e RDX=0000000000000000 RSI=0000000000000000 RDI=ffffffff81285575 RBP=dffffc0000000000 RSP=ffffffff85407e30 R8 =0000000000000001 R9 =ffff88806ce34f83 R10=ffffed100d9c69f0 R11=0000000000000001 R12=ffffffff85d29ed0 R13=1ffffffff0a80fcb R14=0000000000000000 R15=0000000000000000 RIP=ffffffff8449758f RFL=00000206 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=1 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 fffffe462c20a000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe462c208000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007f820438d010 CR3=000000000e6d6000 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=00001fa0 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=00000007000000060000000000000000 XMM02=006e65672063657865080a0100010101 XMM03=006574616469646e616320636578650e XMM04=78650a0065676169727420636578650b XMM05=747563657865110073746e6968206365 XMM06=6578650900737472617473657220726f XMM07=6e696d20636578650d007a7a75662063 XMM08=69646e616320636578650e006e656720 XMM09=676169727420636578650b0065746164 XMM10=65110073746e696820636578650a0065 XMM11=737472617473657220726f7475636578 XMM12=6578650d007a7a756620636578650900 XMM13=636578650a00657a696d696e696d2063 XMM14=65657320636578650a006873616d7320 XMM15=00006c61746f7420636578650a007364 info registers vcpu 1 RAX=000000000093ec11 RBX=0000000000000001 RCX=ffffffff8449656e RDX=0000000000000000 RSI=0000000000000000 RDI=ffffffff81285575 RBP=dffffc0000000000 RSP=ffff888008e1fe68 R8 =0000000000000001 R9 =ffff88806cf34f83 R10=ffffed100d9e69f0 R11=0000000000000001 R12=ffffffff85d29ed0 R13=1ffff110011c3fd2 R14=0000000000000000 R15=0000000000000000 RIP=ffffffff8449758f RFL=00000206 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=1 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 fffffe63f29bc000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe63f29ba000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=0000565480877648 CR3=000000000e6d6000 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=00001fa0 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=00000000000000000000000000000000 XMM02=0000000000000000bfe62e42fefa39ef XMM03=0000ff00000000000000000000000000 XMM04=732f6c61636f6c2f7273752f3d485441 XMM05=622f6c61636f6c2f7273752f3a6e6962 XMM06=73752f3a6e6962732f7273752f3a6e69 XMM07=6e69622f3a6e6962732f3a6e69622f72 XMM08=00000000000000000000000000000000 XMM09=00000000000000000000000000000000 XMM10=00000000000000000000000000000000 XMM11=00000000000000000000000000000000 XMM12=00000000000000000000000000000000 XMM13=00000000000000000000000000000000 XMM14=00000000000000000000000000000000 XMM15=00000000000000000000000000000000