VDB

CVE-2026-97985

CVE-2026-97985 PUBLISHED

af_unix: Update last skb marker in manage_oob().

Reported by linux · Published September 25, 2026

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.

EPSS 0.17% · 6.3th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.111-136.204.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-headersAmazon Linux1:6.12.111-136.204.amzn2023
kernel-livepatch-6.12.111-136.204Amazon Linux1:1.0-0.amzn2023
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.111-136.204.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.17%
6.3th percentile

Affected products

VendorProductVersions
LinuxLinux022d81a709cd553bbe2db8675f8e824f4aee6284, 22dd70eb2c3d754862964377a75abafd3167346b, 22dd70eb2c3d754862964377a75abafd3167346b
LinuxLinux6.9, 0, 6.6.160
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023perf6.180
amazon:2023python3-perf6.180
amazon:2023microvm-kernel6.180
LinuxLinux6.6.160, *, 22dd70eb2c3d754862964377a75abafd3167346b
amazon:2023kernel6.180
amazon:2023bpftool6.180
amazon:2023bpftool6.120
amazon:2023kernel6.18-tools-devel0

…and 7 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97985
vulnetix vdb fixes CVE-2026-97985

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-97985/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 ›