UBSAN: shift-out-of-bounds in parse_options

Status: upstream: reported C repro on 2023/01/08 05:56
Bug presence: origin:lts
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+298c1c62e38088db169c@syzkaller.appspotmail.com
First crash: 1303d, last: 1h11m
Cause bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/10/28 lts (merge base) 12952a23a5da C [report] UBSAN: shift-out-of-bounds in parse_options
2023/10/28 upstream (ToT) 56567a20b22b C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 UBSAN: shift-out-of-bounds in parse_options origin:lts-only -1 syz, C inconclusive 368 1d01h 719d 0/3 upstream: reported C repro on 2024/08/13 23:52
linux-5.15 UBSAN: shift-out-of-bounds in parse_options origin:lts-only -1 syz, C unreliable 479 28d 987d 0/3 upstream: reported C repro on 2023/11/19 20:08
android-6-1 UBSAN: shift-out-of-bounds in parse_options origin:lts -1 syz, C 1004 12h17m 716d 0/2 upstream: reported C repro on 2024/08/17 08:59
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/04/12 05:56 22m tudor.ambarus@linaro.org git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev OK log
2023/04/07 11:02 12m tudor.ambarus@linaro.org git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-5.15.y report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/06/03 21:48 50m bisect fix android13-5.15-lts OK (0) job log log
2023/12/16 15:24 36m bisect fix android13-5.15-lts OK (0) job log log
2023/10/28 01:39 34m bisect fix android13-5.15-lts OK (0) job log log
2023/06/09 23:50 16m bisect fix android13-5.15-lts OK (0) job log log
2023/05/10 18:57 41m bisect fix android13-5.15-lts OK (0) job log log
2023/04/09 01:19 22m bisect fix android13-5.15-lts OK (0) job log log
2023/03/09 18:29 45m bisect fix android13-5.15-lts OK (0) job log log
2023/02/07 17:54 18m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
loop2: detected capacity change from 0 to 40427
================================================================================
UBSAN: shift-out-of-bounds in fs/f2fs/super.c:934:5
shift exponent 114 is too large for 32-bit type 'int'
CPU: 0 PID: 373 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/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
 dump_stack+0x15/0x20 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
 parse_options+0x476a/0x4790 fs/f2fs/super.c:935
 f2fs_fill_super+0x1f09/0x6dd0 fs/f2fs/super.c:4242
 mount_bdev+0x28d/0x3c0 fs/super.c:1400
 f2fs_mount+0x34/0x40 fs/f2fs/super.c:4708
 legacy_get_tree+0xed/0x190 fs/fs_context.c:611
 vfs_get_tree+0x89/0x260 fs/super.c:1530
 do_new_mount+0x251/0xb40 fs/namespace.c:3037
 path_mount+0x640/0xff0 fs/namespace.c:3367
 do_mount fs/namespace.c:3380 [inline]
 __do_sys_mount fs/namespace.c:3588 [inline]
 __se_sys_mount+0x320/0x390 fs/namespace.c:3565
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3565
 x64_sys_call+0x6bf/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
 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:0x7fe708ace0ca
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcd12e2cc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffcd12e2d50 RCX: 00007fe708ace0ca
RDX: 0000200000000000 RSI: 0000200000000080 RDI: 00007ffcd12e2d10
RBP: 0000200000000000 R08: 00007ffcd12e2d50 R09: 0000000000000010
R10: 0000000000000010 R11: 0000000000000246 R12: 0000200000000080
R13: 00007ffcd12e2d10 R14: 0000000000005518 R15: 00002000000001c0
 </TASK>
================================================================================
F2FS-fs (loop2): Not support 262144, larger than 256

