# CVE-2021-46920: dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-02-27T06:53:57.372Z
- Modified: 2026-06-17T04:15:51.080Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback

Current code blindly writes over the SWERR and the OVERFLOW bits. Write
back the bits actually read instead so the driver avoids clobbering the
OVERFLOW bit that comes after the register is read.

(As written by CVE List.)

## Affected

- Linux Linux: from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before a5ad12d5d69c63af289a37f05187a0c6fe93553d; from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before 02981a44a0e402089775416371bd2e0c935685f8; from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before ea941ac294d75d0ace50797aebf0056f6f8f7a7f; 5.6 (not affected: before 5.6; from 5.10.32 up to 5.10.*; from 5.11.16 up to 5.11.*; from 5.12 up to *)
- linux linux_kernel: from 5.6.0 before 5.10.32; from 5.11.0 before 5.11.16

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://git.kernel.org/stable/c/a5ad12d5d69c63af289a37f05187a0c6fe93553d> (patch)
- <https://git.kernel.org/stable/c/02981a44a0e402089775416371bd2e0c935685f8> (patch)
- <https://git.kernel.org/stable/c/ea941ac294d75d0ace50797aebf0056f6f8f7a7f> (patch)

## Sources

- CVE List: [CVE-2021-46920](https://www.cve.org/CVERecord?id=CVE-2021-46920), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-46920](https://nvd.nist.gov/vuln/detail/CVE-2021-46920), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46920 · Whole record: https://cve.day/CVE-2021-46920.json · Rebuilt by cve.day 2026-11-25T22:58:08.565Z
