CVE-2022-49674

7.1 HIGH

📋 TL;DR

This CVE is an out-of-bounds memory access vulnerability in the Linux kernel's dm-raid subsystem. It allows attackers with local access to potentially cause kernel crashes or execute arbitrary code by triggering RAID layout changes. Systems using Linux kernel with dm-raid are affected.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific kernel versions containing the vulnerable dm-raid code (exact versions depend on distribution backports)
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems using dm-raid (device mapper RAID). Systems without dm-raid or RAID devices are not vulnerable.

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

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 or potential privilege escalation to kernel-level code execution

🟠

Likely Case

Kernel crash causing system instability and denial of service

🟢

If Mitigated

No impact if patched or if dm-raid is not in use

🌐 Internet-Facing: LOW - Requires local access to trigger
🏢 Internal Only: MEDIUM - Local attackers or malicious users could exploit this

🎯 Exploit Status

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

Requires local access and ability to trigger RAID layout changes. KASAN was used to discover the vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions containing commit 332bd0778775d0cf105c4b9e03e460b590749916 or related fixes

Vendor Advisory: https://git.kernel.org/stable/c/332bd0778775d0cf105c4b9e03e460b590749916

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution vendor. 2. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable dm-raid

Linux

Remove or disable dm-raid module if not needed

echo 'blacklist dm-raid' >> /etc/modprobe.d/blacklist.conf
rmmod dm-raid

🧯 If You Can't Patch

  • Restrict local user access to systems with dm-raid
  • Monitor for unusual RAID configuration changes or kernel crashes

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if dm-raid module is loaded: lsmod | grep dm_raid

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is patched and check for presence of fix commit in kernel source

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic logs
  • KASAN error reports
  • dm-raid related errors in dmesg

Network Indicators:

  • None - local vulnerability

SIEM Query:

Search for kernel panic events or dm-raid error messages in system logs

🔗 References

📤 Share & Export