syzbot


general protection fault in bfs_get_block (3)

Status: upstream: reported C repro on 2024/10/30 00:43
Subsystems: bfs
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+f51a2a34984e4d8888fd@syzkaller.appspotmail.com
First crash: 622d, last: 18d
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
b1db0f71-3a1b-4535-8060-ef7efc779914 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ general protection fault in bfs_get_block (3) 2026/05/31 06:43 2026/05/31 06:43 2026/05/31 06:48 6b4a844333e83556da95d61d7f207e7ef5cd4bc6

			
		
39ef46e3-9bd1-4ef4-8a4a-2fa048ede8de assessment-security 💥 general protection fault in bfs_get_block (3) 2026/05/14 14:28 2026/05/14 14:28 2026/05/14 14:29 6ccb967e465e832a7bfd7a116ad00d52a0923a5d
failed to run ["git" "pull" "origin" "HEAD" "--depth=1" "--allow-unrelated-histories"]: exit status 128
From /app/workdir/repo/linux
 * branch                HEAD       -> FETCH_HEAD
Updating files:  ...
truncated to first 200 bytes; open job for full error
Discussions (6)
Title Replies (including bot) Last reply
[syzbot] Monthly bfs report (Apr 2026) 0 (1) 2026/04/20 12:38
[syzbot] Monthly bfs report (Jan 2026) 0 (1) 2026/01/12 08:35
[PATCH] bfs: Fix calculation of offset when moving blocks 2 (2) 2025/12/15 07:55
[syzbot] Monthly bfs report (Dec 2025) 0 (1) 2025/12/10 02:19
[syzbot] [bfs?] general protection fault in bfs_get_block (3) 4 (11) 2025/11/19 18:40
[PATCH] bfs: add check for return value of sb_getblk 1 (1) 2024/11/03 14:36
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in bfs_get_block bfs 2 2 1212d 1248d 0/29 auto-obsoleted due to no activity on 2023/07/13 12:29
linux-6.1 general protection fault in bfs_get_block origin:upstream 8 C error 2 56d 1195d 0/3 upstream: reported C repro on 2023/04/02 00:46
upstream general protection fault in bfs_get_block (2) bfs 2 C error done 2 938d 957d 25/29 fixed on 2024/01/30 15:47
Last patch testing requests (15)
Created Duration User Patch Repo Result
2026/06/09 21:54 30m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2026/03/24 03:41 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2026/03/24 03:28 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error
2026/01/08 04:33 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/11/19 18:40 26m zlatistiv@gmail.com patch git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2025/09/08 04:00 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/07/02 02:36 20m retest repro upstream OK log
2025/06/13 10:18 23m retest repro upstream OK log
2025/04/23 01:53 14m retest repro upstream report log
2025/04/04 09:51 16m retest repro upstream report log
2025/02/12 01:22 18m retest repro upstream report log
2024/11/03 14:13 18m eadavis@qq.com patch upstream OK log
2024/11/03 06:08 18m eadavis@qq.com patch upstream OK log
2024/11/03 04:37 14m eadavis@qq.com patch upstream report log
2024/11/03 01:37 18m eadavis@qq.com patch upstream report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 0 UID: 0 PID: 12251 Comm: syz.1.1058 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:bfs_move_block fs/bfs/file.c:43 [inline]
RIP: 0010:bfs_move_blocks fs/bfs/file.c:57 [inline]
RIP: 0010:bfs_get_block+0x589/0xae0 fs/bfs/file.c:126
Code: f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 00 c2 86 ff 49 8b 5d 20 4d 8d 66 28 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 48 8b 6c 24 18 74 08 4c 89 e7 e8 d4 c1 86 ff 4c 89 ef
RSP: 0018:ffffc900057be358 EFLAGS: 00010216
RAX: 0000000000000005 RBX: 0000000000000200 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000040 RDI: ffff88807e1902d8
RBP: ffff888023094ea8 R08: ffffea00013f31f7 R09: 1ffffd400027e63e
R10: dffffc0000000000 R11: fffff9400027e63f R12: 0000000000000028
R13: ffff88807e1902b8 R14: 0000000000000000 R15: 0000000000000012
FS:  00007fc5aeb716c0(0000) GS:ffff88812528d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000003000 CR3: 000000009d070000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 __block_write_begin_int+0x6c6/0x1910 fs/buffer.c:2042
 block_write_begin+0x8d/0x120 fs/buffer.c:2153
 bfs_write_begin+0x35/0xd0 fs/bfs/file.c:180
 generic_perform_write+0x2e2/0x8f0 mm/filemap.c:4325
 generic_file_write_iter+0x14a/0x680 mm/filemap.c:4468
 __kernel_write_iter+0x41e/0x880 fs/read_write.c:621
 __kernel_write+0x106/0x170 fs/read_write.c:641
 __dump_emit fs/coredump.c:1226 [inline]
 dump_emit+0x8e9/0xab0 fs/coredump.c:1264
 writenote+0xfc/0x2f0 fs/binfmt_elf.c:1432
 write_note_info fs/binfmt_elf.c:1939 [inline]
 elf_core_dump+0x300c/0x3ad0 fs/binfmt_elf.c:2096
 coredump_write+0x1216/0x1910 fs/coredump.c:1053
 do_coredump fs/coredump.c:1132 [inline]
 vfs_coredump+0x3807/0x4530 fs/coredump.c:1206
 get_signal+0x1107/0x1330 kernel/signal.c:3022
 arch_do_signal_or_restart+0xbc/0x840 arch/x86/kernel/signal.c:337
 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:98 [inline]
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
 irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:252 [inline]
 irqentry_exit_to_user_mode include/linux/irq-entry-common.h:323 [inline]
 irqentry_exit+0x289/0x760 kernel/entry/common.c:162
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618
RIP: 0033:0x7fc5add9cde1
Code: 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 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:00000000fffffeb0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fc5ae016090 RCX: 00007fc5add9cdd9
RDX: 0000000000000000 RSI: 00000000fffffeb0 RDI: 0000000002000400
RBP: 00007fc5ade32d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007fc5ae016128 R14: 00007fc5ae016090 R15: 00007ffc0b95d6e8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bfs_move_block fs/bfs/file.c:43 [inline]
RIP: 0010:bfs_move_blocks fs/bfs/file.c:57 [inline]
RIP: 0010:bfs_get_block+0x589/0xae0 fs/bfs/file.c:126
Code: f8 48 c1 e8 03 42 80 3c 20 00 74 05 e8 00 c2 86 ff 49 8b 5d 20 4d 8d 66 28 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 48 8b 6c 24 18 74 08 4c 89 e7 e8 d4 c1 86 ff 4c 89 ef
RSP: 0018:ffffc900057be358 EFLAGS: 00010216
RAX: 0000000000000005 RBX: 0000000000000200 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000040 RDI: ffff88807e1902d8
RBP: ffff888023094ea8 R08: ffffea00013f31f7 R09: 1ffffd400027e63e
R10: dffffc0000000000 R11: fffff9400027e63f R12: 0000000000000028
R13: ffff88807e1902b8 R14: 0000000000000000 R15: 0000000000000012
FS:  00007fc5aeb716c0(0000) GS:ffff88812528d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c345ab1 CR3: 000000009d070000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
   0:	f8                   	clc
   1:	48 c1 e8 03          	shr    $0x3,%rax
   5:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
   a:	74 05                	je     0x11
   c:	e8 00 c2 86 ff       	call   0xff86c211
  11:	49 8b 5d 20          	mov    0x20(%r13),%rbx
  15:	4d 8d 66 28          	lea    0x28(%r14),%r12
  19:	4c 89 e0             	mov    %r12,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	48 8b 6c 24 18       	mov    0x18(%rsp),%rbp
  33:	74 08                	je     0x3d
  35:	4c 89 e7             	mov    %r12,%rdi
  38:	e8 d4 c1 86 ff       	call   0xff86c211
  3d:	4c 89 ef             	mov    %r13,%rdi

