CVE-2022-49569

MEDIUM

Linux kernel - Null Pointer Dereference

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 15.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (18)
linux/Kernel 5.11.0 - 5.15.58linux
linux/Kernel 5.16.0 - 5.18.15linux
linux/Kernel 5.4.0 - 5.4.208linux
linux/Kernel 5.5.0 - 5.10.134linux
Linux/Linux < 5.4
Linux/Linux 1513ceee70f2bd523e025efe0c715328e1a43ffd - 49ffa473218012e765682343de2052eb4c1f06a7
Linux/Linux 1513ceee70f2bd523e025efe0c715328e1a43ffd - 4ceaa684459d414992acbefb4e4c31f2dfc50641
Linux/Linux 1513ceee70f2bd523e025efe0c715328e1a43ffd - 58466e05390043d2805685c70f55f3f59711bdf2
Linux/Linux 1513ceee70f2bd523e025efe0c715328e1a43ffd - 684896e675edd8b669fd3e9f547c5038222d85bc
Linux/Linux 1513ceee70f2bd523e025efe0c715328e1a43ffd - 76668d2a2f367d25ff448e6d7087406af7d7bb2b
... and 8 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026