# CVE-2026-46057: landlock: Fix LOG\_SUBDOMAINS\_OFF inheritance across fork()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-30)
- **Published:** 2026-05-27T12:57:16.076Z
- **Modified:** 2026-06-17T10:52:59.670Z

## Who should check

- Anyone running Linux \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 2fcde49092aac55d5beef43fdd3633217672f7d1; \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 1c513b8a00df13d231021e74ad92babb3fedf64a; \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 874c8f83826c95c62c21d9edfe9ef43e5c346724
- Anyone running Linux 6.15

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

## Affected and fixed versions

- Linux: \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 2fcde49092aac55d5beef43fdd3633217672f7d1; \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 1c513b8a00df13d231021e74ad92babb3fedf64a; \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 874c8f83826c95c62c21d9edfe9ef43e5c346724 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 874c8f83826c95c62c21d9edfe9ef43e5c346724 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46057. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46057.md
Affected: Linux >= ead9079f75696a028aea8860787770c80eddb8f9, < 2fcde49092aac55d5beef43fdd3633217672f7d1; >= ead9079f75696a028aea8860787770c80eddb8f9, < 1c513b8a00df13d231021e74ad92babb3fedf64a; >= ead9079f75696a028aea8860787770c80eddb8f9, < 874c8f83826c95c62c21d9edfe9ef43e5c346724; Linux 6.15
Fixed in: Linux 2fcde49092aac55d5beef43fdd3633217672f7d1, Linux 1c513b8a00df13d231021e74ad92babb3fedf64a, Linux 874c8f83826c95c62c21d9edfe9ef43e5c346724

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46057 being exploited?

There is no confirmed exploitation: CVE-2026-46057 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2026-46057?

Low: CVSS 3.3 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46057?

Linux \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 2fcde49092aac55d5beef43fdd3633217672f7d1; \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 1c513b8a00df13d231021e74ad92babb3fedf64a; \>= ead9079f75696a028aea8860787770c80eddb8f9, \< 874c8f83826c95c62c21d9edfe9ef43e5c346724; Linux 6.15.

### Is there a fix for CVE-2026-46057?

Yes. Fixed in Linux 2fcde49092aac55d5beef43fdd3633217672f7d1, Linux 1c513b8a00df13d231021e74ad92babb3fedf64a, Linux 874c8f83826c95c62c21d9edfe9ef43e5c346724. Upgrade Linux to 874c8f83826c95c62c21d9edfe9ef43e5c346724 or later.

### How do I check if I'm affected by CVE-2026-46057?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2fcde49092aac55d5beef43fdd3633217672f7d1>
- patch: <https://git.kernel.org/stable/c/1c513b8a00df13d231021e74ad92babb3fedf64a>
- patch: <https://git.kernel.org/stable/c/874c8f83826c95c62c21d9edfe9ef43e5c346724>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46057>

HTML: <https://flawdb.com/CVE-2026-46057> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46057>
