CVE-2024-38780

MEDIUM

Linux Kernel - Denial of Service via Inconsistent Lock State in dma-buf/sw-sync

Title source: llm
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0019
EPSS Percentile 8.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (22)
Linux/Linux < 4.14
Linux/Linux 4.14
Linux/Linux 4.19.316 - 4.19.*
Linux/Linux 4.9.68 - 4.10
Linux/Linux 5.10.219 - 5.10.*
Linux/Linux 5.15.161 - 5.15.*
Linux/Linux 5.4.278 - 5.4.*
Linux/Linux 6.1.93 - 6.1.*
Linux/Linux 6.10
Linux/Linux 6.6.33 - 6.6.*
... and 12 more
Published Jun 21, 2024
Tracked Since Feb 18, 2026