CVE-2022-28893

7.8 HIGH

📋 TL;DR

This vulnerability in the Linux kernel's SUNRPC subsystem allows a use-after-free condition when freeing transport structures before sockets are properly closed. Attackers could potentially exploit this to cause denial of service, execute arbitrary code, or escalate privileges. Systems running Linux kernel versions up to 5.17.2 with SUNRPC enabled are affected.

💻 Affected Systems

Products:
  • Linux kernel
Versions: All versions through 5.17.2
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Requires SUNRPC subsystem to be enabled/used; many distributions enable this by default for NFS and other services

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

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic leading to system crash, or local privilege escalation allowing full system compromise

🟠

Likely Case

Kernel crash causing denial of service, potentially requiring system reboot

🟢

If Mitigated

Limited impact if SUNRPC is disabled or systems are properly segmented

🌐 Internet-Facing: LOW (requires local access or ability to trigger SUNRPC operations)
🏢 Internal Only: MEDIUM (could be exploited by authenticated users or through other local attack vectors)

🎯 Exploit Status

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

Exploitation requires triggering specific SUNRPC operations; no public exploits known as of analysis

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Linux kernel 5.17.3 and later

Vendor Advisory: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1a3b1bba7c7a5eb8a11513cf88427cb9d77bc60a

Restart Required: Yes

Instructions:

1. Update Linux kernel to version 5.17.3 or later. 2. For distributions with backported patches, apply security updates from your vendor. 3. Reboot system to load new kernel.

🔧 Temporary Workarounds

Disable SUNRPC if not needed

linux

Prevent exploitation by disabling SUNRPC subsystem if not required for system functionality

echo "install sunrpc /bin/true" >> /etc/modprobe.d/disable-sunrpc.conf
rmmod sunrpc

🧯 If You Can't Patch

  • Restrict access to systems to trusted users only
  • Implement strict network segmentation to limit potential attack surface

🔍 How to Verify

Check if Vulnerable:

Check kernel version: uname -r and compare to affected range (≤5.17.2)

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is 5.17.3 or later, or check with distribution-specific security update verification

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic logs
  • System crash/reboot events
  • SUNRPC-related error messages in dmesg

Network Indicators:

  • Unusual SUNRPC/NFS traffic patterns

SIEM Query:

source="kernel" AND ("panic" OR "Oops" OR "BUG") AND process="sunrpc"

🔗 References

📤 Share & Export