Lucene search

K
cvelistLinuxCVELIST:CVE-2024-39499
HistoryJul 12, 2024 - 12:20 p.m.

CVE-2024-39499 vmci: prevent speculation leaks by sanitizing event in event_deliver()

2024-07-1212:20:33
Linux
www.cve.org
7
linux kernel
vmci
speculation leaks

EPSS

0

Percentile

13.4%

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

vmci: prevent speculation leaks by sanitizing event in event_deliver()

Coverity spotted that event_msg is controlled by user-space,
event_msg->event_data.event is passed to event_deliver() and used
as an index without sanitization.

This change ensures that the event index is sanitized to mitigate any
possibility of speculative information leaks.

This bug was discovered and resolved using Coverity Static Analysis
Security Testing (SAST) by Synopsys, Inc.

Only compile tested, no access to HW.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/misc/vmw_vmci/vmci_event.c"
    ],
    "versions": [
      {
        "version": "1d990201f9bb",
        "lessThan": "58730dfbd4ae",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d990201f9bb",
        "lessThan": "681967c4ff21",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d990201f9bb",
        "lessThan": "f70ff7373467",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d990201f9bb",
        "lessThan": "95ac3e773a1f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d990201f9bb",
        "lessThan": "95bac1c8bedb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d990201f9bb",
        "lessThan": "e293c6b38ac9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d990201f9bb",
        "lessThan": "757804e1c599",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1d990201f9bb",
        "lessThan": "8003f00d8953",
        "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/misc/vmw_vmci/vmci_event.c"
    ],
    "versions": [
      {
        "version": "3.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.317",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.279",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.221",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.162",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.95",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.35",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]