CVE-2024-46759

In the Linux kernel, the following vulnerability has been resolved: hwmon: (adc128d818) Fix underflows seen when writing limit attributes DIV_ROUND_CLOSEST() after kstrtol() results in an underflow if a large negative number such as -9223372036854775808 is provided by the user. Fix it by reordering clamp_val() and DIV_ROUND_CLOSEST() operations.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

23 Sep 2024, 16:28

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/019ef2d396363ecddc46e826153a842f8603799b - () https://git.kernel.org/stable/c/019ef2d396363ecddc46e826153a842f8603799b - Patch
References () https://git.kernel.org/stable/c/05419d0056dcf7088687e561bb583cc06deba777 - () https://git.kernel.org/stable/c/05419d0056dcf7088687e561bb583cc06deba777 - Patch
References () https://git.kernel.org/stable/c/2a3add62f183459a057336381ef3a896da01ce38 - () https://git.kernel.org/stable/c/2a3add62f183459a057336381ef3a896da01ce38 - Patch
References () https://git.kernel.org/stable/c/6891b11a0c6227ca7ed15786928a07b1c0e4d4af - () https://git.kernel.org/stable/c/6891b11a0c6227ca7ed15786928a07b1c0e4d4af - Patch
References () https://git.kernel.org/stable/c/7645d783df23878342d5d8d22030c3861d2d5426 - () https://git.kernel.org/stable/c/7645d783df23878342d5d8d22030c3861d2d5426 - Patch
References () https://git.kernel.org/stable/c/8cad724c8537fe3e0da8004646abc00290adae40 - () https://git.kernel.org/stable/c/8cad724c8537fe3e0da8004646abc00290adae40 - Patch
References () https://git.kernel.org/stable/c/b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff - () https://git.kernel.org/stable/c/b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff - Patch
References () https://git.kernel.org/stable/c/f7f5101af5b47a331cdbfa42ba64c507b47dd1fe - () https://git.kernel.org/stable/c/f7f5101af5b47a331cdbfa42ba64c507b47dd1fe - Patch
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-191
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

20 Sep 2024, 12:30

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: hwmon: (adc128d818) Se corrigen los desbordamientos de línea observados al escribir los atributos de límite DIV_ROUND_CLOSEST() después de que kstrtol() genere un desbordamiento de línea si el usuario proporciona un número negativo grande, como -9223372036854775808. Se soluciona reordenando las operaciones clamp_val() y DIV_ROUND_CLOSEST().

18 Sep 2024, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-18 08:15

Updated : 2024-09-23 16:28


NVD link : CVE-2024-46759

Mitre link : CVE-2024-46759

CVE.ORG link : CVE-2024-46759


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-191

Integer Underflow (Wrap or Wraparound)