Medium · published February 26, 2025
In the Linux kernel, the following vulnerability has been resolved:
soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc
The allocation funciton devm_kcalloc may fail and return a null pointer,
which would cause a null-pointer dereference later.
It might be better to check it and directly return -ENOMEM just like the
usage of devm_kcalloc in previous code.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 5.10.121 | 5.10.121 |
| linux/linux_kernel | ≥ 5.11, < 5.15.46 | 5.15.46 |
| linux/linux_kernel | ≥ 5.16, < 5.17.14 | 5.17.14 |
| linux/linux_kernel | ≥ 5.18, < 5.18.3 | 5.18.3 |