syzbot
UBSAN: shift-out-of-bounds in ext4_check_opt_consistency
Status:
upstream: reported C repro on 2026/01/05 06:19
Bug presence:
origin:lts
[Documentation on labels]
Reported-by: syzbot+04b7043650d5edd3069b@syzkaller.appspotmail.com
First crash: 202d, last: 16d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2026/01/06 |
lts (merge base) |
f6e38ae624cf |
C
|
[report] UBSAN: shift-out-of-bounds in ext4_check_opt_consistency
|
| 2026/01/06 |
upstream (ToT) |
7f98ab9da046 |
C
|
Didn't crash |
▶
▼
Last patch testing requests (7)
Sample crash report:
ext4 filesystem being mounted at /0/file1 supports timestamps until 2038-01-19 (0x7fffffff)
================================================================================
UBSAN: shift-out-of-bounds in fs/ext4/super.c:2756:15
shift exponent 1987084706 is too large for 32-bit type 'int'
CPU: 0 PID: 374 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
<TASK>
__dump_stack+0x21/0x24 lib/dump_stack.c:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x24 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_shift_out_of_bounds+0x364/0x3f0 lib/ubsan.c:321
ext4_check_opt_consistency+0x1353/0x16e0 fs/ext4/super.c:2756
ext4_reconfigure+0xc7/0x27b0 fs/ext4/super.c:6681
reconfigure_super+0x233/0x8b0 fs/super.c:982
do_remount fs/namespace.c:2742 [inline]
path_mount+0xce4/0xfd0 fs/namespace.c:3403
do_mount fs/namespace.c:3424 [inline]
__do_sys_mount fs/namespace.c:3632 [inline]
__se_sys_mount+0x320/0x390 fs/namespace.c:3609
__x64_sys_mount+0xbf/0xd0 fs/namespace.c:3609
x64_sys_call+0x65d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f9586f9de59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcc2bffff8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f9587225fa0 RCX: 00007f9586f9de59
RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000000000000000
RBP: 00007f9587033e6f R08: 0000200000000000 R09: 0000000000000000
R10: 0000000002200020 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9587225fac R14: 00007f9587225fa0 R15: 00007f9587225fa0
</TASK>
================================================================================
EXT4-fs: test_dummy_encryption requires encrypt feature
* Struck through repros no longer work on HEAD.