Lucene search

K
cvelistLinuxCVELIST:CVE-2024-38780
HistoryJun 21, 2024 - 11:15 a.m.

CVE-2024-38780 dma-buf/sw-sync: don't enable IRQ from sync_print_obj()

2024-06-2111:15:12
Linux
www.cve.org
1
linux kernel
cve-2024-38780
dma-buf/sw-sync
vulnerability
resolved
fix

0.0004 Low

EPSS

Percentile

5.1%

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

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/dma-buf/sync_debug.c"
    ],
    "versions": [
      {
        "version": "a6aa8fca4d79",
        "lessThan": "1ff116f68560",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a6aa8fca4d79",
        "lessThan": "165b25e3ee93",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a6aa8fca4d79",
        "lessThan": "ae6fc4e6a332",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a6aa8fca4d79",
        "lessThan": "9d75fab2c14a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a6aa8fca4d79",
        "lessThan": "242b30466879",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a6aa8fca4d79",
        "lessThan": "a4ee78244445",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a6aa8fca4d79",
        "lessThan": "8a283cdfc8be",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a6aa8fca4d79",
        "lessThan": "b79491896151",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/dma-buf/sync_debug.c"
    ],
    "versions": [
      {
        "version": "4.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.316",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.278",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.219",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.161",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.93",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.4",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

5.1%

Related for CVELIST:CVE-2024-38780