------------[ cut here ]------------ WARNING: CPU: 0 PID: 4722 at fs/udf/inode.c:1936 __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 Modules linked in: CPU: 0 PID: 4722 Comm: syz.2.103 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 lr : __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 sp : ffff800022296f60 x29: ffff800022296f80 x28: 1ffff00004452e98 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000004 x24: ffff8000222974c8 x23: ffff800022297434 x22: 0000000080004400 x21: 1ffff00004452e99 x20: ffff8000222974c0 x19: ffff0000f4c82e30 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000082ff2b8 x15: 0000000000000000 x14: 0000000000000001 x13: ffff0000c6d15340 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009937dfc x8 : ffff0000c6d15340 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000080004400 x2 : ffff800022297434 x1 : 0000000000000004 x0 : 0000000000000000 Call trace: __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 udf_add_aext fs/udf/inode.c:1993 [inline] udf_do_extend_file+0x9b0/0xde0 fs/udf/inode.c:482 inode_getblk fs/udf/inode.c:709 [inline] udf_get_block+0x1170/0x4020 fs/udf/inode.c:359 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0x98/0x11c fs/buffer.c:2102 udf_write_begin+0x44/0x88 fs/udf/inode.c:212 generic_perform_write+0x278/0x55c mm/filemap.c:3845 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3973 udf_file_write_iter+0x234/0x584 fs/udf/file.c:164 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x91c fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 19760 hardirqs last enabled at (19759): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (19759): [] __find_get_block+0x1d0/0xeec fs/buffer.c:1303 hardirqs last disabled at (19760): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (18382): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (18382): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (18371): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4722 at fs/udf/inode.c:1936 __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 Modules linked in: CPU: 1 PID: 4722 Comm: syz.2.103 Tainted: G W 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 lr : __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 sp : ffff8000222970e0 x29: ffff800022297100 x28: 1ffff00004452e7e x27: dfff800000000000 x26: 0000000000000010 x25: 0000000000000014 x24: ffff8000222973f8 x23: ffff800022297330 x22: 0000000080004400 x21: 1ffff00004452e7f x20: ffff8000222973f0 x19: ffff0000f4c82e30 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800012295cec x15: 0000000000000000 x14: 0000000000000001 x13: ffff0000c6d15340 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009937dfc x8 : ffff0000c6d15340 x7 : 0000000000000000 x6 : ffff0000f7e1cae0 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000080004400 x2 : ffff800022297330 x1 : 0000000000000014 x0 : 0000000000000010 Call trace: __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 udf_add_aext fs/udf/inode.c:1993 [inline] udf_insert_aext fs/udf/inode.c:2164 [inline] udf_update_extents fs/udf/inode.c:1083 [inline] inode_getblk fs/udf/inode.c:799 [inline] udf_get_block+0x2e7c/0x4020 fs/udf/inode.c:359 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0x98/0x11c fs/buffer.c:2102 udf_write_begin+0x44/0x88 fs/udf/inode.c:212 generic_perform_write+0x278/0x55c mm/filemap.c:3845 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3973 udf_file_write_iter+0x234/0x584 fs/udf/file.c:164 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x91c fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 19832 hardirqs last enabled at (19831): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] hardirqs last enabled at (19831): [] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94 hardirqs last disabled at (19832): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (19826): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (19826): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (19765): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4722 at fs/udf/inode.c:1936 __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 Modules linked in: CPU: 1 PID: 4722 Comm: syz.2.103 Tainted: G W 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 lr : __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 sp : ffff8000222970e0 x29: ffff800022297100 x28: 1ffff00004452e7e x27: dfff800000000000 x26: 0000000000000020 x25: 0000000000000024 x24: ffff8000222973f8 x23: ffff800022297330 x22: 0000000000000400 x21: 1ffff00004452e7f x20: ffff8000222973f0 x19: ffff0000f4c82e30 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800012295cec x15: 0000000000000000 x14: 0000000000000001 x13: ffff0000c6d15340 x12: 0000000000ff0100 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009937dfc x8 : ffff0000c6d15340 x7 : 0000000000000000 x6 : ffff0000f7e1cae0 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000400 x2 : ffff800022297330 x1 : 0000000000000024 x0 : 0000000000000020 Call trace: __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 udf_add_aext fs/udf/inode.c:1993 [inline] udf_insert_aext fs/udf/inode.c:2164 [inline] udf_update_extents fs/udf/inode.c:1083 [inline] inode_getblk fs/udf/inode.c:799 [inline] udf_get_block+0x2e7c/0x4020 fs/udf/inode.c:359 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0x98/0x11c fs/buffer.c:2102 udf_write_begin+0x44/0x88 fs/udf/inode.c:212 generic_perform_write+0x278/0x55c mm/filemap.c:3845 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3973 udf_file_write_iter+0x234/0x584 fs/udf/file.c:164 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x91c fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 19850 hardirqs last enabled at (19849): [] bh_lru_install fs/buffer.c:1258 [inline] hardirqs last enabled at (19849): [] __find_get_block+0xcd0/0xeec fs/buffer.c:1309 hardirqs last disabled at (19850): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (19826): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (19826): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (19765): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]---