CVE-2022-49569
published 2025-02-26CVE-2022-49569: 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…
PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
17.1th percentile
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
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.16-1 (bookworm) | linux 5.18.16-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 1513ceee70f2bd523e025efe0c715328e1a43ffd < 76668d2a2f367d25ff448e6d7087406af7d7bb2b | 76668d2a2f367d25ff448e6d7087406af7d7bb2b |
| linux | linux | >= 1513ceee70f2bd523e025efe0c715328e1a43ffd < 684896e675edd8b669fd3e9f547c5038222d85bc | 684896e675edd8b669fd3e9f547c5038222d85bc |
| linux | linux | >= 1513ceee70f2bd523e025efe0c715328e1a43ffd < 58466e05390043d2805685c70f55f3f59711bdf2 | 58466e05390043d2805685c70f55f3f59711bdf2 |
| linux | linux | >= 1513ceee70f2bd523e025efe0c715328e1a43ffd < 49ffa473218012e765682343de2052eb4c1f06a7 | 49ffa473218012e765682343de2052eb4c1f06a7 |
| linux | linux | >= 1513ceee70f2bd523e025efe0c715328e1a43ffd < 4ceaa684459d414992acbefb4e4c31f2dfc50641 | 4ceaa684459d414992acbefb4e4c31f2dfc50641 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.136-1 | 5.10.136-1 |
| linux | linux_kernel | >= 0 < 5.18.16-1 | 5.18.16-1 |
| linux | linux_kernel | >= 0 < 5.18.16-1 | 5.18.16-1 |
| linux | linux_kernel | >= 0 < 5.18.16-1 | 5.18.16-1 |
| linux | linux_kernel | >= 5.11 < 5.15.58 | 5.15.58 |
| linux | linux_kernel | >= 5.16 < 5.18.15 | 5.18.15 |
| linux | linux_kernel | >= 5.4 < 5.4.208 | 5.4.208 |
| linux | linux_kernel | >= 5.5 < 5.10.134 | 5.10.134 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49569 [MEDIUM] CWE-476 kernel: spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
kernel: spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat
Debian
CVE-2022-49569: linux - In the Linux kernel, the following vulnerability has been resolved: spi: bcm283...
vendor_debian·2022·CVSS 5.5
CVE-2022-49569 [MEDIUM] CVE-2022-49569: linux - In the Linux kernel, the following vulnerability has been resolved: spi: bcm283...
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.
Scope: local
bookworm: resolved (fixed in 5.18.16-1)
bullseye: resolved (fixed in 5.10.136-1)
forky: resolved (fixed in 5.18.16-1)
sid: resolved (fixed in 5.18.16-1)
trixie: resolved (fixed in 5.18.16-1)
GHSA
GHSA-x4wx-6qj6-2hp3: In the Linux kernel, the following vulnerability has been resolved:
spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transf
ghsa_unreviewed·2025-03-10
CVE-2022-49569 [MEDIUM] CWE-476 GHSA-x4wx-6qj6-2hp3: In the Linux kernel, the following vulnerability has been resolved:
spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transf
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.
OSV
CVE-2022-49569: In the Linux kernel, the following vulnerability has been resolved: spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfe
osv·2025-02-26·CVSS 5.5
CVE-2022-49569 [MEDIUM] CVE-2022-49569: In the Linux kernel, the following vulnerability has been resolved: spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfe
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/49ffa473218012e765682343de2052eb4c1f06a7https://git.kernel.org/stable/c/4ceaa684459d414992acbefb4e4c31f2dfc50641https://git.kernel.org/stable/c/58466e05390043d2805685c70f55f3f59711bdf2https://git.kernel.org/stable/c/684896e675edd8b669fd3e9f547c5038222d85bchttps://git.kernel.org/stable/c/76668d2a2f367d25ff448e6d7087406af7d7bb2b
2025-02-26
Published