# CVE-2022-49103: NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2025-02-26T01:54:52.530Z
- Modified: 2026-06-17T05:17:05.083Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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 xiongx18@fudan.edu.cn. 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0491567b51efeca807da1125a1a0d5193875e286 before 9b9feec97c1fc7dd9bb69f62c4905cddf1801599; from 0491567b51efeca807da1125a1a0d5193875e286 before b37f482ba9f0e6382c188e3fccf6c4b2fdc938eb; from 0491567b51efeca807da1125a1a0d5193875e286 before fb73bf6305f4eb8f0cf9a61ee874d55f019d6dc4; from 0491567b51efeca807da1125a1a0d5193875e286 before f46f632f9cfae4b2e3635fa58840a8ec584c42e3; from 0491567b51efeca807da1125a1a0d5193875e286 before b7f114edd54326f730a754547e7cfb197b5bc132; 5.5 (not affected: before 5.5; from 5.10.111 up to 5.10.*; from 5.15.34 up to 5.15.*; from 5.16.20 up to 5.16.*; from 5.17.3 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 5.10.111; from 5.11 before 5.15.34; from 5.16 before 5.16.20; from 5.17 before 5.17.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/9b9feec97c1fc7dd9bb69f62c4905cddf1801599> (patch)
- <https://git.kernel.org/stable/c/b37f482ba9f0e6382c188e3fccf6c4b2fdc938eb> (patch)
- <https://git.kernel.org/stable/c/fb73bf6305f4eb8f0cf9a61ee874d55f019d6dc4> (patch)
- <https://git.kernel.org/stable/c/f46f632f9cfae4b2e3635fa58840a8ec584c42e3> (patch)
- <https://git.kernel.org/stable/c/b7f114edd54326f730a754547e7cfb197b5bc132> (patch)

## Sources

- CVE List: [CVE-2022-49103](https://www.cve.org/CVERecord?id=CVE-2022-49103), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49103](https://nvd.nist.gov/vuln/detail/CVE-2022-49103), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49103 · Whole record: https://cve.day/CVE-2022-49103.json · Rebuilt by cve.day 2026-11-25T22:58:20.177Z
