Tracker / CVE-2022-49569
CVE-2022-49569
Medium 5.5
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 and versions
| linux | linux_kernel |
|---|---|
| linux | linux_kernel · 5.11 → 5.15.58 |
| linux | linux_kernel · 5.16 → 5.18.15 |
| linux | linux_kernel · 5.4 → 5.4.208 |
| linux | linux_kernel · 5.5 → 5.10.134 |
Analysis
This page is not indexable yet.Until it carries original analysis — what it actually exposes, how to check in two minutes whether a system was touched, what to do if it was — the page stays noindex. The database decides that, not the template.