5.5
MEDIUM
CVE-2024-38780
Linux Kernel DMA-Buffer IRQ Lock Vulnerability
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().

INFO

Published Date :

June 21, 2024, 12:15 p.m.

Last Modified :

July 15, 2024, 7:15 a.m.

Source :

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

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-38780 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38780 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-38780 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 15, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
  • Initial Analysis by [email protected]

    Jun. 24, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed No Types Assigned https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a No Types Assigned https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a No Types Assigned https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e No Types Assigned https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878 No Types Assigned https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef No Types Assigned https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 No Types Assigned https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39 No Types Assigned https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39 Mailing List, Patch
    Added CWE NIST CWE-667
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.19 up to (excluding) 4.19.316 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4 up to (excluding) 5.4.278 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1 up to (excluding) 6.1.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.4 *cpe:2.3:o:linux:linux_kernel:6.10.0:rc1:*:*:*:*:*:*
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 21, 2024

    Action Type Old Value New Value
    Added 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().
    Added Reference kernel.org https://git.kernel.org/stable/c/1ff116f68560a25656933d5a18e7619cb6773d8a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/165b25e3ee9333f7b04f8db43895beacb51582ed [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/ae6fc4e6a3322f6d1c8ff59150d8469487a73dd8 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9d75fab2c14a25553a1664586ed122c316bd1878 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/242b30466879e6defa521573c27e12018276c33a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a4ee78244445ab73af22bfc5a5fc543963b25aef [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8a283cdfc8beeb14024387a925247b563d614e1e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/b794918961516f667b0c745aebdfebbb8a98df39 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38780 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-38780 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability