CVE-2026-46057
Analyzed Analyzed - Analysis Complete
Landlock Credential Blob Copy Fix in Linux Kernel

Publication date: 2026-05-27

Last updated on: 2026-06-16

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork() hook_cred_transfer() only copies the Landlock security blob when the source credential has a domain. This is inconsistent with landlock_restrict_self() which can set LOG_SUBDOMAINS_OFF on a credential without creating a domain (via the ruleset_fd=-1 path): the field is committed but not preserved across fork() because the child's prepare_creds() calls hook_cred_transfer() which skips the copy when domain is NULL. This breaks the documented use case where a process mutes subdomain logs before forking sandboxed children: the children lose the muting and their domains produce unexpected audit records. Fix this by unconditionally copying the Landlock credential blob.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-06-16
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.19 (inc) to 7.0.4 (exc)
linux linux_kernel From 6.15 (inc) to 6.18.27 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is related to the Landlock security module in the Linux kernel. Specifically, it concerns the inheritance of the LOG_SUBDOMAINS_OFF setting across process forks. The issue arises because the function hook_cred_transfer() only copies the Landlock security blob if the source credential has a domain. However, landlock_restrict_self() can set LOG_SUBDOMAINS_OFF on a credential without creating a domain. As a result, when a process mutes subdomain logs before forking sandboxed children, the children lose this muting setting because the child process's credentials do not preserve the LOG_SUBDOMAINS_OFF flag across fork(). This leads to unexpected audit records being generated by the child processes' domains.

The fix involves unconditionally copying the Landlock credential blob during the fork process to ensure that the LOG_SUBDOMAINS_OFF setting is preserved in child processes.

Impact Analysis

This vulnerability can impact you by causing unexpected audit records to be generated by child processes that were intended to have muted subdomain logs. If a process mutes subdomain logs before forking sandboxed children, the children lose this muting due to the bug, potentially leading to increased or unintended logging.

This could result in confusion or difficulty in managing audit logs, as the logs may contain entries that were expected to be suppressed. It may also affect the behavior of sandboxed processes relying on this muting for privacy or security reasons.

Compliance Impact

This vulnerability affects the Landlock security module in the Linux kernel, specifically the inheritance of the LOG_SUBDOMAINS_OFF setting across forked processes. Because the muting of subdomain logs is lost in child processes, it can lead to unexpected audit records being generated.

Unexpected or excessive audit records could potentially impact compliance with standards and regulations such as GDPR or HIPAA, which require proper logging and auditing of security-relevant events to protect sensitive data and ensure accountability.

However, the provided information does not explicitly state the direct impact on compliance with these standards.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46057. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart