# CVE-2026-97985: af\_unix: Update last skb marker in manage\_oob().

> 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-09-25T10:23:20.173Z
- **Modified:** 2026-10-21T13:21:18.350Z

## Who should check

- Anyone running Linux \>= 022d81a709cd553bbe2db8675f8e824f4aee6284, \< bd91dc313afe21e9d6b31ca6a47606a33ca5e35c; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< 0630bfc773d85ac44da05b2c5a037dbbd39301ab; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< f1816b3d7ce80dcf086bb68ff5ae6e09520ca1fa; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< fc62a26493a98a0424d9dae2eb92a1daa1321f65; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< 94fd4debd2e3a69cf93e766c8b328a810c228119; ae3f9e1221b31b18dbd4c4b85d08574996bbd973; ba0db4638525b8b054b3d546b45f7e473f477027; 16dc252e7007547a7b72a2c21022ef81fb45e6a3; \>= 6.6.29, \< 6.6.160; \>= 5.15.157, \< 5.16; …
- Anyone running Linux 6.9

## Description

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

af\_unix: Update last skb marker in manage\_oob().

Fahad Alharbi reported that blocking recv(MSG\_PEEK) could hog CPU
due to OOB skb.

In the following cases, manage\_oob() skips OOB skb(s) and returns
NULL for the last recv(MSG\_PEEK):

  socketpair(AF\_UNIX, SOCK\_STREAM, 0, sk);

  1) skb -\> OOB skb -\> NULL
     send(sk\[0\], "ab", 2, MSG\_OOB);
     recv(sk\[1\], buf, 0, MSG\_PEEK);

  2) skb -\> consumed OOB skb -\> NULL
     send(sk\[0\], "ab", 2, MSG\_OOB);
     recv(sk\[1\], buf, 1, MSG\_OOB);
     recv(sk\[1\], buf, 0, MSG\_PEEK);

  3) consumed OOB skb -\> OOB skb -\> NULL
     send(sk\[0\], "a", 1, MSG\_OOB);
     recv(sk\[1\], buf, 0, MSG\_OOB);
     send(sk\[0\], "b", 1, MSG\_OOB);
     recv(sk\[1\], buf, 1, MSG\_PEEK);

Then, @copied is 0 in unix\_stream\_read\_generic() (zero-length buffer,
or non-OOB skb is not yet consumed), and unix\_stream\_data\_wait() is
called.

However, it returns immediately because @last is not updated in
unix\_stream\_read\_generic(), and the thread busy-waits for a new skb.

Let's update @last in manage\_oob().

For MSG\_PEEK, @last is updated with the skipped OOB, and for the
non-peek case, @last matches the returned value (when !copied)
because OOB is unlinked.

Note that manage\_oob() is inlined and no stack canary is added.

## Affected and fixed versions

- Linux: \>= 022d81a709cd553bbe2db8675f8e824f4aee6284, \< bd91dc313afe21e9d6b31ca6a47606a33ca5e35c; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< 0630bfc773d85ac44da05b2c5a037dbbd39301ab; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< f1816b3d7ce80dcf086bb68ff5ae6e09520ca1fa; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< fc62a26493a98a0424d9dae2eb92a1daa1321f65; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< 94fd4debd2e3a69cf93e766c8b328a810c228119; ae3f9e1221b31b18dbd4c4b85d08574996bbd973; ba0db4638525b8b054b3d546b45f7e473f477027; 16dc252e7007547a7b72a2c21022ef81fb45e6a3; \>= 6.6.29, \< 6.6.160; \>= 5.15.157, \< 5.16; … (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-97985.md
Affected: Linux >= 022d81a709cd553bbe2db8675f8e824f4aee6284, < bd91dc313afe21e9d6b31ca6a47606a33ca5e35c; >= 22dd70eb2c3d754862964377a75abafd3167346b, < 0630bfc773d85ac44da05b2c5a037dbbd39301ab; >= 22dd70eb2c3d754862964377a75abafd3167346b, < f1816b3d7ce80dcf086bb68ff5ae6e09520ca1fa; >= 22dd70eb2c3d75486296437…
Fixed in: Linux 0630bfc773d85ac44da05b2c5a037dbbd39301ab, Linux 94fd4debd2e3a69cf93e766c8b328a810c228119, Linux 6.6.160, Linux 5.16

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-97985 being exploited?

There is no confirmed exploitation: CVE-2026-97985 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-97985?

It has no CVSS score yet. Unknown.

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

Linux \>= 022d81a709cd553bbe2db8675f8e824f4aee6284, \< bd91dc313afe21e9d6b31ca6a47606a33ca5e35c; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< 0630bfc773d85ac44da05b2c5a037dbbd39301ab; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< f1816b3d7ce80dcf086bb68ff5ae6e09520ca1fa; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< fc62a26493a98a0424d9dae2eb92a1daa1321f65; \>= 22dd70eb2c3d754862964377a75abafd3167346b, \< 94fd4debd2e3a69cf93e766c8b328a810c228119; ae3f9e1221b31b18dbd4c4b85d08574996bbd973; ba0db4638525b8b054b3d546b45f7e473f477027; 16dc252e7007547a7b72a2c21022ef81fb45e6a3; \>= 6.6.29, \< 6.6.160; \>= 5.15.157, \< 5.16; …; Linux 6.9.

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

Yes. Fixed in Linux 0630bfc773d85ac44da05b2c5a037dbbd39301ab, Linux 94fd4debd2e3a69cf93e766c8b328a810c228119, Linux 6.6.160, Linux 5.16. No fix listed yet: follow the vendor advisory.

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

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/bd91dc313afe21e9d6b31ca6a47606a33ca5e35c>
- other: <https://git.kernel.org/stable/c/0630bfc773d85ac44da05b2c5a037dbbd39301ab>
- other: <https://git.kernel.org/stable/c/f1816b3d7ce80dcf086bb68ff5ae6e09520ca1fa>
- other: <https://git.kernel.org/stable/c/fc62a26493a98a0424d9dae2eb92a1daa1321f65>
- other: <https://git.kernel.org/stable/c/94fd4debd2e3a69cf93e766c8b328a810c228119>

## 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-97985>

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