FKIE_CVE-2026-99222
Vulnerability from fkie_nvd - Published: 2026-11-02 16:17 - Updated: 2026-11-03 20:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved:
keys: Protect the read method check against type removal
keyctl_read_key() checks key->type->read without holding key->sem.
A reference keeps the key alive, but does not pin the module containing
its type. A surviving RxRPC key can therefore be read while AF_RXRPC
is being unloaded:
KEYCTL_READ task Module unload and key GC
---------------- ------------------------
lookup_user_key()
permission / possession checks
load key->type
af_rxrpc_exit()
unregister_key_type()
GC: down_write(key->sem)
GC: retype to key_type_dead
GC: up_write(key->sem)
unregister_key_type() returns
free_module()
read saved type's read member
The final access can read freed module storage. The read invocation in
__keyctl_read_key() is already protected by key->sem, but the earlier
method check is outside that critical section.
Move the method check into __keyctl_read_key(), after key_validate() and
under its existing read hold on key->sem. The check and invocation then
use the same protected type for length queries and every read retry.
The GC cannot retype the key until the semaphore is released, and type
unregistration waits for that GC pass before the module can be freed.
Return -EOPNOTSUPP when validation succeeds and the type has no read
method. A temporary buffer may now be allocated before this result;
allocation and copying to userspace remain outside the semaphore.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"security/keys/keyctl.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "e5f830ae6611cddbfc504c43f14155f60b63206a",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "ff11cfed85cbfdd7fe1185ebd18d2c7a8353ad8d",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "1486caee47b4909f52835a957c3293e970113e44",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "ff44f1b303aa76a818d898e85c56ed4852c031e2",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "6a36e2a1a017c51f8a8ad2a094566bad97c46a9b",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "3edc064069d07e7d37359fcb4d03d3bab15ee3ab",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "cf1af7df80e38bf58bd74c2cccce32fcbd1a596a",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "e2a2deda08d91644f5e30c17d267b1cdc5f124b2",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"lessThan": "925c84e3cc21caf09de92d9bcafab0147790debf",
"status": "affected",
"version": "d3ec10aa95819bff18a0d936b18884c7816d0914",
"versionType": "git"
},
{
"status": "affected",
"version": "7fa67aa30509ad0da72ac0f757aa76e53c0ea3de",
"versionType": "git"
},
{
"status": "affected",
"version": "18779eac17b5df9dff57138d07631573553a41d4",
"versionType": "git"
},
{
"status": "affected",
"version": "f1afcf9488fc45765e20e2047d3b776981900e0b",
"versionType": "git"
},
{
"status": "affected",
"version": "212d3adb1af4e34acb158d6c6def370016a1011d",
"versionType": "git"
},
{
"lessThan": "4.15",
"status": "affected",
"version": "4.14.177",
"versionType": "semver"
},
{
"lessThan": "4.20",
"status": "affected",
"version": "4.19.118",
"versionType": "semver"
},
{
"lessThan": "5.5",
"status": "affected",
"version": "5.4.35",
"versionType": "semver"
},
{
"lessThan": "5.7",
"status": "affected",
"version": "5.6.7",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"security/keys/keyctl.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.7"
},
{
"lessThan": "5.7",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.273",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.224",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.191",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.161",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.115",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.60",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.14",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.1",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nkeys: Protect the read method check against type removal\n\nkeyctl_read_key() checks key-\u003etype-\u003eread without holding key-\u003esem.\nA reference keeps the key alive, but does not pin the module containing\nits type. A surviving RxRPC key can therefore be read while AF_RXRPC\nis being unloaded:\n\n KEYCTL_READ task Module unload and key GC\n ---------------- ------------------------\n lookup_user_key()\n permission / possession checks\n load key-\u003etype\n af_rxrpc_exit()\n unregister_key_type()\n GC: down_write(key-\u003esem)\n GC: retype to key_type_dead\n GC: up_write(key-\u003esem)\n unregister_key_type() returns\n free_module()\n read saved type\u0027s read member\n\nThe final access can read freed module storage. The read invocation in\n__keyctl_read_key() is already protected by key-\u003esem, but the earlier\nmethod check is outside that critical section.\n\nMove the method check into __keyctl_read_key(), after key_validate() and\nunder its existing read hold on key-\u003esem. The check and invocation then\nuse the same protected type for length queries and every read retry.\nThe GC cannot retype the key until the semaphore is released, and type\nunregistration waits for that GC pass before the module can be freed.\n\nReturn -EOPNOTSUPP when validation succeeds and the type has no read\nmethod. A temporary buffer may now be allocated before this result;\nallocation and copying to userspace remain outside the semaphore."
}
],
"id": "CVE-2026-99222",
"lastModified": "2026-11-03T20:18:27.500",
"metrics": {},
"published": "2026-11-02T16:17:46.460",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1486caee47b4909f52835a957c3293e970113e44"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/3edc064069d07e7d37359fcb4d03d3bab15ee3ab"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/6a36e2a1a017c51f8a8ad2a094566bad97c46a9b"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/925c84e3cc21caf09de92d9bcafab0147790debf"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/cf1af7df80e38bf58bd74c2cccce32fcbd1a596a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e2a2deda08d91644f5e30c17d267b1cdc5f124b2"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e5f830ae6611cddbfc504c43f14155f60b63206a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ff11cfed85cbfdd7fe1185ebd18d2c7a8353ad8d"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ff44f1b303aa76a818d898e85c56ed4852c031e2"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.