usb: image: mdc800: change kmalloc() to kzalloc()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 838455cc8bfe1278150d1d776529edea6cd4c1dd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
usb: image: mdc800: change kmalloc() to kzalloc()
Change the kmalloc() calls in usb_mdc800_init() for irq_urb_buffer and download_urb_buffer to kzalloc(), avoiding potential stack leaks if a shorter message is received in mdc800_usb_irq() and mdc800_usb_download_notify()
From the CVE record · Linux
The Linux kernel’s USB mdc800 driver uses buffers that may expose uninitialized data when a shorter message is received. This could cause a potential data leak. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Anyone running the Linux kernel should check whether their version includes the affected USB mdc800 driver; affected versions were not specified.