CVE-2026-98289
Last modified
CVE-2026-98289 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: af_unix: Unify scc_index when finalising SCC in __unix_walk_scc(). Commit bfdb01283ee8 ("af_unix: Assign a unique index to SCC.") changed Tarjan's algorithm to update lowlink with lowlink, which is called lowpoint (unix_vertex.scc_index). unix_vertex_dead() assumes all vertices in an SCC share the same lowpoint, but this is not always true if an SCC has two or more back edges, depending on the order of DFS. For example, the graph below has two back edges from B to A and from C to B. A --> B --> C ^ | ^ | `----' `----' If DFS walks through A -> B -> C -> B (-> C -> B) -> A (-> B -> A), each index and scc_index will be updated as follows. A --> B --> C C = (3, 3) (index, scc_index) B = (2, 2) A = (1, 1) A ... B ...
Description
In the Linux kernel, the following vulnerability has been resolved: af_unix: Unify scc_index when finalising SCC in __unix_walk_scc(). Commit bfdb01283ee8 ("af_unix: Assign a unique index to SCC.") changed Tarjan's algorithm to update lowlink with lowlink, which is called lowpoint (unix_vertex.scc_index). unix_vertex_dead() assumes all vertices in an SCC share the same lowpoint, but this is not always true if an SCC has two or more back edges, depending on the order of DFS. For example, the graph below has two back edges from B to A and from C to B. A --> B --> C ^ | ^ | `----' `----' If DFS walks through A -> B -> C -> B (-> C -> B) -> A (-> B -> A), each index and scc_index will be updated as follows. A --> B --> C C = (3, 3) (index, scc_index) B = (2, 2) A = (1, 1) A ... B ... C C = (3, 2)<-. ^ | B = (2, 2) -' `----' A = (1, 1) A ... B ... C C = (3, 2) ^ | . . B = (2, 1)<-. `----' .... A = (1, 1) -' Then, unix_vertex_dead() thinks that B is passed to another SCC with scc_index 2, and the SCC is not garbage-collected. This does not happen if DFS walks in a different order below or starts from B. 1 3 A --> B --> C ^ | ^ | `----' `----' 2 4 Let's unify scc_index across the SCC when finalising it. Note that updating v->index was previously done in unix_scc_dead(), when called from __unix_walk_scc(), just to save one loop. Since __unix_walk_scc() now iterates over the SCC anyway, the update is moved back to __unix_walk_scc() and 'fast' argument is dropped.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 4090fa373f0e763c43610853d2774b5979915959, < b8f71d69380a5fbc734c868acbeb560f1de1766f; >= 4090fa373f0e763c43610853d2774b5979915959, < be550ee108ad80828aa61280400bedfc7e7c39d3; >= 4090fa373f0e763c43610853d2774b5979915959, < 4a4263dfeabad72f95e8ab6e15146861fa4144dd; 5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a; de7921631ff323369aa63a4324695ab54ea4047e; >= 6.1.141, < 6.2; >= 6.6.93, < 6.7 |
| Linux | Linux | 6.10 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98289?
How severe is CVE-2026-98289?
How do I fix CVE-2026-98289?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98283In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-98284In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98285In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98286In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98287In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98288In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9829The Photo Gallery by 10Web – Mobile-Friendly Image Gallery p…6.5
- CVE-2026-98290In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-98291In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98292In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98293In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98294In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98289?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
