CVE-2024-38780

CVSS v3.1 5.5 (Medium)
55% Progress
EPSS 0.04 % (5th)
0.04% Progress
Affected Products 1
Advisories 27
NVD Status Modified

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

Weaknesses
CWE-667
Improper Locking
CVE Status
PUBLISHED
NVD Status
Modified
CNA
kernel.org
Published Date
2024-06-21 12:15:11
(2 months ago)
Updated Date
2024-07-15 07:15:14
(2 months ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Linux Kernel prior 4.14 version cpe:2.3:o:linux:linux_kernel < 4.14
  Linux Kernel from 4.19 version and prior 4.19.316 version cpe:2.3:o:linux:linux_kernel >= 4.19 < 4.19.316
  Linux Kernel from 5.4 version and prior 5.4.278 version cpe:2.3:o:linux:linux_kernel >= 5.4 < 5.4.278
  Linux Kernel from 5.10 version and prior 5.10.219 version cpe:2.3:o:linux:linux_kernel >= 5.10 < 5.10.219
  Linux Kernel from 5.15 version and prior 5.15.161 version cpe:2.3:o:linux:linux_kernel >= 5.15 < 5.15.161
  Linux Kernel from 6.1 version and prior 6.1.93 version cpe:2.3:o:linux:linux_kernel >= 6.1 < 6.1.93
  Linux Kernel from 6.6 version and prior 6.6.33 version cpe:2.3:o:linux:linux_kernel >= 6.6 < 6.6.33
  Linux Kernel from 6.9 version and prior 6.9.4 version cpe:2.3:o:linux:linux_kernel >= 6.9 < 6.9.4
  Linux Kernel 6.10.0 Rc1 cpe:2.3:o:linux:linux_kernel:6.10.0:rc1
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...