Skip to main content
Network Thinking Solutions Logo

CVE-2021-47229

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

All CVEs
CVE-2021-47229Published 5/21/2024

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

Vendor advisory
CVSS5.5Medium

Overview

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/20190316161243.29517-1-repk@triplefau.lt/ https://lore.kernel.org/linux-pci/971be151d24312cc533989a64bd454b4@www.loen.fr/ 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.

Published
5/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 4.14.240

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.198

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.128

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.46

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.12.13

Verify advisory

Source
linux kernel
linux
5.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 8c39d710363c14ecb09219332869707395d1d495, < 400e6b1860c8be61388d0b77814c53260f96e17a

Verify advisory

Source
Linux
Linux
≥ 8c39d710363c14ecb09219332869707395d1d495, < b00a9aaa4be20ad6e3311fb78a485eae0899e89a

Verify advisory

Source
Linux
Linux
≥ 8c39d710363c14ecb09219332869707395d1d495, < 4c90f90a91d75c3c73dd633827c90e8746d9f54d

Verify advisory

Source
Linux
Linux
≥ 8c39d710363c14ecb09219332869707395d1d495, < 1a1dbc4473974867fe8c5f195c17b341c8e82867

Verify advisory

Source
Linux
Linux
≥ 8c39d710363c14ecb09219332869707395d1d495, < 3d213a4ddf49a860be6e795482c17f87e0c82b2a

Verify advisory

Source
Linux
Linux
≥ 8c39d710363c14ecb09219332869707395d1d495, < f18139966d072dab8e4398c95ce955a9742e04f7

Verify advisory

Source
Linux
Linux
4.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.