What’s Vulnerable › Vulnerabilities
CVE-2022-49704: 9p: fix fid refcount leak in v9fs_vfs_get_link
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
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.
Affected products
- Linux kernel: from 5.11 before 5.15.51; from 5.16 before 5.18.8; 5.19-rc1, 5.19-rc2, 5.19-rc3 — fixed in 5.15.51, 5.18.8
How to fix
Upgrade to a fixed version: Linux kernel 5.15.51, 5.18.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/e5690f263208c5abce7451370b7786eb25b405eb
- https://git.kernel.org/stable/c/e7b6d622bd812013eb39c8f4cd65b7ee8ede1e02
- https://git.kernel.org/stable/c/f0126bcaee81dabc1926012126aa74caa03a4c6e
Get alerted when CVE-2022-49704 or the next vulnerability affects your stack