Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47047

MEDIUM 5.5EPSS 9%

spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails

Mitigation

  • Upgrade Linux to 126bdb606fd2802454e6048caef1be3e25dd121e or later.

Who should check

  • Anyone running Linux >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 5980a3b9c933408bc22b0e349b78c3ebd7cbf880; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < c26c026eb496261dbc0adbf606cc81989cd2038c; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < bad5a23cf2b477fa78b85fd392736dae09a1e818; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 126bdb606fd2802454e6048caef1be3e25dd121e
  • Anyone running Linux 5.10

Vulnerability facts

Affected
Linux >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 5980a3b9c933408bc22b0e349b78c3ebd7cbf880; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < c26c026eb496261dbc0adbf606cc81989cd2038c; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < bad5a23cf2b477fa78b85fd392736dae09a1e818; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 126bdb606fd2802454e6048caef1be3e25dd121e; Linux 5.10
Fixed in
Linux 5980a3b9c933408bc22b0e349b78c3ebd7cbf880, Linux 126bdb606fd2802454e6048caef1be3e25dd121e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails The spi controller supports 44-bit address space on AXI in DMA mode, so set dma_addr_t width to 44-bit to avoid using a swiotlb mapping. In addition, if dma_map_single fails, it should return immediately instead of continuing doing the DMA operation which bases on invalid address. This fixes the following crash which occurs in reading a big block from flash: [ 123.633577] zynqmp-qspi ff0f0000.spi: swiotlb buffer is full (sz: 4194304 bytes), total 32768 (slots), used 0 (slots) [ 123.644230] zynqmp-qspi ff0f0000.spi: ERR:rxdma:memory not mapped [ 123.784625] Unable to handle kernel paging request at virtual address 00000000003fffc0 [ 123.792536] Mem abort info: [ 123.795313] ESR = 0x96000145 [ 123.798351] EC = 0x25: DABT (current EL), IL = 32 bits [ 123.803655] SET = 0, FnV = 0 [ 123.806693] EA = 0, S1PTW = 0 [ 123.809818] Data abort info: [ 123.812683] ISV = 0, ISS = 0x00000145 [ 123.816503] CM = 1, WnR = 1 [ 123.819455] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000805047000 [ 123.825887] [00000000003fffc0] pgd=0000000803b45003, p4d=0000000803b45003, pud=0000000000000000 [ 123.834586] Internal error: Oops: 96000145 [#1] PREEMPT SMP

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 5980a3b9c933408bc22b0e349b78c3ebd7cbf880; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < c26c026eb496261dbc0adbf606cc81989cd2038c; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < bad5a23cf2b477fa78b85fd392736dae09a1e818; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 126bdb606fd2802454e6048caef1be3e25dd121e—cvelist
Linux5.10—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47047. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47047.md
Affected: Linux >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 5980a3b9c933408bc22b0e349b78c3ebd7cbf880; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < c26c026eb496261dbc0adbf606cc81989cd2038c; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < bad5a23cf2b477fa78b85fd392736dae09a1e818; >= 1c26372e5aa9e53391a1f8f…
Fixed in: Linux 5980a3b9c933408bc22b0e349b78c3ebd7cbf880, Linux 126bdb606fd2802454e6048caef1be3e25dd121e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47047 being exploited?

There is no confirmed exploitation: CVE-2021-47047 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47047?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47047?

Linux >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 5980a3b9c933408bc22b0e349b78c3ebd7cbf880; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < c26c026eb496261dbc0adbf606cc81989cd2038c; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < bad5a23cf2b477fa78b85fd392736dae09a1e818; >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 126bdb606fd2802454e6048caef1be3e25dd121e; Linux 5.10.

Is there a fix for CVE-2021-47047?

Yes. Fixed in Linux 5980a3b9c933408bc22b0e349b78c3ebd7cbf880, Linux 126bdb606fd2802454e6048caef1be3e25dd121e. Upgrade Linux to 126bdb606fd2802454e6048caef1be3e25dd121e or later.

How do I check if I'm affected by CVE-2021-47047?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors