VDB

CVE-2026-98289

CVE-2026-98289 PUBLISHED

af_unix: Unify scc_index when finalising SCC in __unix_walk_scc().

Reported by linux · Published October 6, 2026

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.

EPSS 0.17% · 5.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-develAmazon Linux1:6.18.54-121.166.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023

Risk scores

EPSS Score
0.17%
5.9th percentile

Affected products

VendorProductVersions
LinuxLinux4090fa373f0e763c43610853d2774b5979915959, 4090fa373f0e763c43610853d2774b5979915959, 4090fa373f0e763c43610853d2774b5979915959
LinuxLinux6.10, 0, 6.18.54
amazon:2023kernel6.180
amazon:2023kernel6.18-devel0
amazon:2023perf6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel6.10, 6.10, 6.10
amazon:2023kernel6.18-headers0
LinuxLinux7.3, 6.6.93, 6.10
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023python3-perf6.180
amazon:2023microvm-kernel6.180

Timeline

  • Oct 6, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Published
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98289
vulnetix vdb fixes CVE-2026-98289

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98289/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›