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.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@45e03d35229b680b79dfea1103a1f2f07d0b5d75",
"id": "CVE-2024-42279-145a2b53",
"signature_version": "v1",
"target": {
"function": "mchp_corespi_transfer_one",
"file": "drivers/spi/spi-microchip-core.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "3796881681205280688975234769492803394",
"length": 682.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cf71eb0faef4bff01df4264841b8465382d7927",
"id": "CVE-2024-42279-3ab4e662",
"signature_version": "v1",
"target": {
"function": "mchp_corespi_transfer_one",
"file": "drivers/spi/spi-microchip-core.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "3796881681205280688975234769492803394",
"length": 682.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@45e03d35229b680b79dfea1103a1f2f07d0b5d75",
"id": "CVE-2024-42279-accffa74",
"signature_version": "v1",
"target": {
"file": "drivers/spi/spi-microchip-core.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"57722032789339676395240469758218821737",
"237390146636945599543940258558576012292",
"160638258125066624630039937228019330206",
"82935917437904656425383259101510640820",
"112016826328585269979819743698829307049",
"257442368456788240496364330544911128473"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cf71eb0faef4bff01df4264841b8465382d7927",
"id": "CVE-2024-42279-d700fa17",
"signature_version": "v1",
"target": {
"file": "drivers/spi/spi-microchip-core.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"57722032789339676395240469758218821737",
"237390146636945599543940258558576012292",
"160638258125066624630039937228019330206",
"82935917437904656425383259101510640820",
"112016826328585269979819743698829307049",
"257442368456788240496364330544911128473"
]
}
}
]