CVE-2022-50348

Source
https://cve.org/CVERecord?id=CVE-2022-50348
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50348.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50348
Downstream
Related
Published
2025-09-16T16:11:40.617Z
Modified
2026-04-02T08:28:26.110736Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
nfsd: Fix a memory leak in an error handling path
Details

In the Linux kernel, the following vulnerability has been resolved:

nfsd: Fix a memory leak in an error handling path

If this memdup_user() call fails, the memory allocated in a previous call a few lines above should be freed. Otherwise it leaks.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50348.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ee95d1c899186c0798cafd25998d436bcdb9618
Fixed
acc393aecda05bf64ed13b732931462e07a1bf08
Fixed
e060c4b9f33c1fca74df26d57a98e784295327e6
Fixed
aed8816305575b38dcc77feb6f1bc1d0ed32f5b8
Fixed
733dd17158f96aaa25408dc39bbb2738fda9300e
Fixed
cc3bca2110ac85cd964da997ef83d84cab0d49fb
Fixed
fd1ef88049de09bc70d60b549992524cfc0e66ff

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50348.json"