CVE-2021-46920

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

State
Published
Severity
5.5 Medium
Published
Feb 27, 2024
Updated
May 11, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bfe1d56091c1a404b3d4ce7e9809d745fc4453bb to before a5ad12d5d69c63af289a37f05187a0c6fe93553dAffected
  • bfe1d56091c1a404b3d4ce7e9809d745fc4453bb to before 02981a44a0e402089775416371bd2e0c935685f8Affected
  • bfe1d56091c1a404b3d4ce7e9809d745fc4453bb to before ea941ac294d75d0ace50797aebf0056f6f8f7a7fAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.32 through 5.10.*Not affected
  • 5.11.16 through 5.11.*Not affected
  • 5.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.