In the Linux kernel, the following vulnerability has been resolved:
cassini: Fix a memory leak in the error handling path of cas_init_one()
cas_saturn_firmware_init() allocates some memory using vmalloc(). This memory is freed in the .remove() function but not it the error handling path of the probe.
Add the missing vfree() to avoid a memory leak, should an error occur.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 2.6.28 | 4.14.316 |
| linux / linux_kernel | 4.15 | 4.19.284 |
| linux / linux_kernel | 4.20 | 5.4.244 |
| linux / linux_kernel | 5.5 | 5.10.181 |
| linux / linux_kernel | 5.11 | 5.15.113 |
| linux / linux_kernel | 5.16 | 6.1.30 |
| linux / linux_kernel | 6.2 | 6.3.4 |
| linux / linux_kernel | 6.4-rc1 | 6.4-rc1.x |
| linux / linux_kernel | 6.4-rc2 | 6.4-rc2.x |