Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-42318

published high CVSS 3.1 · 8.8

landlock: Don't lose track of restrictions on cred_transfer

Published
17 Aug 2024, 09:09:31 UTC
Updated
05 Aug 2026, 11:36:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 916c648323fa53b89eedb34a0988ddaf01406117 · 385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 0d74fd54db0bd0c0c224bef0da8fc95ea9c9f36c · 385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 16896914bace82d7811c62f3b6d5320132384f49 · 385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < b14cc2cf313bd29056fadbc8ecd7f957cf5791ff · 385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 39705a6c29f8a2b93cf5b99528a55366c50014d1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.165 through 5.15.* (unaffected · semver) · 6.1.103 through 6.1.* (unaffected · semver) · 6.6.44 through 6.6.* (unaffected · semver) · 6.10.3 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaults390x Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-rtx86_64 Advisory build 5.14.21-150500.13.67.3 SUSE-SU-2024:3209-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultppc64le Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaults390x Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-rtx86_64 Advisory build 5.14.21-150500.13.67.3 SUSE-SU-2024:3209-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-rtx86_64 Advisory build 5.14.21-150500.13.67.3 SUSE-SU-2024:3209-1
SUSE / openSUSE SLE-15-SP5 kernel-64kbaarch64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-64kb-develaarch64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-azureaarch64 Advisory build 5.14.21-150500.33.66.1 SUSE-SU-2024:3190-1
SUSE / openSUSE SLE-15-SP5 kernel-azurex86_64 Advisory build 5.14.21-150500.33.66.1 SUSE-SU-2024:3190-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develaarch64 Advisory build 5.14.21-150500.33.66.1 SUSE-SU-2024:3190-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develx86_64 Advisory build 5.14.21-150500.33.66.1 SUSE-SU-2024:3190-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultaarch64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultppc64le Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-defaults390x Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultx86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseaarch64 Advisory build 5.14.21-150500.55.80.2.150500.6.35.6 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseppc64le Advisory build 5.14.21-150500.55.80.2.150500.6.35.6 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-basex86_64 Advisory build 5.14.21-150500.55.80.2.150500.6.35.6 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develaarch64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develppc64le Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-devels390x Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develx86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-extrax86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchppc64le Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchs390x Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchx86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-devels390x Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-develnoarch Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-azurenoarch Advisory build 5.14.21-150500.33.66.1 SUSE-SU-2024:3190-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-rtnoarch Advisory build 5.14.21-150500.13.67.3 SUSE-SU-2024:3209-1
SUSE / openSUSE SLE-15-SP5 kernel-docsnoarch Advisory build 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

34

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - Exploitation requires executing local syscalls (`fork()` plus `keyctl(KEYCTL_JOIN_SESSION_KEYRING)` / `keyctl(KEYCTL_SESSION_TO_PARENT)`) on the target system; there is no remote or adjacent-network entry point into the credential-transfer path. AC:L - The attacker controls every precondition — the parent/child relationship, single-threadedness, matching uid/gid, and the distinct session keyrings — and the upstream selftest demonstrates the escape is 100% deterministic with no race, memory-layout, or timing dependency. PR:L - Only the ability to run code as an ordinary local user is needed; Landlock sandboxing and `keyctl()` are entirely unprivileged (the selftest explicitly calls `drop_caps()` before reproducing the escape), and in fact the attacker starts from a *less*-than-normal privilege level inside the sandbox. UI:N - The "victim" whose credentials are rewritten is the attacker's own parent process, driven entirely by the attacker's task_work; no action by any other user is required. S:C - This is a sandbox escape — the confined process breaks out of the Landlock domain imposed by a separate security authority (the sandboxing supervisor/policy), gaining access to filesystem and network resources managed outside the vulnerable component's security scope. C:H - All Landlock restrictions are dropped at once, so the escaped process can read every file and directory the policy was specifically deployed to hide from it, a total loss of the confidentiality guarantee of the impacted component. I:H - The escape restores unrestricted write, create, rename, link and (ABI 3+) truncate access plus network bind/connect, letting the process arbitrarily modify data the sandbox policy protected. A:H - With every restriction removed the process can delete and truncate files the Landlock policy existed to protect, destroying the availability of the sandboxed resources; the protection is permanently and completely lost for the lifetime of the process and all its descendants.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 916c648323fa53b89eedb34a0988ddaf01406117 (affected · git)385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 0d74fd54db0bd0c0c224bef0da8fc95ea9c9f36c (affected · git)385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 16896914bace82d7811c62f3b6d5320132384f49 (affected · git)385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < b14cc2cf313bd29056fadbc8ecd7f957cf5791ff (affected · git)385975dca53eb41031d0cbd1de318eb1bc5d6bb9 to < 39705a6c29f8a2b93cf5b99528a55366c50014d1 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.165 through 5.15.* (unaffected · semver)6.1.103 through 6.1.* (unaffected · semver)6.6.44 through 6.6.* (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

10

Provider assertions

3

Linux · cna

landlock: Don't lose track of restrictions on cred_transfer

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
0e6013d4bf41d025c220a5f97668c9f24283d4766d0152a18476395f106fac9c
Ingested
23 Sep 2026, 08:26:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected