CVE-2022-50185

7.8 HIGH

📋 TL;DR

This CVE describes an out-of-bounds write vulnerability in the Linux kernel's Radeon graphics driver. An attacker with local access could exploit this to write beyond allocated buffer boundaries, potentially leading to privilege escalation or system crashes. This affects Linux systems using Radeon graphics hardware with the vulnerable kernel driver.

💻 Affected Systems

Products:
  • Linux kernel with Radeon graphics driver
Versions: Linux kernel versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions using vulnerable kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with Radeon graphics hardware using the vulnerable driver code path. The vulnerability is in the ni_set_mc_special_registers() function in the Radeon driver.

📦 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

Local privilege escalation to kernel-level access, allowing complete system compromise, data theft, or persistent backdoor installation.

🟠

Likely Case

Kernel panic or system crash causing denial of service, potentially requiring physical or remote console access to reboot.

🟢

If Mitigated

Limited to denial of service if proper kernel hardening and exploit mitigations are in place.

🌐 Internet-Facing: LOW - This is a local privilege escalation vulnerability requiring local access to the system.
🏢 Internal Only: MEDIUM - Internal users with shell access could exploit this to escalate privileges, but requires local execution.

🎯 Exploit Status

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

Exploitation requires local access and knowledge of kernel memory layout. No public exploits are known at this time.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in kernel commits: 136f614931a2bb73616b292cf542da3a18daefd5, 1f341053852be76f82610ce47a505d930512f05c, 782e413e38dffd37cc85b08b1ccb982adb4a93ce, 8508d6d23a247c29792ce2fc0df3f3404d6a6a80, 9faff03617afeced1c4e5daa89e79b3906374342

Vendor Advisory: https://git.kernel.org/stable/c/136f614931a2bb73616b292cf542da3a18daefd5

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing the fix commits. 2. Check your distribution's security advisories for specific patched kernel versions. 3. Reboot the system to load the new kernel.

🔧 Temporary Workarounds

Disable Radeon driver module

linux

Prevent loading of the vulnerable Radeon kernel module

echo 'blacklist radeon' >> /etc/modprobe.d/blacklist-radeon.conf
update-initramfs -u
reboot

🧯 If You Can't Patch

  • Restrict local user access to systems with Radeon graphics hardware
  • Implement strict privilege separation and limit users who can execute code on affected systems

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if Radeon module is loaded: uname -r && lsmod | grep radeon

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is patched by checking if it includes the fix commits: git log --oneline | grep -E '136f6149|1f341053|782e413e|8508d6d2|9faff036'

📡 Detection & Monitoring

Log Indicators:

  • Kernel oops messages in /var/log/kern.log or dmesg
  • System crashes or unexpected reboots

Network Indicators:

  • None - this is a local vulnerability

SIEM Query:

source="kernel" AND ("Oops" OR "general protection fault" OR "kernel panic")

🔗 References

📤 Share & Export