================================================================== BUG: KASAN: stack-out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: stack-out-of-bounds in atomic_dec include/linux/atomic/atomic-instrumented.h:592 [inline] BUG: KASAN: stack-out-of-bounds in put_bh include/linux/buffer_head.h:302 [inline] BUG: KASAN: stack-out-of-bounds in end_buffer_read_sync+0xc3/0xe0 fs/buffer.c:161 Write of size 4 at addr ffffc900053a7620 by task ksoftirqd/0/15 CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G W 6.16.0-syzkaller-11743-g6bcdbd62bd56 #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x2b0/0x2c0 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_dec include/linux/atomic/atomic-instrumented.h:592 [inline] put_bh include/linux/buffer_head.h:302 [inline] end_buffer_read_sync+0xc3/0xe0 fs/buffer.c:161 end_bio_bh_io_sync+0xba/0x120 fs/buffer.c:2776 blk_update_request+0x57e/0xe60 block/blk-mq.c:989 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1151 blk_complete_reqs block/blk-mq.c:1226 [inline] blk_done_softirq+0x107/0x160 block/blk-mq.c:1231 handle_softirqs+0x22c/0x710 kernel/softirq.c:579 run_ksoftirqd+0xac/0x210 kernel/softirq.c:968 smpboot_thread_fn+0x542/0xa60 kernel/smpboot.c:160 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to a 8-page vmalloc region starting at 0xffffc900053a0000 allocated at copy_process+0x545/0x3ae0 kernel/fork.c:2004 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x200 pfn:0x3fc19 memcg:ffff888030531602 flags: 0x80000000000000(node=0|zone=1) raw: 0080000000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000200 0000000000000000 00000001ffffffff ffff888030531602 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOWARN), pid 2, tgid 2 (kthreadd), ts 625834528736, free_ts 624792141039 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x2119/0x21b0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 alloc_pages_mpol+0xd1/0x380 mm/mempolicy.c:2416 alloc_frozen_pages_noprof mm/mempolicy.c:2487 [inline] alloc_pages_noprof+0xcf/0x1e0 mm/mempolicy.c:2507 vm_area_alloc_pages mm/vmalloc.c:3642 [inline] __vmalloc_area_node mm/vmalloc.c:3720 [inline] __vmalloc_node_range_noprof+0x97d/0x12f0 mm/vmalloc.c:3893 __vmalloc_node_noprof+0xc2/0x110 mm/vmalloc.c:3956 alloc_thread_stack_node kernel/fork.c:311 [inline] dup_task_struct+0x3e7/0x860 kernel/fork.c:881 copy_process+0x545/0x3ae0 kernel/fork.c:2004 kernel_clone+0x224/0x7c0 kernel/fork.c:2605 kernel_thread+0x10c/0x160 kernel/fork.c:2667 create_kthread kernel/kthread.c:486 [inline] kthreadd+0x575/0x770 kernel/kthread.c:846 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 page last free pid 8117 tgid 8117 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] free_unref_folios+0xd66/0x1460 mm/page_alloc.c:2952 folios_put_refs+0x569/0x670 mm/swap.c:997 folio_batch_release include/linux/pagevec.h:101 [inline] truncate_inode_pages_range+0x338/0xb90 mm/truncate.c:383 f2fs_put_super+0x70e/0x1170 fs/f2fs/super.c:1931 generic_shutdown_super+0x132/0x2c0 fs/super.c:643 kill_block_super+0x44/0x90 fs/super.c:1766 kill_f2fs_super+0x390/0x6c0 fs/f2fs/super.c:5353 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1378 task_work_run+0x1d1/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffffc900053a7500: f1 f1 f1 f1 04 f2 00 00 00 f2 f2 f2 f2 f2 00 f2 ffffc900053a7580: f2 f2 00 00 f3 f3 f3 f3 00 00 00 00 00 00 00 00 >ffffc900053a7600: 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 00 f3 f3 f3 ^ ffffc900053a7680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900053a7700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================