CVE-2024-39507 net: hns3: fix kernel crash problem in concurrent scenario
A race condition in the HNS3 network driver causes a kernel crash when link status changes during RoCE driver uninitialization.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-39507?
CVE-2024-39507 is a high-severity vulnerability in Linux kernel, published on 12 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-908
Which versions are affected by CVE-2024-39507?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-39507?
Apply the vendor's patch.
Is CVE-2024-39507 being exploited?
There is no known exploitation of CVE-2024-39507 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-39507, DEBIAN-CVE-2024-39507, GHSA-ghhh-5r4g-5v2c, ROOT-OS-DEBIAN-11-CVE-2024-39507, UBUNTU-CVE-2024-39507.