CVE-2024-46761

5.5 MEDIUM

📋 TL;DR

A NULL pointer dereference vulnerability in the Linux kernel's PowerNV PCI hotplug driver causes a kernel crash when hot-unplugging PCIe devices on PowerPC systems. This affects Linux systems running on IBM PowerNV platforms with PCI hotplug functionality enabled. The vulnerability allows local attackers with sufficient privileges to crash the system.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected kernel versions not specified in CVE, but patches exist in stable kernel trees
Operating Systems: Linux distributions running on IBM PowerNV (PowerPC) platforms
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with PowerNV PCI hotplug functionality enabled (pnv_php driver). Requires PowerPC architecture with PowerNV platform.

📦 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 panic causing complete system crash and denial of service, potentially leading to data corruption or loss.

🟠

Likely Case

System crash and denial of service when privileged users or processes attempt to hot-unplug PCIe devices on affected PowerNV systems.

🟢

If Mitigated

Minimal impact if systems don't use PowerNV PCI hotplug functionality or if users lack privileges to trigger the hot-unplug operation.

🌐 Internet-Facing: LOW - Requires local access and specific hardware platform; not remotely exploitable.
🏢 Internal Only: MEDIUM - Local attackers with sufficient privileges can cause denial of service on affected PowerNV systems.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: NO
Unauthenticated Exploit: ✅ No
Complexity: LOW - Simple trigger condition but requires specific hardware and privileges

Exploitation requires local access and privileges to perform PCI hot-unplug operations on PowerNV systems.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Patches available in stable kernel trees (see references)

Vendor Advisory: https://git.kernel.org/stable/c/335e35b748527f0c06ded9eebb65387f60647fda

Restart Required: Yes

Instructions:

1. Update to a patched kernel version from your distribution vendor. 2. For custom kernels, apply the patch from kernel.org stable trees. 3. Rebuild and install the kernel. 4. Reboot the system.

🔧 Temporary Workarounds

Disable PCI hotplug on PowerNV

linux

Prevent the vulnerable code path by disabling PCI hotplug functionality

echo 'blacklist pnv_php' > /etc/modprobe.d/disable-pnv-php.conf
update-initramfs -u
reboot

Restrict PCI device management

linux

Limit user privileges to prevent triggering the hot-unplug operation

Use sudoers or capabilities to restrict access to PCI device management commands

🧯 If You Can't Patch

  • Restrict local access to systems and limit user privileges
  • Monitor for kernel panic events and implement high availability/failover for critical systems

🔍 How to Verify

Check if Vulnerable:

Check if running on PowerNV platform with pnv_php module loaded: 'uname -m' shows ppc64le AND 'lsmod | grep pnv_php' returns module

Check Version:

uname -r

Verify Fix Applied:

Check kernel version against patched versions from your distribution vendor or verify the patch is applied in kernel source

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages in /var/log/kern.log or dmesg
  • NULL pointer dereference errors mentioning pnv_php or PCI hotplug

Network Indicators:

  • None - local vulnerability only

SIEM Query:

source="kernel" AND ("NULL pointer dereference" OR "kernel panic") AND ("pnv_php" OR "PCI hotplug")

🔗 References

📤 Share & Export