hrtimer: interrupt took 73805 ns ================================================================== BUG: KASAN: out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:102 [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:320 [inline] BUG: KASAN: out-of-bounds in end_buffer_read_sync+0xbd/0xd0 fs/buffer.c:160 Write of size 4 at addr ffffc900050bf820 by task ksoftirqd/0/15 CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x15f/0x4f0 mm/kasan/report.c:395 kasan_report+0x136/0x160 mm/kasan/report.c:495 kasan_check_range+0x27f/0x290 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+0xbd/0xd0 fs/buffer.c:160 end_bio_bh_io_sync+0xb3/0x110 fs/buffer.c:2655 req_bio_endio block/blk-mq.c:777 [inline] blk_update_request+0x53b/0x1010 block/blk-mq.c:922 blk_mq_end_request+0x3a/0x70 block/blk-mq.c:1051 blk_complete_reqs block/blk-mq.c:1131 [inline] blk_done_softirq+0xf8/0x140 block/blk-mq.c:1136 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571 run_ksoftirqd+0xc1/0x120 kernel/softirq.c:934 smpboot_thread_fn+0x52c/0xa30 kernel/smpboot.c:164 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 The buggy address belongs to the virtual mapping at [ffffc900050b8000, ffffc900050c1000) created by: copy_process+0x637/0x4060 kernel/fork.c:2098 The buggy address belongs to the physical page: page:ffffea00017380c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5ce03 memcg:ffff888020f23182 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff ffff888020f23182 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 41, tgid 41 (kworker/u4:2), ts 304356187379, free_ts 292478192020 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x18d/0x1b0 mm/page_alloc.c:2513 prep_new_page mm/page_alloc.c:2520 [inline] get_page_from_freelist+0x31a1/0x3320 mm/page_alloc.c:4279 __alloc_pages+0x28d/0x770 mm/page_alloc.c:5547 vm_area_alloc_pages mm/vmalloc.c:2983 [inline] __vmalloc_area_node mm/vmalloc.c:3051 [inline] __vmalloc_node_range+0x96c/0x1460 mm/vmalloc.c:3223 alloc_thread_stack_node kernel/fork.c:311 [inline] dup_task_struct+0x3e5/0x6d0 kernel/fork.c:988 copy_process+0x637/0x4060 kernel/fork.c:2098 kernel_clone+0x222/0x920 kernel/fork.c:2682 user_mode_thread+0x12e/0x190 kernel/fork.c:2758 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0x93/0x220 kernel/umh.c:167 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1440 [inline] free_pcp_prepare mm/page_alloc.c:1490 [inline] free_unref_page_prepare+0xf63/0x1120 mm/page_alloc.c:3358 free_unref_page+0x33/0x3e0 mm/page_alloc.c:3453 bpf_ringbuf_free kernel/bpf/ringbuf.c:226 [inline] ringbuf_map_free+0xbe/0x110 kernel/bpf/ringbuf.c:235 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Memory state around the buggy address: ffffc900050bf700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900050bf780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc900050bf800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc900050bf880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900050bf900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================