CVE-2024-46831 net: microchip: vcap: Fix use-after-free error in kunit test
A use-after-free vulnerability in the Linux kernel's Microchip VCAP kunit test allows attackers to potentially execute code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46831?
CVE-2024-46831 is a high-severity use after free vulnerability in Linux kernel, published on 27 Sep 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: microchip: vcap: Fix use-after-free error in kunit test
This is a clear use-after-free error. We remove it, and rely on checking the return code of vcap_del_rule.
Weakness: CWE-416
Which versions are affected by CVE-2024-46831?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-46831?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-46831 being exploited?
There is no known exploitation of CVE-2024-46831 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-46831, DEBIAN-CVE-2024-46831, GHSA-f53r-mw9w-8p2c, UBUNTU-CVE-2024-46831.