================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:72 [inline] BUG: KASAN: null-ptr-deref in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] BUG: KASAN: null-ptr-deref in set_buffer_uptodate include/linux/buffer_head.h:148 [inline] BUG: KASAN: null-ptr-deref in do_journal_end+0x106c/0x4790 fs/reiserfs/journal.c:4083 Read of size 8 at addr 0000000000000000 by task syz-executor/5269 CPU: 1 PID: 5269 Comm: syz-executor Not tainted 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 kasan_report+0x10b/0x140 mm/kasan/report.c:531 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x27b/0x290 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] set_buffer_uptodate include/linux/buffer_head.h:148 [inline] do_journal_end+0x106c/0x4790 fs/reiserfs/journal.c:4083 reiserfs_sync_fs+0xcc/0x150 fs/reiserfs/super.c:78 sync_filesystem+0xe6/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x340 fs/super.c:474 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1182 task_work_run+0x1ca/0x250 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x936/0x2400 kernel/exit.c:871 do_group_exit+0x217/0x2d0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6f19b8e929 Code: Unable to access opcode bytes at 0x7f6f19b8e8ff. RSP: 002b:00007ffc7d1890b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f6f19c10997 RCX: 00007f6f19b8e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000010 R08: 00007ffc7d186e56 R09: 00007ffc7d18a370 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc7d18a370 R13: 00007f6f19c10925 R14: 000055558314a4a8 R15: 00007ffc7d18b440 ==================================================================