Unrated severityNVD Advisory· Published Nov 30, 2026
CVE-2026-138813
CVE-2026-138813
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.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/19c237734e1f83f4fd7fbf29eb817f8f0c831d99nvd
- git.kernel.org/stable/c/1cfc0f64b3fbbfca2169213f63f7811447240a96nvd
- git.kernel.org/stable/c/44d71f6d84dcea7ba11874cae075c9fa552829ebnvd
- git.kernel.org/stable/c/50d4554df460676538753d7c71c79d8a49e19e47nvd
- git.kernel.org/stable/c/58e624d9cf2c1e6fa4bb0697c771c1783c36c403nvd
- git.kernel.org/stable/c/9c53aff85435e3ba0a8b33d8b2f50ef7464f138cnvd
- git.kernel.org/stable/c/9d820d55b3cb4859c7cf42a74dc78f6154f97398nvd
- git.kernel.org/stable/c/ef062530729f0ddc738ac60a7966567836573e67nvd
News mentions
0No linked articles in our index yet.