Improper Locking Affecting kernel-uek-devel package, versions <0:5.4.17-2136.334.6.el8uek


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE8-KERNELUEKDEVEL-7678185
  • published14 Aug 2024
  • disclosed21 Jun 2024

Introduced: 21 Jun 2024

CVE-2024-38780  (opens in a new tab)
CWE-667  (opens in a new tab)

How to fix?

Upgrade Oracle:8 kernel-uek-devel to version 0:5.4.17-2136.334.6.el8uek or higher.
This issue was patched in ELSA-2024-12581.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-uek-devel package and not the kernel-uek-devel package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

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

CVSS Scores

version 3.1