CVE-2026-138813: Linux kernel · nvmet: free the bvec on file namespace range errors
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in ef062530729f0ddc738ac60a7966567836573e67 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 13:46 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in ef062530729f0ddc738ac60a7966567836573e67, 58e624d9cf2c1e6fa4bb0697c771c1783c36c403, 50d4554df460676538753d7c71c79d8a49e19e47 +5
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
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.
References
- git.kernel.org/stable/c/44d71f6d84dcea7ba11874cae075c9fa552829eb (opens in a new tab)
- git.kernel.org/stable/c/50d4554df460676538753d7c71c79d8a49e19e47 (opens in a new tab)
- git.kernel.org/stable/c/58e624d9cf2c1e6fa4bb0697c771c1783c36c403 (opens in a new tab)
- git.kernel.org/stable/c/9c53aff85435e3ba0a8b33d8b2f50ef7464f138c (opens in a new tab)
- git.kernel.org/stable/c/1cfc0f64b3fbbfca2169213f63f7811447240a96 (opens in a new tab)
- git.kernel.org/stable/c/ef062530729f0ddc738ac60a7966567836573e67 (opens in a new tab)
- git.kernel.org/stable/c/19c237734e1f83f4fd7fbf29eb817f8f0c831d99 (opens in a new tab)
- git.kernel.org/stable/c/9d820d55b3cb4859c7cf42a74dc78f6154f97398 (opens in a new tab)