{"api_version":"1","generated_at":"2026-06-04T01:31:31+00:00","cve":"CVE-2026-46057","urls":{"html":"https://cve.report/CVE-2026-46057","api":"https://cve.report/api/cve/CVE-2026-46057.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46057","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46057"},"summary":{"title":"landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlandlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()\n\nhook_cred_transfer() only copies the Landlock security blob when the\nsource credential has a domain.  This is inconsistent with\nlandlock_restrict_self() which can set LOG_SUBDOMAINS_OFF on a\ncredential without creating a domain (via the ruleset_fd=-1 path): the\nfield is committed but not preserved across fork() because the child's\nprepare_creds() calls hook_cred_transfer() which skips the copy when\ndomain is NULL.\n\nThis breaks the documented use case where a process mutes subdomain logs\nbefore forking sandboxed children: the children lose the muting and\ntheir domains produce unexpected audit records.\n\nFix this by unconditionally copying the Landlock credential blob.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:25","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/1c513b8a00df13d231021e74ad92babb3fedf64a","name":"https://git.kernel.org/stable/c/1c513b8a00df13d231021e74ad92babb3fedf64a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/874c8f83826c95c62c21d9edfe9ef43e5c346724","name":"https://git.kernel.org/stable/c/874c8f83826c95c62c21d9edfe9ef43e5c346724","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2fcde49092aac55d5beef43fdd3633217672f7d1","name":"https://git.kernel.org/stable/c/2fcde49092aac55d5beef43fdd3633217672f7d1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46057","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46057","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ead9079f75696a028aea8860787770c80eddb8f9 2fcde49092aac55d5beef43fdd3633217672f7d1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ead9079f75696a028aea8860787770c80eddb8f9 1c513b8a00df13d231021e74ad92babb3fedf64a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ead9079f75696a028aea8860787770c80eddb8f9 874c8f83826c95c62c21d9edfe9ef43e5c346724 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.27 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.4 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"46057","cve":"CVE-2026-46057","epss":"0.000170000","percentile":"0.042650000","score_date":"2026-06-01","updated_at":"2026-06-02 00:05:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["security/landlock/cred.c","tools/testing/selftests/landlock/audit_test.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2fcde49092aac55d5beef43fdd3633217672f7d1","status":"affected","version":"ead9079f75696a028aea8860787770c80eddb8f9","versionType":"git"},{"lessThan":"1c513b8a00df13d231021e74ad92babb3fedf64a","status":"affected","version":"ead9079f75696a028aea8860787770c80eddb8f9","versionType":"git"},{"lessThan":"874c8f83826c95c62c21d9edfe9ef43e5c346724","status":"affected","version":"ead9079f75696a028aea8860787770c80eddb8f9","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["security/landlock/cred.c","tools/testing/selftests/landlock/audit_test.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.15"},{"lessThan":"6.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.27","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.27","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.4","versionStartIncluding":"6.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc1","versionStartIncluding":"6.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlandlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()\n\nhook_cred_transfer() only copies the Landlock security blob when the\nsource credential has a domain.  This is inconsistent with\nlandlock_restrict_self() which can set LOG_SUBDOMAINS_OFF on a\ncredential without creating a domain (via the ruleset_fd=-1 path): the\nfield is committed but not preserved across fork() because the child's\nprepare_creds() calls hook_cred_transfer() which skips the copy when\ndomain is NULL.\n\nThis breaks the documented use case where a process mutes subdomain logs\nbefore forking sandboxed children: the children lose the muting and\ntheir domains produce unexpected audit records.\n\nFix this by unconditionally copying the Landlock credential blob."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:57:16.076Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/2fcde49092aac55d5beef43fdd3633217672f7d1"},{"url":"https://git.kernel.org/stable/c/1c513b8a00df13d231021e74ad92babb3fedf64a"},{"url":"https://git.kernel.org/stable/c/874c8f83826c95c62c21d9edfe9ef43e5c346724"}],"title":"landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46057","datePublished":"2026-05-27T12:57:16.076Z","dateReserved":"2026-05-13T15:03:33.094Z","dateUpdated":"2026-05-27T12:57:16.076Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:25","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46057","Ordinal":"1","Title":"landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()","CVE":"CVE-2026-46057","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46057","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nlandlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()\n\nhook_cred_transfer() only copies the Landlock security blob when the\nsource credential has a domain.  This is inconsistent with\nlandlock_restrict_self() which can set LOG_SUBDOMAINS_OFF on a\ncredential without creating a domain (via the ruleset_fd=-1 path): the\nfield is committed but not preserved across fork() because the child's\nprepare_creds() calls hook_cred_transfer() which skips the copy when\ndomain is NULL.\n\nThis breaks the documented use case where a process mutes subdomain logs\nbefore forking sandboxed children: the children lose the muting and\ntheir domains produce unexpected audit records.\n\nFix this by unconditionally copying the Landlock credential blob.","Type":"Description","Title":"landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()"}]}}}