CVE-2026-138813

high

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

https://git.kernel.org/stable/c/ef062530729f0ddc738ac60a7966567836573e67

https://git.kernel.org/stable/c/9d820d55b3cb4859c7cf42a74dc78f6154f97398

https://git.kernel.org/stable/c/9c53aff85435e3ba0a8b33d8b2f50ef7464f138c

https://git.kernel.org/stable/c/58e624d9cf2c1e6fa4bb0697c771c1783c36c403

https://git.kernel.org/stable/c/50d4554df460676538753d7c71c79d8a49e19e47

https://git.kernel.org/stable/c/44d71f6d84dcea7ba11874cae075c9fa552829eb

https://git.kernel.org/stable/c/1cfc0f64b3fbbfca2169213f63f7811447240a96

https://git.kernel.org/stable/c/19c237734e1f83f4fd7fbf29eb817f8f0c831d99

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138516

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-12-01

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High