------------[ cut here ]------------ WARNING: CPU: 1 PID: 4540 at fs/udf/inode.c:1936 __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 Modules linked in: CPU: 1 PID: 4540 Comm: syz.4.54 Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (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 : ffff800021506f60 x29: ffff800021506f80 x28: 1ffff000042a0e98 x27: dfff800000000000 x26: 0000000000000000 x25: 0000000000000004 x24: ffff8000215074c8 x23: ffff800021507434 x22: 0000000080003000 x21: 1ffff000042a0e99 x20: ffff8000215074c0 x19: ffff0000f3d61490 x18: 0000000000000010 x17: 0000000000000000 x16: ffff8000082ff2b8 x15: 0000000000000002 x14: 0000000000000001 x13: ffff0000d62e0000 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800025c59000 x9 : ffff800009937dfc x8 : 0000000000080000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000080003000 x2 : ffff800021507434 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: 11374 hardirqs last enabled at (11373): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (11373): [] __find_get_block+0x1d0/0xeec fs/buffer.c:1303 hardirqs last disabled at (11374): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (11338): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (11338): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (11235): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4540 at fs/udf/inode.c:1936 __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 Modules linked in: CPU: 0 PID: 4540 Comm: syz.4.54 Tainted: G W 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (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 : ffff8000215070e0 x29: ffff800021507100 x28: 1ffff000042a0e7e x27: dfff800000000000 x26: 0000000000000010 x25: 0000000000000014 x24: ffff8000215073f8 x23: ffff800021507330 x22: 0000000080003000 x21: 1ffff000042a0e7f x20: ffff8000215073f0 x19: ffff0000f3d61490 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800012295cec x15: 0000000000000002 x14: 0000000000000001 x13: ffff0000d62e0000 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800025c59000 x9 : ffff800009937dfc x8 : 0000000000080000 x7 : 0000000000000000 x6 : ffff0000f3cfa828 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000080003000 x2 : ffff800021507330 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: 11580 hardirqs last enabled at (11579): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (11580): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (11572): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (11572): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (11377): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4540 at fs/udf/inode.c:1936 __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 Modules linked in: CPU: 0 PID: 4540 Comm: syz.4.54 Tainted: G W 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (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 : ffff8000215070e0 x29: ffff800021507100 x28: 1ffff000042a0e7e x27: dfff800000000000 x26: 0000000000000020 x25: 0000000000000024 x24: ffff8000215073f8 x23: ffff800021507330 x22: 0000000000000400 x21: 1ffff000042a0e7f x20: ffff8000215073f0 x19: ffff0000f3d61490 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800012295cec x15: 0000000000000002 x14: 0000000000000001 x13: ffff0000d62e0000 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800025c59000 x9 : ffff800009937dfc x8 : 0000000000080000 x7 : 0000000000000000 x6 : ffff0000f3cfa828 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000400 x2 : ffff800021507330 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: 11604 hardirqs last enabled at (11603): [] bh_lru_install fs/buffer.c:1258 [inline] hardirqs last enabled at (11603): [] __find_get_block+0xcd0/0xeec fs/buffer.c:1309 hardirqs last disabled at (11604): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (11572): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (11572): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (11377): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4540 at fs/udf/inode.c:1936 __udf_add_aext+0x488/0x614 fs/udf/inode.c:1935 Modules linked in: CPU: 0 PID: 4540 Comm: syz.4.54 Tainted: G W 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (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 : ffff8000215070e0 x29: ffff800021507100 x28: 1ffff000042a0e7e x27: dfff800000000000 x26: 0000000000000030 x25: 0000000000000034 x24: ffff8000215073f8 x23: ffff800021507330 x22: 0000000000000400 x21: 1ffff000042a0e7f x20: ffff8000215073f0 x19: ffff0000f3d61490 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800012295cec x15: 0000000000000002 x14: 0000000000000001 x13: ffff0000d62e0000 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800025c59000 x9 : ffff800009937dfc x8 : 0000000000080000 x7 : 0000000000000000 x6 : ffff0000f3cfa828 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000400 x2 : ffff800021507330 x1 : 0000000000000034 x0 : 0000000000000030 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: 12112 hardirqs last enabled at (12111): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (12111): [] __find_get_block+0x1d0/0xeec fs/buffer.c:1303 hardirqs last disabled at (12112): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (12100): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (12100): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (11607): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]---