dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
Summary
| CVE | CVE-2024-38780 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-06-21 12:15:11 UTC |
| Updated | 2026-05-12 12:16:56 UTC |
| Description | 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(). |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-667
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 1ff116f68560a25656933d5a18e7619cb6773d8a git | Not specified |
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 165b25e3ee9333f7b04f8db43895beacb51582ed git | Not specified |
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 git | Not specified |
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 9d75fab2c14a25553a1664586ed122c316bd1878 git | Not specified |
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 242b30466879e6defa521573c27e12018276c33a git | Not specified |
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 a4ee78244445ab73af22bfc5a5fc543963b25aef git | Not specified |
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 8a283cdfc8beeb14024387a925247b563d614e1e git | Not specified |
| CNA | Linux | Linux | affected a6aa8fca4d792c72947e341d7842d2f700534335 b794918961516f667b0c745aebdfebbb8a98df39 git | Not specified |
| CNA | Linux | Linux | affected f14ad42b8743897d140808467ed4ae3ce93bd0a5 git | Not specified |
| CNA | Linux | Linux | affected 4.14 | Not specified |
| CNA | Linux | Linux | unaffected 4.14 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.316 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.278 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.219 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.161 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.93 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.33 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9.4 6.9.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.1 custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | affected V3.1 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| cert-portal.siemens.com/productcert/html/ssa-613116.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Mailing List, Patch |
| lists.debian.org/debian-lts-announce/2024/06/msg00020.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.