CVE-2024-38780
Last modified
CVE-2024-38780 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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().. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 4.14 | — |
| Linux | Linux Kernel | >= 4.19, < 4.19.316 | — |
| Linux | Linux Kernel | >= 5.4, < 5.4.278 | — |
| Linux | Linux Kernel | >= 5.10, < 5.10.219 | — |
| Linux | Linux Kernel | >= 5.15, < 5.15.161 | — |
| Linux | Linux Kernel | >= 6.1, < 6.1.93 | — |
| Linux | Linux Kernel | >= 6.6, < 6.6.33 | — |
| Linux | Linux Kernel | >= 6.9, < 6.9.4 | — |
| Linux | Linux Kernel | 6.10.0 | Rc1 |
References
- https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582edMailing List, Patch
- https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8aMailing List, Patch
- https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33aMailing List, Patch
- https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1eMailing List, Patch
- https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878Mailing List, Patch
- https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aefMailing List, Patch
- https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8Mailing List, Patch
- https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39Mailing List, Patch
- https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582edMailing List, Patch
- https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8aMailing List, Patch
- https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33aMailing List, Patch
- https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1eMailing List, Patch
- https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878Mailing List, Patch
- https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aefMailing List, Patch
- https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8Mailing List, Patch
- https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39Mailing List, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-38780?
How severe is CVE-2024-38780?
How do I fix CVE-2024-38780?
Are you affected by CVE-2024-38780?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
