================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:68 [inline] BUG: KASAN: null-ptr-deref in atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] BUG: KASAN: null-ptr-deref in buffer_busy fs/buffer.c:2886 [inline] BUG: KASAN: null-ptr-deref in drop_buffers+0x6f/0x710 fs/buffer.c:2898 Read of size 4 at addr 0000000000000060 by task syz.3.5842/2051 CPU: 1 UID: 0 PID: 2051 Comm: syz.3.5842 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_report+0xe8/0x550 mm/kasan/report.c:491 kasan_report+0x143/0x180 mm/kasan/report.c:601 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:68 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:32 [inline] buffer_busy fs/buffer.c:2886 [inline] drop_buffers+0x6f/0x710 fs/buffer.c:2898 try_to_free_buffers+0x295/0x5f0 fs/buffer.c:2952 shrink_folio_list+0x26c2/0x8c90 mm/vmscan.c:1413 evict_folios+0x5323/0x78c0 mm/vmscan.c:4559 try_to_shrink_lruvec+0x9ab/0xbb0 mm/vmscan.c:4754 shrink_one+0x3cc/0x880 mm/vmscan.c:4793 shrink_many mm/vmscan.c:4856 [inline] lru_gen_shrink_node mm/vmscan.c:4960 [inline] shrink_node+0x3979/0x4160 mm/vmscan.c:5940 shrink_zones mm/vmscan.c:6198 [inline] do_try_to_free_pages+0x5c2/0x1a50 mm/vmscan.c:6260 try_to_free_pages+0x9f0/0x10a0 mm/vmscan.c:6510 __perform_reclaim mm/page_alloc.c:3931 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:3953 [inline] __alloc_pages_slowpath+0xdc3/0x23d0 mm/page_alloc.c:4359 __alloc_pages_noprof+0x43e/0x6c0 mm/page_alloc.c:4745 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_mpol_noprof+0x372/0x680 mm/mempolicy.c:2250 folio_alloc_mpol_noprof mm/mempolicy.c:2281 [inline] vma_alloc_folio_noprof+0x12e/0x230 mm/mempolicy.c:2312 do_huge_pmd_anonymous_page+0x31d/0x1a30 mm/huge_memory.c:1126 create_huge_pmd mm/memory.c:5404 [inline] __handle_mm_fault mm/memory.c:5643 [inline] handle_mm_fault+0x148d/0x19a0 mm/memory.c:5837 faultin_page mm/gup.c:1194 [inline] __get_user_pages+0x6ec/0x16a0 mm/gup.c:1493 __get_user_pages_locked mm/gup.c:1760 [inline] __gup_longterm_locked+0x3ba/0x17d0 mm/gup.c:2494 gup_fast_fallback+0x2742/0x2b50 mm/gup.c:3385 pin_user_pages_fast+0xcc/0x160 mm/gup.c:3491 io_pin_pages+0x7e/0x170 io_uring/memmap.c:148 io_sqe_buffer_register+0x180/0x1b10 io_uring/rsrc.c:868 io_sqe_buffers_register+0x550/0x700 io_uring/rsrc.c:990 __io_uring_register io_uring/register.c:366 [inline] __do_sys_io_uring_register io_uring/register.c:561 [inline] __se_sys_io_uring_register+0xb22/0x15d0 io_uring/register.c:522 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7feb4a175bd9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007feb4af3e048 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007feb4a304038 RCX: 00007feb4a175bd9 RDX: 00000000200002c0 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007feb4a1e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 100000000000011a R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007feb4a304038 R15: 00007ffdf13dcca8 ==================================================================