CVE-2022-50348Published Sep 16, 2025 · Sep 16Updated Oct 28
nfsd: Fix a memory leak in an error handling path
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6ee95d1c899186c0798cafd25998d436bcdb9618 · < fd1ef88049de09bc70d60b549992524cfc0e66ff| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
An error-handling path in the Linux kernel's nfsd component leaks previously allocated memory if a memdup_user() call fails. The input does not specify how an attacker could trigger the failure or whether authentication or user interaction is required.
Engineers running Linux kernels with nfsd should check their installations; affected versions are not specified.