Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42279
HistoryAug 17, 2024 - 9:08 a.m.

CVE-2024-42279 spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer

2024-08-1709:08:46
Linux
www.cve.org
1
linux kernel
vulnerability
spi
microchip-core
tx fifo
rx fifo
interrupt handler
register

EPSS

0

Percentile

16.3%

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

spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer

While transmitting with rx_len == 0, the RX FIFO is not going to be
emptied in the interrupt handler. A subsequent transfer could then
read crap from the previous transfer out of the RX FIFO into the
start RX buffer. The core provides a register that will empty the RX and
TX FIFOs, so do that before each transfer.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/spi/spi-microchip-core.c"
    ],
    "versions": [
      {
        "version": "9ac8d17694b6",
        "lessThan": "3feda3677e8b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9ac8d17694b6",
        "lessThan": "45e03d35229b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9ac8d17694b6",
        "lessThan": "9cf71eb0faef",
        "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/spi/spi-microchip-core.c"
    ],
    "versions": [
      {
        "version": "6.0",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.0",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.44",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.3%