================================================================== BUG: KASAN: stack-out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:102 [inline] BUG: KASAN: stack-out-of-bounds in atomic_dec include/linux/atomic/atomic-instrumented.h:257 [inline] BUG: KASAN: stack-out-of-bounds in put_bh include/linux/buffer_head.h:320 [inline] BUG: KASAN: stack-out-of-bounds in end_buffer_read_sync+0x5c/0x90 fs/buffer.c:160 Write of size 4 at addr ffffc9000b1d79c8 by task ksoftirqd/1/21 CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 6.1.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x15e/0x45d mm/kasan/report.c:395 kasan_report+0xbb/0x1f0 mm/kasan/report.c:495 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:102 [inline] atomic_dec include/linux/atomic/atomic-instrumented.h:257 [inline] put_bh include/linux/buffer_head.h:320 [inline] end_buffer_read_sync+0x5c/0x90 fs/buffer.c:160 end_bio_bh_io_sync+0xa9/0xf0 fs/buffer.c:2655 req_bio_endio block/blk-mq.c:762 [inline] blk_update_request+0x31f/0x10b0 block/blk-mq.c:894 blk_mq_end_request+0x46/0x70 block/blk-mq.c:1021 blk_complete_reqs+0xa0/0xd0 block/blk-mq.c:1099 __do_softirq+0x1f7/0xad8 kernel/softirq.c:571 run_ksoftirqd kernel/softirq.c:934 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:926 smpboot_thread_fn+0x548/0x8f0 kernel/smpboot.c:164 kthread+0x294/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 The buggy address belongs to the virtual mapping at [ffffc9000b1d0000, ffffc9000b1d9000) created by: kernel_clone+0xb8/0x710 kernel/fork.c:2671 The buggy address belongs to the physical page: page:ffffea00007aba00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1eae8 memcg:ffff8880698db182 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff ffff8880698db182 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 6289, tgid 6289 (syz-executor.4), ts 124644817766, free_ts 120887101406 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x10b5/0x2d50 mm/page_alloc.c:4288 __alloc_pages+0x1c7/0x5a0 mm/page_alloc.c:5555 vm_area_alloc_pages mm/vmalloc.c:2975 [inline] __vmalloc_area_node mm/vmalloc.c:3043 [inline] __vmalloc_node_range+0x6f7/0xff0 mm/vmalloc.c:3213 alloc_thread_stack_node kernel/fork.c:311 [inline] dup_task_struct kernel/fork.c:974 [inline] copy_process+0x52d/0x6850 kernel/fork.c:2084 kernel_clone+0xb8/0x710 kernel/fork.c:2671 __do_sys_clone+0xa1/0xe0 kernel/fork.c:2812 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1459 [inline] free_pcp_prepare+0x65c/0xd90 mm/page_alloc.c:1509 free_unref_page_prepare mm/page_alloc.c:3387 [inline] free_unref_page_list+0x172/0xc40 mm/page_alloc.c:3529 release_pages+0x2db/0x1090 mm/swap.c:1055 __pagevec_release+0x59/0xe0 mm/swap.c:1075 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] invalidate_mapping_pagevec+0x2db/0x3c0 mm/truncate.c:543 ntfs_loadlog_and_replay+0x1fb/0x550 fs/ntfs3/fsntfs.c:305 ntfs_fill_super+0x1863/0x3040 fs/ntfs3/super.c:1018 get_tree_bdev+0x398/0x680 fs/super.c:1324 vfs_get_tree+0x7f/0x2c0 fs/super.c:1531 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x80c/0x1a10 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Memory state around the buggy address: ffffc9000b1d7880: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000b1d7900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000b1d7980: 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 ^ ffffc9000b1d7a00: 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 ffffc9000b1d7a80: 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3 00 00 00 ==================================================================