syzbot
UBSAN: shift-out-of-bounds in exfat_fill_super (2)
Status:
upstream: reported C repro on 2025/09/21 18:12
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+84d69a20f88fd2cc8e89@syzkaller.appspotmail.com
First crash: 324d, last: 19d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2025/09/27 |
linux-5.15.y (ToT) |
43bb85222e53 |
C
|
[report] UBSAN: shift-out-of-bounds in exfat_fill_super
|
| 2025/09/27 |
upstream (ToT) |
fec734e8d564 |
C
|
Didn't crash |
▶
▼
Last patch testing requests (7)
▶
▼
Fix bisection attempts (7)
Sample crash report:
exFAT-fs (loop0): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
exFAT-fs (loop0): Medium has reported failures. Some data may be lost.
================================================================================
UBSAN: shift-out-of-bounds in fs/exfat/super.c:520:38
shift exponent 116 is too large for 32-bit type 'int'
CPU: 1 PID: 4347 Comm: syz.0.24 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
<TASK>
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
ubsan_epilogue+0xa/0x30 lib/ubsan.c:151
__ubsan_handle_shift_out_of_bounds+0x37c/0x400 lib/ubsan.c:321
exfat_read_boot_sector fs/exfat/super.c:520 [inline]
__exfat_fill_super fs/exfat/super.c:576 [inline]
exfat_fill_super+0x2943/0x2cf0 fs/exfat/super.c:644
get_tree_bdev+0x3f1/0x610 fs/super.c:1325
vfs_get_tree+0x88/0x270 fs/super.c:1530
do_new_mount+0x24a/0xa40 fs/namespace.c:3025
do_mount fs/namespace.c:3368 [inline]
__do_sys_mount fs/namespace.c:3576 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3553
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f85a7b223ca
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f85a718fe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f85a718fef0 RCX: 00007f85a7b223ca
RDX: 00002000000005c0 RSI: 0000200000000240 RDI: 00007f85a718feb0
RBP: 00002000000005c0 R08: 00007f85a718fef0 R09: 0000000003800052
R10: 0000000003800052 R11: 0000000000000246 R12: 0000200000000240
R13: 00007f85a718feb0 R14: 00000000000014fe R15: 0000200000000600
</TASK>
================================================================================
* Struck through repros no longer work on HEAD.