Description (CNA)
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()
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6c601410d1a9ae645f604fe2f61b9f4942c77dfb; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2df8f7720ed91f1aad4f128553b6e90c7c5fac1e; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 67c6726dd6048a2781aa43a2bf9fcf1e16ee3a7d; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 553c375e86a49882e95840565512e17bff31cc3a; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8c38049879f2108f57c98f03cc7f3db51a12bdab; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 838455cc8bfe1278150d1d776529edea6cd4c1dd; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e22428f0c038c23109c0383a235aa607b0cd4c95; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2430eb81e44111b30eeb5273bbcf8b24ca517ef9 |
| Linux / Linux | affected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/6c601410d1a9ae645f604fe2f61b9f4942c77dfb
- https://git.kernel.org/stable/c/2df8f7720ed91f1aad4f128553b6e90c7c5fac1e
- https://git.kernel.org/stable/c/67c6726dd6048a2781aa43a2bf9fcf1e16ee3a7d
- https://git.kernel.org/stable/c/553c375e86a49882e95840565512e17bff31cc3a
- https://git.kernel.org/stable/c/8c38049879f2108f57c98f03cc7f3db51a12bdab
- https://git.kernel.org/stable/c/838455cc8bfe1278150d1d776529edea6cd4c1dd
- https://git.kernel.org/stable/c/e22428f0c038c23109c0383a235aa607b0cd4c95
- https://git.kernel.org/stable/c/2430eb81e44111b30eeb5273bbcf8b24ca517ef9