PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2021-47636: 
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a read out-of-bounds vulnerability was discovered in the ubifs_wbuf_write_nolock() function of the UBIFS filesystem. The vulnerability was identified and disclosed on February 26, 2025, affecting the Linux kernel's UBIFS implementation (NVD).

Technical details

The vulnerability occurs when ubifs_wbuf_write_nolock() function processes unaligned buffer lengths. When handling data that is not 8-byte aligned, the function may access memory beyond the allocated buffer boundaries. This happens specifically when the length parameter is not 8-byte aligned, leading to potential out-of-bounds read operations. The issue manifests when n > len, causing a read beyond the buffer's bounds by up to 8 bytes (n-len) (Kernel Git).

Impact

The vulnerability can lead to out-of-bounds memory reads, which was detected by the Kernel Address Sanitizer (KASAN). This could potentially result in information disclosure or system crashes. The issue was discovered during filesystem operations when writing to UBIFS storage (NVD).

Exploitability

The vulnerability was detected through KASAN (Kernel Address Sanitizer) during normal filesystem operations. A proof-of-concept reproducer was made available, demonstrating the issue through the writeback workqueue operations. The vulnerability can be triggered during normal filesystem operations when writing data to UBIFS storage (Kernel Git).

Mitigation and workarounds

The issue has been fixed by modifying the ubifs_wbuf_write_nolock() function to properly handle unaligned buffer lengths. The fix includes adding proper bounds checking and implementing a new approach to handle the last write operation using a temporary buffer. The patch ensures that only the actual data length is read from the source buffer (Kernel Git).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • python3-perf
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-partner
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesOct 18, 2026
CVE-2023-7356NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesOct 21, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-devel
NoYesOct 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management