VDB

CVE-2024-38780

CVE-2024-38780 PUBLISHED

dma-buf/sw-sync: don't enable IRQ from sync_print_obj()

Reported by linux · Published June 21, 2024

In the Linux kernel, the following vulnerability has been resolved: dma-buf/sw-sync: don't enable IRQ from sync_print_obj() Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from known context") by error replaced spin_unlock_irqrestore() with spin_unlock_irq() for both sync_debugfs_show() and sync_print_obj() despite sync_print_obj() is called from sync_debugfs_show(), lockdep complains inconsistent lock state warning. Use plain spin_{lock,unlock}() for sync_print_obj(), for sync_debugfs_show() is already using spin_{lock,unlock}_irq().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
SIMATIC S7-1500 TM MFP - GNU/Linux subsystemSiemens1.1.1
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
SCALANCE XCM-/XRM-/XCH-/XRH-300 familySiemens3.1
RUGGEDCOM RST2428PSiemens3.1
linux_kernellinux6.9.4, 6.6.33, 6.1.93, 5.15.161, 5.10.219, 5.4.278, 4.19.316, 4.14

Affected products

VendorProductVersions
LinuxLinuxa6aa8fca4d792c72947e341d7842d2f700534335, a6aa8fca4d792c72947e341d7842d2f700534335, a6aa8fca4d792c72947e341d7842d2f700534335
LinuxLinux4.14, 0, 4.19.316
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
SiemensRUGGEDCOM RST2428P0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
linuxlinux_kernel4.9.68, 4.14, 4.14
LinuxLinux*, *, *

Timeline

  • Jun 21, 2024 CVE Published
  • Jun 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 8, 2026 Security Advisory (138 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (118 in total, the first dated here)
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38780
vulnetix vdb fixes CVE-2024-38780

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38780/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›