{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-49569","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-02-26T02:21:30.410Z","datePublished":"2025-02-26T02:23:13.209Z","dateUpdated":"2025-10-01T19:46:37.670Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T08:40:50.800Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers\n\nIn case a IRQ based transfer times out the bcm2835_spi_handle_err()\nfunction is called. Since commit 1513ceee70f2 (\"spi: bcm2835: Drop\ndma_pending flag\") the TX and RX DMA transfers are unconditionally\ncanceled, leading to NULL pointer derefs if ctlr->dma_tx or\nctlr->dma_rx are not set.\n\nFix the NULL pointer deref by checking that ctlr->dma_tx and\nctlr->dma_rx are valid pointers before accessing them."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-bcm2835.c"],"versions":[{"version":"1513ceee70f2bd523e025efe0c715328e1a43ffd","lessThan":"76668d2a2f367d25ff448e6d7087406af7d7bb2b","status":"affected","versionType":"git"},{"version":"1513ceee70f2bd523e025efe0c715328e1a43ffd","lessThan":"684896e675edd8b669fd3e9f547c5038222d85bc","status":"affected","versionType":"git"},{"version":"1513ceee70f2bd523e025efe0c715328e1a43ffd","lessThan":"58466e05390043d2805685c70f55f3f59711bdf2","status":"affected","versionType":"git"},{"version":"1513ceee70f2bd523e025efe0c715328e1a43ffd","lessThan":"49ffa473218012e765682343de2052eb4c1f06a7","status":"affected","versionType":"git"},{"version":"1513ceee70f2bd523e025efe0c715328e1a43ffd","lessThan":"4ceaa684459d414992acbefb4e4c31f2dfc50641","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-bcm2835.c"],"versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"5.4.208","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.134","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.58","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.15","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.4.208"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.10.134"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.15.58"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.18.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4","versionEndExcluding":"5.19"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/76668d2a2f367d25ff448e6d7087406af7d7bb2b"},{"url":"https://git.kernel.org/stable/c/684896e675edd8b669fd3e9f547c5038222d85bc"},{"url":"https://git.kernel.org/stable/c/58466e05390043d2805685c70f55f3f59711bdf2"},{"url":"https://git.kernel.org/stable/c/49ffa473218012e765682343de2052eb4c1f06a7"},{"url":"https://git.kernel.org/stable/c/4ceaa684459d414992acbefb4e4c31f2dfc50641"}],"title":"spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-49569","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:36:53.132974Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-476","description":"CWE-476 NULL Pointer Dereference"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T19:46:37.670Z"}}]}}