# CVE-2022-49749: i2c: designware: use casting of u64 in clock multiplication to avoid overflow

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-03-27T16:42:58.426Z
- Modified: 2026-06-17T05:19:02.413Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2373f6b9744d5373b886f3ce1a985193cca0a356 before ed173f77fd28a3e4fffc13b3f28687b9eba61157; from 2373f6b9744d5373b886f3ce1a985193cca0a356 before 2f29d780bd691d20e89e5b35d5e6568607115e94; from 2373f6b9744d5373b886f3ce1a985193cca0a356 before 9f36aae9e80e79b7a6d62227eaa96935166be9fe; from 2373f6b9744d5373b886f3ce1a985193cca0a356 before c8c37bc514514999e62a17e95160ed9ebf75ca8d; 3.2 (not affected: before 3.2; from 5.10.166 up to 5.10.*; from 5.15.91 up to 5.15.*; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 3.2 before 5.10.166; from 5.11 before 5.15.91; from 5.16 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ed173f77fd28a3e4fffc13b3f28687b9eba61157> (patch)
- <https://git.kernel.org/stable/c/2f29d780bd691d20e89e5b35d5e6568607115e94> (patch)
- <https://git.kernel.org/stable/c/9f36aae9e80e79b7a6d62227eaa96935166be9fe> (patch)
- <https://git.kernel.org/stable/c/c8c37bc514514999e62a17e95160ed9ebf75ca8d> (patch)

## Sources

- CVE List: [CVE-2022-49749](https://www.cve.org/CVERecord?id=CVE-2022-49749), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49749](https://nvd.nist.gov/vuln/detail/CVE-2022-49749), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49749 · Whole record: https://cve.day/CVE-2022-49749.json · Rebuilt by cve.day 2026-11-25T22:58:20.844Z
