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.
git.kernel.org/stable/c/019ef2d396363ecddc46e826153a842f8603799b
git.kernel.org/stable/c/05419d0056dcf7088687e561bb583cc06deba777
git.kernel.org/stable/c/2a3add62f183459a057336381ef3a896da01ce38
git.kernel.org/stable/c/6891b11a0c6227ca7ed15786928a07b1c0e4d4af
git.kernel.org/stable/c/7645d783df23878342d5d8d22030c3861d2d5426
git.kernel.org/stable/c/8cad724c8537fe3e0da8004646abc00290adae40
git.kernel.org/stable/c/b0bdb43852bf7f55ba02f0cbf00b4ea7ca897bff
git.kernel.org/stable/c/f7f5101af5b47a331cdbfa42ba64c507b47dd1fe
security-tracker.debian.org/tracker/CVE-2024-46759