# CVE-2026-80521: af_unix: Unlink scc_entry in unix_del_edge().

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-08-26T14:37:02.589Z
- Modified: 2026-10-03T11:17:39.437Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

af_unix: Unlink scc_entry in unix_del_edge().

Kyle Zeng reported that GC could free a dead SCC partially.

The scenario is as follows:

   1) Create two SCCs:

       X -.   A <-> B
       ^--'

   2) Run the following concurrently:

      2-1) send() sk-B to sk-B from sk-X
      2-2) close() both A and B

At 2-1), there is a small window where unix_add_edges()
publishes a new edge (B <-> B) to GC but its skb is not queued
by skb_queue_tail().

If 2-2) completes before skb_queue_tail() and GC is triggered,
it judges A <-> B as dead, but B is not freed because GC cannot
collect the not-yet-queued skb holding the B <-> B edge.

       X -.   A <-> B -. This edge is visible
       ^--'         ^..'  but skb is not

This itself is not a problem since the next GC run will judge
B as dead as well and free it finally.

       X -.   A <.> B -.
       ^--'         ^--'

However, X's SCC forces the next GC to call unix_walk_scc_fast(),
and it iterates over A through B's scc_entry.

Let's unlink scc_entry before freeing the vertex in unix_del_edge().

(As written by CVE List.)

## Affected

- Linux Linux: from 5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a before 2b6c2842692d08e7acaf32d1eb47f95def35f3fe; from de7921631ff323369aa63a4324695ab54ea4047e before 6fda5c51b8e43a8440f76e65c89d9f95ddb2ef33; from 4090fa373f0e763c43610853d2774b5979915959 before 1293fd69a50d188a5788b08ba3741a3e86be1608; from 4090fa373f0e763c43610853d2774b5979915959 before fe198b077864feafd4aa4b33b1a5ce26f50195a2; from 4090fa373f0e763c43610853d2774b5979915959 before e3702470ced94fad74d71e2232f022d2eb752a6d; from 4090fa373f0e763c43610853d2774b5979915959 before 594d905195024b228c962627ae5ae7c17bd582a4; from 6.1.141 before 6.1.189; from 6.6.93 before 6.6.158; 6.10 (not affected: before 6.10; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/2b6c2842692d08e7acaf32d1eb47f95def35f3fe>
- <https://git.kernel.org/stable/c/6fda5c51b8e43a8440f76e65c89d9f95ddb2ef33>
- <https://git.kernel.org/stable/c/1293fd69a50d188a5788b08ba3741a3e86be1608>
- <https://git.kernel.org/stable/c/fe198b077864feafd4aa4b33b1a5ce26f50195a2>
- <https://git.kernel.org/stable/c/e3702470ced94fad74d71e2232f022d2eb752a6d>
- <https://git.kernel.org/stable/c/594d905195024b228c962627ae5ae7c17bd582a4>

## Sources

- CVE List: [CVE-2026-80521](https://www.cve.org/CVERecord?id=CVE-2026-80521), CVE Terms of Use, modified 2026-10-03
- NVD: [CVE-2026-80521](https://nvd.nist.gov/vuln/detail/CVE-2026-80521), Public domain, modified 2026-10-03

---

Page: https://cve.day/CVE-2026-80521 · Whole record: https://cve.day/CVE-2026-80521.json · Rebuilt by cve.day 2026-11-25T22:59:35.381Z
