{"id":"CVE-2026-97594","aliases":[],"cve":{"records":[{"id":"CVE-2026-97594","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-24T16:01:01.157Z","published":"2026-09-25T10:22:10.548Z","modified":"2026-10-30T12:37:31.781Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-10-30T12:37:31.781Z"}],"references":[{"url":"https://git.kernel.org/stable/c/0475440ff8c04be26a88733af0c85f597bb28c0a","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/48fc1c74052c956c59d5b16b5e18e0dd36b76aa2","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/4c37992b9668c4f37aae41dd95c369f7b6009915","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/379efd2ce8b26fd35feb13ccc2f671ff105a5052","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/ba29c46ccfe3ebadfb8aa18149186c49f84b14f8","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/2c6dc792538260a8087ac5b22c31b3b8e47c85d6","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.3"}]}]}]}],"prioritization":[]},"title":"landlock: Fix use-after-free of the source's parent directory","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlandlock: Fix use-after-free of the source's parent directory\n\ncurrent_check_refer_path() reads old_dentry->d_parent without holding a\nreference nor a lock on it, and then dereferences it in\ncollect_domain_accesses() and in the audit record.\n\nA reference on a child does not pin its parent: __d_move() reassigns\ndentry->d_parent and drops the reference the child held on its former\nparent.  hook_path_rename() is not affected because the rename path\ncalls lock_rename() before the hook, so the source cannot be reparented\nunder it.  hook_path_link() has no such protection: filename_linkat()\nholds a reference on the source dentry but neither locks nor references\nits parent, so a concurrent rename(2) can reparent the source while\nsecurity_path_link() runs, and the former parent can then be removed and\nfreed while the hook walks it.\n\nA process can trigger this after entering a Landlock domain that handles\nat least one filesystem access right.  The process can then race a\nlinkat(2) loop against rename(2) and rmdir(2):\n\n  BUG: KASAN: slab-use-after-free in collect_domain_accesses+0x278/0x290\n  Read of size 4 at addr ffff888160bd53f4 by task llrepro2/549\n   collect_domain_accesses+0x278/0x290\n   current_check_refer_path+0x952/0x1120\n   security_path_link+0x1be/0x320\n   filename_linkat+0x342/0x6d0\n   __x64_sys_linkat+0xfa/0x150\n  Freed by task 562:\n   kmem_cache_free+0x139/0x4c0\n   i_callback+0x4b/0x80\n   rcu_core+0x7dc/0x10a0\n\nTake a reference on the dentry selected as the source parent, using\ndget() for the common-mount-root case and dget_parent() otherwise.\nRelease it after the hierarchy walk and synchronous audit logging.\n\n[mic: Clarify the caller, reachability, and reference handling]","score":7.8,"severity":"high","published":"2026-09-25T10:22:10.548Z","modified":"2026-10-30T12:37:31.781Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","status":"affected","lessThan":"0475440ff8c04be26a88733af0c85f597bb28c0a","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","status":"affected","lessThan":"48fc1c74052c956c59d5b16b5e18e0dd36b76aa2","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","status":"affected","lessThan":"4c37992b9668c4f37aae41dd95c369f7b6009915","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","status":"affected","lessThan":"379efd2ce8b26fd35feb13ccc2f671ff105a5052","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","status":"affected","lessThan":"ba29c46ccfe3ebadfb8aa18149186c49f84b14f8","versionType":"git"},{"version":"b91c3e4ea756b12b7d992529226edce1cfd854d7","status":"affected","lessThan":"2c6dc792538260a8087ac5b22c31b3b8e47c85d6","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-97594"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-97594"}],"remediation":[],"references":["https://git.kernel.org/stable/c/0475440ff8c04be26a88733af0c85f597bb28c0a","https://git.kernel.org/stable/c/48fc1c74052c956c59d5b16b5e18e0dd36b76aa2","https://git.kernel.org/stable/c/4c37992b9668c4f37aae41dd95c369f7b6009915","https://git.kernel.org/stable/c/379efd2ce8b26fd35feb13ccc2f671ff105a5052","https://git.kernel.org/stable/c/ba29c46ccfe3ebadfb8aa18149186c49f84b14f8","https://git.kernel.org/stable/c/2c6dc792538260a8087ac5b22c31b3b8e47c85d6"],"sources":[{"name":"CVE","id":"CVE-2026-97594","modified":"2026-10-30T12:37:31.781Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-97594"}],"assessments":[{"source":"Linux","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8}],"sourceAffected":[],"observedAt":"2026-10-30T14:00:24.436Z","kev":{"status":"not-listed","checkedAt":"2026-11-14T21:25:33.720Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"The Linux kernel has a use-after-free vulnerability in landlock, affecting versions 5.19 and possibly others. A process can trigger this after entering a Landlock domain that handles at least one filesystem access right. The impact is a slab-use-after-free error.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T14:26:48.266Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-97594"}]}}