Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.4, < 5.4.208 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/49ffa473218012e765682343de2052eb4c1f06a7Patch
- https://git.kernel.org/stable/c/4ceaa684459d414992acbefb4e4c31f2dfc50641Patch
- https://git.kernel.org/stable/c/58466e05390043d2805685c70f55f3f59711bdf2Patch
- https://git.kernel.org/stable/c/684896e675edd8b669fd3e9f547c5038222d85bcPatch
- https://git.kernel.org/stable/c/76668d2a2f367d25ff448e6d7087406af7d7bb2bPatch
FAQ
What is CVE-2022-49569?
CVE-2022-49569 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 bc...
How severe is CVE-2022-49569?
CVE-2022-49569 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49569?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.