# padata: do not leak refcount in reorder_work

CVE record · `CVE-2025-38031`

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

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 09:33 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: `f4f1b1169fc3694f9bc3e28c6c68dbbf4cc744c0 to before b9ad8e50e8589607e68e6c4cefa7f72bf35a2cb1` (git)
  - affected: `4c6209efea2208597dbd3e52dc87a0d1a8f2dbe1 to before 1a426abdf1c86882c9203dd8182f3b8274b89938` (git)
  - affected: `7000507bb0d2ceb545c0a690e0c707c897d102c2 to before cceb15864e1612ebfbc10ec4e4dcd19a10c0056c` (git)
  - affected: `6f45ef616775b0ce7889b0f6077fc8d681ab30bc to before 584a729615fa92f4de45480efb7e569d14be1516` (git)
  - affected: `8ca38d0ca8c3d30dd18d311f1a7ec5cb56972cac to before 5300e487487d7a2e3e1e6e9d8f03ed9452e4019e` (git)
  - affected: `dd7d37ccf6b11f3d95e797ebe4e9e886d0332600 to before 1c65ae4988714716101555fe2b9830e33136d6fb` (git)
  - affected: `dd7d37ccf6b11f3d95e797ebe4e9e886d0332600 to before d6ebcde6d4ecf34f8495fb30516645db3aea8993` (git)
  - affected: `a54091c24220a4cd847d5b4f36d678edacddbaf0` (git)
  - affected: `5.10.235 to before 5.10.238` (semver)
  - affected: `5.15.179 to before 5.15.185` (semver)
  - affected: `6.1.129 to before 6.1.141` (semver)
  - affected: `6.6.76 to before 6.6.93` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.14`
  - unaffected: `before 6.14` (semver)
  - unaffected: `5.10.238 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.185 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.141 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.93 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.31 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.9 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.

> The Linux kernel padata component leaks a reference count in reorder_work when the work item is already queued, which leaks kernel memory. The source does not say what an attacker would need to trigger it. Upgrade to a fixed kernel: 5.10.238, 5.15.185, 6.1.141, or 6.6.93 and later in those series, or a release newer than 6.14 that includes the fix.

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 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 18 Jun 2025, 09:33 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38031)
- 18 Jun 2025, 10:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38031)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/b9ad8e50e8589607e68e6c4cefa7f72bf35a2cb1>
- <https://git.kernel.org/stable/c/1a426abdf1c86882c9203dd8182f3b8274b89938>
- <https://git.kernel.org/stable/c/cceb15864e1612ebfbc10ec4e4dcd19a10c0056c>
- <https://git.kernel.org/stable/c/584a729615fa92f4de45480efb7e569d14be1516>
- <https://git.kernel.org/stable/c/5300e487487d7a2e3e1e6e9d8f03ed9452e4019e>
- <https://git.kernel.org/stable/c/1c65ae4988714716101555fe2b9830e33136d6fb>
- <https://git.kernel.org/stable/c/d6ebcde6d4ecf34f8495fb30516645db3aea8993>

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-38031>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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