In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: fix potential memleak in 'add_widget_node'
As 'kobject_add' may allocated memory for 'kobject->name' when return error. And in this function, if call 'kobject_add' failed didn't free kobject. So call 'kobject_put' to recycling resources.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | - | 4.9.334 |
| linux / linux_kernel | 4.10 | 4.14.300 |
| linux / linux_kernel | 4.15 | 4.19.267 |
| linux / linux_kernel | 4.20 | 5.4.225 |
| linux / linux_kernel | 5.5 | 5.10.155 |
| linux / linux_kernel | 5.11 | 5.15.79 |
| linux / linux_kernel | 5.16 | 6.0.9 |
| linux / linux_kernel | 6.1-rc1 | 6.1-rc1.x |
| linux / linux_kernel | 6.1-rc2 | 6.1-rc2.x |
| linux / linux_kernel | 6.1-rc3 | 6.1-rc3.x |
| linux / linux_kernel | 6.1-rc4 | 6.1-rc4.x |