CVE-2022-49749

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49749
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49749.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49749
Downstream
Related
Published
2025-03-27T17:15:39Z
Modified
2025-08-09T20:01:26Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

i2c: designware: use casting of u64 in clock multiplication to avoid overflow

In functions i2cdwscllcnt() and i2cdwsclhcnt() may have overflow by depending on the values of the given parameters including the icclk. For example in our use case where icclk is larger than one million, multiplication of ic_clk * 4700 will result in 32 bit overflow.

Add cast of u64 to the calculation to avoid multiplication overflow, and use the corresponding define for divide.

References

Affected packages