net: hns3: fix kernel crash problem in concurrent scenario (Linux Linux)

CVE-2024-39507
HIGH 7.0

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 22 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 45e92b7e4e27a427de7e87d5c4d63d4ce7ba02ab < 62b5dfb67bfa8bd0301bf3442004563495f9ee48 ; affected 45e92b7e4e27a427de7e87d5c4d63d4ce7ba02ab < 6d0007f7b69d684879a0f598a042e40244d3cf63 ; affected 45e92b7e4e27a427de7e87d5c4d63d4ce7ba02ab < 689de7c3bfc7d47e0eacc641c4ce4a0f579aeefa ; affected 45e92b7e4e27a427de7e87d5c4d63d4ce7ba02ab < b2c5024b771cd1dd8175d5f6949accfadbab7edd ; affected 45e92b7e4e27a427de7e87d5c4d63d4ce7ba02ab < 12cda920212a49fa22d9e8b9492ac4ea013310a4
Linux · Linuxaffected 5.1 ; unaffected 0 < 5.1 ; unaffected 5.15.162 ≤ 5.15.* ; unaffected 6.1.95 ≤ 6.1.* ; unaffected 6.6.35 ≤ 6.6.* ; unaffected 6.9.6 ≤ 6.9.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD