In the Linux kernel, the following vulnerability has been resolved:
pstore/zone: Add a null pointer check to the psz_kmsg_read
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | - | 5.10.215 |
| linux / linux_kernel | 6.2 | 6.6.27 |
| linux / linux_kernel | 6.7 | 6.8.6 |
| linux / linux_kernel | 5.16 | 6.1.86 |
| linux / linux_kernel | 5.11 | 5.15.155 |
| debian / debian_linux | 10.0 | 10.0.x |