What’s Vulnerable › Vulnerabilities

CVE-2024-35813: mmc: core: Avoid negative index with array access

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: core: Avoid negative index with array access Commit 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu") assigns prev_idata = idatas[i - 1], but doesn't check that the iterator i is greater than zero. Let's fix this by adding a check.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.215, 5.15.154, 5.4.274, 6.1.84. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35813 or the next vulnerability affects your stack