syzbot


general protection fault in f2fs_release_page (2)

Status: premoderation: reported on 2026/04/25 03:20
Reported-by: syzbot+d3f6dea02278a89eaa84@syzkaller.appspotmail.com
First crash: 2d09h, last: 2d09h
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in f2fs_release_page f2fs 19 3 1187d 1229d 0/2 auto-obsoleted due to no activity on 2023/04/25 16:26
android-5-15 general protection fault in f2fs_release_page 2 1 485d 485d 0/2 auto-obsoleted due to no activity on 2025/03/28 09:40
android-54 KASAN: use-after-free Read in f2fs_release_page f2fs 19 4 1119d 1219d 0/2 auto-obsoleted due to no activity on 2023/08/01 23:35
android-5-10 KASAN: use-after-free Read in f2fs_release_page 19 2 181d 190d 0/2 auto-obsoleted due to no activity on 2026/01/25 17:02
android-5-15 KASAN: use-after-free Read in f2fs_release_page f2fs 19 5 1058d 1207d 0/2 auto-obsoleted due to no activity on 2023/09/01 18:51
android-5-15 KASAN: use-after-free Read in f2fs_release_page (2) 19 1 848d 848d 0/2 auto-obsoleted due to no activity on 2024/03/30 07:06
android-5-10 KASAN: global-out-of-bounds Read in f2fs_release_page 19 2 1057d 1089d 0/2 auto-obsoleted due to no activity on 2023/09/02 15:33

Sample crash report:
general protection fault, probably for non-canonical address 0xf2dd7be628a002f1: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x96ebff3145001788-0x96ebff314500178f]
CPU: 0 PID: 15478 Comm: syz.9.4452 Tainted: G        W         syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:f2fs_release_page+0x414/0x7d0 fs/f2fs/data.c:3624
Code: e8 03 49 bd 00 00 00 00 00 fc ff df 42 80 3c 28 00 74 08 4c 89 e7 e8 fb 15 96 ff 4d 8b 24 24 49 83 c4 04 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 39 03 00 00 45 8b 24 24 4c 89 ff 4c 89
RSP: 0018:ffffc90000ecea70 EFLAGS: 00010a03
RAX: 12dd7fe628a002f1 RBX: ffffea00046af4c0 RCX: dffffc0000000000
RDX: ffff888113f5a780 RSI: 0000000040000000 RDI: ffff88812bc22070
RBP: ffffc90000eceaa8 R08: ffffea00046af4c7 R09: 1ffffd40008d5e98
R10: dffffc0000000000 R11: fffff940008d5e99 R12: 96ebff314500178f
R13: dffffc0000000000 R14: 1ffffd40008d5e99 R15: 0000000000000003
FS:  00007f54b7d746c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6bce92aff8 CR3: 000000011dfa7000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 try_to_release_page+0x18d/0x1e0 mm/filemap.c:3705
 shrink_page_list+0x1730/0x4250 mm/vmscan.c:1467
 shrink_inactive_list+0x532/0xef0 mm/vmscan.c:2075
 shrink_list mm/vmscan.c:2294 [inline]
 shrink_lruvec+0x1235/0x2860 mm/vmscan.c:5473
 shrink_node_memcgs mm/vmscan.c:5660 [inline]
 shrink_node+0xf0c/0x2690 mm/vmscan.c:5690
 shrink_zones mm/vmscan.c:5896 [inline]
 do_try_to_free_pages+0x603/0x1590 mm/vmscan.c:5954
 try_to_free_mem_cgroup_pages+0x261/0x610 mm/vmscan.c:6272
 try_charge+0x43e/0x1500 mm/memcontrol.c:2745
 __mem_cgroup_charge+0x14c/0x6d0 mm/memcontrol.c:6871
 mem_cgroup_charge include/linux/memcontrol.h:458 [inline]
 shmem_add_to_page_cache+0x574/0xe30 mm/shmem.c:699
 shmem_getpage_gfp+0x8eb/0x2120 mm/shmem.c:1952
 shmem_getpage mm/shmem.c:161 [inline]
 shmem_fallocate+0x841/0xc40 mm/shmem.c:2820
 vfs_fallocate+0x4b4/0x590 fs/open.c:310
 ksys_fallocate fs/open.c:333 [inline]
 __do_sys_fallocate fs/open.c:341 [inline]
 __se_sys_fallocate fs/open.c:339 [inline]
 __x64_sys_fallocate+0xc0/0x110 fs/open.c:339
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f54b9319dd9
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:00007f54b7d74028 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f54b9592fa0 RCX: 00007f54b9319dd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f54b93afd69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008800000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f54b9593038 R14: 00007f54b9592fa0 R15: 00007ffeb31ccc28
Modules linked in:
---[ end trace a8c4d96d8ac01aee ]---
RIP: 0010:f2fs_release_page+0x414/0x7d0 fs/f2fs/data.c:3624
Code: e8 03 49 bd 00 00 00 00 00 fc ff df 42 80 3c 28 00 74 08 4c 89 e7 e8 fb 15 96 ff 4d 8b 24 24 49 83 c4 04 4c 89 e0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 39 03 00 00 45 8b 24 24 4c 89 ff 4c 89
RSP: 0018:ffffc90000ecea70 EFLAGS: 00010a03
RAX: 12dd7fe628a002f1 RBX: ffffea00046af4c0 RCX: dffffc0000000000
RDX: ffff888113f5a780 RSI: 0000000040000000 RDI: ffff88812bc22070
RBP: ffffc90000eceaa8 R08: ffffea00046af4c7 R09: 1ffffd40008d5e98
R10: dffffc0000000000 R11: fffff940008d5e99 R12: 96ebff314500178f
R13: dffffc0000000000 R14: 1ffffd40008d5e99 R15: 0000000000000003
FS:  00007f54b7d746c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6bd013f2f8 CR3: 000000011dfa7000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e8 03 49 bd 00       	call   0xbd4908
   5:	00 00                	add    %al,(%rax)
   7:	00 00                	add    %al,(%rax)
   9:	fc                   	cld
   a:	ff                   	lcall  (bad)
   b:	df 42 80             	filds  -0x80(%rdx)
   e:	3c 28                	cmp    $0x28,%al
  10:	00 74 08 4c          	add    %dh,0x4c(%rax,%rcx,1)
  14:	89 e7                	mov    %esp,%edi
  16:	e8 fb 15 96 ff       	call   0xff961616
  1b:	4d 8b 24 24          	mov    (%r12),%r12
  1f:	49 83 c4 04          	add    $0x4,%r12
  23:	4c 89 e0             	mov    %r12,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 39 03 00 00    	jne    0x370
  37:	45 8b 24 24          	mov    (%r12),%r12d
  3b:	4c 89 ff             	mov    %r15,%rdi
  3e:	4c                   	rex.WR
  3f:	89                   	.byte 0x89

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/25 03:19 android13-5.10-lts d8c55bf860fd 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in f2fs_release_page
* Struck through repros no longer work on HEAD.