================================================================== 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:303 [inline] BUG: KASAN: out-of-bounds in end_buffer_read_sync+0x93/0xe0 fs/buffer.c:161 Write of size 4 at addr ffffc9000394f890 by task ksoftirqd/3/32 CPU: 3 PID: 32 Comm: ksoftirqd/3 Not tainted 6.8.0-rc7-syzkaller-00229-g10d48d70e82d #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:377 [inline] print_report+0xc4/0x620 mm/kasan/report.c:488 kasan_report+0xda/0x110 mm/kasan/report.c:601 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0xef/0x1a0 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:303 [inline] end_buffer_read_sync+0x93/0xe0 fs/buffer.c:161 end_bio_bh_io_sync+0xdd/0x140 fs/buffer.c:2754 bio_endio+0x59c/0x6b0 block/bio.c:1608 req_bio_endio block/blk-mq.c:792 [inline] blk_update_request+0x635/0x1710 block/blk-mq.c:937 blk_mq_end_request+0x4f/0x90 block/blk-mq.c:1060 lo_complete_rq+0x232/0x2f0 drivers/block/loop.c:366 blk_complete_reqs+0xae/0xf0 block/blk-mq.c:1135 __do_softirq+0x21c/0x8e7 kernel/softirq.c:553 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x35/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x669/0xa20 kernel/smpboot.c:164 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 The buggy address belongs to the virtual mapping at [ffffc90003948000, ffffc90003951000) created by: kernel_clone+0xfd/0x930 kernel/fork.c:2902 The buggy address belongs to the physical page: page:ffffea0000f13c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x3c4f0 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() 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 5181, tgid 5181 (syz-executor.0), ts 58986489372, free_ts 0 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2d4/0x350 mm/page_alloc.c:1533 prep_new_page mm/page_alloc.c:1540 [inline] get_page_from_freelist+0xa28/0x3780 mm/page_alloc.c:3311 __alloc_pages+0x22c/0x2430 mm/page_alloc.c:4569 alloc_pages_mpol+0x258/0x600 mm/mempolicy.c:2133 vm_area_alloc_pages mm/vmalloc.c:3063 [inline] __vmalloc_area_node mm/vmalloc.c:3139 [inline] __vmalloc_node_range+0xa6e/0x1540 mm/vmalloc.c:3320 alloc_thread_stack_node kernel/fork.c:307 [inline] dup_task_struct kernel/fork.c:1112 [inline] copy_process+0x150b/0x97b0 kernel/fork.c:2327 kernel_clone+0xfd/0x930 kernel/fork.c:2902 __do_sys_clone+0xba/0x100 kernel/fork.c:3045 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 page_owner free stack trace missing Memory state around the buggy address: ffffc9000394f780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000394f800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc9000394f880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc9000394f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc9000394f980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================