CVE-2024-47663 staging: iio: frequency: ad9834: Validate frequency parameter value
A division by zero vulnerability in the AD9834 frequency driver allows local attackers to cause a kernel crash via invalid frequency parameters.
- 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-47663?
CVE-2024-47663 is a medium-severity denial of service vulnerability in Linux kernel, published on 9 Oct 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:
staging: iio: frequency: ad9834: Validate frequency parameter value
In ad9834_write_frequency() clk_get_rate() can return 0. In such case ad9834_calc_freqreg() call will lead to division by zero. Checking 'if (fout > (clk_freq / 2))' doesn't protect in case of 'fout' is 0. ad9834_write_frequency() is called from ad9834_write(), where fout is taken from text buffer, which can contain any value.
Modify parameters checking.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Weakness: CWE-369
Which versions are affected by CVE-2024-47663?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-47663?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-47663 being exploited?
There is no known exploitation of CVE-2024-47663 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-47663, DEBIAN-CVE-2024-47663, GHSA-f2r7-4vx7-p4cw, ROOT-OS-DEBIAN-11-CVE-2024-47663, UBUNTU-CVE-2024-47663.