Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26814
HistoryApr 05, 2024 - 8:24 a.m.

CVE-2024-26814 vfio/fsl-mc: Block calling interrupt handler without trigger

2024-04-0508:24:43
Linux
www.cve.org
linux kernel
vfio/fsl-mc
vulnerability
resolved

7.1 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%

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

vfio/fsl-mc: Block calling interrupt handler without trigger

The eventfd_ctx trigger pointer of the vfio_fsl_mc_irq object is
initially NULL and may become NULL if the user sets the trigger
eventfd to -1. The interrupt handler itself is guaranteed that
trigger is always valid between request_irq() and free_irq(), but
the loopback testing mechanisms to invoke the handler function
need to test the trigger. The triggering and setting ioctl paths
both make use of igate and are therefore mutually exclusive.

The vfio-fsl-mc driver does not make use of irqfds, nor does it
support any sort of masking operations, therefore unlike vfio-pci
and vfio-platform, the flow can remain essentially unchanged.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c"
    ],
    "versions": [
      {
        "version": "cc0ee20bd969",
        "lessThan": "a563fc18583c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc0ee20bd969",
        "lessThan": "250219c6a556",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc0ee20bd969",
        "lessThan": "083e750c9f5f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc0ee20bd969",
        "lessThan": "ee0bd4ad780d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc0ee20bd969",
        "lessThan": "de87511fb040",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc0ee20bd969",
        "lessThan": "6ec0d88166da",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cc0ee20bd969",
        "lessThan": "7447d911af69",
        "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/vfio/fsl-mc/vfio_fsl_mc_intr.c"
    ],
    "versions": [
      {
        "version": "5.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.215",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.154",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.84",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.24",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.12",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.3",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.1 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

13.2%