CVE-2025-23138 Details
Description
In the Linux kernel, the following vulnerability has been resolved: watch_queue: fix pipe accounting mismatch Currently, watch_queue_set_size() modifies the pipe buffers charged to user->pipe_bufs without updating the pipe->nr_accounted on the pipe itself, due to the if (!pipe_has_watch_queue()) test in pipe_resize_ring(). This means that when the pipe is ultimately freed, we decrement user->pipe_bufs by something other than what than we had charged to it, potentially leading to an underflow. This in turn can cause subsequent too_many_pipe_buffers_soft() tests to fail with -EPERM. To remedy this, explicitly account for the pipe usage in watch_queue_set_size() to match the number set via account_pipe_buffers() (It's unclear why watch_queue_set_size() does not update nr_accounted; it may be due to intentional overprovisioning in watch_queue_set_size()?)
A vulnerability in the Linux kernel's handling of pipe buffer accounting has been identified. The issue arises in the watch_queue_set_size() function, which modifies the pipe buffers charged to the user without properly updating the pipe's internal accounting. This discrepancy can lead to an underflow when the pipe is freed, causing subsequent pipe buffer tests to fail. The vulnerability has been addressed by ensuring that the pipe usage is accurately accounted for in the watch queue management functions.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/205028ebba838938d3b264dda1d0708fa7fe1ade | kernel.org | Patch |
| https://git.kernel.org/stable/c/2d680b988656bb556c863d8b46d9b9096842bf3d | kernel.org | Patch |
| https://git.kernel.org/stable/c/471c89b7d4f58bd6082f7c1fe14d4ca15c7f1284 | kernel.org | Patch |
| https://git.kernel.org/stable/c/56ec918e6c86c1536870e4373e91eddd0c44245f | kernel.org | Patch |
| https://git.kernel.org/stable/c/6dafa27764183738dc5368b669b71e3d0d154f12 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8658c75343ed00e5e154ebbe24335f51ba8db547 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d40e3537265dea9e3c33021874437ff26dc18787 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f13abc1e8e1a3b7455511c4e122750127f6bc9b0 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html | CVE | Mailing List |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html | CVE | Mailing List |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10.210, < 5.10.236 >= 5.15.149, < 5.15.180 >= 6.1.76, < 6.1.134 >= 6.6.15, < 6.6.87 >= 6.7.3, < 6.12.23 >= 6.13, < 6.13.11 >= 6.14, < 6.14.2 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CVE |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 4, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Apr 16, 2025 | New CVE Received | kernel.org |