Crashes (2216):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/28 05:28 android13-5.15-lts c85054db4618 fb92f11c .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/06/27 01:08 android13-5.15-lts c85054db4618 fb92f11c .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/05/16 19:15 android13-5.15-lts 7f4b368e0410 a15a64a6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/05/11 17:40 android13-5.15-lts 5628bb722180 845acb1c .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (corrupt fs)] [mounted in repro #2 (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/04/29 01:44 android13-5.15-lts e63ebedc51b2 95008c03 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/04/15 06:18 android13-5.15-lts 7fad219d720d e2e976a8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/03/19 18:22 android13-5.15-lts 60dba25bf158 bd6dcb30 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/02/22 06:38 android13-5.15-lts 13d6d33696ef 6e7b5511 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/02/14 00:35 android13-5.15-lts 13d6d33696ef 1e62d198 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/01/07 11:15 android13-5.15-lts 050dc55b0457 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/12/01 16:59 android13-5.15-lts 057fdbf6d3c7 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (clean fs)] [mounted in repro #3 (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/11/26 16:45 android13-5.15-lts 057fdbf6d3c7 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/11/22 01:42 android13-5.15-lts 057fdbf6d3c7 4fb8ef37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/09/16 05:16 android13-5.15-lts 8d934e0056f7 e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/08/10 03:44 android13-5.15-lts f32b52534f1d 32a0e5ed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/21 16:31 android13-5.15-lts e678c93d43cc d6cdfb8a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/05/19 16:09 android13-5.15-lts 57725b368731 b84f0537 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/04/01 11:08 android13-5.15-lts 5e1b899f19c3 36d76a97 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/02/02 04:51 android13-5.15-lts d1a25a6a4b3b 568559e4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/02/01 02:51 android13-5.15-lts d1a25a6a4b3b aa47157c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/01/30 06:53 android13-5.15-lts d1a25a6a4b3b afe4eff5 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2024/12/15 03:15 android13-5.15-lts 6f0de8f8a165 7cbfbb3a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2024/10/17 14:28 android13-5.15-lts 5e4635681cf1 666f77ed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2024/07/07 14:28 android13-5.15-lts 9044d25b8ff5 2a40360c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2023/12/28 08:08 android13-5.15-lts 28e3f5851a99 fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2023/11/02 05:55 android13-5.15-lts 61cfd264993d 69904c9f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2023/07/03 09:57 android13-5.15-lts 241da2ad5601 bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2023/01/08 05:54 android13-5.15-lts c73b4619ad86 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/07/30 10:24 android13-5.15-lts f32b52534f1d f8f2b4da .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/03 18:15 android13-5.15-lts b885b84af7a2 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/03 09:06 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/03 07:20 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/03 06:06 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/03 02:45 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 23:17 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 21:09 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 19:03 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 16:43 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 15:07 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 13:45 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 12:12 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 09:25 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 07:17 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/02 00:33 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/01 22:58 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/01 21:20 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/01 19:49 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/01 16:59 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/01 15:20 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/01 14:06 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/08/01 11:43 android13-5.15-lts 61d896ee2a80 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/31 21:39 android13-5.15-lts 61d896ee2a80 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/31 10:20 android13-5.15-lts 61d896ee2a80 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/31 06:21 android13-5.15-lts 61d896ee2a80 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/31 03:11 android13-5.15-lts 61d896ee2a80 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/30 23:08 android13-5.15-lts 61d896ee2a80 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/30 21:48 android13-5.15-lts 61d896ee2a80 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/30 14:49 android13-5.15-lts 61d896ee2a80 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/29 20:45 android13-5.15-lts 61d896ee2a80 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/29 11:00 android13-5.15-lts 61d896ee2a80 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/29 03:56 android13-5.15-lts 61d896ee2a80 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/28 16:48 android13-5.15-lts 61d896ee2a80 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/28 10:08 android13-5.15-lts 61d896ee2a80 45ae1df4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/27 23:09 android13-5.15-lts 61d896ee2a80 aae9036b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/27 04:16 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/27 01:31 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/26 08:55 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/25 10:52 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/25 09:37 android13-5.15-lts 61d896ee2a80 492bab15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/24 07:42 android13-5.15-lts 61d896ee2a80 544adce9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/23 23:59 android13-5.15-lts 61d896ee2a80 71a13572 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/23 22:32 android13-5.15-lts 61d896ee2a80 71a13572 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/23 07:18 android13-5.15-lts 61d896ee2a80 881ce5c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/22 21:49 android13-5.15-lts 61d896ee2a80 4a865b71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2026/07/22 20:01 android13-5.15-lts 61d896ee2a80 4a865b71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
* Struck through repros no longer work on HEAD.