{"id":"CVE-2022-50348","aliases":["CVE-2022-50348"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: Fix a memory leak in an error handling path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-16T16:11:40.617Z","modified":"2026-06-17T05:23:17.447Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"6ee95d1c899186c0798cafd25998d436bcdb9618","fixed":"acc393aecda05bf64ed13b732931462e07a1bf08","status":"affected"},{"type":"git","introduced":"6ee95d1c899186c0798cafd25998d436bcdb9618","fixed":"e060c4b9f33c1fca74df26d57a98e784295327e6","status":"affected"},{"type":"git","introduced":"6ee95d1c899186c0798cafd25998d436bcdb9618","fixed":"aed8816305575b38dcc77feb6f1bc1d0ed32f5b8","status":"affected"},{"type":"git","introduced":"6ee95d1c899186c0798cafd25998d436bcdb9618","fixed":"733dd17158f96aaa25408dc39bbb2738fda9300e","status":"affected"},{"type":"git","introduced":"6ee95d1c899186c0798cafd25998d436bcdb9618","fixed":"cc3bca2110ac85cd964da997ef83d84cab0d49fb","status":"affected"},{"type":"git","introduced":"6ee95d1c899186c0798cafd25998d436bcdb9618","fixed":"fd1ef88049de09bc70d60b549992524cfc0e66ff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4","fixed":"5.4.220"},{"status":"affected","introduced":"5.5","fixed":"5.10.150"},{"status":"affected","introduced":"5.11","fixed":"5.15.75"},{"status":"affected","introduced":"5.16","fixed":"5.19.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/acc393aecda05bf64ed13b732931462e07a1bf08","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e060c4b9f33c1fca74df26d57a98e784295327e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aed8816305575b38dcc77feb6f1bc1d0ed32f5b8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/733dd17158f96aaa25408dc39bbb2738fda9300e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc3bca2110ac85cd964da997ef83d84cab0d49fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd1ef88049de09bc70d60b549992524cfc0e66ff","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:21:27.854Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50348","url":"https://www.cve.org/CVERecord?id=CVE-2022-50348","licence":"CVE Terms of Use","modified":"2026-05-11T19:17:47.708Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50348","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50348","licence":"Public domain","modified":"2026-06-17T05:23:17.447Z"}],"updatedAt":"2026-11-25T22:58:21.175Z","epss":{"score":0.00166,"percentile":0.06143,"date":"2026-12-02T12:00:21.000Z"}}