{"id":"CVE-2022-50348","summary":"nfsd: Fix a memory leak in an error handling path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: Fix a memory leak in an error handling path\n\nIf this memdup_user() call fails, the memory allocated in a previous call\na few lines above should be freed. Otherwise it leaks.","modified":"2026-03-20T12:22:34.403155Z","published":"2025-09-16T16:11:40.617Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50348.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/733dd17158f96aaa25408dc39bbb2738fda9300e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/acc393aecda05bf64ed13b732931462e07a1bf08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aed8816305575b38dcc77feb6f1bc1d0ed32f5b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc3bca2110ac85cd964da997ef83d84cab0d49fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e060c4b9f33c1fca74df26d57a98e784295327e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd1ef88049de09bc70d60b549992524cfc0e66ff"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50348.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50348"},{"type":"PACKAGE","url":"https://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/osv-test-cve-osv-conversion/osv-output/CVE-2022-50348.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}