Linux Kernel Landlock LOG_SUBDOMAINS_OFF Fork Inheritance Vulnerability

Vulnerability

A vulnerability in the Linux kernel's Landlock security module affects the inheritance of the LOG_SUBDOMAINS_OFF setting across fork operations. This issue arises because the hook_cred_transfer function only copies the Landlock security blob when the source credential has an associated domain. As a result, when a process mutes subdomain logs and then forks a child process, the child loses the muting, leading to unexpected audit records. The vulnerability is present in the Linux kernel stable tree.

Impact

The vulnerability disrupts the intended functionality of muting subdomain logs, causing child processes to generate unexpected audit records related to subdomain activities.

Reproduction

The vulnerability can be reproduced by first forking a child process that creates a domain and triggers a denial, which is logged. Then, mute the subdomain logs in the parent process before forking another child. The second child will create a domain and trigger a denial, but this time, the denial will not be logged, demonstrating the issue.

Remediation

The vulnerability has been addressed by modifying the hook_cred_transfer function to unconditionally copy the Landlock credential blob, ensuring that the LOG_SUBDOMAINS_OFF setting is preserved across fork operations.

Added: May 27, 2026, 9:24 PM
Updated: May 27, 2026, 9:24 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
9.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.