Skip to content
Heist/ feed
Unrated

crash_dump: release keyring reference at the correct time

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-93106

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-93106

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "62f17d9df6924cf805de5ae970470615c1c8d9f2",
        "lessThan": "b0f7343a002f9c8b8378011f60482c76f3216dfd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "62f17d9df6924cf805de5ae970470615c1c8d9f2",
        "lessThan": "ed566979f99c5516cad45a76ae25e2a4928ffb67",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "62f17d9df6924cf805de5ae970470615c1c8d9f2",
        "lessThan": "ada2e5a44e99113e08ad9b7b71396c6c572204da",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "kernel/crash_dump_dm_crypt.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.16"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.16",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "kernel/crash_dump_dm_crypt.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-93106

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#37834 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement