# CVE-2026-98289: af\_unix: Unify scc\_index when finalising SCC in \_\_unix\_walk\_scc().

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-06T08:45:49.641Z
- **Modified:** 2026-10-19T10:18:30.560Z

## Who should check

- Anyone running Linux \>= 4090fa373f0e763c43610853d2774b5979915959, \< b8f71d69380a5fbc734c868acbeb560f1de1766f; \>= 4090fa373f0e763c43610853d2774b5979915959, \< be550ee108ad80828aa61280400bedfc7e7c39d3; \>= 4090fa373f0e763c43610853d2774b5979915959, \< 4a4263dfeabad72f95e8ab6e15146861fa4144dd; 5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a; de7921631ff323369aa63a4324695ab54ea4047e; \>= 6.1.141, \< 6.2; \>= 6.6.93, \< 6.7
- Anyone running Linux 6.10

## 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 and fixed versions

- Linux: \>= 4090fa373f0e763c43610853d2774b5979915959, \< b8f71d69380a5fbc734c868acbeb560f1de1766f; \>= 4090fa373f0e763c43610853d2774b5979915959, \< be550ee108ad80828aa61280400bedfc7e7c39d3; \>= 4090fa373f0e763c43610853d2774b5979915959, \< 4a4263dfeabad72f95e8ab6e15146861fa4144dd; 5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a; de7921631ff323369aa63a4324695ab54ea4047e; \>= 6.1.141, \< 6.2; \>= 6.6.93, \< 6.7 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 6.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98289.md
Affected: Linux >= 4090fa373f0e763c43610853d2774b5979915959, < b8f71d69380a5fbc734c868acbeb560f1de1766f; >= 4090fa373f0e763c43610853d2774b5979915959, < be550ee108ad80828aa61280400bedfc7e7c39d3; >= 4090fa373f0e763c43610853d2774b5979915959, < 4a4263dfeabad72f95e8ab6e15146861fa4144dd; 5dfd283f4651d04dbb70ceb9ae…
Fixed in: Linux 4a4263dfeabad72f95e8ab6e15146861fa4144dd, Linux 6.2, Linux 6.7

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.
```

## FAQ

### Is CVE-2026-98289 being exploited?

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

### How serious is CVE-2026-98289?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98289?

Linux \>= 4090fa373f0e763c43610853d2774b5979915959, \< b8f71d69380a5fbc734c868acbeb560f1de1766f; \>= 4090fa373f0e763c43610853d2774b5979915959, \< be550ee108ad80828aa61280400bedfc7e7c39d3; \>= 4090fa373f0e763c43610853d2774b5979915959, \< 4a4263dfeabad72f95e8ab6e15146861fa4144dd; 5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a; de7921631ff323369aa63a4324695ab54ea4047e; \>= 6.1.141, \< 6.2; \>= 6.6.93, \< 6.7; Linux 6.10.

### Is there a fix for CVE-2026-98289?

Yes. Fixed in Linux 4a4263dfeabad72f95e8ab6e15146861fa4144dd, Linux 6.2, Linux 6.7. Upgrade Linux to 6.7 or later.

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

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.

## References

- other: <https://git.kernel.org/stable/c/b8f71d69380a5fbc734c868acbeb560f1de1766f>
- other: <https://git.kernel.org/stable/c/be550ee108ad80828aa61280400bedfc7e7c39d3>
- other: <https://git.kernel.org/stable/c/4a4263dfeabad72f95e8ab6e15146861fa4144dd>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98289>

HTML: <https://flawdb.com/CVE-2026-98289> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98289>