Crashes (40):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/12 11:41 upstream 50897c955902 d5b1a17d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in bfs_get_block
2026/05/12 11:26 upstream 50897c955902 d5b1a17d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in bfs_get_block
2026/05/04 01:54 upstream f377d0025eb0 a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in bfs_get_block
2026/03/09 23:48 upstream 1f318b96cc84 176bead5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in bfs_get_block
2025/11/23 18:00 upstream d13f3ac64efb 4fb8ef37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in bfs_get_block
2025/11/15 07:23 upstream d4f8cccc6230 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in bfs_get_block
2025/07/24 09:55 upstream 01a412d06bc5 0c1d6ded .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs general protection fault in bfs_get_block
2026/06/22 00:50 upstream 8cd8cf7a07e5 43bfcdb0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2026/05/11 13:41 upstream 5d6919055dec 845acb1c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2026/05/10 11:46 upstream 1bfaee9d3351 29233ece .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2026/04/07 06:00 upstream bfe62a454542 4440e7c2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/25 04:04 upstream ccd1cdca5cd4 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/20 05:34 upstream dd9b004b7ff3 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/14 09:50 upstream 8f0b4cce4481 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/13 21:23 upstream 9d9c1cfec01c d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/09 15:32 upstream cb015814f8b6 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/09 09:46 upstream a110f942672c d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/08 02:43 upstream 37bb2e7217b0 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/05 01:47 upstream 6dfafbd0299a d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/12/01 10:13 upstream 7d0a66e4bb90 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/11/01 17:36 upstream ba36dd5ee6fd 2c50b6a9 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/05/17 13:34 upstream 172a9d94339c f41472b0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/01/29 01:03 upstream 805ba04cb7cc 865ef71e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2025/01/10 09:12 upstream 643e2e259c2b 67d7ec0a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/12/04 16:56 upstream feffde684ac2 b50eb251 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/11/15 17:57 upstream cfaaa7d010d1 eeafb645 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/11/15 17:11 upstream cfaaa7d010d1 eeafb645 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/11/14 17:19 upstream 0a9b9d17f3a7 77f3eeb7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/11/13 14:55 upstream f1b785f4c787 4dfba277 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/10/29 16:56 upstream e42b1a9a2557 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/10/26 10:29 upstream c71f8fb4dc91 65e8686b .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root general protection fault in bfs_get_block
2024/10/26 00:37 upstream c71f8fb4dc91 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in bfs_get_block
2026/05/26 16:13 linux-next c1ecb239fa34 a3e47276 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in bfs_get_block
2026/05/02 13:22 linux-next b9303e6bff70 a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in bfs_get_block
2026/02/03 22:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 6df4c87a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bfs_get_block
2025/10/12 17:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf45a62baffc ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bfs_get_block
2025/08/24 19:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f5ae30d69d7 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bfs_get_block
2025/08/24 18:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f5ae30d69d7 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bfs_get_block
2025/06/16 04:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 39dfc971e42d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bfs_get_block
2025/06/16 04:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 39dfc971e42d 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in bfs_get_block
* Struck through repros no longer work on HEAD.