# vsock: fix lock inversion in vsock_assign_transport()

CVE record · `CVE-2025-40231`

- **Identifiers:** `CVE-2025-40231`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Dec 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Dec 2025, 15:31 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: `8667e8d0eb46bc54fdae30ba2f4786407d3d88eb to before ce4f856c64f0bc30e29302a0ce41f4295ca391c5` (git)
  - affected: `36a439049b34cca0b3661276049b84a1f76cc21a to before 09bba278ccde25a14b6e5088a9e65a8717d0cccf` (git)
  - affected: `9ce53e744f18e73059d3124070e960f3aa9902bf to before b44182c116778feaa05da52a426aeb9da1878dcf` (git)
  - affected: `9d24bb6780282b0255b9929abe5e8f98007e2c6e to before 42ed0784d11adebf748711e503af0eb9f1e6d81d` (git)
  - affected: `ae2c712ba39c7007de63cb0c75b51ce1caaf1da5 to before 251caee792a21eb0b781aab91362b422c945e162` (git)
  - affected: `687aa0c5581b8d4aa87fd92973e4ee576b550cdf to before a2a4346eea8b4cb75037dbcb20b98cb454324f80` (git)
  - affected: `687aa0c5581b8d4aa87fd92973e4ee576b550cdf to before f7c877e7535260cc7a21484c994e8ce7e8cb6780` (git)
  - affected: `7b73bddf54777fb62d4d8c7729d0affe6df04477` (git)
  - affected: `5.10.240 to before 5.10.246` (semver)
  - affected: `5.15.189 to before 5.15.196` (semver)
  - affected: `6.1.146 to before 6.1.158` (semver)
  - affected: `6.6.99 to before 6.6.115` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.16`
  - unaffected: `before 6.16` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.196 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.158 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.115 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.56 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.6 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 4 Dec 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/ce4f856c64f0bc30e29302a0ce41f4295ca391c5>
- <https://git.kernel.org/stable/c/09bba278ccde25a14b6e5088a9e65a8717d0cccf>
- <https://git.kernel.org/stable/c/b44182c116778feaa05da52a426aeb9da1878dcf>
- <https://git.kernel.org/stable/c/42ed0784d11adebf748711e503af0eb9f1e6d81d>
- <https://git.kernel.org/stable/c/251caee792a21eb0b781aab91362b422c945e162>
- <https://git.kernel.org/stable/c/a2a4346eea8b4cb75037dbcb20b98cb454324f80>
- <https://git.kernel.org/stable/c/f7c877e7535260cc7a21484c994e8ce7e8cb6780>

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

---

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