diff options
| author | Suma Hegde <[email protected]> | 2025-08-07 10:06:37 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-08-12 12:05:03 +0000 |
| commit | 2c78fb287e1f430b929f2e49786518350d15605c (patch) | |
| tree | a007ced366bd3030e7d63b8412edaebf01b51187 /scripts/lib/kdoc/kdoc_re.py | |
| parent | platform/x86/intel-uncore-freq: Check write blocked for ELC (diff) | |
| download | kernel-2c78fb287e1f430b929f2e49786518350d15605c.tar.gz kernel-2c78fb287e1f430b929f2e49786518350d15605c.zip | |
platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL
If metric table address is not allocated, accessing metrics_bin will
result in a NULL pointer dereference, so add a check.
Fixes: 5150542b8ec5 ("platform/x86/amd/hsmp: add support for metrics tbl")
Signed-off-by: Suma Hegde <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
