================================================================== BUG: KASAN: out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: out-of-bounds in atomic_dec include/linux/atomic/atomic-instrumented.h:592 [inline] BUG: KASAN: out-of-bounds in put_bh include/linux/buffer_head.h:333 [inline] BUG: KASAN: out-of-bounds in end_buffer_read_sync+0x60/0x90 fs/buffer.c:160 Write of size 4 at addr ffffc90004c4f960 by task ksoftirqd/0/14 CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 6.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x3d/0x60 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xc4/0x620 mm/kasan/report.c:475 kasan_report+0xda/0x110 mm/kasan/report.c:588 check_region_inline mm/kasan/generic.c:181 [inline] kasan_check_range+0xef/0x190 mm/kasan/generic.c:187 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:333 [inline] end_buffer_read_sync+0x60/0x90 fs/buffer.c:160 end_bio_bh_io_sync+0xac/0xf0 fs/buffer.c:2789 req_bio_endio block/blk-mq.c:757 [inline] blk_update_request+0x338/0x1130 block/blk-mq.c:902 blk_mq_end_request+0x52/0x330 block/blk-mq.c:1023 blk_complete_reqs+0xa5/0xe0 block/blk-mq.c:1101 __do_softirq+0x250/0x672 kernel/softirq.c:553 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x25/0x30 kernel/softirq.c:913 smpboot_thread_fn+0x4f6/0x7a0 kernel/smpboot.c:164 kthread+0x278/0x330 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 The buggy address belongs to the virtual mapping at [ffffc90004c48000, ffffc90004c51000) created by: kernel_clone+0xcb/0x7a0 kernel/fork.c:2912 The buggy address belongs to the physical page: page:ffffea00003fec40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xffb1 memcg:ffff888014cfec82 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff ffff888014cfec82 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 14062, tgid 14062 (syz-executor.0), ts 252946131949, free_ts 224013109478 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x281/0x2f0 mm/page_alloc.c:1570 prep_new_page mm/page_alloc.c:1577 [inline] get_page_from_freelist+0xfcb/0x31e0 mm/page_alloc.c:3221 __alloc_pages+0x1d0/0x470 mm/page_alloc.c:4477 vm_area_alloc_pages mm/vmalloc.c:3059 [inline] __vmalloc_area_node mm/vmalloc.c:3135 [inline] __vmalloc_node_range+0x6f8/0x1140 mm/vmalloc.c:3316 alloc_thread_stack_node kernel/fork.c:309 [inline] dup_task_struct kernel/fork.c:1113 [inline] copy_process+0x10a8/0x6180 kernel/fork.c:2330 kernel_clone+0xcb/0x7a0 kernel/fork.c:2912 __do_sys_clone3+0x152/0x190 kernel/fork.c:3213 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 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:1161 [inline] free_unref_page_prepare+0x5aa/0xc40 mm/page_alloc.c:2348 free_unref_page+0x33/0x350 mm/page_alloc.c:2443 kasan_depopulate_vmalloc_pte+0x63/0x80 mm/kasan/shadow.c:427 apply_to_pte_range mm/memory.c:2596 [inline] apply_to_pmd_range mm/memory.c:2640 [inline] apply_to_pud_range mm/memory.c:2676 [inline] apply_to_p4d_range mm/memory.c:2712 [inline] __apply_to_page_range+0x343/0x8b0 mm/memory.c:2746 kasan_release_vmalloc+0xa8/0xc0 mm/kasan/shadow.c:544 __purge_vmap_area_lazy+0x6f2/0x2760 mm/vmalloc.c:1770 drain_vmap_area_work+0x4d/0xb0 mm/vmalloc.c:1804 process_one_work+0x922/0x1370 kernel/workqueue.c:2597 worker_thread+0xfb/0xe40 kernel/workqueue.c:2748 kthread+0x278/0x330 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Memory state around the buggy address: ffffc90004c4f800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90004c4f880: 00 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 04 f2 00 >ffffc90004c4f900: f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc90004c4f980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90004c4fa00: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 ==================================================================