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.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 12.2(8)YJ |
| Linux | Linux | 12.2(11)YT1 |
| Linux | Linux | x64-based Systems |
| Linux | Linux | n/a |