Vulnerabilities > CVE-2024-46758 - Integer Underflow (Wrap or Wraparound) vulnerability in Linux Kernel
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
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.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
References
- https://git.kernel.org/stable/c/93f0f5721d0cca45dac50af1ae6f9a9826c699fd
- https://git.kernel.org/stable/c/438453dfbbdcf4be26891492644aa3ecbb42c336
- https://git.kernel.org/stable/c/59c1fb9874a01c9abc49a0a32f192a7e7b4e2650
- https://git.kernel.org/stable/c/0fc27747633aa419f9af40e7bdfa00d2ec94ea81
- https://git.kernel.org/stable/c/da765bebd90e1b92bdbc3c6a27a3f3cc81529ab6
- https://git.kernel.org/stable/c/46e4fd338d5bdbaf60e41cda625b24949d2af201
- https://git.kernel.org/stable/c/16f42953231be1e7be77bc24005270d9e0d9d2ee
- https://git.kernel.org/stable/c/af64e3e1537896337405f880c1e9ac1f8c0c6198