CVE-2022-50359

5.5 MEDIUM

📋 TL;DR

A null pointer dereference vulnerability in the Linux kernel's cx88 media driver allows local attackers to cause a kernel panic (denial of service) or potentially execute arbitrary code. This affects systems using the cx88 driver for video capture cards. Attackers need local access to exploit this vulnerability.

💻 Affected Systems

Products:
  • Linux kernel with cx88 driver enabled
Versions: Linux kernel versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions with vulnerable kernel versions
Default Config Vulnerable: ✅ No
Notes: Only vulnerable if cx88 driver is loaded and used (typically for Conexant CX2388x-based TV capture cards). Most systems don't have this hardware by default.

📦 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, with potential for privilege escalation if combined with other vulnerabilities.

🟠

Likely Case

System crash or kernel panic when vulnerable driver is used with specific media operations, requiring reboot to restore service.

🟢

If Mitigated

Minor service disruption if system automatically recovers from kernel panic, but still requires administrative intervention.

🌐 Internet-Facing: LOW - Requires local access to exploit, not directly reachable from internet.
🏢 Internal Only: MEDIUM - Local attackers or malicious users could crash systems using cx88 driver, affecting media capture functionality.

🎯 Exploit Status

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

Requires local access and ability to interact with video capture device through V4L2 interface. No known public exploits.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in kernel commits: 10c99d1c46ea9cd940029e17bab11d021f315c21, 2b064d91440b33fba5b452f2d1b31f13ae911d71, 4befc7ffa18ef9a4b70d854465313a345a06862f, 644d5a87ab1863eb606526ea743021752a17e9cb, 6f21976095c1e92454ab030976f95f40d652351b

Vendor Advisory: https://git.kernel.org/stable/c/10c99d1c46ea9cd940029e17bab11d021f315c21

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing the fix. 2. Check distribution security advisories for backported patches. 3. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable cx88 driver

Linux

Prevent loading of vulnerable driver if not needed

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

🧯 If You Can't Patch

  • Restrict access to video capture devices to trusted users only
  • Monitor system logs for kernel panic events related to cx88 driver

🔍 How to Verify

Check if Vulnerable:

Check if cx88 module is loaded: lsmod | grep cx88 AND check kernel version against distribution security advisories

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes fix commits or check distribution patch status. Test media capture functionality with cx88 device.

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages
  • general protection fault errors
  • null-ptr-deref in cx88 buffer functions

Network Indicators:

  • None - local vulnerability only

SIEM Query:

event_type:"kernel_panic" AND (process:"cx88" OR message:"null-ptr-deref")

🔗 References

📤 Share & Export