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).

Exploitability

The vulnerability requires local access to the system and the presence of specific Winbond SPI NAND flash chips (W25N512GW, W25N01GW, W25N01JW, or W25N02JW). There are no known exploits in the wild, and the issue primarily manifests as a kernel warning rather than a security vulnerability (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-2026-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • rv
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 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