CVE-2021-47374

In the Linux kernel, the following vulnerability has been resolved: dma-debug: prevent an error message from causing runtime problems For some drivers, that use the DMA API. This error message can be reached several millions of times per second, causing spam to the kernel's printk buffer and bringing the CPU usage up to 100% (so, it should be rate limited). However, since there is at least one driver that is in the mainline and suffers from the error condition, it is more useful to err_printk() here instead of just rate limiting the error message (in hopes that it will make it easier for other drivers that suffer from this issue to be spotted).
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*

History

12 May 2025, 19:52

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047 - () https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047 - Patch
References () https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a - () https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a - Patch
CWE CWE-770
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

21 Nov 2024, 06:36

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047 - () https://git.kernel.org/stable/c/510e1a724ab1bf38150be2c1acabb303f98d0047 -
References () https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a - () https://git.kernel.org/stable/c/de4afec2d2946c92c62a15ab341c70b287289e6a -
Summary
  • (es) En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: dma-debug: evita que un mensaje de error cause problemas de tiempo de ejecución Para algunos controladores, que utilizan la API DMA. Este mensaje de error puede aparecer varios millones de veces por segundo, provocando spam en el búfer printk del kernel y elevando el uso de la CPU hasta el 100% (por lo tanto, debería tener una velocidad limitada). Sin embargo, dado que hay al menos un controlador que está en la línea principal y sufre la condición de error, es más útil err_printk() aquí en lugar de simplemente limitar el valor del mensaje de error (con la esperanza de que así sea más fácil para otros controladores). que sufren este problema para ser detectados).

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2025-05-12 19:52


NVD link : CVE-2021-47374

Mitre link : CVE-2021-47374

CVE.ORG link : CVE-2021-47374


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-770

Allocation of Resources Without Limits or Throttling