CVE-2024-47739 padata: use integer wrap around to prevent deadlock on seq_nr overflow
An integer overflow in the Linux kernel padata subsystem can cause a deadlock, leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-47739?
CVE-2024-47739 is a high-severity vulnerability in Linux kernel, published on 21 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
padata: use integer wrap around to prevent deadlock on seq_nr overflow
When submitting more than 2^32 padata objects to padata_do_serial, the current sorting implementation incorrectly sorts padata objects with overflowed seq_nr, causing them to be placed before existing objects in the reorder list. This leads to a deadlock in the serialization process as padata_find_next cannot match padata->seq_nr and pd->processed because the padata instance with overflowed seq_nr will be selected next.
To fix this, we use an unsigned integer wrap around to correctly sort padata objects in scenarios with integer overflow.
Weakness: CWE-190
Which versions are affected by CVE-2024-47739?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-47739?
Apply the vendor's patch.
Is CVE-2024-47739 being exploited?
There is no known exploitation of CVE-2024-47739 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-50809, AZL-50996, BELL-CVE-2024-47739, DEBIAN-CVE-2024-47739, GHSA-c5xm-9r44-7w3j, UBUNTU-CVE-2024-47739.