================================================================== 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:308 [inline] BUG: KASAN: out-of-bounds in end_buffer_read_sync+0xe4/0x190 fs/buffer.c:161 Write of size 4 at addr ffff800097ce73c0 by task ksoftirqd/1/22 CPU: 1 PID: 22 Comm: ksoftirqd/1 Not tainted 6.6.0-rc3-syzkaller-gbf6547d8715b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0x174/0x514 mm/kasan/report.c:475 kasan_report+0xd8/0x138 mm/kasan/report.c:588 kasan_check_range+0x254/0x294 mm/kasan/generic.c:187 __kasan_check_write+0x20/0x30 mm/kasan/shadow.c:37 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:308 [inline] end_buffer_read_sync+0xe4/0x190 fs/buffer.c:161 end_bio_bh_io_sync+0xb0/0x194 fs/buffer.c:2771 bio_endio+0x740/0x784 block/bio.c:1603 req_bio_endio block/blk-mq.c:783 [inline] blk_update_request+0x548/0x10b4 block/blk-mq.c:928 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1051 lo_complete_rq+0x188/0x2f4 drivers/block/loop.c:370 blk_complete_reqs block/blk-mq.c:1131 [inline] blk_done_softirq+0x11c/0x168 block/blk-mq.c:1136 __do_softirq+0x2d0/0xd54 kernel/softirq.c:553 run_ksoftirqd+0x6c/0x14c kernel/softirq.c:921 smpboot_thread_fn+0x4b0/0x90c kernel/smpboot.c:164 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:853 The buggy address belongs to the virtual mapping at [ffff800097ce0000, ffff800097ce9000) created by: copy_process+0x488/0x34b8 kernel/fork.c:2327 The buggy address belongs to the physical page: page:0000000027cd4a38 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x118d7a flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 05ffc00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff800097ce7280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff800097ce7300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff800097ce7380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff800097ce7400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff800097ce7480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================