CVE-2022-49749 Details
Description
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.
A vulnerability in the Linux kernel's DesignWare I2C driver can lead to a 32-bit integer overflow in clock multiplication calculations. This issue arises in the 'i2c_dw_scl_lcnt()' and 'i2c_dw_scl_hcnt()' functions, where the 'ic_clk' parameter, if larger than one million, can cause overflow when multiplied by 4700. The vulnerability has been addressed by adding a cast to 'u64' in the multiplication to prevent overflow and by using the appropriate define for division.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2f29d780bd691d20e89e5b35d5e6568607115e94 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9f36aae9e80e79b7a6d62227eaa96935166be9fe | kernel.org | Patch |
| https://git.kernel.org/stable/c/c8c37bc514514999e62a17e95160ed9ebf75ca8d | kernel.org | Patch |
| https://git.kernel.org/stable/c/ed173f77fd28a3e4fffc13b3f28687b9eba61157 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
| CWE-190 | Integer Overflow or Wraparound | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.2, < 5.10.166 >= 5.11, < 5.15.91 >= 5.16, < 6.1.9 6.2 rc1 6.2 rc2 6.2 rc3 6.2 rc4 6.2 rc5 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Apr 14, 2025 | Initial Analysis | [email protected] |
| Mar 27, 2025 | New CVE Received | kernel.org |