CVE-2024-38780
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Siemens | 1.1.1 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family | Siemens | 3.1 |
| RUGGEDCOM RST2428P | Siemens | 3.1 |
| linux_kernel | linux | 6.9.4, 6.6.33, 6.1.93, 5.15.161, 5.10.219, 5.4.278, 4.19.316, 4.14 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a6aa8fca4d792c72947e341d7842d2f700534335, a6aa8fca4d792c72947e341d7842d2f700534335, a6aa8fca4d792c72947e341d7842d2f700534335 |
| Linux | Linux | 4.14, 0, 4.19.316 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| linux | linux_kernel | 4.9.68, 4.14, 4.14 |
| Linux | Linux | *, *, * |
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