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.
git.kernel.org/linus/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014
git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56
git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6
git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2
git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304
git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28
git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55
git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68
git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014
ubuntu.com/security/CVE-2024-35813
ubuntu.com/security/notices/USN-6816-1
ubuntu.com/security/notices/USN-6817-1
ubuntu.com/security/notices/USN-6817-2
ubuntu.com/security/notices/USN-6817-3
ubuntu.com/security/notices/USN-6878-1
ubuntu.com/security/notices/USN-6896-1
ubuntu.com/security/notices/USN-6896-2
ubuntu.com/security/notices/USN-6896-3
ubuntu.com/security/notices/USN-6896-4
ubuntu.com/security/notices/USN-6896-5
ubuntu.com/security/notices/USN-6898-1
ubuntu.com/security/notices/USN-6898-2
ubuntu.com/security/notices/USN-6898-3
ubuntu.com/security/notices/USN-6898-4
ubuntu.com/security/notices/USN-6917-1
ubuntu.com/security/notices/USN-6919-1
ubuntu.com/security/notices/USN-6927-1
www.cve.org/CVERecord?id=CVE-2024-35813