syzbot


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: 911d, last: 1d01h
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 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 UBSAN: shift-out-of-bounds in parse_options origin:lts-only C inconclusive 136 3d12h 327d 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 C unreliable 323 5h58m 596d 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 C 270 18h49m 324d 0/2 upstream: reported C repro on 2024/08/17 08:59
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/08/08 10:52 10m retest repro android13-5.15-lts report log
2024/07/21 18:38 5m retest repro android13-5.15-lts report log
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:
================================================================================
UBSAN: shift-out-of-bounds in fs/f2fs/super.c:911:5
shift exponent 152 is too large for 32-bit type 'int'
CPU: 0 PID: 288 Comm: syz-executor319 Not tainted 5.15.185-syzkaller-00339-ge678c93d43cc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:88
 dump_stack_lvl+0xee/0x150 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+0x37c/0x400 lib/ubsan.c:321
 parse_options+0x442f/0x4460 fs/f2fs/super.c:911
 f2fs_fill_super+0x1f9d/0x6d10 fs/f2fs/super.c:4166
 mount_bdev+0x2ae/0x3e0 fs/super.c:1400
 f2fs_mount+0x34/0x40 fs/f2fs/super.c:4635
 legacy_get_tree+0xed/0x190 fs/fs_context.c:611
 vfs_get_tree+0x89/0x260 fs/super.c:1530
 do_new_mount+0x25a/0xa20 fs/namespace.c:3010
 path_mount+0x675/0x1020 fs/namespace.c:3340
 do_mount fs/namespace.c:3353 [inline]
 __do_sys_mount fs/namespace.c:3561 [inline]
 __se_sys_mount+0x318/0x380 fs/namespace.c:3538
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3538
 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:0x7f2a8e46dcfa
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff12938bb8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fff12938bd0 RCX: 00007f2a8e46dcfa
RDX: 0000200000000140 RSI: 0000200000000000 RDI: 00007fff12938bd0
RBP: 0000200000000000 R08: 00007fff12938c10 R09: 000000000000550e
R10: 0000000000000000 R11: 0000000000000286 R12: 0000200000000140
R13: 00007fff12938c10 R14: 0000000000000003 R15: 0000000000000000
 </TASK>
================================================================================
F2FS-fs (loop0): Not support 16777216, larger than 256

Crashes (537):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/06 20:05 android13-5.15-lts 5cf73bface18 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/07/04 03:14 android13-5.15-lts 41b0e17cc2ca 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/07/01 13:14 android13-5.15-lts 0d918fa8e88d 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/30 12:56 android13-5.15-lts 0d918fa8e88d fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/30 02:39 android13-5.15-lts 0d918fa8e88d fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/29 22:19 android13-5.15-lts 0d918fa8e88d fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/29 16:31 android13-5.15-lts 0d918fa8e88d fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/29 13:44 android13-5.15-lts 0d918fa8e88d fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/29 08:26 android13-5.15-lts 0d918fa8e88d fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/27 00:47 android13-5.15-lts 0d918fa8e88d 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/26 22:34 android13-5.15-lts 0d918fa8e88d 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/26 05:36 android13-5.15-lts 0d918fa8e88d 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/23 20:37 android13-5.15-lts e678c93d43cc d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/23 20:22 android13-5.15-lts e678c93d43cc d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/23 17:51 android13-5.15-lts e678c93d43cc d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/23 15:13 android13-5.15-lts e678c93d43cc d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/23 01:28 android13-5.15-lts e678c93d43cc d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/22 20:00 android13-5.15-lts e678c93d43cc d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/22 08:22 android13-5.15-lts e678c93d43cc d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/20 05:39 android13-5.15-lts e678c93d43cc ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/19 22:56 android13-5.15-lts e678c93d43cc ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/16 06:30 android13-5.15-lts e678c93d43cc 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/15 18:16 android13-5.15-lts e678c93d43cc 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/14 12:01 android13-5.15-lts e678c93d43cc 0e8da31f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/13 22:03 android13-5.15-lts e678c93d43cc 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/13 14:58 android13-5.15-lts e678c93d43cc 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/13 00:33 android13-5.15-lts e678c93d43cc 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/10 14:29 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/10 10:21 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/10 09:16 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/10 04:20 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/09 19:34 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/09 17:29 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/09 01:11 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/08 23:31 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/08 07:21 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/07 22:42 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/07 05:37 android13-5.15-lts e678c93d43cc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/06 07:08 android13-5.15-lts 4032a894ccb2 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/05 17:19 android13-5.15-lts 4032a894ccb2 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/04 21:26 android13-5.15-lts 4032a894ccb2 e565f08d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/02 08:48 android13-5.15-lts 4032a894ccb2 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/02 06:24 android13-5.15-lts 4032a894ccb2 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/02 02:40 android13-5.15-lts 4032a894ccb2 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/06/01 23:10 android13-5.15-lts 4032a894ccb2 3d2f584d .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.