================================================================== 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+0x65/0x4f0 fs/buffer.c:2898 Read of size 4 at addr 0000000000000060 by task syz.0.7161/3696 CPU: 0 UID: 0 PID: 3696 Comm: syz.0.7161 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 kasan_report+0x118/0x150 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x2b0/0x2c0 mm/kasan/generic.c:200 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+0x65/0x4f0 fs/buffer.c:2898 try_to_free_buffers+0x1e1/0x2d0 fs/buffer.c:2952 shrink_folio_list+0x20ac/0x4c70 mm/vmscan.c:1511 evict_folios+0x47f2/0x58b0 mm/vmscan.c:4737 try_to_shrink_lruvec+0x8a3/0xb50 mm/vmscan.c:4900 lru_gen_shrink_lruvec mm/vmscan.c:5049 [inline] shrink_lruvec+0x49c/0x2980 mm/vmscan.c:5810 shrink_node_memcgs mm/vmscan.c:6046 [inline] shrink_node+0xa4e/0x3760 mm/vmscan.c:6087 shrink_zones mm/vmscan.c:6331 [inline] do_try_to_free_pages+0x668/0x1960 mm/vmscan.c:6393 try_to_free_mem_cgroup_pages+0x2fa/0x7e0 mm/vmscan.c:6721 try_charge_memcg+0xa40/0x1290 mm/memcontrol.c:2354 try_charge mm/memcontrol.c:2496 [inline] charge_memcg+0x9f/0x180 mm/memcontrol.c:4699 __mem_cgroup_charge+0x25/0x80 mm/memcontrol.c:4716 mem_cgroup_charge include/linux/memcontrol.h:654 [inline] shmem_alloc_and_add_folio+0x7c1/0xf60 mm/shmem.c:1957 shmem_get_folio_gfp+0x59d/0x1660 mm/shmem.c:2597 shmem_fault+0x179/0x390 mm/shmem.c:2798 __do_fault+0x138/0x390 mm/memory.c:5280 do_read_fault mm/memory.c:5703 [inline] do_fault mm/memory.c:5837 [inline] do_pte_missing mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:6182 [inline] __handle_mm_fault+0x35e3/0x5400 mm/memory.c:6323 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6492 faultin_page mm/gup.c:1144 [inline] __get_user_pages+0x1699/0x2ce0 mm/gup.c:1446 populate_vma_page_range+0x29f/0x3a0 mm/gup.c:1880 __mm_populate+0x24c/0x380 mm/gup.c:1983 mm_populate include/linux/mm.h:3423 [inline] __do_sys_remap_file_pages mm/mmap.c:1200 [inline] __se_sys_remap_file_pages+0x46a/0x840 mm/mmap.c:1087 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f41e758ebe9 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:00007f41e847a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d8 RAX: ffffffffffffffda RBX: 00007f41e77b6090 RCX: 00007f41e758ebe9 RDX: 0000000000000000 RSI: 0000000000200000 RDI: 00002000002ec000 RBP: 00007f41e7611e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f41e77b6128 R14: 00007f41e77b6090 R15: 00007ffe4a4ad2d8 ==================================================================