{"id":"CVE-2026-46057","aliases":["CVE-2026-46057"],"related":[],"kind":"vulnerability","state":"published","title":"landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-05-27T12:57:16.076Z","modified":"2026-06-17T10:52:59.670Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ead9079f75696a028aea8860787770c80eddb8f9","fixed":"2fcde49092aac55d5beef43fdd3633217672f7d1","status":"affected"},{"type":"git","introduced":"ead9079f75696a028aea8860787770c80eddb8f9","fixed":"1c513b8a00df13d231021e74ad92babb3fedf64a","status":"affected"},{"type":"git","introduced":"ead9079f75696a028aea8860787770c80eddb8f9","fixed":"874c8f83826c95c62c21d9edfe9ef43e5c346724","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.27","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.15","fixed":"6.18.27"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2fcde49092aac55d5beef43fdd3633217672f7d1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c513b8a00df13d231021e74ad92babb3fedf64a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/874c8f83826c95c62c21d9edfe9ef43e5c346724","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46057","url":"https://www.cve.org/CVERecord?id=CVE-2026-46057","licence":"CVE Terms of Use","modified":"2026-06-14T17:51:11.492Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46057","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46057","licence":"Public domain","modified":"2026-06-17T10:52:59.670Z"}],"updatedAt":"2026-11-25T22:59:22.564Z","epss":{"score":0.00118,"percentile":0.01898,"date":"2026-12-01T12:00:22.000Z"}}