================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: null-ptr-deref in atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:1309 [inline] BUG: KASAN: null-ptr-deref in rwsem_read_trylock kernel/locking/rwsem.c:238 [inline] BUG: KASAN: null-ptr-deref in __down_read_common kernel/locking/rwsem.c:1251 [inline] BUG: KASAN: null-ptr-deref in __down_read kernel/locking/rwsem.c:1261 [inline] BUG: KASAN: null-ptr-deref in down_read+0xa5/0x450 kernel/locking/rwsem.c:1501 Write of size 8 at addr 00000000000000e8 by task syz-executor.3/24455 CPU: 1 PID: 24455 Comm: syz-executor.3 Not tainted 6.0.0-rc3-next-20220901-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 kasan_report+0xb1/0x1e0 mm/kasan/report.c:495 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:1309 [inline] rwsem_read_trylock kernel/locking/rwsem.c:238 [inline] __down_read_common kernel/locking/rwsem.c:1251 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0xa5/0x450 kernel/locking/rwsem.c:1501 mmap_read_lock include/linux/mmap_lock.h:117 [inline] binder_alloc_print_pages+0x65/0x3f0 drivers/android/binder_alloc.c:936 print_binder_proc_stats drivers/android/binder.c:6301 [inline] stats_show+0x417/0x620 drivers/android/binder.c:6364 seq_read_iter+0x4f5/0x1280 fs/seq_file.c:230 seq_read+0x16d/0x210 fs/seq_file.c:162 full_proxy_read+0x118/0x180 fs/debugfs/file.c:231 vfs_read+0x257/0x930 fs/read_write.c:468 ksys_read+0x127/0x250 fs/read_write.c:607 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7feaacc89409 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007feaadda2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007feaacd9bf80 RCX: 00007feaacc89409 RDX: 0000000000000008 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 00007feaacce4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd001aed2f R14: 00007feaadda2300 R15: 0000000000022000 ==================================================================