Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-138813

nvmet: free the bvec on file namespace range errors

No exploitation reported by the sources we read.

  • Published2026-11-30
  • Fixed in7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-11-3013:25CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.47.3.4
6.x≥ 6.13.0, < 6.18.636.18.63
6.x≥ 6.7.0, < 6.12.1176.12.117
6.x≥ 6.2.0, < 6.6.1636.6.163
6.1≥ 5.16.0, < 6.1.1936.1.193
5.x≥ 5.11.0, < 5.15.2265.15.226
5.x≥ 5.0.0, < 5.10.2755.10.275

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < 44d71f6d84dcea7ba11874cae075c9fa552829ebfixed in 44d71f6d84dcea7ba11874cae075c9fa552829ebgit
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < 50d4554df460676538753d7c71c79d8a49e19e47fixed in 50d4554df460676538753d7c71c79d8a49e19e47git
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < 58e624d9cf2c1e6fa4bb0697c771c1783c36c403fixed in 58e624d9cf2c1e6fa4bb0697c771c1783c36c403git
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < 9c53aff85435e3ba0a8b33d8b2f50ef7464f138cfixed in 9c53aff85435e3ba0a8b33d8b2f50ef7464f138cgit
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < 1cfc0f64b3fbbfca2169213f63f7811447240a96fixed in 1cfc0f64b3fbbfca2169213f63f7811447240a96git
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < ef062530729f0ddc738ac60a7966567836573e67fixed in ef062530729f0ddc738ac60a7966567836573e67git
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < 19c237734e1f83f4fd7fbf29eb817f8f0c831d99fixed in 19c237734e1f83f4fd7fbf29eb817f8f0c831d99git
    • ≥ 50a909db36f244bcfec6e02598d31c0b0a468175, < 9d820d55b3cb4859c7cf42a74dc78f6154f97398fixed in 9d820d55b3cb4859c7cf42a74dc78f6154f97398git
  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 5.0no fix stated

    Not affected < 5.0 · ≥ 5.10.275, ≤ 5.10.* · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.117, ≤ 6.12.* · ≥ 6.18.63, ≤ 6.18.*

    2 more version lines in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.4-1
  • linuxDebian:13all versions · fixed in 6.12.117-1
  • linuxDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.4 · 6.18.63 · 6.12.117 · 6.6.163 · 6.1.193 · 5.15.226 · 5.10.275

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-30
  • CNACVSS 3.17.52026-12-01
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received

Frequently asked questions

What is CVE-2026-138813?

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.

Is CVE-2026-138813 actively exploited?

Active exploitation of CVE-2026-138813 has not been confirmed.

What is the CVSS score for CVE-2026-138813?

CVE-2026-138813 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record