Bug 2317606 (CVE-2024-47663) - CVE-2024-47663 kernel: staging: iio: frequency: ad9834: Validate frequency parameter value
Summary: CVE-2024-47663 kernel: staging: iio: frequency: ad9834: Validate frequency pa...
Keywords:
Status: NEW
Alias: CVE-2024-47663
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2318111
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-09 15:04 UTC by OSIDB Bzimport
Modified: 2024-10-11 17:59 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-09 15:04:04 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-10-11 16:24:44 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024100904-CVE-2024-47663-9bdc@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.