CVE-2024-46759

7.8 HIGH

📋 TL;DR

This CVE-2024-46759 is an integer underflow vulnerability in the Linux kernel's adc128d818 hardware monitoring driver. When users write large negative values to limit attributes, improper calculation order causes underflows that could lead to kernel memory corruption. This affects Linux systems using the adc128d818 driver for hardware monitoring.

💻 Affected Systems

Products:
  • Linux kernel with adc128d818 driver enabled
Versions: Linux kernel versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions using vulnerable kernel versions
Default Config Vulnerable: ✅ No
Notes: Only vulnerable if CONFIG_SENSORS_ADC128D818=y and the driver is loaded for compatible hardware. Requires write access to sysfs hwmon attributes.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic, system crash, or potential privilege escalation if the underflow leads to memory corruption that can be leveraged for further exploitation.

🟠

Likely Case

System instability, kernel crashes, or denial of service when malicious values are written to the driver's sysfs interface.

🟢

If Mitigated

Limited impact if proper access controls prevent unauthorized users from writing to sysfs attributes.

🌐 Internet-Facing: LOW - Requires local access to sysfs interface, not directly exploitable over network.
🏢 Internal Only: MEDIUM - Local users or processes with write access to /sys/class/hwmon/hwmon*/ directories could trigger crashes.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires local access and ability to write to sysfs files. Simple to trigger but limited in impact without additional vulnerabilities.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in kernel commits: 019ef2d396363ecddc46e826153a842f8603799b, 05419d0056dcf7088687e561bb583cc06deba777, 2a3add62f183459a057336381ef3a896da01ce38, 6891b11a0c6227ca7ed15786928a07b1c0e4d4af, 7645d783df23878342d5d8d22030c3861d2d5426

Vendor Advisory: https://git.kernel.org/stable/c/019ef2d396363ecddc46e826153a842f8603799b

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing the fix commits. 2. For distributions: Use package manager (apt/yum/dnf) to update kernel package. 3. Reboot system to load patched kernel.

🔧 Temporary Workarounds

Restrict sysfs access

linux

Limit write access to hwmon sysfs attributes to prevent exploitation

chmod 444 /sys/class/hwmon/hwmon*/temp*_max
chmod 444 /sys/class/hwmon/hwmon*/temp*_min
chmod 444 /sys/class/hwmon/hwmon*/in*_max
chmod 444 /sys/class/hwmon/hwmon*/in*_min

Unload vulnerable driver

linux

Remove the adc128d818 module if hardware monitoring is not required

rmmod adc128d818

🧯 If You Can't Patch

  • Implement strict access controls on /sys/class/hwmon/ directories
  • Monitor system logs for kernel crashes or hardware monitoring errors

🔍 How to Verify

Check if Vulnerable:

Check if adc128d818 module is loaded: lsmod | grep adc128d818 AND check kernel version against patched versions

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits: grep -q '019ef2d396363ecddc46e826153a842f8603799b\|05419d0056dcf7088687e561bb583cc06deba777' /proc/version_signature

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages
  • Hardware monitoring errors in dmesg
  • System crash logs

Network Indicators:

  • None - local vulnerability only

SIEM Query:

source="kernel" AND ("adc128d818" OR "hwmon" OR "underflow")

🔗 References

📤 Share & Export