{"id":"CVE-2022-49749","aliases":["CVE-2022-49749"],"related":[],"kind":"vulnerability","state":"published","title":"i2c: designware: use casting of u64 in clock multiplication to avoid overflow","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: designware: use casting of u64 in clock multiplication to avoid overflow\n\nIn functions i2c_dw_scl_lcnt() and i2c_dw_scl_hcnt() may have overflow\nby depending on the values of the given parameters including the ic_clk.\nFor example in our use case where ic_clk is larger than one million,\nmultiplication of ic_clk * 4700 will result in 32 bit overflow.\n\nAdd cast of u64 to the calculation to avoid multiplication overflow, and\nuse the corresponding define for divide.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: designware: use casting of u64 in clock multiplication to avoid overflow\n\nIn functions i2c_dw_scl_lcnt() and i2c_dw_scl_hcnt() may have overflow\nby depending on the values of the given parameters including the ic_clk.\nFor example in our use case where ic_clk is larger than one million,\nmultiplication of ic_clk * 4700 will result in 32 bit overflow.\n\nAdd cast of u64 to the calculation to avoid multiplication overflow, and\nuse the corresponding define for divide.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i2c: designware: usar la conversión de u64 en la multiplicación de reloj para evitar el desbordamiento. Las funciones i2c_dw_scl_lcnt() e i2c_dw_scl_hcnt() pueden experimentar un desbordamiento al depender de los valores de los parámetros dados, incluido ic_clk. Por ejemplo, en nuestro caso práctico, donde ic_clk es mayor que un millón, la multiplicación de ic_clk * 4700 resultará en un desbordamiento de 32 bits. Añada la conversión de u64 al cálculo para evitar el desbordamiento de la multiplicación y utilice la definición correspondiente para la división.","source":"nvd"}],"published":"2025-03-27T16:42:58.426Z","modified":"2026-06-17T05:19:02.413Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"2373f6b9744d5373b886f3ce1a985193cca0a356","fixed":"ed173f77fd28a3e4fffc13b3f28687b9eba61157","status":"affected"},{"type":"git","introduced":"2373f6b9744d5373b886f3ce1a985193cca0a356","fixed":"2f29d780bd691d20e89e5b35d5e6568607115e94","status":"affected"},{"type":"git","introduced":"2373f6b9744d5373b886f3ce1a985193cca0a356","fixed":"9f36aae9e80e79b7a6d62227eaa96935166be9fe","status":"affected"},{"type":"git","introduced":"2373f6b9744d5373b886f3ce1a985193cca0a356","fixed":"c8c37bc514514999e62a17e95160ed9ebf75ca8d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","status":"unaffected"},{"type":"semver","introduced":"5.10.166","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.91","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.9","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.2","fixed":"5.10.166"},{"status":"affected","introduced":"5.11","fixed":"5.15.91"},{"status":"affected","introduced":"5.16","fixed":"6.1.9"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ed173f77fd28a3e4fffc13b3f28687b9eba61157","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f29d780bd691d20e89e5b35d5e6568607115e94","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f36aae9e80e79b7a6d62227eaa96935166be9fe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8c37bc514514999e62a17e95160ed9ebf75ca8d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T17:23:27.014Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49749","url":"https://www.cve.org/CVERecord?id=CVE-2022-49749","licence":"CVE Terms of Use","modified":"2026-05-11T19:06:00.714Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49749","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49749","licence":"Public domain","modified":"2026-06-17T05:19:02.413Z"}],"updatedAt":"2026-11-25T22:58:20.844Z","epss":{"score":0.00194,"percentile":0.09515,"date":"2026-12-01T12:00:22.000Z"}}