# CVE-2026-63813: Revert "f2fs: remove non-uptodate folio from the page cache in move\_data\_block"

> 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.13% (percentile 1, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2026-07-19T12:02:14.205Z
- **Modified:** 2026-11-10T20:42:56.127Z

## Who should check

- Anyone running Linux \>= 5a4d3968cf820686400fc757a4512dcaddd84846, \< 1991d49433e90b2202de2fe90be3c24161873d7c; \>= 9609dd704725a40cd63d915f2ab6c44248a44598, \< 6e035dae44154af4dd7bdb8ef7a1118c0b5f17b6; \>= 9609dd704725a40cd63d915f2ab6c44248a44598, \< ccaba785821970f422c47770331c7e3271763f17
- Anyone running Linux 7.0

## Description

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

Revert "f2fs: remove non-uptodate folio from the page cache in move\_data\_block"

This reverts commit 9609dd704725a40cd63d915f2ab6c44248a44598.

The kernel panics are keeping to be reported especially when the f2fs
partition get almost full. By investigation, we find that the reason is
one f2fs page got freed to buddy without being deleted from LRU and the
root cause is the race happened in \[2\] which is enrolled by this commit.

There are 3 race processes in this scenario, please find below for their
main activities.

The changed code in move\_data\_block() lets the GC path evict the tail-end
folio from the page cache through folio\_end\_dropbehind().  Once
folio\_unmap\_invalidate() removes the folio from mapping-\>i\_pages, the
page-cache references for all pages in the folio are dropped.  The folio
is then kept alive only by temporary external references, which allows a
later split to operate on a folio whose subpages are no longer protected
by page-cache references.

After the page-cache references are gone, split\_folio\_to\_order() can
split the big folio into individual pages and put the resulting subpages
back on the LRU.  For tail pages beyond EOF, split removes them from the
page cache and drops their page-cache references.  A tail page can then
remain on the LRU with PG\_lru set while holding only the split caller's
temporary reference.  When free\_folio\_and\_swap\_cache() drops that final
reference, the page enters the final folio\_put() release path.

In parallel, folio\_isolate\_lru() can observe the same tail page with a
non-zero refcount and PG\_lru set.  It clears PG\_lru before taking its own
reference.  If this races with the final folio\_put() from the split path,
\_\_folio\_put() sees PG\_lru already cleared and skips lruvec\_del\_folio().
The page is then freed back to the allocator while its lru links are
still present in the LRU list.  A later LRU operation on a neighboring
page detects the stale link and reports list corruption.

\[1\]
\[   22.486082\] list\_del corruption. next-\>prev should be fffffffec10e0ac8, but was dead000000000122. (next=fffffffec10e0a88)
\[   22.486130\] ------------\[ cut here \]------------
\[   22.486134\] kernel BUG at lib/list\_debug.c:67!
\[   22.486141\] Internal error: Oops - BUG: 00000000f2000800 \[\#1\]  SMP
\[   22.488502\] Tainted: \[W\]=WARN, \[O\]=OOT\_MODULE
\[   22.488506\] Hardware name: Spreadtrum UMS9230 1H10 SoC (DT)
\[   22.488511\] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[   22.488517\] pc : \_\_list\_del\_entry\_valid\_or\_report+0x14c/0x154
\[   22.488531\] lr : \_\_list\_del\_entry\_valid\_or\_report+0x14c/0x154
\[   22.488539\] sp : ffffffc08006b830
\[   22.488542\] x29: ffffffc08006b868 x28: 0000000000003020 x27: 0000000000000000
\[   22.488553\] x26: 0000000000000000 x25: 0000000000000004 x24: fffffffec10e0ac0
\[   22.488564\] x23: 00000000000000e8 x22: 0000000000000024 x21: dead000000000122
\[   22.488574\] x20: fffffffec10e0a88 x19: fffffffec10e0ac8 x18: ffffffc080061060
\[   22.488585\] x17: 20747562202c3863 x16: 6130653031636566 x15: 0000000000000058
\[   22.488595\] x14: 0000000000000004 x13: ffffff80f91e0000 x12: 0000000000000003
\[   22.488605\] x11: 0000000000000003 x10: 0000000000000001 x9 : ffe85721f0e25f00
\[   22.488615\] x8 : ffe85721f0e25f00 x7 : 0000000000000000 x6 : 6c65645f7473696c
\[   22.488625\] x5 : ffffffed39b23026 x4 : 0000000000000000 x3 : 0000000000000010
\[   22.488636\] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 000000000000006d
\[   22.488647\] Call trace:
\[   22.488651\]  \_\_list\_del\_entry\_valid\_or\_report+0x14c/0x154 (P)
\[   22.488661\]  \_\_folio\_put+0x2bc/0x434
\[   22.488670\]  folio\_put+0x28/0x58
\[   22.488678\]  do\_garbage\_collect+0x1a34/0x2584
\[   22.488689\]  f2fs\_gc+0x230/0x9b4
\[   22.488697\]  f2fs\_fallocate+0xb90/0xdf4
\[   22.488706\]  vfs\_fallocate+0x1b4/0x2bc
\[   22.488716\]  \_\_arm64\_sys\_fallocate+0x44/0x78
\[   22.488725\]  invoke\_syscall+0x58/0xe4
\[   22.488732\]  do\_el0\_svc+0x48/0xdc
\[   22.488739\]  el0
---truncated---

## Affected and fixed versions

- Linux: \>= 5a4d3968cf820686400fc757a4512dcaddd84846, \< 1991d49433e90b2202de2fe90be3c24161873d7c; \>= 9609dd704725a40cd63d915f2ab6c44248a44598, \< 6e035dae44154af4dd7bdb8ef7a1118c0b5f17b6; \>= 9609dd704725a40cd63d915f2ab6c44248a44598, \< ccaba785821970f422c47770331c7e3271763f17 (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-63813.md
Affected: Linux >= 5a4d3968cf820686400fc757a4512dcaddd84846, < 1991d49433e90b2202de2fe90be3c24161873d7c; >= 9609dd704725a40cd63d915f2ab6c44248a44598, < 6e035dae44154af4dd7bdb8ef7a1118c0b5f17b6; >= 9609dd704725a40cd63d915f2ab6c44248a44598, < ccaba785821970f422c47770331c7e3271763f17; Linux 7.0
Fixed in: Linux 1991d49433e90b2202de2fe90be3c24161873d7c, Linux 6e035dae44154af4dd7bdb8ef7a1118c0b5f17b6

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-63813 being exploited?

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

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

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

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

Linux \>= 5a4d3968cf820686400fc757a4512dcaddd84846, \< 1991d49433e90b2202de2fe90be3c24161873d7c; \>= 9609dd704725a40cd63d915f2ab6c44248a44598, \< 6e035dae44154af4dd7bdb8ef7a1118c0b5f17b6; \>= 9609dd704725a40cd63d915f2ab6c44248a44598, \< ccaba785821970f422c47770331c7e3271763f17; Linux 7.0.

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

Yes. Fixed in Linux 1991d49433e90b2202de2fe90be3c24161873d7c, Linux 6e035dae44154af4dd7bdb8ef7a1118c0b5f17b6. No fix listed yet: follow the vendor advisory.

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

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/1991d49433e90b2202de2fe90be3c24161873d7c>
- patch: <https://git.kernel.org/stable/c/6e035dae44154af4dd7bdb8ef7a1118c0b5f17b6>
- patch: <https://git.kernel.org/stable/c/ccaba785821970f422c47770331c7e3271763f17>

## 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-63813>

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