# CVE-2023-53013: ptdma: pt_core_execute_cmd() should use spinlock

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-03-27T16:43:42.437Z
- Modified: 2026-06-17T06:44:07.063Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ptdma: pt_core_execute_cmd() should use spinlock

The interrupt handler (pt_core_irq_handler()) of the ptdma
driver can be called from interrupt context. The code flow
in this function can lead down to pt_core_execute_cmd() which
will attempt to grab a mutex, which is not appropriate in
interrupt context and ultimately leads to a kernel panic.
The fix here changes this mutex to a spinlock, which has
been verified to resolve the issue.

(As written by CVE List.)

## Affected

- Linux Linux: from fa5d823b16a9442d609617abeec31da8b6afa224 before ed0d8f731e0bf1bb12a7a37698ac613db20e2794; from fa5d823b16a9442d609617abeec31da8b6afa224 before 13ba563c2c8055ba8a637c9f70bb833b43cb4207; from fa5d823b16a9442d609617abeec31da8b6afa224 before 95e5fda3b5f9ed8239b145da3fa01e641cf5d53c; 5.15 (not affected: before 5.15; from 5.15.91 up to 5.15.*; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.15 before 5.15.91; from 5.16 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ed0d8f731e0bf1bb12a7a37698ac613db20e2794> (patch)
- <https://git.kernel.org/stable/c/13ba563c2c8055ba8a637c9f70bb833b43cb4207> (patch)
- <https://git.kernel.org/stable/c/95e5fda3b5f9ed8239b145da3fa01e641cf5d53c> (patch)

## Sources

- CVE List: [CVE-2023-53013](https://www.cve.org/CVERecord?id=CVE-2023-53013), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53013](https://nvd.nist.gov/vuln/detail/CVE-2023-53013), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53013 · Whole record: https://cve.day/CVE-2023-53013.json · Rebuilt by cve.day 2026-11-25T22:58:34.601Z
