==================================================================
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:2882 [inline]
BUG: KASAN: null-ptr-deref in drop_buffers+0x6f/0x710 fs/buffer.c:2894
Read of size 4 at addr 0000000000000060 by task syz.3.1228/19341

CPU: 1 UID: 0 PID: 19341 Comm: syz.3.1228 Not tainted 6.12.0-syzkaller-03657-g43fb83c17ba2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Call Trace:
 <TASK>
 __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:2882 [inline]
 drop_buffers+0x6f/0x710 fs/buffer.c:2894
 try_to_free_buffers+0x295/0x5f0 fs/buffer.c:2948
 shrink_folio_list+0x23d1/0x8fe0 mm/vmscan.c:1433
 shrink_inactive_list mm/vmscan.c:1960 [inline]
 shrink_list mm/vmscan.c:2197 [inline]
 shrink_lruvec+0x16db/0x2f30 mm/vmscan.c:5715
 shrink_node_memcgs mm/vmscan.c:5917 [inline]
 shrink_node+0x12a4/0x2df0 mm/vmscan.c:5957
 shrink_zones mm/vmscan.c:6201 [inline]
 do_try_to_free_pages+0x69d/0x1b20 mm/vmscan.c:6263
 try_to_free_mem_cgroup_pages+0x4b8/0xb10 mm/vmscan.c:6595
 try_charge_memcg+0x8c2/0x1170 mm/memcontrol.c:2211
 try_charge mm/memcontrol-v1.h:19 [inline]
 charge_memcg+0xa6/0x1e0 mm/memcontrol.c:4472
 __mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:4487
 mem_cgroup_charge include/linux/memcontrol.h:694 [inline]
 filemap_add_folio+0xb3/0x650 mm/filemap.c:967
 do_read_cache_folio+0x341/0x850 mm/filemap.c:3794
 read_mapping_folio include/linux/pagemap.h:1011 [inline]
 dir_get_folio fs/sysv/dir.c:64 [inline]
 sysv_readdir+0x193/0x540 fs/sysv/dir.c:93
 iterate_dir+0x571/0x800 fs/readdir.c:108
 __do_sys_getdents64 fs/readdir.c:403 [inline]
 __se_sys_getdents64+0x1e2/0x4b0 fs/readdir.c:389
 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:0x7f582bd7e819
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:00007f582cb8c038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f582bf36080 RCX: 00007f582bd7e819
RDX: 0000000000001000 RSI: 0000000020000f80 RDI: 0000000000000007
RBP: 00007f582bdf175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f582bf36080 R15: 00007ffe494fb518
 </TASK>
==================================================================