# CVE-2022-49704: 9p: fix fid refcount leak in v9fs_vfs_get_link

- 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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-02-26T02:24:23.384Z
- Modified: 2026-06-17T05:18:54.907Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

9p: fix fid refcount leak in v9fs_vfs_get_link

we check for protocol version later than required, after a fid has
been obtained. Just move the version check earlier.

(As written by CVE List.)

## Affected

- Linux Linux: from 6636b6dcc3db2258cd0585b8078c1c225c4b6dde before f0126bcaee81dabc1926012126aa74caa03a4c6e; from 6636b6dcc3db2258cd0585b8078c1c225c4b6dde before e7b6d622bd812013eb39c8f4cd65b7ee8ede1e02; from 6636b6dcc3db2258cd0585b8078c1c225c4b6dde before e5690f263208c5abce7451370b7786eb25b405eb; 5.11 (not affected: before 5.11; from 5.15.51 up to 5.15.*; from 5.18.8 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.11 before 5.15.51; from 5.16 before 5.18.8; 5.19

## 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/f0126bcaee81dabc1926012126aa74caa03a4c6e> (patch)
- <https://git.kernel.org/stable/c/e7b6d622bd812013eb39c8f4cd65b7ee8ede1e02> (patch)
- <https://git.kernel.org/stable/c/e5690f263208c5abce7451370b7786eb25b405eb> (patch)

## Sources

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

---

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