BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 2a012067
P4D 2a012067
PUD 21e2a067
PMD 0
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5498 Comm: syz-executor.0 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90000007e00 EFLAGS: 00010246
RAX: ffff888026cf0000 RBX: ffff8880b982bbc0 RCX: 1ffff11004d9e155
RDX: ffff888026cf0000 RSI: ffffffff817623af RDI: ffff88806a30eee0
RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000003 R12: ffff8880b982b940
R13: 0000000000000000 R14: ffff88806a30eee0 R15: 0000000000000000
FS: 0000555557019480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000007aba6000 CR4: 0000000000350ef0
Call Trace:
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x203/0xc20 kernel/time/hrtimer.c:1752
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1769
__do_softirq+0x21a/0x8de kernel/softirq.c:553
invoke_softirq kernel/softirq.c:427 [inline]
__irq_exit_rcu kernel/softirq.c:632 [inline]
irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:memmove+0x3d/0x1b0 arch/x86/lib/memmove_64.S:66
Code: 39 f8 0f 8f b5 00 00 00 48 83 fa 20 0f 82 01 01 00 00 66 0f 1f 44 00 00 48 81 fa a8 02 00 00 72 05 40 38 fe 74 47 48 83 ea 20 <48> 83 ea 20 4c 8b 1e 4c 8b 56 08 4c 8b 4e 10 4c 8b 46 18 48 8d 76
RSP: 0018:ffffc90005256cf0 EFLAGS: 00000282
RAX: ffff8880663d50c0 RBX: 0000000000000006 RCX: 0000000000000000
RDX: fffffffff9f3e598 RSI: ffff88806c497960 RDI: ffff88806c496a20
RBP: 00000000000000c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000f18
R13: ffff888067480ea8 R14: 0000000000000000 R15: ffff8880663d50a8
leaf_insert_into_buf+0x303/0xa30 fs/reiserfs/lbalance.c:933
balance_leaf_new_nodes_insert fs/reiserfs/do_balan.c:1001 [inline]
balance_leaf_new_nodes fs/reiserfs/do_balan.c:1243 [inline]
balance_leaf+0x2ff4/0xcda0 fs/reiserfs/do_balan.c:1450
do_balance+0x337/0x840 fs/reiserfs/do_balan.c:1888
reiserfs_insert_item+0xadd/0xe20 fs/reiserfs/stree.c:2260
indirect2direct+0x6d8/0xa20 fs/reiserfs/tail_conversion.c:283
maybe_indirect_to_direct fs/reiserfs/stree.c:1585 [inline]
reiserfs_cut_from_item+0xa82/0x1a10 fs/reiserfs/stree.c:1692
reiserfs_do_truncate+0x672/0x10b0 fs/reiserfs/stree.c:1971
reiserfs_truncate_file+0x1bf/0x940 fs/reiserfs/inode.c:2302
reiserfs_file_release+0xae3/0xc40 fs/reiserfs/file.c:109
__fput+0x270/0xb70 fs/file_table.c:394
__fput_sync+0x47/0x50 fs/file_table.c:475
__do_sys_close fs/open.c:1587 [inline]
__se_sys_close fs/open.c:1572 [inline]
__x64_sys_close+0x87/0xf0 fs/open.c:1572
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f6c04e7ba9a
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007ffe965ea8c0 EFLAGS: 00000293
ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f6c04e7ba9a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 0000000000000032 R08: 0000001b2eb60000 R09: 00007f6c04f9bf8c
R10: 00007ffe965eaa10 R11: 0000000000000293 R12: 00007f6c04a015a8
R13: ffffffffffffffff R14: 00007f6c04a00000 R15: 0000000000014473
Modules linked in:
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90000007e00 EFLAGS: 00010246
RAX: ffff888026cf0000 RBX: ffff8880b982bbc0 RCX: 1ffff11004d9e155
RDX: ffff888026cf0000 RSI: ffffffff817623af RDI: ffff88806a30eee0
RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000003 R12: ffff8880b982b940
R13: 0000000000000000 R14: ffff88806a30eee0 R15: 0000000000000000
FS: 0000555557019480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000007aba6000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 39 f8 cmp %edi,%eax
2: 0f 8f b5 00 00 00 jg 0xbd
8: 48 83 fa 20 cmp $0x20,%rdx
c: 0f 82 01 01 00 00 jb 0x113
12: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
18: 48 81 fa a8 02 00 00 cmp $0x2a8,%rdx
1f: 72 05 jb 0x26
21: 40 38 fe cmp %dil,%sil
24: 74 47 je 0x6d
26: 48 83 ea 20 sub $0x20,%rdx
* 2a: 48 83 ea 20 sub $0x20,%rdx <-- trapping instruction
2e: 4c 8b 1e mov (%rsi),%r11
31: 4c 8b 56 08 mov 0x8(%rsi),%r10
35: 4c 8b 4e 10 mov 0x10(%rsi),%r9
39: 4c 8b 46 18 mov 0x18(%rsi),%r8
3d: 48 rex.W
3e: 8d .byte 0x8d
3f: 76 .byte 0x76