CVE-2024-46758

In the Linux kernel, the following vulnerability has been resolved: hwmon: (lm95234) 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
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-191
References () https://git.kernel.org/stable/c/0fc27747633aa419f9af40e7bdfa00d2ec94ea81 - () https://git.kernel.org/stable/c/0fc27747633aa419f9af40e7bdfa00d2ec94ea81 - Patch
References () https://git.kernel.org/stable/c/16f42953231be1e7be77bc24005270d9e0d9d2ee - () https://git.kernel.org/stable/c/16f42953231be1e7be77bc24005270d9e0d9d2ee - Patch
References () https://git.kernel.org/stable/c/438453dfbbdcf4be26891492644aa3ecbb42c336 - () https://git.kernel.org/stable/c/438453dfbbdcf4be26891492644aa3ecbb42c336 - Patch
References () https://git.kernel.org/stable/c/46e4fd338d5bdbaf60e41cda625b24949d2af201 - () https://git.kernel.org/stable/c/46e4fd338d5bdbaf60e41cda625b24949d2af201 - Patch
References () https://git.kernel.org/stable/c/59c1fb9874a01c9abc49a0a32f192a7e7b4e2650 - () https://git.kernel.org/stable/c/59c1fb9874a01c9abc49a0a32f192a7e7b4e2650 - Patch
References () https://git.kernel.org/stable/c/93f0f5721d0cca45dac50af1ae6f9a9826c699fd - () https://git.kernel.org/stable/c/93f0f5721d0cca45dac50af1ae6f9a9826c699fd - Patch
References () https://git.kernel.org/stable/c/af64e3e1537896337405f880c1e9ac1f8c0c6198 - () https://git.kernel.org/stable/c/af64e3e1537896337405f880c1e9ac1f8c0c6198 - Patch
References () https://git.kernel.org/stable/c/da765bebd90e1b92bdbc3c6a27a3f3cc81529ab6 - () https://git.kernel.org/stable/c/da765bebd90e1b92bdbc3c6a27a3f3cc81529ab6 - Patch

20 Sep 2024, 12:30

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

Mitre link : CVE-2024-46758

CVE.ORG link : CVE-2024-46758


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-191

Integer Underflow (Wrap or Wraparound)