program: syz_mount_image$udf(&(0x7f0000000080), &(0x7f0000000500)='./file0\x00', 0x18008, &(0x7f0000000200)=ANY=[@ANYRES8=0x0, @ANYRESDEC], 0xfe, 0x4b1, &(0x7f0000001d00)="$eJzs201sVNUbx/HfM3c6TIf+/5YXCxgCTTSxgkBfsEBqYnix0YQXLVQj8SWVTrHSdkinKCUgLNWdC5Yu3bpwZdwaEpfGhcEYFibIxs2sxB3m3LlvM5TOjG1nKP1+CJx7zzx3OOc8c+ecM5kRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQjrx6uLfPWt0KAADQTCdPj/QOMP8DALCmnGH/DwAAsJaYPP0u054LJTvhn5dlj0/OXLo8emx44cvaTaaUPD/e/c329Q/sf2nwwMGwXPz65bZNp06fOdx9tDB9cTZfLObHu0dnJs8VxvN1P8NSr6+2yx+A7ukLl8YnJord/XsHKh6+3Hlv3fquzqHB945mwtjRY8PDpxMx6bb//L8/5FEr/Iw8vSDTx99/ayclpbT0sajx2llp7X4ndvmdGD027HdkanJsZs49aKkgKlU5JplwjJqQiyVJSa5dllmePVubPP0g05F9JTslyQvHYbf/wXBd7WmFtNu6SurRKsjZY2ydPH0g0619nXojGFc//xnpaqsbhxWXDu7/gpXsTf/9wN1P7m3z+Fvdr89MFBKxlgruqNU+PzTTY/7elJWnU/4dX7IR7Wx1c9Bk7fI0LVPmq0/8dYX8delTQwd27DyUXGFsqfE8LnZvcHPVMye3BUsHS7k/y98v1Cdrnv6U6f5vWf+8J5wDpBsPFrvwj6Y0DyvNPE3J9M+1klnVvtRL7O8jq33uX9n2t2ePFi7Oz06e/2huwcdz2cMfFudmx84t/HB57+ola2rtY6ulGtuS5ay84/v801J0XbAH+F/5LG7NN1fj10JPVRlKvn7qOa57F9vAOsq1yczTXZkm3t9anmeUa3hs1gKX/2GZiqWfLcx0kP90+SyR/5fj8ctaZRnxc/v/8uda4Vpi29nNj6pfify7Nrn8vyPTkb+3Bp9plPPvVcW6uC6Z3r25PYhLZVxcOuxO+RknJqfyvS72gUwbfwpj5cfmgthNcWyfiy3K9MWtytj1QezmOLbfxd6W6c6vC8c+HccOuNh5l6873WFszsXuCGK74ti95wpT47WG1eW/X6a3r79mYZ8fmf/E/X+jqow8lPPFj5cr/52JuhtBXs8G+U/XyP+XMs3/tT3stz/24ctqg/9vnH+3Vv7uZmVsuKHcGMf21dutVnP53yDTvVduR30O+hacxhlK5v+ZdGUZjWuL8r8hUdcZtCvT4FisRcX5KxfGpqbysxxwwAEH0UGr35nQDG7+H3Gz+qBn4TommP87ymfxiun+Z/H8P1RVRlo0/29M1A0Fq5a2tJSdm77YtkXKFuev7JmcHjufP5+fGdg/2Nt/aH/vwMG2TLi4i4/qHrsngcv/bpmu/fhLtI+pXP8tvP7PVZWRFuV/U7JPFeuauodiTXL575Bp8O7taL+52Po/3P/3PFtZRvdfi/K/OVHXGbSro8GxAAAAAAAAAAAAAAAAAIDVJGeenpPp8siLFv6GqJ7v/41XlZHl//5X+YfJNb7/1ZWoG2/S7xoaGmgAAAAAAAAAAIAmScnT1zI9r5JddxUd0olkiSfavwEAAP//G6xIAA==") setrlimit(0x1, &(0x7f0000000100)={0xffffffffffffffff, 0xffffffffffffffff}) r0 = open(&(0x7f00000000c0)='./bus\x00', 0x1431c2, 0x0) pwrite64(r0, &(0x7f0000005680)="a9", 0x1, 0x600000fff) r1 = syz_open_dev$loop(&(0x7f0000000640), 0x0, 0x22400) ioctl$LOOP_SET_STATUS(r1, 0x4c02, &(0x7f0000000240)={0x0, {}, 0x0, {}, 0x6, 0x5, 0xa, 0x0, "9e959f16b6787b08aa26e66c40568a1695284854c382ec6bcfeef4fb0efcc1d8a6078ed98e203fd5f0643902dd8f6fac274de9d940bba5e51e92bbd4ce85450d", "0200000000000000004b085c2fdc4500", [0x10001, 0x7]}) ftruncate(r0, 0x2000000003) syz_mount_image$udf(&(0x7f0000000080), &(0x7f0000000500)='./file0\x00', 0x18008, &(0x7f0000000200)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3K9MWtytj1QezmOLbfxd6W6c6vC8c+HccOuNh5l6873WFszsXuCGK74ti95wpT47WG1eW/X6a3r79mYZ8fmf/E/X+jqow8lPPFj5cr/52JuhtBXs8G+U/XyP+XMs3/tT3stz/24ctqg/9vnH+3Vv7uZmVsuKHcGMf21dutVnP53yDTvVduR30O+hacxhlK5v+ZdGUZjWuL8r8hUdcZtCvT4FisRcX5KxfGpqbysxxwwAEH0UGr35nQDG7+H3Gz+qBn4TommP87ymfxiun+Z/H8P1RVRlo0/29M1A0Fq5a2tJSdm77YtkXKFuev7JmcHjufP5+fGdg/2Nt/aH/vwMG2TLi4i4/qHrsngcv/bpmu/fhLtI+pXP8tvP7PVZWRFuV/U7JPFeuauodiTXL575Bp8O7taL+52Po/3P/3PFtZRvdfi/K/OVHXGbSro8GxAAAAAAAAAAAAAAAAAIDVJGeenpPp8siLFv6GqJ7v/41XlZHl//5X+YfJNb7/1ZWoG2/S7xoaGmgAAAAAAAAAAIAmScnT1zI9r5JddxUd0olkiSfavwEAAP//G6xIAA==") (async) setrlimit(0x1, &(0x7f0000000100)={0xffffffffffffffff, 0xffffffffffffffff}) (async) open(&(0x7f00000000c0)='./bus\x00', 0x1431c2, 0x0) (async) pwrite64(r0, &(0x7f0000005680)="a9", 0x1, 0x600000fff) (async) syz_open_dev$loop(&(0x7f0000000640), 0x0, 0x22400) (async) ioctl$LOOP_SET_STATUS(r1, 0x4c02, &(0x7f0000000240)={0x0, {}, 0x0, {}, 0x6, 0x5, 0xa, 0x0, "9e959f16b6787b08aa26e66c40568a1695284854c382ec6bcfeef4fb0efcc1d8a6078ed98e203fd5f0643902dd8f6fac274de9d940bba5e51e92bbd4ce85450d", "0200000000000000004b085c2fdc4500", [0x10001, 0x7]}) (async) ftruncate(r0, 0x2000000003) (async) [ 59.771006][ T5326] loop0: detected capacity change from 0 to 128 [ 59.801451][ T5326] UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256 [ 59.852631][ T5326] loop0: detected capacity change from 128 to 127 [ 59.873343][ T5326] ------------[ cut here ]------------ [ 59.875710][ T5326] WARNING: CPU: 0 PID: 5326 at fs/udf/inode.c:2080 __udf_add_aext+0x555/0x700 [ 59.879164][ T5326] Modules linked in: [ 59.880661][ T5326] CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted 6.12.0-rc6-syzkaller-00005-g557329bcecc2 #0 [ 59.884791][ T5326] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 59.888722][ T5326] RIP: 0010:__udf_add_aext+0x555/0x700 [ 59.890740][ T5326] Code: eb d9 fe 49 8b 3c 24 4c 89 fe e8 46 64 fe fe 31 c0 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 ec 24 70 fe 90 <0f> 0b 90 e9 e7 fb ff ff e8 de 24 70 fe 90 0f 0b 90 e9 54 fc ff ff [ 59.898084][ T5326] RSP: 0018:ffffc9000d3878d8 EFLAGS: 00010293 [ 59.900621][ T5326] RAX: ffffffff8324b574 RBX: 1ffff92001a70f71 RCX: ffff888000dbc880 [ 59.903942][ T5326] RDX: 0000000000000000 RSI: 000000000000bfff RDI: 0000000000000000 [ 59.906753][ T5326] RBP: 0000000000000000 R08: ffffffff8324b156 R09: ffffffff8324b086 [ 59.909511][ T5326] R10: 0000000000000002 R11: ffff888000dbc880 R12: ffffc9000d387b80 [ 59.912534][ T5326] R13: 000000000000bfff R14: dffffc0000000000 R15: ffffc9000d387b88 [ 59.915373][ T5326] FS: 00007f10742266c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 59.918613][ T5326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.921122][ T5326] CR2: 0000000020005680 CR3: 0000000040b90000 CR4: 0000000000352ef0 [ 59.924194][ T5326] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 59.927247][ T5326] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 59.930206][ T5326] Call Trace: [ 59.931403][ T5326] [ 59.932620][ T5326] ? __warn+0x168/0x4e0 [ 59.934207][ T5326] ? __udf_add_aext+0x555/0x700 [ 59.936011][ T5326] ? report_bug+0x2b3/0x500 [ 59.937735][ T5326] ? __udf_add_aext+0x555/0x700 [ 59.939516][ T5326] ? handle_bug+0x60/0x90 [ 59.941186][ T5326] ? exc_invalid_op+0x1a/0x50 [ 59.943712][ T5326] ? asm_exc_invalid_op+0x1a/0x20 [ 59.945594][ T5326] ? __udf_add_aext+0x66/0x700 [ 59.947456][ T5326] ? __udf_add_aext+0x136/0x700 [ 59.949264][ T5326] ? __udf_add_aext+0x554/0x700 [ 59.951050][ T5326] ? __udf_add_aext+0x555/0x700 [ 59.952938][ T5326] ? __udf_add_aext+0x554/0x700 [ 59.954731][ T5326] udf_do_extend_file+0x5fa/0x1280 [ 59.956614][ T5326] ? udf_current_aext+0x65f/0xad0 [ 59.958551][ T5326] ? udf_next_aext+0x3c5/0x490 [ 59.960316][ T5326] ? __pfx_udf_do_extend_file+0x10/0x10 [ 59.962453][ T5326] ? inode_bmap+0x3ac/0x6e0 [ 59.964187][ T5326] udf_setsize+0xdb5/0x1450 [ 59.966121][ T5326] ? __pfx_udf_setsize+0x10/0x10 [ 59.968314][ T5326] ? down_write+0x18c/0x220 [ 59.970380][ T5326] ? current_time+0x203/0x2b0 [ 59.972637][ T5326] udf_setattr+0x3c7/0x5d0 [ 59.974568][ T5326] ? __pfx_udf_setattr+0x10/0x10 [ 59.976713][ T5326] notify_change+0xbca/0xe90 [ 59.978512][ T5326] do_ftruncate+0x462/0x580 [ 59.980542][ T5326] ? __pfx_do_ftruncate+0x10/0x10 [ 59.982650][ T5326] ? __fget_files+0x29/0x470 [ 59.984475][ T5326] __x64_sys_ftruncate+0x95/0xf0 [ 59.986333][ T5326] do_syscall_64+0xf3/0x230 [ 59.987981][ T5326] ? clear_bhb_loop+0x35/0x90 [ 59.989786][ T5326] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 59.992071][ T5326] RIP: 0033:0x7f107337e719 [ 59.993795][ T5326] 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 a8 ff ff ff f7 d8 64 89 01 48 [ 60.000855][ T5326] RSP: 002b:00007f1074226038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d [ 60.004263][ T5326] RAX: ffffffffffffffda RBX: 00007f1073535f80 RCX: 00007f107337e719 [ 60.007041][ T5326] RDX: 0000000000000000 RSI: 0000002000000003 RDI: 0000000000000004 [ 60.009864][ T5326] RBP: 00007f10733f139e R08: 0000000000000000 R09: 0000000000000000 [ 60.012936][ T5326] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 60.015718][ T5326] R13: 0000000000000000 R14: 00007f1073535f80 R15: 00007fff45f95d08 [ 60.018709][ T5326] [ 60.019864][ T5326] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 60.022563][ T5326] CPU: 0 UID: 0 PID: 5326 Comm: syz.0.0 Not tainted 6.12.0-rc6-syzkaller-00005-g557329bcecc2 #0 [ 60.026324][ T5326] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 60.030276][ T5326] Call Trace: [ 60.031430][ T5326] [ 60.032490][ T5326] dump_stack_lvl+0x241/0x360 [ 60.034238][ T5326] ? __pfx_dump_stack_lvl+0x10/0x10 [ 60.036000][ T5326] ? __pfx__printk+0x10/0x10 [ 60.037413][ T5326] ? _printk+0xd5/0x120 [ 60.039044][ T5326] ? __init_begin+0x41000/0x41000 [ 60.040783][ T5326] ? vscnprintf+0x5d/0x90 [ 60.042550][ T5326] panic+0x349/0x880 [ 60.043916][ T5326] ? __warn+0x177/0x4e0 [ 60.045399][ T5326] ? __pfx_panic+0x10/0x10 [ 60.046926][ T5326] ? show_trace_log_lvl+0x3b2/0x410 [ 60.048800][ T5326] __warn+0x34b/0x4e0 [ 60.050428][ T5326] ? __udf_add_aext+0x555/0x700 [ 60.052240][ T5326] report_bug+0x2b3/0x500 [ 60.053843][ T5326] ? __udf_add_aext+0x555/0x700 [ 60.055669][ T5326] handle_bug+0x60/0x90 [ 60.057218][ T5326] exc_invalid_op+0x1a/0x50 [ 60.058967][ T5326] asm_exc_invalid_op+0x1a/0x20 [ 60.060810][ T5326] RIP: 0010:__udf_add_aext+0x555/0x700 [ 60.062699][ T5326] Code: eb d9 fe 49 8b 3c 24 4c 89 fe e8 46 64 fe fe 31 c0 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 ec 24 70 fe 90 <0f> 0b 90 e9 e7 fb ff ff e8 de 24 70 fe 90 0f 0b 90 e9 54 fc ff ff [ 60.069766][ T5326] RSP: 0018:ffffc9000d3878d8 EFLAGS: 00010293 [ 60.072098][ T5326] RAX: ffffffff8324b574 RBX: 1ffff92001a70f71 RCX: ffff888000dbc880 [ 60.074901][ T5326] RDX: 0000000000000000 RSI: 000000000000bfff RDI: 0000000000000000 [ 60.077841][ T5326] RBP: 0000000000000000 R08: ffffffff8324b156 R09: ffffffff8324b086 [ 60.080812][ T5326] R10: 0000000000000002 R11: ffff888000dbc880 R12: ffffc9000d387b80 [ 60.083813][ T5326] R13: 000000000000bfff R14: dffffc0000000000 R15: ffffc9000d387b88 [ 60.086723][ T5326] ? __udf_add_aext+0x66/0x700 [ 60.088560][ T5326] ? __udf_add_aext+0x136/0x700 [ 60.090484][ T5326] ? __udf_add_aext+0x554/0x700 [ 60.092472][ T5326] ? __udf_add_aext+0x554/0x700 [ 60.094334][ T5326] udf_do_extend_file+0x5fa/0x1280 [ 60.096269][ T5326] ? udf_current_aext+0x65f/0xad0 [ 60.098162][ T5326] ? udf_next_aext+0x3c5/0x490 [ 60.100013][ T5326] ? __pfx_udf_do_extend_file+0x10/0x10 [ 60.102021][ T5326] ? inode_bmap+0x3ac/0x6e0 [ 60.103857][ T5326] udf_setsize+0xdb5/0x1450 [ 60.105579][ T5326] ? __pfx_udf_setsize+0x10/0x10 [ 60.107419][ T5326] ? down_write+0x18c/0x220 [ 60.109089][ T5326] ? current_time+0x203/0x2b0 [ 60.110818][ T5326] udf_setattr+0x3c7/0x5d0 [ 60.112457][ T5326] ? __pfx_udf_setattr+0x10/0x10 [ 60.114226][ T5326] notify_change+0xbca/0xe90 [ 60.115819][ T5326] do_ftruncate+0x462/0x580 [ 60.117350][ T5326] ? __pfx_do_ftruncate+0x10/0x10 [ 60.118971][ T5326] ? __fget_files+0x29/0x470 [ 60.120579][ T5326] __x64_sys_ftruncate+0x95/0xf0 [ 60.122421][ T5326] do_syscall_64+0xf3/0x230 [ 60.124254][ T5326] ? clear_bhb_loop+0x35/0x90 [ 60.126054][ T5326] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.128234][ T5326] RIP: 0033:0x7f107337e719 [ 60.129871][ T5326] 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 a8 ff ff ff f7 d8 64 89 01 48 [ 60.137082][ T5326] RSP: 002b:00007f1074226038 EFLAGS: 00000246 ORIG_RAX: 000000000000004d [ 60.140132][ T5326] RAX: ffffffffffffffda RBX: 00007f1073535f80 RCX: 00007f107337e719 [ 60.143028][ T5326] RDX: 0000000000000000 RSI: 0000002000000003 RDI: 0000000000000004 [ 60.145800][ T5326] RBP: 00007f10733f139e R08: 0000000000000000 R09: 0000000000000000 [ 60.148855][ T5326] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 60.152019][ T5326] R13: 0000000000000000 R14: 00007f1073535f80 R15: 00007fff45f95d08 [ 60.155106][ T5326] [ 60.156569][ T5326] Kernel Offset: disabled [ 60.158252][ T5326] Rebooting in 86400 seconds..