Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47066

published high CVSS 3.1 · 7.1

async_xor: increase src_offs when dropping destination page

Published
29 Feb 2024, 22:37:39 UTC
Updated
05 Aug 2026, 08:45:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux29bcff787a2593b2126cfaff612c0b4e560022e9 to < cab2e8e5997b592fdb7d02cf2387b4b8e3057174 · 29bcff787a2593b2126cfaff612c0b4e560022e9 to < 29ffa50f33de824b5491f8239c88c4a0efdd03af · 29bcff787a2593b2126cfaff612c0b4e560022e9 to < 53f8208e11abd6dde9480dfcb97fecdb1bc2ac18 · 29bcff787a2593b2126cfaff612c0b4e560022e9 to < ceaf2966ab082bbc4d26516f97b3ca8a676e2af8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 5.10.37 through 5.10.* (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-002 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-002

Description

In the Linux kernel, the following vulnerability has been resolved: async_xor: increase src_offs when dropping destination page Now we support sharing one page if PAGE_SIZE is not equal stripe size. To support this, it needs to support calculating xor value with different offsets for each r5dev. One offset array is used to record those offsets. In RMW mode, parity page is used as a source page. It sets ASYNC_TX_XOR_DROP_DST before calculating xor value in ops_run_prexor5. So it needs to add src_list and src_offs at the same time. Now it only needs src_list. So the xor value which is calculated is wrong. It can cause data corruption problem. I can reproduce this problem 100% on a POWER8 machine. The steps are: mdadm -CR /dev/md0 -l5 -n3 /dev/sdb1 /dev/sdc1 /dev/sdd1 --size=3G mkfs.xfs /dev/md0 mount /dev/md0 /mnt/test mount: /mnt/test: mount(2) system call failed: Structure needs cleaning.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Scenarios
en: AV:L - The bug sits in local MD RAID5 XOR (`async_xor_offs` via `ops_run_prexor5`), reached through ordinary block I/O writes to a RAID5 array, not through network-protocol or packet processing. AC:L - On affected deployments (e.g. POWER/ARM64 with 64K pages where stripe pages are shared), RMW prexor hits the sync DROP_DST path and the bad XOR is reproducible 100% with normal writes; no attacker-uncontrollable race is required. PR:L - Creating the array needs CAP_SYS_ADMIN, but once a RAID5 filesystem is mounted, an unprivileged user with write access triggers RMW/prexor through ordinary file writes. UI:N - The attacker triggers the bug by writing their own data; no separate victim action such as mounting or opening a crafted file is required. S:U - Impact stays within the local kernel/storage authority (corrupt RAID parity/data on that host); there is no VM escape, IOMMU bypass, or other cross-boundary effect. C:N - Wrong `src_offs` only mis-selects in-page RAID stripe buffers for XOR; there is no OOB/UAF read or other disclosure of unrelated kernel or user memory. I:H - Incorrect parity from the broken XOR causes persistent RAID5 data corruption (filesystem contents/metadata can be destroyed, as in the reported unmountable XFS case). A:H - The resulting corruption can render the filesystem unusable (e.g. mount fails with "Structure needs cleaning"), fully denying access to the stored volume.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 29bcff787a2593b2126cfaff612c0b4e560022e9 to < cab2e8e5997b592fdb7d02cf2387b4b8e3057174 (affected · git)29bcff787a2593b2126cfaff612c0b4e560022e9 to < 29ffa50f33de824b5491f8239c88c4a0efdd03af (affected · git)29bcff787a2593b2126cfaff612c0b4e560022e9 to < 53f8208e11abd6dde9480dfcb97fecdb1bc2ac18 (affected · git)29bcff787a2593b2126cfaff612c0b4e560022e9 to < ceaf2966ab082bbc4d26516f97b3ca8a676e2af8 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.10 (affected)0 to < 5.10 (unaffected · semver)5.10.37 through 5.10.* (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

3

Linux · cna

async_xor: increase src_offs when dropping destination page

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b1cccb61a1073f65bb682f55acf2be343f0bbc05adc2c7bed833b7b0aabee5cd
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected