Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35953
HistoryMay 20, 2024 - 9:41 a.m.

CVE-2024-35953 accel/ivpu: Fix deadlock in context_xa

2024-05-2009:41:47
Linux
www.cve.org
cve-2024-35953
vulnerability resolved
deadlock
accel/ivpu
context_xa
linux kernel
xa_flags_lock_irq
lockdep
internal tests

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

In the Linux kernel, the following vulnerability has been resolved:

accel/ivpu: Fix deadlock in context_xa

ivpu_device->context_xa is locked both in kernel thread and IRQ context.
It requires XA_FLAGS_LOCK_IRQ flag to be passed during initialization
otherwise the lock could be acquired from a thread and interrupted by
an IRQ that locks it for the second time causing the deadlock.

This deadlock was reported by lockdep and observed in internal tests.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/accel/ivpu/ivpu_drv.c"
    ],
    "versions": [
      {
        "version": "35b137630f08",
        "lessThan": "d43e11d9c7fc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35b137630f08",
        "lessThan": "e60114111472",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "35b137630f08",
        "lessThan": "fd7726e75968",
        "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/accel/ivpu/ivpu_drv.c"
    ],
    "versions": [
      {
        "version": "6.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.28",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.7",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.2 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

Related for CVELIST:CVE-2024-35953