CVE-2024-36020 i40e: fix vf may be used uninitialized in this function warning
A race condition in the i40e driver can cause servers to hang during resets due to uninitialized variable usage, 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-36020?
CVE-2024-36020 is a high-severity vulnerability in Debian Debian Linux, 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:
i40e: fix vf may be used uninitialized in this function warning
To fix the regression introduced by commit 52424f974bc5, which causes servers hang in very hard to reproduce conditions with resets races. Using two sources for the information is the root cause. In this function before the fix bumping v didn't mean bumping vf pointer. But the code used this variables interchangeably, so stale vf could point to different/not intended vf.
Remove redundant "v" variable and iterate via single VF pointer across whole function instead to guarantee VF pointer validity.
Weakness: CWE-908
Which versions are affected by CVE-2024-36020?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-36020?
Apply the vendor's patch.
Is CVE-2024-36020 being exploited?
There is no known exploitation of CVE-2024-36020 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-36020, DEBIAN-CVE-2024-36020, UBUNTU-CVE-2024-36020.