dmaengine: sh: rz-dmac: Move interrupt request after everything is set up
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 8.4epss 0.2%
probabilidad de explotación
0.2%top 92% de las CVE
explotación observada
noninguna fuente lo reporta
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: sh: rz-dmac: Move interrupt request after everything is set up
Once the interrupt is requested, the interrupt handler may run immediately.
Since the IRQ handler can access channel->ch_base, which is initialized
only after requesting the IRQ, this may lead to invalid memory access.
Likewise, the IRQ thread may access uninitialized data (the ld_free,
ld_queue, and ld_active lists), which may also lead to issues.
Request the interrupts only after everything is set up. To keep the error
path simpler, use dmam_alloc_coherent() instead of dma_alloc_coherent().
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/07ae600bd353b22f31a8f1007269744fafc7f123https://git.kernel.org/stable/c/0e0c5b3cf374ebf3c589741751e1fbc67f53ec2fhttps://git.kernel.org/stable/c/2a4d9e2234c3f817bb0ddbc8680d09ce9be84f93https://git.kernel.org/stable/c/5b12de6229d662864ee22c11d4876652b40120f0https://git.kernel.org/stable/c/731712403ddb39d1a76a11abf339a0615bc85de7https://git.kernel.org/stable/c/d24d53323e817d79a4bd111bd10b34dbc96e64a8https://git.kernel.org/stable/c/ec9f66c91bffdb69d309bae6dfb387562db7ebc8