Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b741269b275953786832805df329851299ab4de7 to < 50b69054f455dcdb34bd6b22764c7579b270eef3affected
  • b741269b275953786832805df329851299ab4de7 to < 1b550dae55901c2cc9075d6a7155a71b4f516e86affected
  • b741269b275953786832805df329851299ab4de7 to < 7ca0f73e5e2da3c129935b97f3a0877cce8ebdf5affected
  • b741269b275953786832805df329851299ab4de7 to < 93305b77ffcb042f1538ecc383505e87d95aa05aaffected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 6.1.85 to ≤ 6.1.*unaffected
  • 6.6.26 to ≤ 6.6.*unaffected
  • 6.8.5 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References