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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 10% of CVEs (2026-11-30)
- Published: 2024-06-21T11:15:12.892Z
- Modified: 2026-10-15T01:18:32.927Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from a6aa8fca4d792c72947e341d7842d2f700534335 before 1ff116f68560a25656933d5a18e7619cb6773d8a; from a6aa8fca4d792c72947e341d7842d2f700534335 before 165b25e3ee9333f7b04f8db43895beacb51582ed; from a6aa8fca4d792c72947e341d7842d2f700534335 before ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8; from a6aa8fca4d792c72947e341d7842d2f700534335 before 9d75fab2c14a25553a1664586ed122c316bd1878; from a6aa8fca4d792c72947e341d7842d2f700534335 before 242b30466879e6defa521573c27e12018276c33a; from a6aa8fca4d792c72947e341d7842d2f700534335 before a4ee78244445ab73af22bfc5a5fc543963b25aef; from a6aa8fca4d792c72947e341d7842d2f700534335 before 8a283cdfc8beeb14024387a925247b563d614e1e; from a6aa8fca4d792c72947e341d7842d2f700534335 before b794918961516f667b0c745aebdfebbb8a98df39; f14ad42b8743897d140808467ed4ae3ce93bd0a5; from 4.9.68 before 4.10; 4.14 (not affected: before 4.14; from 4.19.316 up to 4.19.*; from 5.4.278 up to 5.4.*; from 5.10.219 up to 5.10.*; from 5.15.161 up to 5.15.*; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.9.4 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 4.14; from 4.19 before 4.19.316; from 5.4 before 5.4.278; from 5.10 before 5.10.219; from 5.15 before 5.15.161; from 6.1 before 6.1.93; from 6.6 before 6.6.33; from 6.9 before 6.9.4; 6.10.0

## References

- <https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a> (mailing-list, patch)
- <https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed> (mailing-list, patch)
- <https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8> (mailing-list, patch)
- <https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878> (mailing-list, patch)
- <https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a> (mailing-list, patch)
- <https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef> (mailing-list, patch)
- <https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e> (mailing-list, patch)
- <https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39> (mailing-list, patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Sources

- CVE List: [CVE-2024-38780](https://www.cve.org/CVERecord?id=CVE-2024-38780), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-38780](https://nvd.nist.gov/vuln/detail/CVE-2024-38780), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-38780 · Whole record: https://cve.day/CVE-2024-38780.json · Rebuilt by cve.day 2026-11-25T22:58:42.126Z
