================================================================== BUG: KASAN: out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: out-of-bounds in atomic_dec include/linux/atomic/atomic-instrumented.h:257 [inline] BUG: KASAN: out-of-bounds in put_bh include/linux/buffer_head.h:321 [inline] BUG: KASAN: out-of-bounds in end_buffer_read_sync+0x85/0x90 fs/buffer.c:160 Write of size 4 at addr ffffc90003e7f260 by task ksoftirqd/1/22 CPU: 1 PID: 22 Comm: ksoftirqd/1 Not tainted 6.0.0-rc7-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+0x163/0x213 lib/dump_stack.c:106 print_address_description+0x65/0x4b0 mm/kasan/report.c:317 print_report+0x108/0x220 mm/kasan/report.c:433 kasan_report+0xfb/0x130 mm/kasan/report.c:495 kasan_check_range+0x2a7/0x2e0 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_dec include/linux/atomic/atomic-instrumented.h:257 [inline] put_bh include/linux/buffer_head.h:321 [inline] end_buffer_read_sync+0x85/0x90 fs/buffer.c:160 end_bio_bh_io_sync+0x87/0xd0 fs/buffer.c:2672 req_bio_endio block/blk-mq.c:695 [inline] blk_update_request+0x3c4/0x1040 block/blk-mq.c:825 blk_mq_end_request+0x34/0x60 block/blk-mq.c:951 blk_complete_reqs block/blk-mq.c:1022 [inline] blk_done_softirq+0x95/0x140 block/blk-mq.c:1027 __do_softirq+0x382/0x793 kernel/softirq.c:571 run_ksoftirqd+0xc1/0x120 kernel/softirq.c:934 smpboot_thread_fn+0x523/0x880 kernel/smpboot.c:164 kthread+0x228/0x2a0 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 [ffffc90003e78000, ffffc90003e81000) created by: dup_task_struct+0x55/0x440 kernel/fork.c:977 The buggy address belongs to the physical page: page:ffffea0001fcab00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7f2ac flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 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 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 5868, tgid 5868 (syz-executor.0), ts 254514212959, free_ts 199565363324 prep_new_page mm/page_alloc.c:2532 [inline] get_page_from_freelist+0x72b/0x7a0 mm/page_alloc.c:4283 __alloc_pages+0x259/0x560 mm/page_alloc.c:5515 vm_area_alloc_pages mm/vmalloc.c:2958 [inline] __vmalloc_area_node mm/vmalloc.c:3026 [inline] __vmalloc_node_range+0x66f/0xfb0 mm/vmalloc.c:3196 alloc_thread_stack_node+0x27f/0x410 kernel/fork.c:312 dup_task_struct+0x55/0x440 kernel/fork.c:977 copy_process+0x401/0x3ae0 kernel/fork.c:2085 kernel_clone+0x193/0x600 kernel/fork.c:2671 __do_sys_clone kernel/fork.c:2805 [inline] __se_sys_clone kernel/fork.c:2789 [inline] __x64_sys_clone+0x271/0x2e0 kernel/fork.c:2789 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 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:1449 [inline] free_pcp_prepare+0x812/0x900 mm/page_alloc.c:1499 free_unref_page_prepare mm/page_alloc.c:3380 [inline] free_unref_page+0x7d/0x630 mm/page_alloc.c:3476 kasan_depopulate_vmalloc_pte+0x66/0x80 mm/kasan/shadow.c:372 apply_to_pte_range mm/memory.c:2633 [inline] apply_to_pmd_range mm/memory.c:2677 [inline] apply_to_pud_range mm/memory.c:2713 [inline] apply_to_p4d_range mm/memory.c:2749 [inline] __apply_to_page_range+0x6ff/0x890 mm/memory.c:2783 kasan_release_vmalloc+0x96/0xb0 mm/kasan/shadow.c:486 __purge_vmap_area_lazy+0x1397/0x14e0 mm/vmalloc.c:1753 drain_vmap_area_work+0x3c/0xd0 mm/vmalloc.c:1782 process_one_work+0x794/0xc10 kernel/workqueue.c:2289 worker_thread+0x8ff/0xfe0 kernel/workqueue.c:2436 kthread+0x228/0x2a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Memory state around the buggy address: ffffc90003e7f100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90003e7f180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90003e7f200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc90003e7f280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc90003e7f300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================