{"id":"CVE-2026-138813","aliases":["CVE-2026-138813"],"related":[],"kind":"vulnerability","state":"published","title":"nvmet: free the bvec on file namespace range errors","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: free the bvec on file namespace range errors\n\nnvmet_file_execute_rw() allocates the bvec before\nnvmet_file_execute_io() checks whether the request fits in the backing\nfile. If the request extends beyond the file, nvmet_file_execute_io()\ncalls nvmet_req_complete() to return an error. This skips\nnvmet_file_io_done(), so the allocated memory is never freed. Repeated\nrequests can exhaust memory.\n\nUse nvmet_file_io_done() to free the bvec before returning the range\nerror to the client.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet: free the bvec on file namespace range errors\n\nnvmet_file_execute_rw() allocates the bvec before\nnvmet_file_execute_io() checks whether the request fits in the backing\nfile. If the request extends beyond the file, nvmet_file_execute_io()\ncalls nvmet_req_complete() to return an error. This skips\nnvmet_file_io_done(), so the allocated memory is never freed. Repeated\nrequests can exhaust memory.\n\nUse nvmet_file_io_done() to free the bvec before returning the range\nerror to the client.","source":"cvelist"}],"published":"2026-11-30T13:25:13.127Z","modified":"2026-12-01T06:17:27.603Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"44d71f6d84dcea7ba11874cae075c9fa552829eb","status":"affected"},{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"50d4554df460676538753d7c71c79d8a49e19e47","status":"affected"},{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"58e624d9cf2c1e6fa4bb0697c771c1783c36c403","status":"affected"},{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"9c53aff85435e3ba0a8b33d8b2f50ef7464f138c","status":"affected"},{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"1cfc0f64b3fbbfca2169213f63f7811447240a96","status":"affected"},{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"ef062530729f0ddc738ac60a7966567836573e67","status":"affected"},{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"19c237734e1f83f4fd7fbf29eb817f8f0c831d99","status":"affected"},{"type":"git","introduced":"50a909db36f244bcfec6e02598d31c0b0a468175","fixed":"9d820d55b3cb4859c7cf42a74dc78f6154f97398","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/44d71f6d84dcea7ba11874cae075c9fa552829eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50d4554df460676538753d7c71c79d8a49e19e47","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58e624d9cf2c1e6fa4bb0697c771c1783c36c403","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c53aff85435e3ba0a8b33d8b2f50ef7464f138c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1cfc0f64b3fbbfca2169213f63f7811447240a96","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef062530729f0ddc738ac60a7966567836573e67","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19c237734e1f83f4fd7fbf29eb817f8f0c831d99","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d820d55b3cb4859c7cf42a74dc78f6154f97398","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138813","url":"https://www.cve.org/CVERecord?id=CVE-2026-138813","licence":"CVE Terms of Use","modified":"2026-12-01T05:40:09.098Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138813","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138813","licence":"Public domain","modified":"2026-12-01T06:17:27.603Z"}],"updatedAt":"2026-12-01T06:32:14.287Z","epss":{"score":0.00757,"percentile":0.56412,"date":"2026-12-01T12:00:22.000Z"}}