In the Linux kernel, the following vulnerability has been resolved:
objtool: Fix memory leak in create_static_call_sections()
strdup() allocates memory for key_name. We need to release the memory in the following error paths. Add free() to avoid memory leak.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 5.10 | 5.10.173 |
| linux / linux_kernel | 5.11 | 5.15.100 |
| linux / linux_kernel | 5.16 | 6.1.18 |
| linux / linux_kernel | 6.2 | 6.2.5 |