Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-97594

HIGH 7.8EPSS 4%

landlock: Fix use-after-free of the source's parent directory

Mitigation

  • Upgrade Linux to 2c6dc792538260a8087ac5b22c31b3b8e47c85d6 or later.

Who should check

  • Anyone running Linux >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 0475440ff8c04be26a88733af0c85f597bb28c0a; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 4c37992b9668c4f37aae41dd95c369f7b6009915; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 379efd2ce8b26fd35feb13ccc2f671ff105a5052; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < ba29c46ccfe3ebadfb8aa18149186c49f84b14f8; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 2c6dc792538260a8087ac5b22c31b3b8e47c85d6
  • Anyone running Linux 5.19

Vulnerability facts

Affected
Linux >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 0475440ff8c04be26a88733af0c85f597bb28c0a; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 4c37992b9668c4f37aae41dd95c369f7b6009915; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 379efd2ce8b26fd35feb13ccc2f671ff105a5052; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < ba29c46ccfe3ebadfb8aa18149186c49f84b14f8; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 2c6dc792538260a8087ac5b22c31b3b8e47c85d6; Linux 5.19
Fixed in
Linux 0475440ff8c04be26a88733af0c85f597bb28c0a, Linux 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2, Linux 4c37992b9668c4f37aae41dd95c369f7b6009915, Linux 379efd2ce8b26fd35feb13ccc2f671ff105a5052, Linux 2c6dc792538260a8087ac5b22c31b3b8e47c85d6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: landlock: Fix use-after-free of the source's parent directory current_check_refer_path() reads old_dentry->d_parent without holding a reference nor a lock on it, and then dereferences it in collect_domain_accesses() and in the audit record. A reference on a child does not pin its parent: __d_move() reassigns dentry->d_parent and drops the reference the child held on its former parent. hook_path_rename() is not affected because the rename path calls lock_rename() before the hook, so the source cannot be reparented under it. hook_path_link() has no such protection: filename_linkat() holds a reference on the source dentry but neither locks nor references its parent, so a concurrent rename(2) can reparent the source while security_path_link() runs, and the former parent can then be removed and freed while the hook walks it. A process can trigger this after entering a Landlock domain that handles at least one filesystem access right. The process can then race a linkat(2) loop against rename(2) and rmdir(2): BUG: KASAN: slab-use-after-free in collect_domain_accesses+0x278/0x290 Read of size 4 at addr ffff888160bd53f4 by task llrepro2/549 collect_domain_accesses+0x278/0x290 current_check_refer_path+0x952/0x1120 security_path_link+0x1be/0x320 filename_linkat+0x342/0x6d0 __x64_sys_linkat+0xfa/0x150 Freed by task 562: kmem_cache_free+0x139/0x4c0 i_callback+0x4b/0x80 rcu_core+0x7dc/0x10a0 Take a reference on the dentry selected as the source parent, using dget() for the common-mount-root case and dget_parent() otherwise. Release it after the hierarchy walk and synchronous audit logging. [mic: Clarify the caller, reachability, and reference handling]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 0475440ff8c04be26a88733af0c85f597bb28c0a; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 4c37992b9668c4f37aae41dd95c369f7b6009915; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 379efd2ce8b26fd35feb13ccc2f671ff105a5052; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < ba29c46ccfe3ebadfb8aa18149186c49f84b14f8; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 2c6dc792538260a8087ac5b22c31b3b8e47c85d6—cvelist
Linux5.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-97594.md
Affected: Linux >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 0475440ff8c04be26a88733af0c85f597bb28c0a; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 4c37992b9668c4f37aae41dd95c369f7b6009915; >= b91c3e4ea756b12b7d99252…
Fixed in: Linux 0475440ff8c04be26a88733af0c85f597bb28c0a, Linux 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2, Linux 4c37992b9668c4f37aae41dd95c369f7b6009915, Linux 379efd2ce8b26fd35feb13ccc2f671ff105a5052, Linux 2c6dc792538260a8087ac5b22c31b3b8e47c85d6

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.

References

FAQ

Is CVE-2026-97594 being exploited?

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

How serious is CVE-2026-97594?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-97594?

Linux >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 0475440ff8c04be26a88733af0c85f597bb28c0a; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 4c37992b9668c4f37aae41dd95c369f7b6009915; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 379efd2ce8b26fd35feb13ccc2f671ff105a5052; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < ba29c46ccfe3ebadfb8aa18149186c49f84b14f8; >= b91c3e4ea756b12b7d992529226edce1cfd854d7, < 2c6dc792538260a8087ac5b22c31b3b8e47c85d6; Linux 5.19.

Is there a fix for CVE-2026-97594?

Yes. Fixed in Linux 0475440ff8c04be26a88733af0c85f597bb28c0a, Linux 48fc1c74052c956c59d5b16b5e18e0dd36b76aa2, Linux 4c37992b9668c4f37aae41dd95c369f7b6009915, Linux 379efd2ce8b26fd35feb13ccc2f671ff105a5052, Linux 2c6dc792538260a8087ac5b22c31b3b8e47c85d6. Upgrade Linux to 2c6dc792538260a8087ac5b22c31b3b8e47c85d6 or later.

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

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.

Sponsors