loop4: detected capacity change from 0 to 512
EXT2-fs (loop4): warning: mounting ext3 filesystem as ext2
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 28362 at kernel/locking/mutex.c:582 __mutex_lock_common+0x142c/0x1f38 kernel/locking/mutex.c:582
Modules linked in:
CPU: 0 PID: 28362 Comm: syz.4.11054 Not tainted 6.1.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __mutex_lock_common+0x142c/0x1f38 kernel/locking/mutex.c:582
lr : __mutex_lock_common+0x142c/0x1f38 kernel/locking/mutex.c:582
sp : ffff800021057420
x29: ffff800021057570 x28: dfff800000000000 x27: ffff70000420ae98
x26: 0000000000000000 x25: ffff800008ce8318 x24: 0000000000000000
x23: 0000000000000000 x22: 0000000000000000 x21: ffff8000210574e0
x20: 0000000000000000 x19: ffff0000db744828 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800008042940 x15: 0000000000000002
x14: 00000000ffffffff x13: 0000000000024cc0 x12: 0000000000080000
x11: 0000000000002e3f x10: ffff80002d8dc000 x9 : 8d7a80148a6e8900
x8 : 8d7a80148a6e8900 x7 : 0000000000024cc0 x6 : 0000000000024c90
x5 : ffff800021056eb8 x4 : ffff800015144bf8 x3 : ffff80000852d748
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000
Call trace:
__mutex_lock_common+0x142c/0x1f38 kernel/locking/mutex.c:582
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27
reiserfs_lookup+0x11c/0x378 fs/reiserfs/namei.c:364
__lookup_slow+0x24c/0x370 fs/namei.c:1690
lookup_slow+0x5c/0x80 fs/namei.c:1707
walk_component+0x270/0x364 fs/namei.c:1998
lookup_last fs/namei.c:2455 [inline]
path_lookupat+0x13c/0x3d0 fs/namei.c:2479
filename_lookup+0x190/0x42c fs/namei.c:2508
user_path_at_empty+0x5c/0x84 fs/namei.c:2905
user_path_at include/linux/namei.h:57 [inline]
do_sys_truncate+0xb0/0x1b0 fs/open.c:132
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 2209
hardirqs last enabled at (2209): [<ffff8000089f3e48>] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline]
hardirqs last enabled at (2209): [<ffff8000089f3e48>] read_seqbegin+0xe8/0x178 include/linux/seqlock.h:893
hardirqs last disabled at (2208): [<ffff8000089f3dd0>] seqcount_lockdep_reader_access include/linux/seqlock.h:101 [inline]
hardirqs last disabled at (2208): [<ffff8000089f3dd0>] read_seqbegin+0x70/0x178 include/linux/seqlock.h:893
softirqs last enabled at (2178): [<ffff8000080306dc>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (2176): [<ffff8000080306a8>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---
Unable to handle kernel paging request at virtual address dfff80000000000a
KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057]
Mem abort info:
ESR = 0x0000000096000006
EC = 0x25: DABT (current EL), IL = 32 bits
SET = 0, FnV = 0
EA = 0, S1PTW = 0
FSC = 0x06: level 2 translation fault
Data abort info:
ISV = 0, ISS = 0x00000006
CM = 0, WnR = 0
[dfff80000000000a] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 28362 Comm: syz.4.11054 Tainted: G W 6.1.138-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : owner_on_cpu include/linux/sched.h:2291 [inline]
pc : mutex_can_spin_on_owner kernel/locking/mutex.c:409 [inline]
pc : mutex_optimistic_spin+0x1f8/0x3f4 kernel/locking/mutex.c:452
lr : instrument_atomic_read include/linux/instrumented.h:72 [inline]
lr : atomic_long_read include/linux/atomic/atomic-instrumented.h:1265 [inline]
lr : __mutex_owner kernel/locking/mutex.c:81 [inline]
lr : mutex_can_spin_on_owner kernel/locking/mutex.c:407 [inline]
lr : mutex_optimistic_spin+0x1d0/0x3f4 kernel/locking/mutex.c:452
sp : ffff8000210573d0
x29: ffff8000210573d0 x28: dfff800000000000 x27: ffff70000420ae98
x26: 0000000000000000 x25: ffff800008ce8318 x24: 0000000000000020
x23: dfff800000000000 x22: 0000000000000054 x21: 0000000000000000
x20: 0000000000000000 x19: ffff0000db744828 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082c8e70 x15: 0000000000000002
x14: 00000000ffffffff x13: 0000000000024cc0 x12: 0000000000000001
x11: 1fffe0001b6e8905 x10: 0000000000000000 x9 : 0000000000000000
x8 : 000000000000000a x7 : 0000000000024cc0 x6 : ffff800008ce8318
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082c9040
x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001
Call trace:
owner_on_cpu include/linux/sched.h:2291 [inline]
mutex_can_spin_on_owner kernel/locking/mutex.c:409 [inline]
mutex_optimistic_spin+0x1f8/0x3f4 kernel/locking/mutex.c:452
__mutex_lock_common+0x1bc/0x1f38 kernel/locking/mutex.c:607
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799
reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27
reiserfs_lookup+0x11c/0x378 fs/reiserfs/namei.c:364
__lookup_slow+0x24c/0x370 fs/namei.c:1690
lookup_slow+0x5c/0x80 fs/namei.c:1707
walk_component+0x270/0x364 fs/namei.c:1998
lookup_last fs/namei.c:2455 [inline]
path_lookupat+0x13c/0x3d0 fs/namei.c:2479
filename_lookup+0x190/0x42c fs/namei.c:2508
user_path_at_empty+0x5c/0x84 fs/namei.c:2905
user_path_at include/linux/namei.h:57 [inline]
do_sys_truncate+0xb0/0x1b0 fs/open.c:132
__do_sys_truncate fs/open.c:146 [inline]
__se_sys_truncate fs/open.c:144 [inline]
__arm64_sys_truncate+0x5c/0x70 fs/open.c:144
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: f27df118 54000180 9100d316 d343fec8 (38f76908)
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
0: f27df118 ands x24, x8, #0xfffffffffffffff8
4: 54000180 b.eq 0x34 // b.none
8: 9100d316 add x22, x24, #0x34
c: d343fec8 lsr x8, x22, #3
* 10: 38f76908 ldrsb w8, [x8, x23] <-- trapping instruction