# CVE-2021-47066: linux: In the Linux kernel, the following vulnerability has been resolved:  async_xor: increase src_offs when dropping desti...

CVE-2021-47066 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47066, released February 29, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-47066
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0024
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 29, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.10.38-1 | [DEBIAN-CVE-2021-47066](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47066.md) | Feb 29, 2024 |
| Linux | linux Debian 13.5 (trixie) | 5.10.38-1 | [DEBIAN-CVE-2021-47066](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47066.md) | Feb 29, 2024 |
| Linux | linux Debian 14 | 5.10.38-1 | [DEBIAN-CVE-2021-47066](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47066.md) | Feb 29, 2024 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
