# CVE-2022-50856: cifs: Fix xid leak in cifs_ses_add_channel()

- Severity: not scored yet
- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-30T12:15:31.193Z
- Modified: 2026-06-17T05:24:18.290Z
- Assigned by: Linux

## Description

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

cifs: Fix xid leak in cifs_ses_add_channel()

Before return, should free the xid, otherwise, the
xid will be leaked.

(As written by CVE List.)

## Affected

- Linux Linux: from d70e9fa55884760b6d6c293dbf20d8c52ce11fb7 before 7286f875510486fdc2fc426b7c826262e2283a65; from d70e9fa55884760b6d6c293dbf20d8c52ce11fb7 before 847301f0ee1c29f34cc48547ce1071990f24969c; from d70e9fa55884760b6d6c293dbf20d8c52ce11fb7 before db2a8b6c17e128d91f35d836c569f4a6bda4471b; from d70e9fa55884760b6d6c293dbf20d8c52ce11fb7 before e909d054bdea75ef1ec48c18c5936affdaecbb2c; 5.5 (not affected: before 5.5; from 5.10.152 up to 5.10.*; from 5.15.76 up to 5.15.*; from 6.0.6 up to 6.0.*; from 6.1 up to *)

## References

- <https://git.kernel.org/stable/c/7286f875510486fdc2fc426b7c826262e2283a65>
- <https://git.kernel.org/stable/c/847301f0ee1c29f34cc48547ce1071990f24969c>
- <https://git.kernel.org/stable/c/db2a8b6c17e128d91f35d836c569f4a6bda4471b>
- <https://git.kernel.org/stable/c/e909d054bdea75ef1ec48c18c5936affdaecbb2c>

## Sources

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

---

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