nvmet: free the bvec on file namespace range errors
CVE-2026-138813Published 30 Nov 2026, 13:25 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
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: nvmet: free the bvec on file namespace range errors nvmet_file_execute_rw() allocates the bvec before nvmet_file_execute_io() checks whether the request fits in the backing file. If the request extends beyond the file, nvmet_file_execute_io() calls nvmet_req_complete() to return an error. This skips nvmet_file_io_done(), so the allocated memory is never freed. Repeated requests can exhaust memory. Use nvmet_file_io_done() to free the bvec before returning the range error to the client.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 5.0 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| 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.8% chance of exploitation in 30 days (percentile 56), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/44d71f6d84dcea7ba11874cae075c9fa552829eb
- https://git.kernel.org/stable/c/50d4554df460676538753d7c71c79d8a49e19e47
- https://git.kernel.org/stable/c/58e624d9cf2c1e6fa4bb0697c771c1783c36c403
- https://git.kernel.org/stable/c/9c53aff85435e3ba0a8b33d8b2f50ef7464f138c
- https://git.kernel.org/stable/c/1cfc0f64b3fbbfca2169213f63f7811447240a96
- https://git.kernel.org/stable/c/ef062530729f0ddc738ac60a7966567836573e67
- https://git.kernel.org/stable/c/19c237734e1f83f4fd7fbf29eb817f8f0c831d99
- https://git.kernel.org/stable/c/9d820d55b3cb4859c7cf42a74dc78f6154f97398
- CVE-2026-138813 on CVE.org