CVE-2022-50348Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 95.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 16

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel5.45.4.220+4
Debianlinux/linux_kernel< 5.10.158-1+3
CVEListV5linux/linux6ee95d1c899186c0798cafd25998d436bcdb9618acc393aecda05bf64ed13b732931462e07a1bf08+6
debiandebian/linux< linux 6.0.3-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50348: 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 fails2025-09-16
GHSA
GHSA-ww8x-45hp-h7qm: 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 fai2025-09-16

📋Vendor Advisories

2
Red Hat
kernel: nfsd: Fix a memory leak in an error handling path2025-09-16
Debian
CVE-2022-50348: linux - In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix a...2022
CVE-2022-50348 — Linux vulnerability | cvebase