CVE-2022-49224

5.5 MEDIUM

📋 TL;DR

This CVE describes a memory leak vulnerability in the Linux kernel's AB8500 fuel gauge driver. When the ab8500_fg_sysfs_init function fails during kobject initialization, it doesn't properly release kernel memory, leading to resource exhaustion over time. This affects Linux systems using the AB8500 power management hardware.

💻 Affected Systems

Products:
  • Linux kernel with AB8500 power management support
Versions: Linux kernel versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with AB8500 power management hardware (common in embedded/ARM systems). Requires the ab8500_fg module to be loaded.

📦 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 →

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

Sustained exploitation could cause kernel memory exhaustion, leading to system instability, crashes, or denial of service conditions.

🟠

Likely Case

Gradual memory leak that may cause performance degradation or system instability over extended periods, particularly on embedded systems with limited resources.

🟢

If Mitigated

Minimal impact with proper kernel memory management and monitoring in place.

🌐 Internet-Facing: LOW - This is a kernel-level memory management issue requiring local access or kernel module loading.
🏢 Internal Only: MEDIUM - Could be exploited by malicious local users or through other vulnerabilities to degrade system stability.

🎯 Exploit Status

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

Exploitation requires triggering the specific failure path in ab8500_fg_sysfs_init, typically requiring kernel module loading or system-specific conditions.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in kernel commits: 19aa3c98ed7b, 261041097ab3, 31cdf7897dba, 41ed61364285, 6a4760463dbc

Vendor Advisory: https://git.kernel.org/stable/c/19aa3c98ed7b2616e105946cec804f897837ab84

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

Disable AB8500 fuel gauge module

linux

Prevent loading of vulnerable kernel module if not required

echo 'blacklist ab8500_fg' >> /etc/modprobe.d/blacklist.conf
rmmod ab8500_fg

🧯 If You Can't Patch

  • Monitor kernel memory usage and system stability metrics
  • Implement kernel module loading restrictions to prevent malicious exploitation

🔍 How to Verify

Check if Vulnerable:

Check if ab8500_fg module is loaded: lsmod | grep ab8500_fg. Check kernel version against distribution security advisories.

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits or is newer than vulnerable versions. Check /proc/version or uname -r.

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages
  • Memory allocation failures in kernel logs
  • System instability reports

SIEM Query:

source="kernel" AND ("ab8500_fg" OR "memory allocation failure" OR "kernel panic")

🔗 References

📤 Share & Export