CVE-2022-49749

MEDIUM

Linux Kernel 3.2-5.10.166, 5.11-5.15.91, 5.16-6.1.9 - Integer Overflow in i2c_dw_scl_lcnt and i2c_dw_scl_hcnt

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 6.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-190
Status published
Products (15)
linux/Kernel 3.2.0 - 5.10.166linux
linux/Kernel 5.11.0 - 5.15.91linux
linux/Kernel 5.16.0 - 6.1.9linux
Linux/Linux < 3.2
Linux/Linux 2373f6b9744d5373b886f3ce1a985193cca0a356 - 2f29d780bd691d20e89e5b35d5e6568607115e94
Linux/Linux 2373f6b9744d5373b886f3ce1a985193cca0a356 - 9f36aae9e80e79b7a6d62227eaa96935166be9fe
Linux/Linux 2373f6b9744d5373b886f3ce1a985193cca0a356 - c8c37bc514514999e62a17e95160ed9ebf75ca8d
Linux/Linux 2373f6b9744d5373b886f3ce1a985193cca0a356 - ed173f77fd28a3e4fffc13b3f28687b9eba61157
Linux/Linux 3.2
Linux/Linux 5.10.166 - 5.10.*
... and 5 more
Published Mar 27, 2025
Tracked Since Feb 18, 2026