# Input: gpio-keys - fix a sleep while atomic with PREEMPT_RT

CVE record · `CVE-2025-38335`

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

Published by the CVE Program (CNA: Linux) at 10 Jul 2025, 08:15 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: `019002f20cb5b9f78d39360aff244265d035e08a to before 664e5a6f541ff226621487d1280d2ec28e86be28` (git)
  - affected: `019002f20cb5b9f78d39360aff244265d035e08a to before a8f01e51109f77229e426b57c5d19251b462c6aa` (git)
  - affected: `019002f20cb5b9f78d39360aff244265d035e08a to before fa53beab4740c4e5fe969f218a379f9558be33dc` (git)
  - affected: `019002f20cb5b9f78d39360aff244265d035e08a to before a7b79db25846459de63ca8974268f0c41c734c4b` (git)
  - affected: `019002f20cb5b9f78d39360aff244265d035e08a to before ec8f5da79b425deef5aebacdd4fe645620cd4f0b` (git)
  - affected: `019002f20cb5b9f78d39360aff244265d035e08a to before f4a8f561d08e39f7833d4a278ebfb12a41eef15f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.13`
  - unaffected: `before 5.13` (semver)
  - unaffected: `5.15.190 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.148 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.101 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.41 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.4 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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 versions from 5.13 with the gpio-keys input driver can call a sleeping function from atomic context when PREEMPT_RT is enabled, which triggers a kernel BUG. The source gives few details on attack requirements or wider impact. Upgrade to 5.15.190, 6.1.148, 6.6.101, 6.12.41, or a later release in those series. No workaround is listed.

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

## Timeline

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

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/664e5a6f541ff226621487d1280d2ec28e86be28>
- <https://git.kernel.org/stable/c/a8f01e51109f77229e426b57c5d19251b462c6aa>
- <https://git.kernel.org/stable/c/fa53beab4740c4e5fe969f218a379f9558be33dc>
- <https://git.kernel.org/stable/c/a7b79db25846459de63ca8974268f0c41c734c4b>
- <https://git.kernel.org/stable/c/ec8f5da79b425deef5aebacdd4fe645620cd4f0b>
- <https://git.kernel.org/stable/c/f4a8f561d08e39f7833d4a278ebfb12a41eef15f>

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

---

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