CVE-2024-38780

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

State
Published
Severity
Not scored
Published
Jun 21, 2024
Updated
Oct 15, 2026
Reserved
Jun 21, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before 1ff116f68560a25656933d5a18e7619cb6773d8aAffected
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before 165b25e3ee9333f7b04f8db43895beacb51582edAffected
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8Affected
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before 9d75fab2c14a25553a1664586ed122c316bd1878Affected
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before 242b30466879e6defa521573c27e12018276c33aAffected
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before a4ee78244445ab73af22bfc5a5fc543963b25aefAffected
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before 8a283cdfc8beeb14024387a925247b563d614e1eAffected
  • a6aa8fca4d792c72947e341d7842d2f700534335 to before b794918961516f667b0c745aebdfebbb8a98df39Affected
  • f14ad42b8743897d140808467ed4ae3ce93bd0a5Affected
  • 4.9.68 to before 4.10Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 4.19.316 through 4.19.*Not affected
  • 5.4.278 through 5.4.*Not affected
  • 5.10.219 through 5.10.*Not affected
  • 5.15.161 through 5.15.*Not affected
  • 6.1.93 through 6.1.*Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.9.4 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.