PT-2025-8502 · Linux+2 · Linux Kernel+2
Marc Kleine-Budde
·
Published
2025-02-26
·
Updated
2025-04-14
·
CVE-2022-49569
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A issue in the Linux kernel has been identified, specifically in the spi: bcm2835 module. The
bcm2835 spi handle err() function is called when an IRQ based transfer times out. Due to changes made in commit 1513ceee70f2, TX and RX DMA transfers are unconditionally canceled, leading to NULL pointer dereferences if ctlr->dma tx or ctlr->dma rx are not set. This occurs because the dma pending flag was dropped.Recommendations
To resolve this issue, check that
ctlr->dma tx and ctlr->dma rx are valid pointers before accessing them in the bcm2835 spi handle err() function. As a temporary workaround, consider adding checks for NULL pointers to prevent dereferences. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse