------------[ cut here ]------------
WARNING: CPU: 1 PID: 419358 at fs/ext4/file.c:611 ext4_file_write_iter+0xe2a/0x19b0
Modules linked in:
CPU: 1 PID: 419358 Comm: syz-executor.3 Not tainted 6.4.0-next-20230629 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:ext4_file_write_iter+0xe2a/0x19b0
Code: 02 84 c0 74 08 3c 03 0f 8e 81 0b 00 00 41 8b 5f 20 31 ff 83 e3 08 89 de e8 f3 44 9c ff 85 db 0f 85 ef fc ff ff e8 46 49 9c ff <0f> 0b e9 e3 fc ff ff e8 3a 49 9c ff 48 8b 54 24 70 48 b8 00 00 00
RSP: 0018:ffff888029a3fc28 EFLAGS: 00010216
loop1: detected capacity change from 0 to 512
RAX: 00000000000097ca RBX: 0000000000000000 RCX: ffffc90007521000
RDX: 0000000000040000 RSI: ffffffff81b015fa RDI: 0000000000000005
RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000000
loop2: detected capacity change from 0 to 1348
R10: 0000000000000000 R11: 0000000000000001 R12: fffffffffffffff5
R13: 0000000000000140 R14: ffff888029a3fdb0 R15: ffff888029a3fe00
FS: 00007f829a0bd700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555faa3bc CR3: 0000000052d8e000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
vfs_write+0x97d/0xda0
ksys_write+0x122/0x250
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x6e/0xd8
RIP: 0033:0x7f829cb68b19
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
RSP: 002b:00007f829a0bd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f829cc7c020 RCX: 00007f829cb68b19
RDX: 0000000000140000 RSI: 0000000020000200 RDI: 0000000000000004
RBP: 00007f829cbc2f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd161ab3cf R14: 00007f829a0bd300 R15: 0000000000022000
irq event stamp: 767
hardirqs last enabled at (777): [] __up_console_sem+0x78/0x80
hardirqs last disabled at (788): [] __up_console_sem+0x5d/0x80
softirqs last enabled at (742): [] irq_exit_rcu+0x93/0xc0
softirqs last disabled at (737): [] irq_exit_rcu+0x93/0xc0
---[ end trace 0000000000000000 ]---
EXT4-fs (loop1): Invalid log cluster size: 4294835202
FAT-fs (loop2): Directory bread(block 536870946) failed
FAT-fs (loop2): Directory bread(block 536870947) failed
FAT-fs (loop2): Directory bread(block 536870948) failed
FAT-fs (loop2): Directory bread(block 536870949) failed
FAT-fs (loop2): Directory bread(block 536870950) failed
FAT-fs (loop2): Directory bread(block 536870951) failed
FAT-fs (loop2): Directory bread(block 536870952) failed
FAT-fs (loop2): Directory bread(block 536870953) failed
FAT-fs (loop2): Directory bread(block 536870954) failed
FAT-fs (loop2): Directory bread(block 536870955) failed
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
EXT4-fs (loop1): Invalid log cluster size: 4294937602
FAT-fs (loop2): Directory bread(block 1073741858) failed
FAT-fs (loop2): Directory bread(block 1073741859) failed
FAT-fs (loop2): Directory bread(block 1073741860) failed
FAT-fs (loop2): Directory bread(block 1073741861) failed
FAT-fs (loop2): Directory bread(block 1073741862) failed
FAT-fs (loop2): Directory bread(block 1073741863) failed
FAT-fs (loop2): Directory bread(block 1073741864) failed
FAT-fs (loop2): Directory bread(block 1073741865) failed
FAT-fs (loop2): Directory bread(block 1073741866) failed
FAT-fs (loop2): Directory bread(block 1073741867) failed
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (2147451006)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.
EXT4-fs (loop1): unmounting filesystem 00000000-0000-0000-0000-000000000000.
netlink: 4 bytes leftover after parsing attributes in process `syz-executor.7'.
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 196610
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 196610
syz_tun: entered promiscuous mode
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
syz_tun: left promiscuous mode
syz_tun: entered promiscuous mode
syz_tun: left promiscuous mode
loop1: detected capacity change from 0 to 512
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop1): Invalid log cluster size: 262146
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 327682
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 393218
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 655362
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 655362
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1048578
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1048578
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1572866
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1572866
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): Directory bread(block 4294967330) failed
FAT-fs (loop2): Directory bread(block 4294967331) failed
FAT-fs (loop2): Directory bread(block 4294967332) failed
FAT-fs (loop2): Directory bread(block 4294967333) failed
FAT-fs (loop2): Directory bread(block 4294967334) failed
FAT-fs (loop2): Directory bread(block 4294967335) failed
FAT-fs (loop2): Directory bread(block 4294967336) failed
FAT-fs (loop2): Directory bread(block 4294967337) failed
FAT-fs (loop2): Directory bread(block 4294967338) failed
FAT-fs (loop2): Directory bread(block 4294967339) failed
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop1): Invalid log cluster size: 10485762
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 12582914
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 15728642
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop2: detected capacity change from 0 to 1348
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop1): Invalid log cluster size: 75497474
FAT-fs (loop2): count of clusters too big (2147483774)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
FAT-fs (loop2): count of clusters too big (2147483774)
FAT-fs (loop2): Can't find a valid FAT filesystem
EXT4-fs (loop0): unmounting filesystem 00000000-0000-0000-0000-000000000000.
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 100663298
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 100663298
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 117440514
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 117440514
loop2: detected capacity change from 0 to 1348
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 118095874
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 150994946
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 150994946
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 164364290
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 164364290
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 167772162
loop2: detected capacity change from 0 to 1348
loop0: detected capacity change from 0 to 2048
FAT-fs (loop2): Directory bread(block 131106) failed
FAT-fs (loop2): Directory bread(block 131107) failed
FAT-fs (loop2): Directory bread(block 131108) failed
FAT-fs (loop2): Directory bread(block 131109) failed
FAT-fs (loop2): Directory bread(block 131110) failed
FAT-fs (loop2): Directory bread(block 131111) failed
FAT-fs (loop2): Directory bread(block 131112) failed
FAT-fs (loop2): Directory bread(block 131113) failed
FAT-fs (loop2): Directory bread(block 131114) failed
FAT-fs (loop2): Directory bread(block 131115) failed
loop1: detected capacity change from 0 to 512
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): Directory bread(block 603979810) failed
EXT4-fs (loop1): Invalid log cluster size: 168230914
loop0: detected capacity change from 0 to 2048
FAT-fs (loop2): Directory bread(block 603979811) failed
FAT-fs (loop2): Directory bread(block 603979812) failed
FAT-fs (loop2): Directory bread(block 603979813) failed
FAT-fs (loop2): Directory bread(block 603979814) failed
FAT-fs (loop2): Directory bread(block 603979815) failed
FAT-fs (loop2): Directory bread(block 603979816) failed
FAT-fs (loop2): Directory bread(block 603979817) failed
FAT-fs (loop2): Directory bread(block 603979818) failed
FAT-fs (loop2): Directory bread(block 603979819) failed
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 469762050
loop2: detected capacity change from 0 to 1348
loop0: detected capacity change from 0 to 2048
FAT-fs (loop2): Directory bread(block 134217762) failed
FAT-fs (loop2): Directory bread(block 134217763) failed
FAT-fs (loop2): Directory bread(block 134217764) failed
FAT-fs (loop2): Directory bread(block 134217765) failed
FAT-fs (loop2): Directory bread(block 134217766) failed
FAT-fs (loop2): Directory bread(block 134217767) failed
FAT-fs (loop2): Directory bread(block 134217768) failed
FAT-fs (loop2): Directory bread(block 134217769) failed
FAT-fs (loop2): Directory bread(block 134217770) failed
FAT-fs (loop2): Directory bread(block 134217771) failed
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop1): Invalid log cluster size: 536870914
FAT-fs (loop2): count of clusters too big (4227858443)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 536870914
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1073741826
loop2: detected capacity change from 0 to 1348
loop0: detected capacity change from 0 to 2048
FAT-fs (loop2): count of clusters too big (4227858443)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4227858443)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1208614914
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1208614914
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4228382731)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4228382731)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 1996488706
FAT-fs (loop2): count of clusters too big (4227858443)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 2147745794
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4160749694)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4227860503)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4227860503)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 3423141890
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4227858903)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop1): Invalid log cluster size: 4026531842
FAT-fs (loop2): count of clusters too big (4227858479)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 4026531842
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4227858479)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 4278124546
loop0: detected capacity change from 0 to 2048
loop2: detected capacity change from 0 to 1348
FAT-fs (loop2): count of clusters too big (4227858447)
FAT-fs (loop2): Can't find a valid FAT filesystem
loop2: detected capacity change from 0 to 1348
loop1: detected capacity change from 0 to 512
EXT4-fs (loop1): Invalid log cluster size: 4294836226
loop0: detected capacity change from 0 to 2048
loop1: detected capacity change from 0 to 512
loop2: detected capacity change from 0 to 1348
EXT4-fs (loop1): Invalid log cluster size: 4294901762
loop0: detected capacity change from 0 to 2048