# CVE-2026-63819: f2fs: fix to do sanity check on f2fs\_get\_node\_folio\_ra()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-29)
- **Published:** 2026-07-19T12:02:17.613Z
- **Modified:** 2026-11-18T22:07:12.927Z

## Who should check

- Anyone running Linux \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 406c28af75123432d38cf9bbaa6f1476f7b14770; \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 0cc21c1ffe15b4156b0bf744f32fd1faef0b7c73; \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 8712353ed80f87271d732297567dcdbe4b84e8c7
- Anyone running Linux 3.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to do sanity check on f2fs\_get\_node\_folio\_ra()

kernel BUG at fs/f2fs/file.c:845!
Oops: invalid opcode: 0000 \[\#1\] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5336 Comm: syz.0.0 Not tainted syzkaller \#0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:f2fs\_do\_truncate\_blocks+0x1115/0x1140 fs/f2fs/file.c:845
Code: fc fc 90 0f 0b e8 8b 9d 9a fd 90 0f 0b e8 83 9d 9a fd 48 89 df 48 c7 c6 60 d1 1a 8c e8 54 f1 fc fc 90 0f 0b e8 6c 9d 9a fd 90 \<0f\> 0b e8 64 9d 9a fd 90 0f 0b 90 e9 93 fd ff ff e8 56 9d 9a fd 90
RSP: 0018:ffffc9000e4474c0 EFLAGS: 00010283
RAX: ffffffff842b1d34 RBX: 0000000000000003 RCX: 0000000000100000
RDX: ffffc9000f03a000 RSI: 0000000000035503 RDI: 0000000000035504
RBP: ffffc9000e447608 R08: ffff8880123b0000 R09: 0000000000000002
R10: 00000000fffffffe R11: 0000000000000002 R12: 0000000000000001
R13: 0000000000000000 R14: 1ffff92001c88ea0 R15: 00000000ffff039c
FS:  00007f7e02ee36c0(0000) GS:ffff88808c887000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff0305c4000 CR3: 0000000012d4c000 CR4: 0000000000352ef0
Call Trace:
 \<TASK\>
 f2fs\_truncate\_blocks+0x10a/0x300 fs/f2fs/file.c:882
 f2fs\_truncate+0x471/0x7c0 fs/f2fs/file.c:940
 f2fs\_evict\_inode+0xa3f/0x1ac0 fs/f2fs/inode.c:907
 evict+0x61e/0xb10 fs/inode.c:841
 f2fs\_fill\_super+0x5f43/0x78f0 fs/f2fs/super.c:5224
 get\_tree\_bdev\_flags+0x431/0x4f0 fs/super.c:1694
 vfs\_get\_tree+0x92/0x2a0 fs/super.c:1754
 fc\_mount fs/namespace.c:1193 \[inline\]
 do\_new\_mount\_fc fs/namespace.c:3758 \[inline\]
 do\_new\_mount+0x341/0xd30 fs/namespace.c:3834
 do\_mount fs/namespace.c:4167 \[inline\]
 \_\_do\_sys\_mount fs/namespace.c:4383 \[inline\]
 \_\_se\_sys\_mount+0x31d/0x420 fs/namespace.c:4360
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0x15f/0xf80 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

	count = ADDRS\_PER\_PAGE(dn.node\_folio, inode);

	count -= dn.ofs\_in\_node;
	f2fs\_bug\_on(sbi, count \< 0);

The fuzz test will trigger above bug\_on in f2fs.

The root cause should be: in the corrupted inode, there is a direct node
which has the same ino and nid in its footer, so in f2fs\_do\_truncate\_blocks(),
after f2fs\_get\_dnode\_of\_data() finds such dnode:
1) ADDRS\_PER\_PAGE(dn.node\_folio, inode) will return 923
2) once dn.ofs\_in\_node points to addr\[923, 1017\]
Then it will trigger the system panic.

Let's introduce NODE\_TYPE\_NON\_IXNODE to indicate current node should
not be an inode or xattr node, and then use it in below path to detect
inconsistent node chain in inode mapping table:

- f2fs\_do\_truncate\_blocks
 - f2fs\_get\_dnode\_of\_data
  - f2fs\_get\_node\_folio\_ra
   -  \_\_get\_node\_folio
    - f2fs\_sanity\_check\_node\_footer
     - case NODE\_TYPE\_NON\_IXNODE -\> check whether it is inode\|xnode

## Affected and fixed versions

- Linux: \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 406c28af75123432d38cf9bbaa6f1476f7b14770; \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 0cc21c1ffe15b4156b0bf744f32fd1faef0b7c73; \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 8712353ed80f87271d732297567dcdbe4b84e8c7 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 8712353ed80f87271d732297567dcdbe4b84e8c7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63819. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63819.md
Affected: Linux >= e05df3b115e7308afbca652769b54e4549fcc723, < 406c28af75123432d38cf9bbaa6f1476f7b14770; >= e05df3b115e7308afbca652769b54e4549fcc723, < 0cc21c1ffe15b4156b0bf744f32fd1faef0b7c73; >= e05df3b115e7308afbca652769b54e4549fcc723, < 8712353ed80f87271d732297567dcdbe4b84e8c7; Linux 3.8
Fixed in: Linux 406c28af75123432d38cf9bbaa6f1476f7b14770, Linux 0cc21c1ffe15b4156b0bf744f32fd1faef0b7c73, Linux 8712353ed80f87271d732297567dcdbe4b84e8c7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63819 being exploited?

There is no confirmed exploitation: CVE-2026-63819 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-63819?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63819?

Linux \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 406c28af75123432d38cf9bbaa6f1476f7b14770; \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 0cc21c1ffe15b4156b0bf744f32fd1faef0b7c73; \>= e05df3b115e7308afbca652769b54e4549fcc723, \< 8712353ed80f87271d732297567dcdbe4b84e8c7; Linux 3.8.

### Is there a fix for CVE-2026-63819?

Yes. Fixed in Linux 406c28af75123432d38cf9bbaa6f1476f7b14770, Linux 0cc21c1ffe15b4156b0bf744f32fd1faef0b7c73, Linux 8712353ed80f87271d732297567dcdbe4b84e8c7. Upgrade Linux to 8712353ed80f87271d732297567dcdbe4b84e8c7 or later.

### How do I check if I'm affected by CVE-2026-63819?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/406c28af75123432d38cf9bbaa6f1476f7b14770>
- patch: <https://git.kernel.org/stable/c/0cc21c1ffe15b4156b0bf744f32fd1faef0b7c73>
- patch: <https://git.kernel.org/stable/c/8712353ed80f87271d732297567dcdbe4b84e8c7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63819>

HTML: <https://flawdb.com/CVE-2026-63819> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63819>
