# CVE-2026-99474: HID: hiddev: keep state alive through disconnect unlock

- 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.22%, higher than 13% of CVEs (2026-12-02)
- Published: 2026-11-19T14:43:05.043Z
- Modified: 2026-11-23T08:17:50.950Z
- Assigned by: Linux

## Description

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

HID: hiddev: keep state alive through disconnect unlock

mutex_unlock() clears the mutex owner before taking its wait lock. A
thread spinning in the final hiddev file release can acquire
existancelock after hiddev_disconnect() clears the owner, then free
hiddev before the disconnecting thread reaches the mutex wait lock. This
causes a use-after-free in the mutex slow unlock path.

Give the connection and each open file an explicit reference. Drop each
reference only after its existancelock critical section has completed,
so neither unlock path can free the mutex while the other is still using
it.

(As written by CVE List.)

## Affected

- Linux Linux: from 079034073faf974973baa0256b029451f6e768ad before 56c3173c455a809f6b3413a5ee01bb500d093dd0; from 079034073faf974973baa0256b029451f6e768ad before 99dede838f116bd1ea28c83b78725107e339af0c; from 079034073faf974973baa0256b029451f6e768ad before 1ab3dba884b58ad4fc3afecba7d2346b527b006e; from 079034073faf974973baa0256b029451f6e768ad before dc3245516b252d1ff682e3ef32320cf6009ab9a5; from 079034073faf974973baa0256b029451f6e768ad before 81e3e5ae4228f95414665877f5e487917fbef9c0; from 079034073faf974973baa0256b029451f6e768ad before 1b7b31f0d4bbfb9a87dd8acce1e001a3cf1c1623; from 079034073faf974973baa0256b029451f6e768ad before f214e9fe86a0aba6deb4a0b31b9998fb2b6879b5; from 079034073faf974973baa0256b029451f6e768ad before 03f449b5de36a25fc5eba7dabf2b4494389bdb91; 2.6.29 (not affected: before 2.6.29; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/56c3173c455a809f6b3413a5ee01bb500d093dd0>
- <https://git.kernel.org/stable/c/99dede838f116bd1ea28c83b78725107e339af0c>
- <https://git.kernel.org/stable/c/1ab3dba884b58ad4fc3afecba7d2346b527b006e>
- <https://git.kernel.org/stable/c/dc3245516b252d1ff682e3ef32320cf6009ab9a5>
- <https://git.kernel.org/stable/c/81e3e5ae4228f95414665877f5e487917fbef9c0>
- <https://git.kernel.org/stable/c/1b7b31f0d4bbfb9a87dd8acce1e001a3cf1c1623>
- <https://git.kernel.org/stable/c/f214e9fe86a0aba6deb4a0b31b9998fb2b6879b5>
- <https://git.kernel.org/stable/c/03f449b5de36a25fc5eba7dabf2b4494389bdb91>

## Sources

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

---

Page: https://cve.day/CVE-2026-99474 · Whole record: https://cve.day/CVE-2026-99474.json · Rebuilt by cve.day 2026-11-25T22:59:52.085Z
