# CVE-2026-93106: crash_dump: release keyring reference at the correct time

- 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.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-09-17T16:11:17.136Z
- Modified: 2026-10-19T10:17:00.450Z
- Assigned by: Linux

## Description

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

crash_dump: release keyring reference at the correct time

restore_dm_crypt_keys_to_thread_keyring() gets a reference to the user
keyring before restoring the saved dm-crypt keys.

The same keyring reference is then passed to add_key_to_keyring() for each
saved key, but add_key_to_keyring() drops that reference on every call.
This is only balanced when exactly one key is restored. With multiple
keys, the keyring reference is dropped too many times and may trigger a
refcount underflow or use-after-free.

When more than five keys are restored, a refcount underflow/use-after-free
warning can be triggered.

The early error paths after lookup_user_key() also return without dropping
the keyring reference.

Keep ownership of the keyring reference in
restore_dm_crypt_keys_to_thread_keyring(), drop it once on all exit paths,
and make add_key_to_keyring() only use the reference without consuming it.

(As written by CVE List.)

## Affected

- Linux Linux: from 62f17d9df6924cf805de5ae970470615c1c8d9f2 before b0f7343a002f9c8b8378011f60482c76f3216dfd; from 62f17d9df6924cf805de5ae970470615c1c8d9f2 before ed566979f99c5516cad45a76ae25e2a4928ffb67; from 62f17d9df6924cf805de5ae970470615c1c8d9f2 before ada2e5a44e99113e08ad9b7b71396c6c572204da; 6.16 (not affected: before 6.16; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b0f7343a002f9c8b8378011f60482c76f3216dfd>
- <https://git.kernel.org/stable/c/ed566979f99c5516cad45a76ae25e2a4928ffb67>
- <https://git.kernel.org/stable/c/ada2e5a44e99113e08ad9b7b71396c6c572204da>

## Sources

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

---

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