CVE-2022-49569: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.3% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers In case a IRQ based transfer times out the bcm2835_spi_handle_err() function is called. Since commit 1513ceee70f2 ("spi: bcm2835: Drop dma_pending flag") the TX and RX DMA transfers are unconditionally canceled, leading to NULL pointer derefs if ctlr->dma_tx or ctlr->dma_rx are not set. Fix the NULL pointer deref by checking that ctlr->dma_tx and ctlr->dma_rx are valid pointers before accessing them.
Affected products
- Linux Linux Kernel: from 5.4, before 5.4.208 (fixed in 5.4.208); from 5.5, before 5.10.134 (fixed in 5.10.134); from 5.11, before 5.15.58 (fixed in 5.15.58); from 5.16, before 5.18.15 (fixed in 5.18.15); version 5.19 only
Published 2025-02-26. Last modified 2026-06-17.