CVE-2022-49569

MEDIUM EPSS 14.9%
Published Feb 26, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Feb 26, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
14.9% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 11

VendorProductVersionRange
linuxlinux_kernel*≥5.4  –  <5.4.208
linuxlinux_kernel*≥5.5  –  <5.10.134
linuxlinux_kernel*≥5.11  –  <5.15.58
linuxlinux_kernel*≥5.16  –  <5.18.15
linuxlinux_kernel5.19any
linuxlinux_kernel5.19any
linuxlinux_kernel5.19any
linuxlinux_kernel5.19any
linuxlinux_kernel5.19any
linuxlinux_kernel5.19any
linuxlinux_kernel5.19any

References 5

  • git.kernel.org https://git.kernel.org/stable/c/49ffa473218012e765682343de2052eb4c1f06a7
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4ceaa684459d414992acbefb4e4c31f2dfc50641
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/58466e05390043d2805685c70f55f3f59711bdf2
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/684896e675edd8b669fd3e9f547c5038222d85bc
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/76668d2a2f367d25ff448e6d7087406af7d7bb2b
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/49ffa473218012e765682343de2052eb4c1f06a7
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4ceaa684459d414992acbefb4e4c31f2dfc50641
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/58466e05390043d2805685c70f55f3f59711bdf2
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/684896e675edd8b669fd3e9f547c5038222d85bc
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/76668d2a2f367d25ff448e6d7087406af7d7bb2b
    Patch