CVE-2026-22977
BaseFortify
Publication date: 2026-01-21
Last updated on: 2026-02-26
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.11 (inc) to 5.15.198 (exc) |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | 6.19 |
| linux | linux_kernel | From 6.13 (inc) to 6.18.6 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.121 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.66 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.161 (exc) |
| linux | linux_kernel | From 4.16 (inc) to 5.10.248 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's networking code where a specific memory cache (skbuff_fclone_cache) was created without properly defining a usercopy region. When the kernel tries to copy certain socket buffer data (sk_buff.cb) to userspace via the sock_recv_errqueue() function, it triggers a hardened usercopy panic and causes a kernel crash. This happens because the skbuff_fclone_cache lacks a whitelist for safe copying, leading to a usercopy BUG() when CONFIG_HARDENED_USERCOPY is enabled. The crash occurs during a sequence involving allocation, cloning, queuing, and reading of socket buffers related to error queues.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash (kernel panic) when certain socket error queue data is accessed, leading to denial of service. Systems with CONFIG_HARDENED_USERCOPY enabled are affected when userspace applications read from the socket error queue, potentially causing instability or downtime due to kernel crashes.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring kernel logs for usercopy hardening violation messages and kernel BUGs related to skbuff_fclone_cache. Specifically, look for log entries similar to: 'usercopy: Kernel memory exposure attempt detected from SLUB object 'skbuff_fclone_cache'' and kernel BUG traces involving usercopy_abort and sock_recv_errqueue. You can use the following command to check the kernel log for such messages: sudo dmesg | grep -i 'usercopy\|skbuff_fclone_cache\|kernel BUG' Additionally, reproducing the issue involves triggering recvmsg(MSG_ERRQUEUE) calls on sockets that use cloned skbs, but detection primarily relies on observing these kernel log messages.
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to update the Linux kernel to a version that includes the patch fixing this vulnerability, which uses a local stack variable as a bounce buffer to avoid the hardened usercopy check failure. Until the update is applied, avoid using features or workloads that trigger recvmsg(MSG_ERRQUEUE) on sockets that may use cloned skbs from skbuff_fclone_cache, as this is the trigger for the crash. Monitoring kernel logs for the described panic can also help in early detection and response.