CVE-2026-93106

Source
https://cve.org/CVERecord?id=CVE-2026-93106
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93106.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-93106
Downstream
Published
2026-09-17T16:11:17Z
Modified
2026-09-19T03:47:27Z
Summary
crash_dump: release keyring reference at the correct time
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93106.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
62f17d9df6924cf805de5ae970470615c1c8d9f2
Fixed
b0f7343a002f9c8b8378011f60482c76f3216dfd
Fixed
ed566979f99c5516cad45a76ae25e2a4928ffb67
Fixed
ada2e5a44e99113e08ad9b7b71396c6c572204da

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93106.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.52
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93106.json"