CVE-2021-47066
Last modified
CVE-2021-47066 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 5.10.37 |
| Linux | Linux Kernel | >= 5.11, < 5.11.21 |
| Linux | Linux Kernel | >= 5.12, < 5.12.4 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47066?
How severe is CVE-2021-47066?
How do I fix CVE-2021-47066?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47060In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47061In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47062In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47063In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47064In the Linux kernel, the following vulnerability has been re…5.3
- CVE-2021-47065In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47067In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47068In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47069In the Linux kernel, the following vulnerability has been re…7
- CVE-2021-47070In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47071In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47072In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-47066?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
