CVE-2022-48692

5.5 MEDIUM

📋 TL;DR

A NULL pointer dereference vulnerability in the Linux kernel's SRP (SCSI RDMA Protocol) driver allows local attackers to cause a kernel panic and system crash. This affects systems using the ib_srp module for RDMA storage connectivity. The vulnerability requires local access to trigger.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Kernel versions before the fix commits (specific versions vary by distribution)
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with the ib_srp module loaded and using RDMA storage. Not all Linux installations use this module.

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

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic leading to system crash and denial of service, potentially causing data loss or service disruption.

🟠

Likely Case

System crash requiring reboot, causing temporary service unavailability.

🟢

If Mitigated

Minimal impact if systems have redundancy and automated recovery mechanisms.

🌐 Internet-Facing: LOW - Requires local access to trigger, not remotely exploitable.
🏢 Internal Only: MEDIUM - Local attackers or misconfigured services could trigger crashes on affected systems.

🎯 Exploit Status

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

Requires local access and ability to trigger specific SCSI RDMA operations. The vulnerability was discovered through blktests srp/007 test case.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions with commits 12f35199a2c0551187edbf8eb01379f0598659fa or later

Vendor Advisory: https://git.kernel.org/stable/c/12f35199a2c0551187edbf8eb01379f0598659fa

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution. 2. For custom kernels, apply the fix commit. 3. Reboot system to load new kernel.

🔧 Temporary Workarounds

Unload ib_srp module

linux

Disable the vulnerable SRP RDMA driver if not needed

modprobe -r ib_srp

Blacklist ib_srp module

linux

Prevent ib_srp module from loading at boot

echo 'blacklist ib_srp' >> /etc/modprobe.d/blacklist.conf

🧯 If You Can't Patch

  • Restrict local access to systems using ib_srp module
  • Implement monitoring for kernel panics and system crashes

🔍 How to Verify

Check if Vulnerable:

Check if ib_srp module is loaded: lsmod | grep ib_srp AND check kernel version against patched versions

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version includes the fix commit and ib_srp module functions normally

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages
  • NULL pointer dereference errors in dmesg
  • System crash/reboot events

Network Indicators:

  • Unusual RDMA storage connection failures

SIEM Query:

Search for 'kernel: BUG:' or 'kernel: Oops:' in system logs

🔗 References

📤 Share & Export