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: 817d, last: 2d13h
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 error 85 1d22h 233d 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 199 1d18h 502d 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 202 2d13h 230d 0/2 upstream: reported C repro on 2024/08/17 08:59
Last patch testing requests (6)
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
2024/07/21 18:38 25m retest repro android13-5.15-lts report log
2024/06/27 13:19 6m 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/ext4/super.c:2494:15
shift exponent 156404570 is too large for 32-bit type 'int'
CPU: 0 PID: 294 Comm: syz-executor117 Not tainted 5.15.178-syzkaller-00034-g5e1b899f19c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1c0 lib/dump_stack.c:106
 dump_stack+0x15/0x20 lib/dump_stack.c:113
 ubsan_epilogue lib/ubsan.c:151 [inline]
 __ubsan_handle_shift_out_of_bounds+0x3bf/0x420 lib/ubsan.c:321
 parse_options+0x2c9d/0x2d20 fs/ext4/super.c:2494
 ext4_remount+0x8ff/0x2cf0 fs/ext4/super.c:5805
 legacy_reconfigure+0xfa/0x110 fs/fs_context.c:634
 reconfigure_super+0x436/0x860 fs/super.c:938
 do_remount fs/namespace.c:2668 [inline]
 path_mount+0xcc3/0x1070 fs/namespace.c:3334
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3540
 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3540
 x64_sys_call+0x49d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7ff916630cfa
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:00007ffc16fb4248 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ff916630cfa
RDX: 0000200000002040 RSI: 0000200000002080 RDI: 0000000000000000
RBP: 0000200000002080 R08: 00007ffc16fb42

Crashes (356):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/04/02 09:04 android13-5.15-lts 5e1b899f19c3 c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/31 22:49 android13-5.15-lts 5e1b899f19c3 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/31 20:39 android13-5.15-lts 5e1b899f19c3 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/30 20:00 android13-5.15-lts 5e1b899f19c3 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/29 20:15 android13-5.15-lts 5e1b899f19c3 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/26 00:41 android13-5.15-lts 7d1f9b5c2ff5 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/25 22:04 android13-5.15-lts 7d1f9b5c2ff5 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/25 15:04 android13-5.15-lts 7d1f9b5c2ff5 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/25 13:22 android13-5.15-lts 7d1f9b5c2ff5 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/25 10:18 android13-5.15-lts 7d1f9b5c2ff5 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/24 21:43 android13-5.15-lts 7d1f9b5c2ff5 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/23 02:53 android13-5.15-lts 7d1f9b5c2ff5 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/21 18:34 android13-5.15-lts 7d1f9b5c2ff5 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/21 17:01 android13-5.15-lts 7d1f9b5c2ff5 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/17 05:02 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/16 22:37 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/16 20:22 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/16 10:21 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/16 01:09 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/15 13:15 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/15 12:06 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/15 03:50 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/14 19:31 android13-5.15-lts 7d1f9b5c2ff5 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/11 18:12 android13-5.15-lts 7d1f9b5c2ff5 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/11 09:58 android13-5.15-lts 7d1f9b5c2ff5 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/10 05:39 android13-5.15-lts 7d1f9b5c2ff5 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/08 11:35 android13-5.15-lts 7d1f9b5c2ff5 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/07 04:08 android13-5.15-lts 7d1f9b5c2ff5 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/07 01:55 android13-5.15-lts 7d1f9b5c2ff5 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/05 07:11 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/05 04:40 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/05 02:43 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/05 01:20 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/04 18:10 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/04 12:53 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/04 09:12 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/04 07:56 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/04 06:47 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/04 05:28 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/04 02:39 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/03 18:51 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/03 11:11 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/03 08:44 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/02 22:10 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 UBSAN: shift-out-of-bounds in parse_options
2025/03/02 16:13 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .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.