CVE-2024-36021

net: hns3: fix kernel crash when devlink reload during pf initialization

State
Published
Severity
Not scored
Published
May 30, 2024
Updated
May 11, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b741269b275953786832805df329851299ab4de7 to before 50b69054f455dcdb34bd6b22764c7579b270eef3Affected
  • b741269b275953786832805df329851299ab4de7 to before 1b550dae55901c2cc9075d6a7155a71b4f516e86Affected
  • b741269b275953786832805df329851299ab4de7 to before 7ca0f73e5e2da3c129935b97f3a0877cce8ebdf5Affected
  • b741269b275953786832805df329851299ab4de7 to before 93305b77ffcb042f1538ecc383505e87d95aa05aAffected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 6.1.85 through 6.1.*Not affected
  • 6.6.26 through 6.6.*Not affected
  • 6.8.5 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.