CVE-2021-47477
Description
In the Linux kernel, the following vulnerability has been resolved: comedi: dt9812: fix DMA buffers on stack USB transfer buffers are typically mapped for DMA and must not be allocated on the stack or transfers will fail. Allocate proper transfer buffers in the various command helpers and return an error on short transfers instead of acting on random stack data. Note that this also fixes a stack info leak on systems where DMA is not used as 32 bytes are always sent to the device regardless of how short the command is.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-47477
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-47477.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 5.15.3-1 |
| debian | bullseye | fixed | 5.10.84-1 |
| debian | forky | fixed | 5.15.3-1 |
| debian | sid | fixed | 5.15.3-1 |
| debian | trixie | fixed | 5.15.3-1 |
References
Verify integrity in audit chain (admin only). AS-IS.