# CVE-2026-139276: f2fs: refresh pinned allocation boundary after resize

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:33:15.477Z
- Modified: 2026-11-30T14:18:50.650Z
- Assigned by: Linux

## Description

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

f2fs: refresh pinned allocation boundary after resize

Online shrink updates MAIN_SECS() but leaves resizable_tail_secno and
pinned_area_max_secno unchanged. The pinned allocation limit can exceed
the new main area when shrinking beyond the reserved tail.

Consume the reserved tail by the number of removed sections, clamping
it to zero, before refreshing the shared pinned allocation boundary.
This preserves the boundary while shrinking within the reservation and
limits it to the new main area otherwise, retaining the zoned limit.

Save the old tail count and restore it before rolling back the geometry
if the final checkpoint fails.

Also bound pinned section allocation by the current MAIN_SECS(). Range
evacuation temporarily reduces it before moving cursegs, while the
cached pinned boundary still describes the old geometry. Otherwise, a
pinned curseg can be reallocated into the range being removed.

(As written by CVE List.)

## Affected

- Linux Linux: from c966d29e01bbf829f8bb4a39a49811c56cdb49c3 before 86485225ddfcec0f904e20383f33625ac2d5088e; from c966d29e01bbf829f8bb4a39a49811c56cdb49c3 before e4df12e37300d4e181ae76746ae0fd7f7b92aa36; 7.3 (not affected: before 7.3; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/86485225ddfcec0f904e20383f33625ac2d5088e>
- <https://git.kernel.org/stable/c/e4df12e37300d4e181ae76746ae0fd7f7b92aa36>

## Sources

- CVE List: [CVE-2026-139276](https://www.cve.org/CVERecord?id=CVE-2026-139276), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139276](https://nvd.nist.gov/vuln/detail/CVE-2026-139276), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139276 · Whole record: https://cve.day/CVE-2026-139276.json · Rebuilt by cve.day 2026-11-30T14:32:58.884Z
