CVE-2021-47256
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47256 affects the Linux kernel's memory failure handling mechanism. The vulnerability was discovered in the memory-failure subsystem where a race condition could occur during page writeback operations. The issue was identified when a syzkaller test triggered a kernel BUG in clear_inode function, specifically at fs/inode.c:519 (Kernel Git).

Technical details

The vulnerability occurs when __munlock_pagevec clears a page's LRU flag without properly acquiring the page lock through the following call chain: do_mmap -> mmap_region -> do_munmap -> munlock_vma_pages_range -> __munlock_pagevec. This leads to memory_failure calling identify_page_state without waiting for page writeback completion. Subsequently, when truncate_error_page clears the page mapping, end_page_writeback fails to call sb_clear_inode_writeback to clear inode->i_wb_list, ultimately triggering a BUG_ON condition in clear_inode (Kernel Git).

Impact

The vulnerability can result in a kernel panic when specific memory operations are performed, particularly during page writeback operations. This can lead to system instability and potential denial of service conditions (Kernel Git).

Exploitability

The vulnerability was discovered through syzkaller testing and requires specific timing conditions to be met. While it can be triggered through normal system operations involving memory management, it primarily poses a reliability risk rather than a security risk (NVD).

Mitigation and workarounds

The issue has been fixed by adding additional checks in the memory_failure function to verify PageWriteback status along with the existing PageTransTail and PageLRU checks. The patch ensures proper handling of writeback completion before proceeding with page state identification (Kernel Git).

Additional resources


SourceThis 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-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-gkeop
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.4
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-oem-6.14
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoYesSep 04, 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