CVE-2022-49749

published 27 Mar 2025 · updated 11 May 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2f29d780bd691d20e89e5b35d5e6568607115e94, Kernel 9f36aae9e80e79b7a6d62227eaa96935166be9fe, Kernel c8c37bc514514999e62a17e95160ed9ebf75ca8d and 1 more.

In the Linux kernel, the following vulnerability has been resolved: i2c: designware: use casting of u64 in clock multiplication to avoid overflow In functions i2c_dw_scl_lcnt() and i2c_dw_scl_hcnt() may have overflow by depending on the values of the given parameters including the ic_clk. For example in our use case where ic_clk 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.2, >=2373f6b9744d5373b886f3ce1a985193cca0a356 <2f29d780bd691d20e89e5b35d5e6568607115e94, >=2373f6b9744d5373b886f3ce1a985193cca0a356 <9f36aae9e80e79b7a6d62227eaa96935166be9fe, >=2373f6b9744d5373b886f3ce1a985193cca0a356 <c8c37bc514514999e62a17e95160ed9ebf75ca8d, >=2373f6b9744d5373b886f3ce1a985193cca0a356 <ed173f77fd28a3e4fffc13b3f28687b9eba611572f29d780bd691d20e89e5b35d5e6568607115e94, 9f36aae9e80e79b7a6d62227eaa96935166be9fe, c8c37bc514514999e62a17e95160ed9ebf75ca8d, ed173f77fd28a3e4fffc13b3f28687b9eba61157

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49749 severity on Zeptric[![CVE-2022-49749](https://zeptric.io/badge/cve/CVE-2022-49749.svg)](https://zeptric.io/cve/CVE-2022-49749)