CVE-2024-46757

In the Linux kernel, the following vulnerability has been resolved: hwmon: (nct6775-core) 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:29

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/02bb3b4c7d5695ff4be01e0f55676bba49df435e - () https://git.kernel.org/stable/c/02bb3b4c7d5695ff4be01e0f55676bba49df435e - Patch
References () https://git.kernel.org/stable/c/0403e10bf0824bf0ec2bb135d4cf1c0cc3bf4bf0 - () https://git.kernel.org/stable/c/0403e10bf0824bf0ec2bb135d4cf1c0cc3bf4bf0 - Patch
References () https://git.kernel.org/stable/c/0c23e18cef20b989a9fd7cb0a745e1259b969159 - () https://git.kernel.org/stable/c/0c23e18cef20b989a9fd7cb0a745e1259b969159 - Patch
References () https://git.kernel.org/stable/c/298a55f11edd811f2189b74eb8f53dee34d4f14c - () https://git.kernel.org/stable/c/298a55f11edd811f2189b74eb8f53dee34d4f14c - Patch
References () https://git.kernel.org/stable/c/2f695544084a559f181cafdfd3f864c5ff9dd1db - () https://git.kernel.org/stable/c/2f695544084a559f181cafdfd3f864c5ff9dd1db - Patch
References () https://git.kernel.org/stable/c/8a1e958e26640ce015abdbb75c8896301b9bf398 - () https://git.kernel.org/stable/c/8a1e958e26640ce015abdbb75c8896301b9bf398 - Patch
References () https://git.kernel.org/stable/c/996221b030995cc5f5baa4a642201d64b62a17cd - () https://git.kernel.org/stable/c/996221b030995cc5f5baa4a642201d64b62a17cd - Patch
References () https://git.kernel.org/stable/c/d6035c55fa9afefc23f85f57eff1d4a1d82c5b10 - () https://git.kernel.org/stable/c/d6035c55fa9afefc23f85f57eff1d4a1d82c5b10 - Patch
CWE CWE-191
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

20 Sep 2024, 12:30

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: hwmon: (nct6775-core) 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:29


NVD link : CVE-2024-46757

Mitre link : CVE-2024-46757

CVE.ORG link : CVE-2024-46757


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-191

Integer Underflow (Wrap or Wraparound)