CVE-2024-47663

staging: iio: frequency: ad9834: Validate frequency parameter value

State
Published
Severity
Not scored
Published
Oct 9, 2024
Updated
May 11, 2026
Reserved
Sep 30, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before 5edc3a45ef428501000a7b23d0e1777a548907f6Affected
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before 0e727707a239d5c519fc9abc2f0fd913516a7e47Affected
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before 41cc91e3138fe52f8da92a81bebcd0e6cf488c53Affected
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before d8b09a5edc4a634373158c1a405491de3c52e58aAffected
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before 3ba9abfcaa9e16bb91ed7e0e2b42e94a157a953eAffected
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before dc12e49f970b08d8b007b8981b97e2eb93c0e89dAffected
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before 8961b245e8f92bccbaacfbbdf69eba60e3e7c227Affected
  • 12b9d5bf76bfa20d3207ef24fca9c8254a586a58 to before b48aa991758999d4e8f9296c5bbe388f293ef465Affected
LinuxLinux
  • 2.6.38Affected
  • before 2.6.38Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.284 through 5.4.*Not affected
  • 5.10.226 through 5.10.*Not affected
  • 5.15.167 through 5.15.*Not affected
  • 6.1.110 through 6.1.*Not affected
  • 6.6.51 through 6.6.*Not affected
  • 6.10.10 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.