CVE-2022-49569 Details
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.
A vulnerability in the Linux kernel's BCM2835 SPI driver can lead to a NULL pointer dereference. This issue occurs in versions of the kernel that include the problematic commit, when an IRQ-based transfer times out. The 'bcm2835_spi_handle_err()' function is then called, but if the controller's DMA transmit or receive pointers are not set, it results in a NULL pointer dereference. The vulnerability has been addressed by adding checks to ensure these pointers are valid before they are accessed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/49ffa473218012e765682343de2052eb4c1f06a7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4ceaa684459d414992acbefb4e4c31f2dfc50641 | kernel.org | Patch |
| https://git.kernel.org/stable/c/58466e05390043d2805685c70f55f3f59711bdf2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/684896e675edd8b669fd3e9f547c5038222d85bc | kernel.org | Patch |
| https://git.kernel.org/stable/c/76668d2a2f367d25ff448e6d7087406af7d7bb2b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4, < 5.4.208 >= 5.5, < 5.10.134 >= 5.11, < 5.15.58 >= 5.16, < 5.18.15 5.19 rc1 5.19 rc2 5.19 rc3 5.19 rc4 5.19 rc5 5.19 rc6 5.19 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 10, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |