Skip to content
Heist/ feed
Back to feed
MediumFix available

ptdma: pt_core_execute_cmd() should use spinlock

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.91, 6.1.9
CVEs
CVE-2023-53013
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 02:00 UTC · Revision 1

Source evidence

ptdma: pt_core_execute_cmd() should use spinlock

core-osv · Original source

Published 27 Mar 2025, 16:43 UTC

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.

osv:CVE-2023-53013

Kernel

Fixed versions: 5.15.91, 6.1.9

Complete source record
{
  "id": "d34aa137b02a26903a0872521d4def9dfe60b9d2e2f161699dd7bcd20e11fef6",
  "url": "https://osv.dev/vulnerability/CVE-2023-53013",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ptdma: pt_core_execute_cmd() should use spinlock",
    "summary": "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.",
    "evidence": "osv:CVE-2023-53013",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.91",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-53013",
      "aliases": [
        "CVE-2023-53013"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fa5d823b16a9442d609617abeec31da8b6afa224"
                },
                {
                  "fixed": "ed0d8f731e0bf1bb12a7a37698ac613db20e2794"
                },
                {
                  "fixed": "13ba563c2c8055ba8a637c9f70bb833b43cb4207"
                },
                {
                  "fixed": "95e5fda3b5f9ed8239b145da3fa01e641cf5d53c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53013.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "5.15.91"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53013.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.063273539Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/13ba563c2c8055ba8a637c9f70bb833b43cb4207",
        "https://git.kernel.org/stable/c/95e5fda3b5f9ed8239b145da3fa01e641cf5d53c",
        "https://git.kernel.org/stable/c/ed0d8f731e0bf1bb12a7a37698ac613db20e2794",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53013.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53013",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53013.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53013",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509297,
  "published_at": "2025-03-27T16:43:42.437+00:00"
}