CVE-2024-38780

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38780
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38780.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38780
Downstream
Related
Published
2024-06-21T12:15:11Z
Modified
2025-08-09T19:01:26Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from known context") by error replaced spinunlockirqrestore() with spinunlockirq() for both syncdebugfsshow() and syncprintobj() despite syncprintobj() is called from syncdebugfsshow(), lockdep complains inconsistent lock state warning.

Use plain spin{lock,unlock}() for syncprintobj(), for syncdebugfsshow() is already using spin{lock,unlock}_irq().

References

Affected packages