← Back to CVE Explorer

CVE-2026-99223

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: keys: make keyring indexes independent of kernel addresses KEYCTL_READ returns the serial numbers in a keyring in associative-array traversal order. The first word of the index is a public, deterministic hash of the type pointer, domain pointer and description. An unprivileged user can therefore insert keys with known descriptions, predict their order for each possible KASLR slide, and recover the kernel image address. On an x86-64 build with 16 MiB alignment, 45 user keys suffice to distinguish the candidate slides. Remove the addresses from the whole index, not just its first hash word. Assign each key type and domain a nonzero 64-bit ID and hash those IDs and the description with a once-initialized SipHash key. Use the full IDs in the later index chunks as well. Truncating or hashing the IDs there would lose the guarantee that distinct type/domain/description tuples have a differing index bit. Allocate IDs lazily since private key types need not be registered. Cache them in the index key so tree walks and copies of an existing index do not need to dereference a type descriptor that may have been unregistered. Keep the 32-bit chunk layout and diff_objects() bit offsets consistent, and retain the separate root slot for keyrings used by recursive search. The key comparison, permissions and userspace data format are unchanged; only the address-dependent in-memory ordering is replaced.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-11-02 16:17:46.650000
Last modified
2026-11-02 16:17:46.650000
View original CVE JSON
{
  "id": "CVE-2026-99223",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-11-02T16:17:46.650",
  "lastModified": "2026-11-02T16:17:46.650",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nkeys: make keyring indexes independent of kernel addresses\n\nKEYCTL_READ returns the serial numbers in a keyring in associative-array\ntraversal order.  The first word of the index is a public, deterministic\nhash of the type pointer, domain pointer and description.  An unprivileged\nuser can therefore insert keys with known descriptions, predict their\norder for each possible KASLR slide, and recover the kernel image address.\nOn an x86-64 build with 16 MiB alignment, 45 user keys suffice to\ndistinguish the candidate slides.\n\nRemove the addresses from the whole index, not just its first hash word.\nAssign each key type and domain a nonzero 64-bit ID and hash those IDs and\nthe description with a once-initialized SipHash key.  Use the full IDs in\nthe later index chunks as well.  Truncating or hashing the IDs there would\nlose the guarantee that distinct type/domain/description tuples have a\ndiffering index bit.\n\nAllocate IDs lazily since private key types need not be registered.  Cache\nthem in the index key so tree walks and copies of an existing index do not\nneed to dereference a type descriptor that may have been unregistered.\nKeep the 32-bit chunk layout and diff_objects() bit offsets consistent,\nand retain the separate root slot for keyrings used by recursive search.\nThe key comparison, permissions and userspace data format are unchanged;\nonly the address-dependent in-memory ordering is replaced."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "include/linux/key-type.h",
            "include/linux/key.h",
            "security/keys/keyring.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "9ebe824d55983c9f063a2c9ef1a08b29812d406f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "e108b22999edbc6f431466baf6b2016c19b7ed31",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "9f084ef0beb68091e96ab96f0e95579aac8a77f9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "8451d4a4c43127c3b9fdf9fc9ff3fea5539a61f9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "13fc051269d670810d9e314061b61c6dd06116a0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "61ac0585d9f4344d3dfb84b5edff1fee7d532897",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "84f7c699f8d139f743c7dc11ef41d085690955bb",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b2a4df200d570b2c33a57e1ebfa5896e4bc81b69",
              "lessThan": "a113eba06bd1183c614d7994864d6e7054140cb9",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "include/linux/key-type.h",
            "include/linux/key.h",
            "security/keys/keyring.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3.13",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.13",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.161",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.115",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.60",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.14",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3.1",
              "lessThanOrEqual": "7.3.*",
              "versionType": "semver",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/13fc051269d670810d9e314061b61c6dd06116a0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/61ac0585d9f4344d3dfb84b5edff1fee7d532897",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/8451d4a4c43127c3b9fdf9fc9ff3fea5539a61f9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/84f7c699f8d139f743c7dc11ef41d085690955bb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9ebe824d55983c9f063a2c9ef1a08b29812d406f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9f084ef0beb68091e96ab96f0e95579aac8a77f9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a113eba06bd1183c614d7994864d6e7054140cb9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e108b22999edbc6f431466baf6b2016c19b7ed31",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}