syzbot


general protection fault in update_sit_entry

Status: upstream: reported C repro on 2024/11/29 11:40
Reported-by: syzbot+163873d140f6bf1d2e0e@syzkaller.appspotmail.com
First crash: 437d, last: 9d22h
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in update_sit_entry origin:lts-only 8 C error 18 19d 483d 0/3 upstream: reported C repro on 2024/10/11 17:04
linux-4.14 general protection fault in update_sit_entry f2fs 2 C 9 1070d 1183d 0/1 upstream: reported C repro on 2022/11/12 02:17
linux-6.1 general protection fault in update_sit_entry origin:lts-only 8 C done 17 15d 396d 0/3 upstream: reported C repro on 2025/01/07 01:40
android-6-1 general protection fault in update_sit_entry origin:downstream 2 C 28 12d 425d 0/2 upstream: reported C repro on 2024/12/08 18:16
android-5-15 general protection fault in update_sit_entry origin:downstream 2 C 48 8d22h 440d 0/2 upstream: reported C repro on 2024/11/24 02:28
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/01/16 03:58 14m retest repro android13-5.10-lts error
2025/12/02 03:01 18m retest repro android13-5.10-lts report log
2025/12/02 03:01 13m retest repro android13-5.10-lts report log
2025/12/02 03:01 21m retest repro android13-5.10-lts report log
2025/12/02 03:01 11m retest repro android13-5.10-lts report log
2025/11/17 21:06 8m retest repro android13-5.10-lts report log
2025/11/17 21:06 9m retest repro android13-5.10-lts report log
2025/11/17 21:06 14m retest repro android13-5.10-lts report log
2025/11/17 21:06 16m retest repro android13-5.10-lts report log
2025/11/17 21:06 15m retest repro android13-5.10-lts report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/02/11 14:47 2h46m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
F2FS-fs (loop3): Mounted with checkpoint version = 48b305e6
general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 1 PID: 384 Comm: syz.3.20 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2915 [inline]
RIP: 0010:update_sit_entry+0x58e/0xf50 fs/f2fs/segment.c:2339
Code: 00 00 49 8d 5d 18 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 40 20 92 ff 48 8b 1b 48 03 5d a8 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 ab 08 00 00 44 0f b6 33 44 89 f0 44 8b
RSP: 0018:ffffc90001267330 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 000000000000002b RCX: 0000000000000000
RDX: ffff88810d474f00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900012673b0 R08: ffff88810d474f00 R09: 0000000000000003
R10: 00000000ffffffff R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888112f5c1e0 R14: ffff88811358a0c0 R15: ffff88811358a000
FS:  00007f39f2adc6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa032274000 CR3: 00000001118df000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 f2fs_allocate_data_block+0x159c/0x3a20 fs/f2fs/segment.c:3481
 __allocate_data_block+0x553/0x9d0 fs/f2fs/data.c:1407
 f2fs_map_blocks+0xda4/0x35a0 fs/f2fs/data.c:1575
 expand_inode_data+0x626/0x9a0 fs/f2fs/file.c:1764
 f2fs_fallocate+0x42b/0x7e0 fs/f2fs/file.c:1865
 vfs_fallocate+0x4b4/0x590 fs/open.c:310
 ioctl_preallocate fs/ioctl.c:494 [inline]
 file_ioctl fs/ioctl.c:534 [inline]
 do_vfs_ioctl+0x1154/0x14c0 fs/ioctl.c:732
 __do_sys_ioctl fs/ioctl.c:751 [inline]
 __se_sys_ioctl+0x9f/0x1a0 fs/ioctl.c:739
 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f39f2c77cb9
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:00007f39f2adc028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f39f2ef2fa0 RCX: 00007f39f2c77cb9
RDX: 00002000000000c0 RSI: 0000000040305828 RDI: 0000000000000004
RBP: 00007f39f2ce5bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f39f2ef3038 R14: 00007f39f2ef2fa0 R15: 00007ffeb1622f88
Modules linked in:
---[ end trace f0e659ddbcdc9a09 ]---
RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2915 [inline]
RIP: 0010:update_sit_entry+0x58e/0xf50 fs/f2fs/segment.c:2339
Code: 00 00 49 8d 5d 18 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 40 20 92 ff 48 8b 1b 48 03 5d a8 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 ab 08 00 00 44 0f b6 33 44 89 f0 44 8b
RSP: 0018:ffffc90001267330 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 000000000000002b RCX: 0000000000000000
RDX: ffff88810d474f00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900012673b0 R08: ffff88810d474f00 R09: 0000000000000003
R10: 00000000ffffffff R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888112f5c1e0 R14: ffff88811358a0c0 R15: ffff88811358a000
FS:  00007f39f2adc6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0d0f375ec0 CR3: 00000001118df000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	49 8d 5d 18          	lea    0x18(%r13),%rbx
   6:	48 89 d8             	mov    %rbx,%rax
   9:	48 c1 e8 03          	shr    $0x3,%rax
   d:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
  12:	74 08                	je     0x1c
  14:	48 89 df             	mov    %rbx,%rdi
  17:	e8 40 20 92 ff       	call   0xff92205c
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 03 5d a8          	add    -0x58(%rbp),%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 20       	movzbl (%rax,%r12,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 ab 08 00 00    	jne    0x8e2
  37:	44 0f b6 33          	movzbl (%rbx),%r14d
  3b:	44 89 f0             	mov    %r14d,%eax
  3e:	44                   	rex.R
  3f:	8b                   	.byte 0x8b

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/25 05:48 android13-5.10-lts 5601baec60aa 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2026/01/01 12:09 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/10/11 06:45 android13-5.10-lts 2ece552169c2 ff1712fe .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/07/19 18:25 android13-5.10-lts 6de38b5f6c2b 7117feec .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/07/07 00:30 android13-5.10-lts 59e9a7228857 4f67c4ae .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/03/14 15:24 android13-5.10-lts fc9aa81462ee e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/03/14 08:47 android13-5.10-lts 3f5f2283d684 e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/03/14 05:17 android13-5.10-lts 3f5f2283d684 e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/03/02 05:15 android13-5.10-lts 3f5f2283d684 c3901742 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2024/11/29 11:28 android13-5.10-lts 139a6bb26d9d 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 general protection fault in update_sit_entry
2024/11/27 06:45 android13-5.10-lts 139a6bb26d9d 52b38cc1 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-android-5-10 general protection fault in update_sit_entry
2026/01/28 17:42 android13-5.10-lts 186f761c519d 004c195c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/12/19 00:48 android13-5.10-lts e253c52bbdfc d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/12/12 23:44 android13-5.10-lts 9286af17ed5f d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/11/02 06:45 android13-5.10-lts ab3e1c0dd1ff 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/10/25 16:54 android13-5.10-lts 2ece552169c2 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/10/20 19:18 android13-5.10-lts 2ece552169c2 d422939c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/09/18 11:56 android13-5.10-lts 911f602c2237 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/08/17 18:10 android13-5.10-lts 1154f779f3f3 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/07/26 20:48 android13-5.10-lts ad9a98ef27a4 fb8f743d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 general protection fault in update_sit_entry
2025/01/08 23:49 android13-5.10-lts 49e8ba0a684f f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/01/08 20:57 android13-5.10-lts 49e8ba0a684f f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2025/01/06 14:02 android13-5.10-lts 49e8ba0a684f f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2024/11/29 11:13 android13-5.10-lts 139a6bb26d9d 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
2024/11/27 04:51 android13-5.10-lts 139a6bb26d9d 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in update_sit_entry
* Struck through repros no longer work on HEAD.