In the Linux kernel, the following vulnerability has been resolved: landlock: Don't lose track of restrictions on cred_transfer When a process' cred struct is replaced, this _almost_ always invokes the cred_prepare LSM hook; but in one special case (when KEYCTL_SESSION_TO_PARENT updates the parent's credentials), the cred_transfer LSM hook is used instead.
Overview
In the Linux kernel, the following vulnerability has been resolved: landlock: Don't lose track of restrictions on cred_transfer When a process' cred struct is replaced, this _almost_ always invokes the cred_prepare LSM hook; but in one special case (when KEYCTL_SESSION_TO_PARENT updates the parent's credentials), the cred_transfer LSM hook is used instead. Landlock only implements the cred_prepare hook, not cred_transfer, so KEYCTL_SESSION_TO_PARENT causes all information on Landlock restrictions to be lost. This basically means that a process with the ability to use the fork() and keyctl() syscalls can get rid of all Landlock restrictions on itself. Fix it by adding a cred_transfer hook that does the same thing as the existing cred_prepare hook. (Implemented by having hook_cred_prepare() call hook_cred_transfer() so that the two functions are less likely to accidentally diverge in the future.)
- Published
- 8/17/2024
- Last modified
- 8/4/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 5.13, < 5.15.165 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.103 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.44 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.10.3 | Verify advisory | Source |
Linux Linux | ≥ 385975dca53eb41031d0cbd1de318eb1bc5d6bb9, < 916c648323fa53b89eedb34a0988ddaf01406117 | Verify advisory | Source |
Linux Linux | ≥ 385975dca53eb41031d0cbd1de318eb1bc5d6bb9, < 0d74fd54db0bd0c0c224bef0da8fc95ea9c9f36c | Verify advisory | Source |
Linux Linux | ≥ 385975dca53eb41031d0cbd1de318eb1bc5d6bb9, < 16896914bace82d7811c62f3b6d5320132384f49 | Verify advisory | Source |
Linux Linux | ≥ 385975dca53eb41031d0cbd1de318eb1bc5d6bb9, < b14cc2cf313bd29056fadbc8ecd7f957cf5791ff | Verify advisory | Source |
Linux Linux | ≥ 385975dca53eb41031d0cbd1de318eb1bc5d6bb9, < 39705a6c29f8a2b93cf5b99528a55366c50014d1 | Verify advisory | Source |
Linux Linux | 5.13 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.