================================================================== BUG: KASAN: use-after-free in crc_itu_t+0x1f5/0x280 lib/crc-itu-t.c:60 Read of size 1 at addr ffff88806ec1a000 by task syz-executor.0/4449 CPU: 0 PID: 4449 Comm: syz-executor.0 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 crc_itu_t+0x1f5/0x280 lib/crc-itu-t.c:60 udf_finalize_lvid fs/udf/super.c:2048 [inline] udf_sync_fs+0x194/0x350 fs/udf/super.c:2404 sync_filesystem+0xe6/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x300 fs/super.c:448 kill_block_super+0x7c/0xe0 fs/super.c:1427 deactivate_locked_super+0x93/0xf0 fs/super.c:335 cleanup_mnt+0x418/0x4d0 fs/namespace.c:1139 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5b41df7c87 Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd564b68a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f5b41e51c5a RCX: 00007f5b41df7c87 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffd564b6960 RBP: 00007ffd564b6960 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd564b7a20 R13: 00007f5b41e51c5a R14: 00000000000116cc R15: 0000000000000006 Allocated by task 4590: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x100/0x290 mm/slub.c:3233 mempool_alloc+0x18f/0x4e0 mm/mempool.c:393 bio_alloc_bioset+0x124/0x870 block/bio.c:466 bio_alloc include/linux/bio.h:424 [inline] submit_bh_wbc+0x1c0/0x670 fs/buffer.c:3028 __block_write_full_page+0x8bc/0x1100 fs/buffer.c:1811 __writepage+0x63/0x130 mm/page-writeback.c:2342 write_cache_pages+0x984/0xfa0 mm/page-writeback.c:2277 generic_writepages+0xf7/0x160 mm/page-writeback.c:2368 do_writepages+0x48d/0x6d0 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1eb/0x240 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] file_write_and_wait_range+0x129/0x1e0 mm/filemap.c:810 blkdev_fsync+0x73/0xc0 block/fops.c:430 generic_write_sync include/linux/fs.h:2989 [inline] blkdev_write_iter+0x40b/0x550 block/fops.c:539 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x712/0xd00 fs/read_write.c:594 ksys_write+0x14d/0x250 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Freed by task 20: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3515 req_bio_endio block/blk-core.c:261 [inline] blk_update_request+0x876/0x1200 block/blk-core.c:1441 blk_mq_end_request+0x3a/0x70 block/blk-mq.c:575 blk_complete_reqs block/blk-mq.c:587 [inline] blk_done_softirq+0xfa/0x140 block/blk-mq.c:592 handle_softirqs+0x328/0x820 kernel/softirq.c:576 run_ksoftirqd+0x98/0xf0 kernel/softirq.c:943 smpboot_thread_fn+0x4f6/0x970 kernel/smpboot.c:164 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff88806ec1a000 which belongs to the cache bio-200 of size 200 The buggy address is located 0 bytes inside of 200-byte region [ffff88806ec1a000, ffff88806ec1a0c8) The buggy address belongs to the page: page:ffffea0001bb0680 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6ec1a flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 0000000000000000 dead000000000122 ffff88814219b3c0 raw: 0000000000000000 00000000000c000c 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x192800(GFP_NOWAIT|__GFP_NOWARN|__GFP_NORETRY|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 4590, ts 71681612762, free_ts 71681409869 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5474 alloc_slab_page mm/slub.c:1775 [inline] allocate_slab mm/slub.c:1912 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1975 ___slab_alloc+0x81e/0xdf0 mm/slub.c:3008 __slab_alloc mm/slub.c:3095 [inline] slab_alloc_node mm/slub.c:3186 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x195/0x290 mm/slub.c:3233 mempool_alloc+0x18f/0x4e0 mm/mempool.c:393 bio_alloc_bioset+0x124/0x870 block/bio.c:466 bio_alloc include/linux/bio.h:424 [inline] submit_bh_wbc+0x1c0/0x670 fs/buffer.c:3028 __block_write_full_page+0x8bc/0x1100 fs/buffer.c:1811 __writepage+0x63/0x130 mm/page-writeback.c:2342 write_cache_pages+0x984/0xfa0 mm/page-writeback.c:2277 generic_writepages+0xf7/0x160 mm/page-writeback.c:2368 do_writepages+0x48d/0x6d0 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1eb/0x240 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] file_write_and_wait_range+0x129/0x1e0 mm/filemap.c:810 blkdev_fsync+0x73/0xc0 block/fops.c:430 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 mm_free_pgd kernel/fork.c:653 [inline] __mmdrop+0xaa/0x3e0 kernel/fork.c:704 mmdrop include/linux/sched/mm.h:49 [inline] finish_task_switch+0x215/0x640 kernel/sched/core.c:4929 context_switch kernel/sched/core.c:5033 [inline] __schedule+0x11c0/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 pipe_read+0xb72/0x1210 fs/pipe.c:377 call_read_iter include/linux/fs.h:2166 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x725/0xcf0 fs/read_write.c:485 ksys_read+0x14d/0x250 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff88806ec19f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88806ec19f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88806ec1a000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88806ec1a080: fb fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc ffff88806ec1a100: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ==================================================================