# CVE-2022-49705: 9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl

- 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:24.077Z
- Modified: 2026-06-17T05:18:55.073Z
- 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_atomic_open_dotl

We need to release directory fid if we fail halfway through open

This fixes fid leaking with xfstests generic 531

(As written by CVE List.)

## Affected

- Linux Linux: from 6636b6dcc3db2258cd0585b8078c1c225c4b6dde before 22832ac3eb5be3f7168816a76b64c1284e12eb3c; from 6636b6dcc3db2258cd0585b8078c1c225c4b6dde before 8bc5412ba1a45edfd1e451874c483c26a097af2b; from 6636b6dcc3db2258cd0585b8078c1c225c4b6dde before beca774fc51a9ba8abbc869cf0c3d965ff17cd24; 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/22832ac3eb5be3f7168816a76b64c1284e12eb3c> (patch)
- <https://git.kernel.org/stable/c/8bc5412ba1a45edfd1e451874c483c26a097af2b> (patch)
- <https://git.kernel.org/stable/c/beca774fc51a9ba8abbc869cf0c3d965ff17cd24> (patch)

## Sources

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

---

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