Divide By Zero Affecting perf package, versions <0:5.4.17-2136.338.4.1.el7uek


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE7-PERF-8518398
  • published18 Dec 2024
  • disclosed9 Nov 2024

Introduced: 9 Nov 2024

CVE-2024-50233  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Oracle:7 perf to version 0:5.4.17-2136.338.4.1.el7uek or higher.
This issue was patched in ELSA-2024-12884.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perf package and not the perf package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()

In the ad9832_write_frequency() function, clk_get_rate() might return 0. This can lead to a division by zero when calling ad9832_calc_freqreg(). The check if (fout > (clk_get_rate(st->mclk) / 2)) does not protect against the case when fout is 0. The ad9832_write_frequency() function is called from ad9832_write(), and fout is derived from a text buffer, which can contain any value.

CVSS Scores

version 3.1