media: ti: j721e-csi2rx: Fix races while restarting DMA
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: ti: j721e-csi2rx: Fix races while restarting DMA
After the frame is submitted to DMA, it may happen that the submitted list is not updated soon enough, and the DMA callback is triggered before that.
This can lead to kernel crashes, so move everything in a single lock/unlock section to prevent such races.
From the CVE record · Linux
A race in the Linux kernel's j721e-csi2rx media driver can occur when a DMA callback runs before the submitted-frame list is updated. This can crash the kernel during DMA restart; the input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels that include the j721e-csi2rx driver should check their installations; affected versions are not specified.