CVE-2022-49103
NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() [You don't often get email from [email protected]. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.] The reference counting issue happens in two error paths in the function _nfs42_proc_copy_notify(). In both error paths, the function simply returns the error code and forgets to balance the refcount of object `ctx`, bumped by get_nfs_open_context() earlier, which may cause refcount leaks. Fix it by balancing refcount of the `ctx` object before the function returns in both error paths.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
- CWE-noinfo Not enough information
Affected products
- affected 0491567b51efeca807da1125a1a0d5193875e286 – < 9b9feec97c1fc7dd9bb69f62c4905cddf1801599
- affected 0491567b51efeca807da1125a1a0d5193875e286 – < b37f482ba9f0e6382c188e3fccf6c4b2fdc938eb
- affected 0491567b51efeca807da1125a1a0d5193875e286 – < fb73bf6305f4eb8f0cf9a61ee874d55f019d6dc4
- affected 0491567b51efeca807da1125a1a0d5193875e286 – < f46f632f9cfae4b2e3635fa58840a8ec584c42e3
- affected 0491567b51efeca807da1125a1a0d5193875e286 – < b7f114edd54326f730a754547e7cfb197b5bc132
- affected 5.5
- unaffected < 5.5
- unaffected 5.10.111 – ≤ 5.10.*
- unaffected 5.15.34 – ≤ 5.15.*
- unaffected 5.16.20 – ≤ 5.16.*
- unaffected 5.17.3 – ≤ 5.17.*
- unaffected 5.18 – ≤ *
References (5)
- https://git.kernel.org/stable/c/9b9feec97c1fc7dd9bb69f62c4905cddf1801599 (opens in a new tab)
- https://git.kernel.org/stable/c/b37f482ba9f0e6382c188e3fccf6c4b2fdc938eb (opens in a new tab)
- https://git.kernel.org/stable/c/fb73bf6305f4eb8f0cf9a61ee874d55f019d6dc4 (opens in a new tab)
- https://git.kernel.org/stable/c/f46f632f9cfae4b2e3635fa58840a8ec584c42e3 (opens in a new tab)
- https://git.kernel.org/stable/c/b7f114edd54326f730a754547e7cfb197b5bc132 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49103)Record last updated .