
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."