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

Medium 5.5 Published Updated

A race condition in the ptdma driver causes a kernel panic when an interrupt handler attempts to acquire a mutex, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53013?

CVE-2023-53013 is a medium-severity vulnerability in Linux kernel, published on 27 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-667

Which versions are affected by CVE-2023-53013?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53013?

Apply the vendor's patch.

Is CVE-2023-53013 being exploited?

There is no known exploitation of CVE-2023-53013 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53013, DEBIAN-CVE-2023-53013, GHSA-82wr-7889-862x, UBUNTU-CVE-2023-53013.

Is CVE-2023-53013 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free