# CVE-2024-56771: mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-01-08T17:49:10.635Z
- Modified: 2026-06-17T08:12:57.197Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information

These four chips:
* W25N512GW
* W25N01GW
* W25N01JW
* W25N02JW
all require a single bit of ECC strength and thus feature an on-die
Hamming-like ECC engine. There is no point in filling a ->get_status()
callback for them because the main ECC status bytes are located in
standard places, and retrieving the number of bitflips in case of
corrected chunk is both useless and unsupported (if there are bitflips,
then there is 1 at most, so no need to query the chip for that).

Without this change, a kernel warning triggers every time a bit flips.

(As written by CVE List.)

## Affected

- Linux Linux: from 6a804fb72de56d6a99b799f565ae45f2cec7cd55 before 234d5f75c3ae911b52c5e4442b8a87fbbd129836; from 6a804fb72de56d6a99b799f565ae45f2cec7cd55 before fee9b240916df82a8b07aef0fdfe96785417a164; 6.7 (not affected: before 6.7; from 6.12.4 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.7 before 6.12.4

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/234d5f75c3ae911b52c5e4442b8a87fbbd129836> (patch)
- <https://git.kernel.org/stable/c/fee9b240916df82a8b07aef0fdfe96785417a164> (patch)

## Sources

- CVE List: [CVE-2024-56771](https://www.cve.org/CVERecord?id=CVE-2024-56771), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56771](https://nvd.nist.gov/vuln/detail/CVE-2024-56771), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56771 · Whole record: https://cve.day/CVE-2024-56771.json · Rebuilt by cve.day 2026-11-25T22:58:50.818Z
