CVE-2021-46920
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 5.6.0 before 5.10.32, from 5.11.0 before 5.11.16NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: idxd: corrige el problema del bit de desbordamiento SWERR en la reescritura El código actual escribe ciegamente sobre los bits SWERR y OVERFLOW. En su lugar, vuelva a escribir los bits realmente leídos para que el controlador evite dañar el bit OVERFLOW que viene después de leer el registro.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-46920 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-46920 changed 2026-06-17Public domain