In the Linux kernel, the following vulnerability has been resolved:
platform/x86/amd/hsmp: Ensure sock->metrictbladdr is non-NULL
If metric table address is not allocated, accessing metrics_bin will result in a NULL pointer dereference, so add a check.