CVE-2024-36928

4.4 MEDIUM

📋 TL;DR

A NULL pointer dereference vulnerability in the Linux kernel's s390/qeth driver causes kernel panic when setting the hsuid attribute on an IQD Layer3 device while the network interface is UP. This affects Linux systems running on IBM s390 architecture with qeth networking enabled. The vulnerability leads to denial of service through system crashes.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Kernel versions from commit 1cfef80d4c2b up to fixes in stable releases
Operating Systems: Linux distributions running on IBM s390/zSeries architecture
Default Config Vulnerable: ✅ No
Notes: Only affects systems using qeth networking driver on s390 architecture with specific configuration changes (setting hsuid on IQD Layer3 devices while interface is UP).

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

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 complete system crash and denial of service, requiring manual reboot.

🟠

Likely Case

System crash when administrators attempt to configure hsuid on affected qeth devices, causing temporary service disruption.

🟢

If Mitigated

No impact if hsuid is not being set on affected qeth devices or if systems are patched.

🌐 Internet-Facing: LOW - Requires local access to configure network interfaces, not typically exposed to internet.
🏢 Internal Only: MEDIUM - System administrators or automated tools configuring qeth devices could trigger crashes, causing service disruption.

🎯 Exploit Status

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

Exploitation requires local access and ability to configure network interfaces. The vulnerability is triggered through legitimate administrative actions rather than malicious payloads.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Fixed in Linux kernel stable releases via commits: 10cb803aff3b, 8792b557eb50, 8a2e4d37afb8, e28dd1e1bf3e, eae0aec24571

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

Restart Required: Yes

Instructions:

1. Update Linux kernel to version containing fixes. 2. For RHEL/CentOS: yum update kernel. 3. For Ubuntu/Debian: apt update && apt upgrade linux-image. 4. Reboot system to load new kernel.

🔧 Temporary Workarounds

Avoid setting hsuid on UP interfaces

linux

Prevent triggering the vulnerability by ensuring network interfaces are DOWN before setting hsuid attribute.

ip link set dev <interface> down
echo <hsuid> > /sys/class/net/<interface>/device/hsuid
ip link set dev <interface> up

🧯 If You Can't Patch

  • Implement strict change control for qeth device configuration to prevent hsuid changes on UP interfaces
  • Monitor system logs for kernel panic events and have rapid recovery procedures ready

🔍 How to Verify

Check if Vulnerable:

Check if system is s390 architecture with qeth driver: uname -m && lsmod | grep qeth. Check kernel version: uname -r and compare with affected versions.

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version after update: uname -r. Check if fix commits are included: grep -r 'qeth.*napi.*poll' /usr/src/linux-source-* or check kernel changelog.

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages with 'illegal operation'
  • Call traces showing net_rx_action and __napi_poll
  • qeth-related errors in dmesg

Network Indicators:

  • Sudden loss of network connectivity on affected interfaces

SIEM Query:

source="kernel" AND ("illegal operation" OR "Kernel panic" OR "qeth" OR "napi_poll")

🔗 References

📤 Share & Export