CVE-2024-36900 net: hns3: fix kernel crash when devlink reload during initialization
A race condition in the hns3 network driver causes a kernel crash if devlink reload occurs during initialization, leading to denial of service.
- 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-36900?
CVE-2024-36900 is a medium-severity vulnerability in Linux kernel, published on 30 May 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 when devlink reload during 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 registering the devlink after hardware initialization.
Weakness: CWE-908
Which versions are affected by CVE-2024-36900?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-36900?
Apply the vendor's patch.
Is CVE-2024-36900 being exploited?
There is no known exploitation of CVE-2024-36900 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-36900, DEBIAN-CVE-2024-36900, ROOT-OS-UBUNTU-2204-CVE-2024-36900, UBUNTU-CVE-2024-36900.