CVE-2026-97534
Medium 5.5No known exploitationFix availablef2fs: accurately adjust free_sections during free_segment_range
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 12% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: accurately adjust free_sections during free_segment_range In free_segment_range(), MAIN_SECS(sbi) is temporarily reduced by `secs` to restrict block allocation to the safe remaining main area while valid blocks in the truncated range are evacuated by GC. However, FREE_I(sbi)->free_sections tracks the total number of free sections across the whole filesystem. If any sections within the truncated range were already free upon entering free_segment_range(), failing to deduct them from free_sections causes the filesystem to overestimate available free sections in the active, reduced main area. This leads to inconsistent free section accounting during GC data migration and can trigger unexpected allocation failures or assertion errors when space is tight. Fix this by calculating the number of already-free sections in the truncated range, deducting them from free_sections upon entering free_segment_range(), and restoring them on exit.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from b4b10061ef98c583bcf82a4200703fbaa98c18dc before 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038 | 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038 | CVE Program |
| Linux | Linux | from b4b10061ef98c583bcf82a4200703fbaa98c18dc before ca31116fad0954c61a0d38163cc51c48e4981b75 | ca31116fad0954c61a0d38163cc51c48e4981b75 | CVE Program |
| Linux | Linux | from b4b10061ef98c583bcf82a4200703fbaa98c18dc before 8c963d1738fdca400082ff5f9d99e083de4f4e70 | 8c963d1738fdca400082ff5f9d99e083de4f4e70 | CVE Program |
| Linux | Linux | from b4b10061ef98c583bcf82a4200703fbaa98c18dc before 8a123a10770d2132d046748f20f02baa8d5539a1 | 8a123a10770d2132d046748f20f02baa8d5539a1 | CVE Program |
| Linux | Linux | from b4b10061ef98c583bcf82a4200703fbaa98c18dc before 64a7ed42e9766886dd7300597d90366dfb7a1e53 | 64a7ed42e9766886dd7300597d90366dfb7a1e53 | CVE Program |
| Linux | Linux | from b4b10061ef98c583bcf82a4200703fbaa98c18dc before faeb0a20bdd113311519b598dcc075af3b6fb366 | faeb0a20bdd113311519b598dcc075af3b6fb366 | CVE Program |
| Linux | Linux | 5.8 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | 6.6.161.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.1.191 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.112 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.53 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.160 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.8 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/64a7ed42e9766886dd7300597d90366dfb7a1e53 (opens in a new tab)
- https://git.kernel.org/stable/c/8a123a10770d2132d046748f20f02baa8d5539a1 (opens in a new tab)
- https://git.kernel.org/stable/c/8c963d1738fdca400082ff5f9d99e083de4f4e70 (opens in a new tab)
- https://git.kernel.org/stable/c/9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038 (opens in a new tab)
- https://git.kernel.org/stable/c/ca31116fad0954c61a0d38163cc51c48e4981b75 (opens in a new tab)
- https://git.kernel.org/stable/c/faeb0a20bdd113311519b598dcc075af3b6fb366 (opens in a new tab)