CWE
667
Advisory Published
CVE Published
Updated

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

First published: Fri Jun 21 2024(Updated: )

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

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel<4.14
Linux Kernel>=4.19<4.19.316
Linux Kernel>=5.4<5.4.278
Linux Kernel>=5.10<5.10.219
Linux Kernel>=5.15<5.15.161
Linux Kernel>=6.1<6.1.93
Linux Kernel>=6.6<6.6.33
Linux Kernel>=6.9<6.9.4
Linux Kernel=6.10.0-rc1
debian/linux
5.10.223-1
5.10.234-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.16-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-38780?

    The severity of CVE-2024-38780 is classified based on its potential impact on system stability and security, requiring evaluation by system administrators.

  • How do I fix CVE-2024-38780?

    To fix CVE-2024-38780, upgrade the Linux kernel to one of the secure versions such as 5.10.223-1 or above, as well as other specified patched versions.

  • What systems are affected by CVE-2024-38780?

    CVE-2024-38780 affects multiple versions of the Linux kernel, specifically versions prior to 4.14 and between 4.19.0 and 6.9.4.

  • Can CVE-2024-38780 be exploited remotely?

    CVE-2024-38780 may allow local escalation of privileges, but it is typically not exploitable remotely without prior access.

  • What are the potential consequences of CVE-2024-38780 if left unpatched?

    If left unpatched, CVE-2024-38780 can lead to system instability and potential unauthorized access by local users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203