CVE-2022-49670

5.5 MEDIUM

📋 TL;DR

A divide-by-zero vulnerability in the Linux kernel's RDMA DIM (Dynamic Interrupt Moderation) component can cause kernel panics and system crashes when processing certain network traffic. This affects systems using RDMA (Remote Direct Memory Access) with vulnerable kernel versions, particularly those with Mellanox network hardware.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific vulnerable kernel versions between the introduction of the bug and its fix; check kernel commit history for exact range.
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ✅ No
Notes: Only vulnerable when RDMA is enabled and in use, typically with compatible hardware like Mellanox network adapters.

📦 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

Kernel panic leading to system crash and denial of service, potentially disrupting critical services and requiring physical or remote reboot.

🟠

Likely Case

System crash or instability when RDMA traffic triggers the divide-by-zero condition, causing service interruptions.

🟢

If Mitigated

No impact if patched or if RDMA is not enabled/used on the system.

🌐 Internet-Facing: LOW - Requires RDMA traffic which is typically internal or within data center networks.
🏢 Internal Only: MEDIUM - RDMA is commonly used in high-performance computing and storage clusters within data centers.

🎯 Exploit Status

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

Exploitation requires ability to send RDMA traffic to trigger the condition; likely requires network access to RDMA-enabled interfaces.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions containing commits 0b6e0eb5c45e79e9095de2498cc0ca5ec563fc5e or later fixes

Vendor Advisory: https://git.kernel.org/stable/c/0b6e0eb5c45e79e9095de2498cc0ca5ec563fc5e

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution. 2. For custom kernels, apply the fix commit. 3. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable RDMA

linux

Disable RDMA functionality if not required, preventing the vulnerable code path.

modprobe -r rdma_cm
modprobe -r ib_core
echo 'blacklist rdma_cm' >> /etc/modprobe.d/blacklist.conf
echo 'blacklist ib_core' >> /etc/modprobe.d/blacklist.conf

🧯 If You Can't Patch

  • Disable RDMA on affected systems if not essential for operations.
  • Implement network segmentation to restrict RDMA traffic to trusted sources only.

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if RDMA modules are loaded: 'uname -r' and 'lsmod | grep -E "(rdma|ib_)"'

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is patched and system remains stable under RDMA load.

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages in /var/log/messages or dmesg
  • 'divide error' or similar arithmetic exception in kernel logs
  • System crash/reboot events

Network Indicators:

  • Unusual RDMA traffic patterns that might trigger the condition

SIEM Query:

source="kernel" AND ("divide by zero" OR "divide error" OR "panic")

🔗 References

📤 Share & Export