CVE-2022-50348

nfsd: Fix a memory leak in an error handling path

MEDIUM
5.5
CVSS Score
Published: September 16, 2025 at 04:11 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.755.16 ≤ v < 5.19.175.4 ≤ v < 5.10.1505.4 ≤ v < 5.15.755.4 ≤ v < 5.19.175.4 ≤ v < 5.4.2205.4 ≤ v < 6.0.35.4 ≤ v < 6.15.5 ≤ v < 5.10.1506.0 ≤ v < 6.0.35.46ee95d1c899186c0798cafd25998d436bcdb9618
Vendor states this is fixed in 733dd17158f96aaa25408dc39bbb2738fda9300e (fixed)
Vendor states this is fixed in acc393aecda05bf64ed13b732931462e07a1bf08 (fixed)
Vendor states this is fixed in aed8816305575b38dcc77feb6f1bc1d0ed32f5b8 (fixed)
Vendor states this is fixed in cc3bca2110ac85cd964da997ef83d84cab0d49fb (fixed)
Vendor states this is fixed in e060c4b9f33c1fca74df26d57a98e784295327e6 (fixed)
Vendor states this is fixed in fd1ef88049de09bc70d60b549992524cfc0e66ff (fixed)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.220 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/733dd17158f96aaa25408dc39bbb2738fda9300e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/acc393aecda05bf64ed13b732931462e07a1bf08
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aed8816305575b38dcc77feb6f1bc1d0ed32f5b8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cc3bca2110ac85cd964da997ef83d84cab0d49fb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e060c4b9f33c1fca74df26d57a98e784295327e6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fd1ef88049de09bc70d60b549992524cfc0e66ff

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card