[v5.15] Internal error in do_vfs_ioctl

1 view
Skip to first unread message

syzbot

unread,
Aug 8, 2025, 11:17:34 AM8/8/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c79648372d02 Linux 5.15.189
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=144355bc580000
kernel config: https://syzkaller.appspot.com/x/.config?x=9e47345638b85bd0
dashboard link: https://syzkaller.appspot.com/bug?extid=2a75d7c5474ce8fa0ed5
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7ab49562317a/disk-c7964837.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e847ec1e38d3/vmlinux-c7964837.xz
kernel image: https://storage.googleapis.com/syzbot-assets/263158c6371c/Image-c7964837.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2a75d7...@syzkaller.appspotmail.com

Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 6634 Comm: syz.3.1088 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 42400405 (nZcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=jc)
pc : ioctl_fibmap fs/ioctl.c:70 [inline]
pc : file_ioctl fs/ioctl.c:331 [inline]
pc : do_vfs_ioctl+0x1e44/0x2370 fs/ioctl.c:853
lr : ioctl_fibmap fs/ioctl.c:69 [inline]
lr : file_ioctl fs/ioctl.c:331 [inline]
lr : do_vfs_ioctl+0x1e18/0x2370 fs/ioctl.c:853
sp : ffff80001f217a00
x29: ffff80001f217cd0 x28: dfff800000000000 x27: ffff700003e42f48
x26: 0000000000000000 x25: ffff80001f217a40 x24: 0000000000000000
x23: ffff0000d61a9b40 x22: 00000000fffffff2 x21: ffff0000d56c3f58
x20: ffff0000d324cf00 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000002 x16: ffff8000089234c8 x15: 0000000040305839
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000002 x9 : 0000000000000000
x8 : 0000ffffffffffff x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
ioctl_fibmap fs/ioctl.c:69 [inline]
file_ioctl fs/ioctl.c:331 [inline]
do_vfs_ioctl+0x1e44/0x2370 fs/ioctl.c:853
__do_sys_ioctl fs/ioctl.c:872 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:860
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: ea28031f 9a9f0269 d503229f b840093a (2a1603e1)
---[ end trace 46bfd96a3ee8ab07 ]---
----------------
Code disassembly (best guess):
0: ea28031f bics xzr, x24, x8
4: 9a9f0269 csel x9, x19, xzr, eq // eq = none
8: d503229f csdb
c: b840093a ldtr w26, [x9]
* 10: 2a1603e1 mov w1, w22 <-- trapping instruction


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Aug 10, 2025, 8:03:26 PM8/10/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: c79648372d02 Linux 5.15.189
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=110dc9a2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=9e47345638b85bd0
dashboard link: https://syzkaller.appspot.com/bug?extid=2a75d7c5474ce8fa0ed5
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1333b434580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7ab49562317a/disk-c7964837.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e847ec1e38d3/vmlinux-c7964837.xz
kernel image: https://storage.googleapis.com/syzbot-assets/263158c6371c/Image-c7964837.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2a75d7...@syzkaller.appspotmail.com

Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4188 Comm: syz.0.17 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 42400405 (nZcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=jc)
pc : ioctl_fibmap fs/ioctl.c:70 [inline]
pc : file_ioctl fs/ioctl.c:331 [inline]
pc : do_vfs_ioctl+0x1e44/0x2370 fs/ioctl.c:853
lr : ioctl_fibmap fs/ioctl.c:69 [inline]
lr : file_ioctl fs/ioctl.c:331 [inline]
lr : do_vfs_ioctl+0x1e18/0x2370 fs/ioctl.c:853
sp : ffff80001f6a7a00
x29: ffff80001f6a7cd0 x28: dfff800000000000 x27: ffff700003ed4f48
x26: 0000000000000000 x25: ffff80001f6a7a40 x24: 0000000000000000
x23: ffff0000ce7751c0 x22: 00000000fffffff2 x21: ffff0000d89f0128
x20: ffff0000d0be6280 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000089234c8 x15: 0000000040305839
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
x8 : 0000ffffffffffff x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
ioctl_fibmap fs/ioctl.c:69 [inline]
file_ioctl fs/ioctl.c:331 [inline]
do_vfs_ioctl+0x1e44/0x2370 fs/ioctl.c:853
__do_sys_ioctl fs/ioctl.c:872 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:860
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: ea28031f 9a9f0269 d503229f b840093a (2a1603e1)
---[ end trace f5bb62ba92efa8e8 ]---
----------------
Code disassembly (best guess):
0: ea28031f bics xzr, x24, x8
4: 9a9f0269 csel x9, x19, xzr, eq // eq = none
8: d503229f csdb
c: b840093a ldtr w26, [x9]
* 10: 2a1603e1 mov w1, w22 <-- trapping instruction


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Aug 11, 2025, 7:00:41 AM8/11/25
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: c79648372d02 Linux 5.15.189
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1095f9a2580000
kernel config: https://syzkaller.appspot.com/x/.config?x=9e47345638b85bd0
dashboard link: https://syzkaller.appspot.com/bug?extid=2a75d7c5474ce8fa0ed5
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1495f9a2580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17c2f434580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7ab49562317a/disk-c7964837.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e847ec1e38d3/vmlinux-c7964837.xz
kernel image: https://storage.googleapis.com/syzbot-assets/263158c6371c/Image-c7964837.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2a75d7...@syzkaller.appspotmail.com

Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4213 Comm: syz.0.17 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 42400405 (nZcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=jc)
pc : ioctl_setflags fs/ioctl.c:728 [inline]
pc : do_vfs_ioctl+0xe80/0x2370 fs/ioctl.c:843
lr : ioctl_setflags fs/ioctl.c:727 [inline]
lr : do_vfs_ioctl+0xe58/0x2370 fs/ioctl.c:843
sp : ffff80001fb87a00
x29: ffff80001fb87cd0 x28: dfff800000000000 x27: ffff700003f70f48
x26: 1fffe00019af4a38 x25: ffff80001fb87a40 x24: 0000000000000000
x23: ffff0000c04b3318 x22: 00000000fffffff2 x21: ffff8000141efd40
x20: ffff0000c8ea4a00 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800008922504 x15: 00000000c020660b
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000ffffffffffff
x8 : 0000000000000000 x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
ioctl_setflags fs/ioctl.c:727 [inline]
do_vfs_ioctl+0xe80/0x2370 fs/ioctl.c:843
__do_sys_ioctl fs/ioctl.c:872 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:860
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: ea29011f 9a9f026a d503229f b8400958 (2a1603e1)
---[ end trace 3df0722391cdc7ba ]---
----------------
Code disassembly (best guess):
0: ea29011f bics xzr, x8, x9
4: 9a9f026a csel x10, x19, xzr, eq // eq = none
8: d503229f csdb
c: b8400958 ldtr w24, [x10]
* 10: 2a1603e1 mov w1, w22 <-- trapping instruction


---
Reply all
Reply to author
Forward
0 new messages