CVE-2021-47229PCI: aardvark: Fix kernel panic during PIO transfer
- 5.5MediumCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: PCI: aardvark: Fix kernel panic during PIO transfer Trying to start a new PIO transfer by writing value 0 in PIO_START register when previous transfer has not yet completed (which is indicated by value 1 in PIO_START) causes an External Abort on CPU, which results in kernel panic: SError Interrupt on CPU0, code 0xbf000002 -- SError Kernel panic - not syncing: Asynchronous SError Interrupt To prevent kernel panic, it is required to reject a new PIO transfer when previous one has not finished yet. If previous PIO transfer is not finished yet, the kernel may issue a new PIO request only if the previous PIO transfer timed out. In the past the root cause of this issue was incorrectly identified (as it often happens during link retraining or after link down event) and special hack was implemented in Trusted Firmware to catch all SError events in EL3, to ignore errors with code 0xbf000002 and not forwarding any other errors to kernel and instead throw panic from EL3 Trusted Firmware handler. Links to discussion and patches about this issue: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=3c7dcdac5c50 https://lore.kernel.org/linux-pci/[email protected]/ https://lore.kernel.org/linux-pci/[email protected]/ https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/1541 But the real cause was the fact that during link retraining or after link down event the PIO transfer may take longer time, up to the 1.44s until it times out. This increased probability that a new PIO transfer would be issued by kernel while previous one has not finished yet. After applying this change into the kernel, it is possible to revert the mentioned TF-A hack and SError events do not have to be caught in TF-A EL3.
Timeline
ID reserved
By Linux
- 41 days later
· 41 days later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 87% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 8c39d710363c14ecb09219332869707395d1d495 – < 400e6b1860c8be61388d0b77814c53260f96e17a
- affected 8c39d710363c14ecb09219332869707395d1d495 – < b00a9aaa4be20ad6e3311fb78a485eae0899e89a
- affected 8c39d710363c14ecb09219332869707395d1d495 – < 4c90f90a91d75c3c73dd633827c90e8746d9f54d
- affected 8c39d710363c14ecb09219332869707395d1d495 – < 1a1dbc4473974867fe8c5f195c17b341c8e82867
- affected 8c39d710363c14ecb09219332869707395d1d495 – < 3d213a4ddf49a860be6e795482c17f87e0c82b2a
- affected 8c39d710363c14ecb09219332869707395d1d495 – < f18139966d072dab8e4398c95ce955a9742e04f7
- affected 4.8
- unaffected < 4.8
- unaffected 4.14.240 – ≤ 4.14.*
- unaffected 4.19.198 – ≤ 4.19.*
- unaffected 5.4.128 – ≤ 5.4.*
- unaffected 5.10.46 – ≤ 5.10.*
- unaffected 5.12.13 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References6
- https://git.kernel.org/stable/c/400e6b1860c8be61388d0b77814c53260f96e17a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/b00a9aaa4be20ad6e3311fb78a485eae0899e89a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/4c90f90a91d75c3c73dd633827c90e8746d9f54d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/1a1dbc4473974867fe8c5f195c17b341c8e82867 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/3d213a4ddf49a860be6e795482c17f87e0c82b2a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/f18139966d072dab8e4398c95ce955a9742e04f7 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33877 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47229)Record last updated .