# watch_queue: fix pipe accounting mismatch

CVE record · `CVE-2025-23138`

- **Identifiers:** `CVE-2025-23138`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Apr 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Apr 2025, 14:13 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8 to before 8658c75343ed00e5e154ebbe24335f51ba8db547` (git)
  - affected: `3efbd114b91525bb095b8ae046382197d92126b9 to before 471c89b7d4f58bd6082f7c1fe14d4ca15c7f1284` (git)
  - affected: `b87a1229d8668fbc78ebd9ca0fc797a76001c60f to before d40e3537265dea9e3c33021874437ff26dc18787` (git)
  - affected: `68e51bdb1194f11d3452525b99c98aff6f837b24 to before 6dafa27764183738dc5368b669b71e3d0d154f12` (git)
  - affected: `e95aada4cb93d42e25c30a0ef9eb2923d9711d4a to before 56ec918e6c86c1536870e4373e91eddd0c44245f` (git)
  - affected: `e95aada4cb93d42e25c30a0ef9eb2923d9711d4a to before 2d680b988656bb556c863d8b46d9b9096842bf3d` (git)
  - affected: `e95aada4cb93d42e25c30a0ef9eb2923d9711d4a to before 205028ebba838938d3b264dda1d0708fa7fe1ade` (git)
  - affected: `e95aada4cb93d42e25c30a0ef9eb2923d9711d4a to before f13abc1e8e1a3b7455511c4e122750127f6bc9b0` (git)
  - affected: `6fb70694f8d1ac34e45246b0ac988f025e1e5b55` (git)
  - affected: `5.10.210 to before 5.10.236` (semver)
  - affected: `5.15.149 to before 5.15.180` (semver)
  - affected: `6.1.76 to before 6.1.134` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.8`
  - unaffected: `before 6.8` (semver)
  - unaffected: `5.10.236 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.180 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.134 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.87 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.23 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.11 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14.2 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel 6.8 is affected. A flaw in watch queue pipe accounting can cause a per-user pipe buffer count to underflow, which can make later pipe creation fail. The source gives few details on who can trigger it. Upgrade to 5.10.236, 5.15.180, 6.1.134, or 6.6.87 in the matching stable branch, or to a later kernel.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 12th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 16 Apr 2025, 14:13 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-23138)
- 16 Apr 2025, 15:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-23138)

## Sources

- [CVE List: CVE-2025-23138](https://www.cve.org/CVERecord?id=CVE-2025-23138)
- [NVD: CVE-2025-23138](https://nvd.nist.gov/vuln/detail/CVE-2025-23138)

### References from the CNA

- <https://git.kernel.org/stable/c/8658c75343ed00e5e154ebbe24335f51ba8db547>
- <https://git.kernel.org/stable/c/471c89b7d4f58bd6082f7c1fe14d4ca15c7f1284>
- <https://git.kernel.org/stable/c/d40e3537265dea9e3c33021874437ff26dc18787>
- <https://git.kernel.org/stable/c/6dafa27764183738dc5368b669b71e3d0d154f12>
- <https://git.kernel.org/stable/c/56ec918e6c86c1536870e4373e91eddd0c44245f>
- <https://git.kernel.org/stable/c/2d680b988656bb556c863d8b46d9b9096842bf3d>
- <https://git.kernel.org/stable/c/205028ebba838938d3b264dda1d0708fa7fe1ade>
- <https://git.kernel.org/stable/c/f13abc1e8e1a3b7455511c4e122750127f6bc9b0>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-23138>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-23138/>. Everything for agents: <https://agentprime.io/llms.txt>.
