CVE-2022-49569

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49569
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49569.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49569
Downstream
Related
Published
2025-02-26T07:01:32Z
Modified
2025-10-01T20:16:48Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

spi: bcm2835: bcm2835spihandle_err(): fix NULL pointer deref for non DMA transfers

In case a IRQ based transfer times out the bcm2835spihandleerr() function is called. Since commit 1513ceee70f2 ("spi: bcm2835: Drop dmapending flag") the TX and RX DMA transfers are unconditionally canceled, leading to NULL pointer derefs if ctlr->dmatx or ctlr->dmarx are not set.

Fix the NULL pointer deref by checking that ctlr->dmatx and ctlr->dmarx are valid pointers before accessing them.

References

Affected packages