f2fs: check every cur_*_segno[] entry on readonly images
CVE-2026-100095Published 30 Nov 2026, 13:23 UTC
Real-world risk
3.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
In the Linux kernel, the following vulnerability has been resolved: f2fs: check every cur_*_segno[] entry on readonly images sanity_check_ckpt() bounds-checks cur_node_segno[] and cur_data_segno[] against main_segs, but on an image with the RO feature the goto that skips the duplicate-segno cross-checks also leaves the enclosing loop, so only index 0 of each array is ever checked. An unchecked index reaches __set_sit_entry_type() through build_curseg() -> reset_curseg(), which writes se->type through &sit_i->sentries[segno]. With segment_count_main 120 and cur_data_segno[1] set to 200, KASAN reports three out-of-bounds writes during mount and the mount then succeeds. Use continue so every index is bounds-checked, and skip the node-vs-data cross-check explicitly, which is the other thing the old goto skipped.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 5.14 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 9), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.35 × threat 0.852.975
- Rounded to one decimal between 0.1 and 103.0
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 3.0 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/8f8ccd227fbbd31d3eb4c2e38fbea77b0e5715a7
- https://git.kernel.org/stable/c/ff71b66629d4c770d7d60f24482f29a6969a6688
- https://git.kernel.org/stable/c/2e4cd3d492510fe4108233ebbbbb3a46494d69ff
- https://git.kernel.org/stable/c/7d671f85cb844645d65f43283b019f4bbecdde46
- https://git.kernel.org/stable/c/7f050459206298020b028243ce3caef3ed9949b6
- https://git.kernel.org/stable/c/2061dcbb7750a00247eec17eccd6241365f99b7e
- https://git.kernel.org/stable/c/9c4ee79190c8c23a9fb5c07d3bc87eaac514b2bb
- CVE-2026-100095 on CVE.org