CVE-2022-49114

7.8 HIGH

📋 TL;DR

This is a use-after-free vulnerability in the Linux kernel's Fibre Channel SCSI subsystem. An attacker could potentially cause a kernel crash or execute arbitrary code with kernel privileges. Systems running vulnerable Linux kernel versions with Fibre Channel support are affected.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific vulnerable kernel versions between the introduction of the bug and its fix (check git commits for exact ranges)
Operating Systems: Linux distributions using affected kernel versions
Default Config Vulnerable: ✅ No
Notes: Only vulnerable if Fibre Channel (FC) support is compiled into the kernel and being used. Many systems may not have FC configured.

📦 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, or potential privilege escalation to kernel-level code execution allowing full system compromise.

🟠

Likely Case

Kernel crash causing system instability or denial of service, requiring reboot to restore functionality.

🟢

If Mitigated

Limited impact if Fibre Channel is not configured or used, with potential for system instability if triggered.

🌐 Internet-Facing: LOW - Fibre Channel is typically used in internal storage networks, not directly internet-facing.
🏢 Internal Only: MEDIUM - Requires access to internal Fibre Channel network or ability to trigger the specific SCSI exchange abort response.

🎯 Exploit Status

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

Exploitation requires triggering specific Fibre Channel SCSI exchange abort responses. Likely requires access to FC network or ability to send crafted FC packets.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Kernel versions containing the fix commits (1d7effe5fff9d28e45e18ac3a564067c7ddfe898 and related)

Vendor Advisory: https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution vendor. 2. Reboot system to load new kernel. 3. Verify kernel version after reboot.

🔧 Temporary Workarounds

Disable Fibre Channel module

linux

If Fibre Channel is not needed, blacklist or disable the FC modules

echo 'blacklist libfc' >> /etc/modprobe.d/blacklist.conf
rmmod libfc

🧯 If You Can't Patch

  • Restrict access to Fibre Channel network to trusted systems only
  • Implement network segmentation to isolate FC traffic from untrusted networks

🔍 How to Verify

Check if Vulnerable:

Check kernel version and if libfc module is loaded: 'uname -r' and 'lsmod | grep libfc'

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is patched and no longer vulnerable by checking against distribution security advisories

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages in /var/log/messages or dmesg
  • SCSI/FC error messages related to exchange handling

Network Indicators:

  • Unusual Fibre Channel traffic patterns or malformed FC packets

SIEM Query:

source="kernel" AND ("panic" OR "Oops" OR "libfc" OR "fc_exch")

🔗 References

📤 Share & Export