CVE-2024-42112 net: txgbe: free isb resources at the right time
A use-after-free vulnerability in the Linux kernel txgbe driver allows attackers to cause denial of service or potentially execute code during device removal.
- 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-42112?
CVE-2024-42112 is a high-severity use after free vulnerability in Linux kernel, published on 30 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: txgbe: free isb resources at the right time
When using MSI/INTx interrupt, the shared interrupts are still being handled in the device remove routine, before free IRQs. So isb memory is still read after it is freed. Thus move wx_free_isb_resources() from txgbe_close() to txgbe_remove(). And fix the improper isb free action in txgbe_open() error handling path.
Weakness: CWE-416
Which versions are affected by CVE-2024-42112?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42112?
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-42112 being exploited?
There is no known exploitation of CVE-2024-42112 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-42112, DEBIAN-CVE-2024-42112, GHSA-h999-3qm9-v2xm, UBUNTU-CVE-2024-42112.