CVE-2024-56771
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56771 affects the Linux kernel's MTD (Memory Technology Device) subsystem, specifically the Winbond SPI NAND flash driver. The vulnerability was discovered and disclosed on January 8, 2024, affecting Linux kernel versions from 6.7 up to (excluding) 6.12.4. The issue involves incorrect ECC (Error Correction Code) information handling for four specific Winbond chip models: W25N512GW, W25N01GW, W25N01JW, and W25N02JW (NVD).

Technical details

The vulnerability stems from incorrect ECC configuration in the Winbond SPI NAND flash driver. These chips require a single bit of ECC strength and feature an on-die Hamming-like ECC engine. The issue occurs because the driver unnecessarily implements a get_status() callback for these chips, despite the ECC status bytes being located in standard places. Additionally, querying the number of bitflips for corrected chunks is both unnecessary and unsupported, as these chips can only have at most 1 bitflip (Kernel Patch).

Impact

The vulnerability results in unnecessary kernel warnings being triggered whenever a bit flip occurs in the affected Winbond chips. While this doesn't present a direct security risk, it can lead to system log pollution and potentially mask other important warnings. The issue has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through patches that correct the ECC configuration for the affected Winbond chips. The fix involves removing the unnecessary get_status() callback and adjusting the ECC requirement from 4 bits to 1 bit for the affected chips. Users should update to kernel version 6.12.4 or later to resolve this issue (Kernel Patch).

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-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug
NoYesJan 14, 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