CVE Catalog

CVE-2024-38780

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

In the Linux kernel, the dma-buf/sw-sync module's sync_print_obj() calls spin_unlock_irq(), which enables interrupts in a context where they should not be enabled. This triggers inconsistent lock state warnings (lockdep).

Risk Assessment

Improper interrupt management can lead to system instability, including deadlocks or data corruption. The issue may occur during debugging or in environments with lockdep enabled.

Recommendation

Update the Linux kernel to a version containing the fix that uses plain spin_lock/spin_unlock in sync_print_obj(). The fix eliminates warnings and potential issues.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS