program: syz_mount_image$ext4(&(0x7f0000000040)='ext4\x00', &(0x7f0000000000)='./file1\x00', 0x446, &(0x7f0000000080)={[{@stripe={'stripe', 0x3d, 0x2}}, {@journal_dev={'journal_dev', 0x3d, 0x1045}}, {@oldalloc}, {@noquota}, {@minixdf}, {@barrier_val={'barrier', 0x3d, 0x2}}, {@delalloc}, {@nojournal_checksum}, {@orlov}, {@user_xattr}, {@quota}, {@delalloc}]}, 0x1, 0x553, &(0x7f0000001080)="$eJzs3d9rW1UcAPDvTdv91nUwhopIYQ9O5tK19ccEH+aj6HCg7zO0d2U0WUaTjrUO3B7ciy8yBBEH4ru++zj8B/wrBjoYMoo++BK56U2XrUmbddnSmc8Hbjkn9ybnfnPv9/TcnBsSwNCayP4UIl6OiG+SiIMRkeTrRiNfObG23er9q7PZkkSj8elfSXO7rN56rdbz9ueVlyLit68ijhc2tltbXlkolcvpYl6frFcuTdaWV05cqJTm0/n04vTMzKm3Z6bfe/edvsX6xtl/vv/k9oenvj66+t0vdw/dTOJ0HMjXtcfxBK61VyZiIn9PxuL0IxtO9aGxnSQZ9A6wLSN5no9F1gccjJE864H/vy8jogEMqUT+w5BqjQNa1/Z9ug5+btz7YO0CaGP8o2ufjcSe5rXRvtXkoSuj7Hp3vA/tZ238+uetm9kS/fscAmBL165HxMnR0Y39X5L3f9t3sodtHm1D/wfPzu1s/PNmp/FPYX38Ex3GP/s75O52bJ3/hbt9aKarbPz3fsfx7/qk1fhIXnuhOeYbS85fKKdZ3/ZiRByLsd1ZfbP5nFOrdxrd1rWP/7Ila781Fsz34+7o7oefM1eql54k5nb3rke80nH8m6wf/6TD8c/ej7M9tnEkvfVat3Vbx/90NX6KeL3j8X8wo5VsPj852TwfJltnxUZ/3zjye7f2Bx1/dvz3bR7/eNI+X1t7/DZ+3PNv2m3dQ/FH7+f/ruSzZnlX/tiVUr2+OBWxK/l44+PTD57bqre2z+I/dnTz/q/T+b83Ij7vMf4bh39+taf4B3T85x7r+D9+4c5HX/zQrf3e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 0x0) pwrite64(r0, &(0x7f0000000140)='2', 0x1, 0x8000c61) (async) r1 = openat(0xffffffffffffff9c, &(0x7f0000000080)='./file1\x00', 0x42, 0x10) r2 = openat$vicodec0(0xffffffffffffff9c, &(0x7f0000000480), 0x2, 0x0) ioctl$VIDIOC_ENUM_FMT(r2, 0xc0405602, &(0x7f0000000000)={0x57, 0xa, 0x0, "05fcff410400001bf9585253b800c495f2bc83827f00"}) (async) mmap(&(0x7f0000000000/0x600000)=nil, 0x600000, 0x27ffff7, 0x4012011, r1, 0x0) ioctl$PAGEMAP_SCAN(r1, 0xc0606610, &(0x7f0000000240)={0x60, 0x43d999bc746ad9d9, &(0x7f000031a000/0x3000)=nil, &(0x7f0000375000/0x4000)=nil, 0x3, &(0x7f0000000180)=[{0x5, 0x8000000000000000, 0x7f}, {0x3, 0x1, 0x9}, {0xd, 0x0, 0xf256}, {0x80000000, 0x6, 0x400}, {0x7aebc372, 0x2, 0xfffffffffffffffa}, {0xd, 0x9, 0x7}], 0x6, 0x0, 0x7e, 0x2, 0x24, 0x11}) r3 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./file1\x00', 0x101042, 0x35) pwrite64(r3, &(0x7f0000000140)='2', 0xfdef, 0xfecc) (async, rerun: 64) setxattr$trusted_overlay_upper(&(0x7f0000000000)='./file1\x00', &(0x7f0000000500), &(0x7f0000001040)=ANY=[], 0x841, 0x0) (rerun: 64) r4 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./file1\x00', 0x42, 0x0) write$FUSE_WRITE(r4, &(0x7f00000000c0)={0x18}, 0xfffffdef) [ 84.815875][ T5343] loop0: detected capacity change from 0 to 1024 [ 84.820347][ T5343] ======================================================= [ 84.820347][ T5343] WARNING: The mand mount option has been deprecated and [ 84.820347][ T5343] and is ignored by this kernel. Remove the mand [ 84.820347][ T5343] option from the mount to silence this warning. [ 84.820347][ T5343] ======================================================= [ 84.835386][ T5343] EXT4-fs: Ignoring removed oldalloc option [ 84.838014][ T5343] EXT4-fs: Ignoring removed orlov option [ 84.857654][ T47] Bluetooth: hci0: command tx timeout [ 84.893893][ T5343] EXT4-fs (loop0): stripe (2) is not aligned with cluster size (16), stripe is disabled [ 85.057048][ T5343] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. [ 85.084341][ T5344] EXT4-fs (loop0): Delayed block allocation failed for inode 15 at logical offset 63 with max blocks 2 with error 117 [ 85.101511][ T5343] EXT4-fs (loop0): start 0, size 131072, fe_logical 131072 [ 85.106541][ T5343] ------------[ cut here ]------------ [ 85.108870][ T5343] kernel BUG at fs/ext4/mballoc.c:4657! [ 85.111148][ T5343] Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI [ 85.113780][ T5343] CPU: 0 UID: 0 PID: 5343 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 85.117626][ T5343] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 85.122025][ T5343] RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 [ 85.125008][ T5343] Code: 5c a8 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 e0 fa a3 8b 48 c7 c2 60 13 a4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 e8 2a 0a 00 90 <0f> 0b e8 b0 c9 3f ff 90 0f 0b e8 a8 c9 3f ff 90 0f 0b e8 a0 c9 3f [ 85.133107][ T5343] RSP: 0018:ffffc9000e476ce0 EFLAGS: 00010246 [ 85.135703][ T5343] RAX: 47c47dccb8c18900 RBX: 0000000000020000 RCX: 47c47dccb8c18900 [ 85.139166][ T5343] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 85.142609][ T5343] RBP: 0000000000000000 R08: ffffc9000e476927 R09: 1ffff92001c8ed24 [ 85.145959][ T5343] R10: dffffc0000000000 R11: fffff52001c8ed25 R12: ffffffff00020800 [ 85.149255][ T5343] R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 [ 85.152606][ T5343] FS: 00007fcd4b86a6c0(0000) GS:ffff88808cf1d000(0000) knlGS:0000000000000000 [ 85.156444][ T5343] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 85.159392][ T5343] CR2: 000020000000f000 CR3: 0000000037a6e000 CR4: 0000000000352ef0 [ 85.162776][ T5343] Call Trace: [ 85.164235][ T5343] [ 85.165510][ T5343] ext4_mb_new_blocks+0xc5e/0x46d0 [ 85.167653][ T5343] ? trace_ext4_get_implied_cluster_alloc_exit+0x83/0x1e0 [ 85.170659][ T5343] ? __pfx_ext4_mb_new_blocks+0x10/0x10 [ 85.172986][ T5343] ? ext4_ext_check_overlap+0x413/0x580 [ 85.175284][ T5343] ? ext4_ext_find_goal+0xf0/0x1e0 [ 85.177465][ T5343] ext4_ext_map_blocks+0x18de/0x6b80 [ 85.179777][ T5343] ? is_bpf_text_address+0x26/0x2b0 [ 85.181986][ T5343] ? ext4_map_blocks+0x7d7/0x1830 [ 85.184365][ T5343] ? __pfx_ext4_ext_map_blocks+0x10/0x10 [ 85.186953][ T5343] ? ext4_es_lookup_extent+0x6cd/0xaf0 [ 85.189341][ T5343] ext4_map_blocks+0x8da/0x1830 [ 85.191389][ T5343] ? __lock_acquire+0x6b5/0x2cf0 [ 85.193708][ T5343] ? kmem_cache_alloc_noprof+0x370/0x6e0 [ 85.196152][ T5343] ? __pfx_ext4_map_blocks+0x10/0x10 [ 85.198505][ T5343] ? ext4_da_write_begin+0x355/0xd30 [ 85.200812][ T5343] ? obj_cgroup_charge_account+0x13b/0x650 [ 85.203426][ T5343] ? percpu_ref_get_many+0x19/0x140 [ 85.205744][ T5343] _ext4_get_block+0x1e3/0x470 [ 85.207829][ T5343] ? __pfx__ext4_get_block+0x10/0x10 [ 85.211184][ T5343] ? __memcg_slab_post_alloc_hook+0x512/0x730 [ 85.213878][ T5343] ext4_get_block_unwritten+0x2e/0x100 [ 85.216216][ T5343] ext4_block_write_begin+0xb14/0x1950 [ 85.218575][ T5343] ? __pfx_ext4_get_block_unwritten+0x10/0x10 [ 85.221188][ T5343] ? __pfx_ext4_block_write_begin+0x10/0x10 [ 85.223815][ T5343] ? folio_mapping+0x16f/0x1f0 [ 85.225913][ T5343] ? ext4_inode_journal_mode+0x193/0x470 [ 85.228375][ T5343] ext4_write_begin+0xb40/0x1870 [ 85.230591][ T5343] ? __pfx_ext4_write_begin+0x10/0x10 [ 85.232899][ T5343] ? __ext4_handle_dirty_metadata+0x2fd/0x810 [ 85.235583][ T5343] ext4_da_write_begin+0x355/0xd30 [ 85.237845][ T5343] ? __pfx_ext4_da_write_begin+0x10/0x10 [ 85.240295][ T5343] generic_perform_write+0x2e2/0x8f0 [ 85.242735][ T5343] ? __pfx_generic_perform_write+0x10/0x10 [ 85.245383][ T5343] ? file_update_time_flags+0x439/0x4d0 [ 85.247740][ T5343] ? ext4_write_checks+0x24b/0x2c0 [ 85.249962][ T5343] ext4_buffered_write_iter+0xce/0x3a0 [ 85.252217][ T5343] ext4_file_write_iter+0x298/0x1c10 [ 85.254630][ T5343] ? try_to_wake_up+0x82a/0x12a0 [ 85.256790][ T5343] ? vfs_write+0x227/0xb90 [ 85.258804][ T5343] ? __pfx_ext4_file_write_iter+0x10/0x10 [ 85.261265][ T5343] vfs_write+0x61d/0xb90 [ 85.263157][ T5343] ? __pfx_vfs_write+0x10/0x10 [ 85.265143][ T5343] ? __fget_files+0x2a/0x420 [ 85.267228][ T5343] __x64_sys_pwrite64+0x199/0x230 [ 85.269432][ T5343] ? __pfx___x64_sys_pwrite64+0x10/0x10 [ 85.271761][ T5343] do_syscall_64+0xe2/0xf80 [ 85.273817][ T5343] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 85.276489][ T5343] ? trace_irq_disable+0x37/0x100 [ 85.278742][ T5343] ? clear_bhb_loop+0x60/0xb0 [ 85.280844][ T5343] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 85.283455][ T5343] RIP: 0033:0x7fcd4a99acb9 [ 85.285464][ T5343] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 [ 85.293795][ T5343] RSP: 002b:00007fcd4b86a028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 [ 85.297405][ T5343] RAX: ffffffffffffffda RBX: 00007fcd4ac15fa0 RCX: 00007fcd4a99acb9 [ 85.300811][ T5343] RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000004 [ 85.304323][ T5343] RBP: 00007fcd4aa08bf7 R08: 0000000000000000 R09: 0000000000000000 [ 85.307907][ T5343] R10: 0000000008000c61 R11: 0000000000000246 R12: 0000000000000000 [ 85.311354][ T5343] R13: 00007fcd4ac16038 R14: 00007fcd4ac15fa0 R15: 00007ffc071f01e8 [ 85.314824][ T5343] [ 85.316162][ T5343] Modules linked in: [ 85.318362][ T5343] ---[ end trace 0000000000000000 ]--- [ 85.325805][ T5344] EXT4-fs (loop0): This should not happen!! Data will be lost [ 85.325805][ T5344] [ 85.330683][ T5343] RIP: 0010:ext4_mb_normalize_request+0x1cc9/0x1d00 [ 85.333499][ T5343] Code: 5c a8 ff 48 8b 44 24 38 48 8b 38 48 c7 c6 e0 fa a3 8b 48 c7 c2 60 13 a4 8b 48 8b 4c 24 28 4d 89 f0 49 89 d9 e8 e8 2a 0a 00 90 <0f> 0b e8 b0 c9 3f ff 90 0f 0b e8 a8 c9 3f ff 90 0f 0b e8 a0 c9 3f [ 85.342621][ T5343] RSP: 0018:ffffc9000e476ce0 EFLAGS: 00010246 [ 85.346427][ T5343] RAX: 47c47dccb8c18900 RBX: 0000000000020000 RCX: 47c47dccb8c18900 [ 85.349900][ T5343] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 85.353451][ T5343] RBP: 0000000000000000 R08: ffffc9000e476927 R09: 1ffff92001c8ed24 [ 85.358739][ T5343] R10: dffffc0000000000 R11: fffff52001c8ed25 R12: ffffffff00020800 [ 85.363110][ T5343] R13: dffffc0000000000 R14: 0000000000020000 R15: 0000000000020000 [ 85.368024][ T5343] FS: 00007fcd4b86a6c0(0000) GS:ffff88808cf1d000(0000) knlGS:0000000000000000 [ 85.371967][ T5343] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 85.375228][ T5343] CR2: 0000000000000000 CR3: 0000000037a6e000 CR4: 0000000000352ef0 [ 85.378441][ T5343] Kernel panic - not syncing: Fatal exception [ 85.381260][ T5343] Kernel Offset: disabled [ 85.383099][ T5343] Rebooting in 86400 seconds..