Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-42249

spi: don't unoptimize message in spi_async()

Description

In the Linux kernel, the following vulnerability has been resolved: spi: don't unoptimize message in spi_async() Calling spi_maybe_unoptimize_message() in spi_async() is wrong because the message is likely to be in the queue and not transferred yet. This can corrupt the message while it is being used by the controller driver. spi_maybe_unoptimize_message() is already called in the correct place in spi_finalize_current_message() to balance the call to spi_maybe_optimize_message() in spi_async().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7b1d87af14d9ae902ed0c5dc5fabf4eea5abdf02 to < 8b9af6d67517ce4a0015928b3cf35bfd2b1bc1c2affected
  • 7b1d87af14d9ae902ed0c5dc5fabf4eea5abdf02 to < c86a918b1bdba78fb155184f8d88dfba1e63335daffected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.9.10 to ≤ 6.9.*unaffected
  • 6.10 to ≤ *unaffected

References