Lucene search

K
cvelistLinuxCVELIST:CVE-2024-39507
HistoryJul 12, 2024 - 12:20 p.m.

CVE-2024-39507 net: hns3: fix kernel crash problem in concurrent scenario

2024-07-1212:20:38
Linux
www.cve.org
11
linux kernel
vulnerability
net
hns3
kernel crash
concurrent scenario
nic driver
roce driver
link status
fix problem

EPSS

0

Percentile

15.9%

In the Linux kernel, the following vulnerability has been resolved:

net: hns3: fix kernel crash problem in concurrent scenario

When link status change, the nic driver need to notify the roce
driver to handle this event, but at this time, the roce driver
may uninit, then cause kernel crash.

To fix the problem, when link status change, need to check
whether the roce registered, and when uninit, need to wait link
update finish.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
    ],
    "versions": [
      {
        "version": "45e92b7e4e27",
        "lessThan": "62b5dfb67bfa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "45e92b7e4e27",
        "lessThan": "6d0007f7b69d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "45e92b7e4e27",
        "lessThan": "689de7c3bfc7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "45e92b7e4e27",
        "lessThan": "b2c5024b771c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "45e92b7e4e27",
        "lessThan": "12cda920212a",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c"
    ],
    "versions": [
      {
        "version": "5.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.1",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.162",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.95",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.35",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]