What’s Vulnerable › Vulnerabilities

CVE-2024-36021: net: hns3: fix kernel crash when devlink reload during pf initialization

Description

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix kernel crash when devlink reload during pf initialization The devlink reload process will access the hardware resources, but the register operation is done before the hardware is initialized. So, processing the devlink reload during initialization may lead to kernel crash. This patch fixes this by taking devl_lock during initialization.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.85, 6.6.26, 6.8.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-36021 or the next vulnerability affects your stack