ERROR: (device loop1): jfs_readdir: JFS:Dtree error: ino = 2, bn=0, index = 6
ERROR: (device loop1): jfs_readdir: JFS:Dtree error: ino = 2, bn=0, index = 7
Oops: general protection fault, probably for non-canonical address 0xdffffc01877a8003: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: probably user-memory-access in range [0x0000000c3bd40018-0x0000000c3bd4001f]
CPU: 1 PID: 5097 Comm: syz-executor.1 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:smk_of_inode security/smack/smack.h:373 [inline]
RIP: 0010:smack_inode_permission+0x2bf/0x380 security/smack/smack_lsm.c:1234
Code: 49 83 c7 38 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 42 a4 98 fd 4c 63 35 73 98 7a 09 4d 03 37 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 23 a4 98 fd 49 8b 3e 8b 74 24 14 4c
RSP: 0018:ffffc900040e7900 EFLAGS: 00010206
RAX: 00000001877a8003 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900040e7948
RBP: ffffc900040e7a18 R08: ffffc900040e7987 R09: 0000000000000000
R10: ffffc900040e7968 R11: fffff5200081cf31 R12: 1ffff9200081cf24
R13: ffffc900040e7940 R14: 0000000c3bd40018 R15: ffff88805b18b2a8
FS: 0000555584eb9480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe2bdebcf8 CR3: 000000006189a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
security_inode_permission+0xa5/0x100 security/security.c:2216
may_lookup fs/namei.c:1726 [inline]
link_path_walk+0x2ef/0xea0 fs/namei.c:2273
path_lookupat+0xa9/0x450 fs/namei.c:2492
filename_lookup+0x256/0x610 fs/namei.c:2522
user_path_at_empty+0x42/0x60 fs/namei.c:2929
user_path_at include/linux/namei.h:58 [inline]
ksys_umount fs/namespace.c:1916 [inline]
__do_sys_umount fs/namespace.c:1924 [inline]
__se_sys_umount fs/namespace.c:1922 [inline]
__x64_sys_umount+0xf4/0x170 fs/namespace.c:1922
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:0x7fb55347e257
Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe2bdec4a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: ffffffffffffffda RBX: 00007fb5534d96c6 RCX: 00007fb55347e257
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe2bdec560
RBP: 00007ffe2bdec560 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe2bded650
R13: 00007fb5534d96c6 R14: 00007fb5534cadf8 R15: 0000000000000015
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:smk_of_inode security/smack/smack.h:373 [inline]
RIP: 0010:smack_inode_permission+0x2bf/0x380 security/smack/smack_lsm.c:1234
Code: 49 83 c7 38 4c 89 f8 48 c1 e8 03 80 3c 18 00 74 08 4c 89 ff e8 42 a4 98 fd 4c 63 35 73 98 7a 09 4d 03 37 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 23 a4 98 fd 49 8b 3e 8b 74 24 14 4c
RSP: 0018:ffffc900040e7900 EFLAGS: 00010206
RAX: 00000001877a8003 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900040e7948
RBP: ffffc900040e7a18 R08: ffffc900040e7987 R09: 0000000000000000
R10: ffffc900040e7968 R11: fffff5200081cf31 R12: 1ffff9200081cf24
R13: ffffc900040e7940 R14: 0000000c3bd40018 R15: ffff88805b18b2a8
FS: 0000555584eb9480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f07bfe725e8 CR3: 000000006189a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 49 83 c7 38 add $0x38,%r15
4: 4c 89 f8 mov %r15,%rax
7: 48 c1 e8 03 shr $0x3,%rax
b: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1)
f: 74 08 je 0x19
11: 4c 89 ff mov %r15,%rdi
14: e8 42 a4 98 fd call 0xfd98a45b
19: 4c 63 35 73 98 7a 09 movslq 0x97a9873(%rip),%r14 # 0x97a9893
20: 4d 03 37 add (%r15),%r14
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 f7 mov %r14,%rdi
33: e8 23 a4 98 fd call 0xfd98a45b
38: 49 8b 3e mov (%r14),%rdi
3b: 8b 74 24 14 mov 0x14(%rsp),%esi
3f: 4c rex.WR