CVE-2022-49569
spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 15 months later
· 15 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.26% · top 82% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected 1513ceee70f2bd523e025efe0c715328e1a43ffd – < 76668d2a2f367d25ff448e6d7087406af7d7bb2b
- affected 1513ceee70f2bd523e025efe0c715328e1a43ffd – < 684896e675edd8b669fd3e9f547c5038222d85bc
- affected 1513ceee70f2bd523e025efe0c715328e1a43ffd – < 58466e05390043d2805685c70f55f3f59711bdf2
- affected 1513ceee70f2bd523e025efe0c715328e1a43ffd – < 49ffa473218012e765682343de2052eb4c1f06a7
- affected 1513ceee70f2bd523e025efe0c715328e1a43ffd – < 4ceaa684459d414992acbefb4e4c31f2dfc50641
- affected 5.4
- unaffected < 5.4
- unaffected 5.4.208 – ≤ 5.4.*
- unaffected 5.10.134 – ≤ 5.10.*
- unaffected 5.15.58 – ≤ 5.15.*
- unaffected 5.18.15 – ≤ 5.18.*
- unaffected 5.19 – ≤ *
References (5)
- https://git.kernel.org/stable/c/76668d2a2f367d25ff448e6d7087406af7d7bb2b (opens in a new tab)
- https://git.kernel.org/stable/c/684896e675edd8b669fd3e9f547c5038222d85bc (opens in a new tab)
- https://git.kernel.org/stable/c/58466e05390043d2805685c70f55f3f59711bdf2 (opens in a new tab)
- https://git.kernel.org/stable/c/49ffa473218012e765682343de2052eb4c1f06a7 (opens in a new tab)
- https://git.kernel.org/stable/c/4ceaa684459d414992acbefb4e4c31f2dfc50641 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49569)Record last updated .