CVE-2026-22977
📋 TL;DR
This CVE describes a kernel panic vulnerability in the Linux kernel's networking subsystem when CONFIG_HARDENED_USERCOPY is enabled. The vulnerability occurs when cloned socket buffers from skbuff_fclone_cache are used in error queues, triggering a usercopy hardening violation that crashes the system. This affects Linux systems with hardened usercopy enabled.
💻 Affected Systems
- Linux kernel
📦 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 →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service, potentially disrupting critical network services.
Likely Case
System crash when specific network operations involving error queue handling are performed with hardened usercopy enabled.
If Mitigated
No impact if CONFIG_HARDENED_USERCOPY is disabled or the system is patched.
🎯 Exploit Status
The description includes crash logs from a proof-of-concept (poc_put_cmsg), suggesting exploit code exists. Exploitation requires triggering the specific error queue path.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Multiple stable kernel patches available (see references)
Vendor Advisory: https://git.kernel.org/stable/c/005671c60fcf1dbdb8bddf12a62568fd5e4ec391
Restart Required: Yes
Instructions:
1. Apply the kernel patch from upstream stable trees 2. Recompile kernel if using custom build 3. Reboot system to load patched kernel
🔧 Temporary Workarounds
Disable HARDENED_USERCOPY
linuxDisable the hardened usercopy feature in kernel configuration to avoid the crash, though this reduces security hardening.
Rebuild kernel with CONFIG_HARDENED_USERCOPY=n
🧯 If You Can't Patch
- Monitor for kernel panic logs related to usercopy violations
- Consider network filtering to block packets that might trigger error queue handling
🔍 How to Verify
Check if Vulnerable:
Check kernel config for CONFIG_HARDENED_USERCOPY=y and kernel version against patched versions
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version includes the fix commit and test error queue functionality
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages with 'usercopy: Kernel memory exposure attempt detected from SLUB object 'skbuff_fclone_cache'
- BUG at mm/usercopy.c
Network Indicators:
- Unusual network patterns triggering socket error queues
SIEM Query:
kernel_panic AND (usercopy OR skbuff_fclone_cache)
🔗 References
- https://git.kernel.org/stable/c/005671c60fcf1dbdb8bddf12a62568fd5e4ec391
- https://git.kernel.org/stable/c/2a71a1a8d0ed718b1c7a9ac61f07e5755c47ae20
- https://git.kernel.org/stable/c/582a5e922a9652fcbb7d0165c95d5b20aa37575d
- https://git.kernel.org/stable/c/88dd6be7ebb3153b662c2cebcb06e032a92857f5
- https://git.kernel.org/stable/c/8c6901aa29626e35045130bac09b75f791acca85
- https://git.kernel.org/stable/c/c655d2167bf014d4c61b4faeca59b60ff9b9f6b1
- https://git.kernel.org/stable/c/e00b169eaac5f7cdbf710c354c8fa76d02009115