# serial: mctrl_gpio: split disable_ms into sync and no_sync APIs

CVE record · `CVE-2025-38040`

- **Identifiers:** `CVE-2025-38040`
- **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: `ce59e48fdbad2aa6609ceb87e1306ec69e577e05 to before 68435c1fa3db696db4f480385db9e50e26691d0d` (git)
  - affected: `ce59e48fdbad2aa6609ceb87e1306ec69e577e05 to before c504c11b94d6e4ad818ca5578dffa8ff29ad0f20` (git)
  - affected: `ce59e48fdbad2aa6609ceb87e1306ec69e577e05 to before e6a46719a2369eb5186d4f7e6c0478720ca1ec3d` (git)
  - affected: `ce59e48fdbad2aa6609ceb87e1306ec69e577e05 to before 7187ec6b0b9ff22ebac2c3bb4178b7dbbdc0a55a` (git)
  - affected: `ce59e48fdbad2aa6609ceb87e1306ec69e577e05 to before 1bd2aad57da95f7f2d2bb52f7ad15c0f4993a685` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.4`
  - unaffected: `before 4.4` (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 serial mctrl_gpio code, used by atmel_serial, can sleep in atomic context when disabling modem-line interrupts, causing a kernel warning. The source gives few details on attacker access or impact beyond this. Upgrade to Linux 6.1.141, 6.6.93, 6.12.31, 6.14.9, or a later release in those series.

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.0020, the 10th 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-38040)
- 18 Jun 2025, 10:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38040)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/68435c1fa3db696db4f480385db9e50e26691d0d>
- <https://git.kernel.org/stable/c/c504c11b94d6e4ad818ca5578dffa8ff29ad0f20>
- <https://git.kernel.org/stable/c/e6a46719a2369eb5186d4f7e6c0478720ca1ec3d>
- <https://git.kernel.org/stable/c/7187ec6b0b9ff22ebac2c3bb4178b7dbbdc0a55a>
- <https://git.kernel.org/stable/c/1bd2aad57da95f7f2d2bb52f7ad15c0f4993a685>

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

---

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