CVE-2024-35813
kernel: mmc: core: Avoid negative index with array access
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 111 fixes
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | linux-esx +2 | 6.1.90-1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | bpftool +25 | eol |
SUSE Linux Enterprise 2 releases · 11 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.5 | kernel-livepatch-5-14-21-150500-13-58-rt | 1-150500.11.3.1 | SUSE-SU-2024:2008-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-68-default | 1-150500.11.3.1 | SUSE-SU-2024:2190-1 |
| 15.5 | kernel-azure +4 | 5.14.21-150500.33.57.1 | SUSE-SU-2024:2019-1 |
| 15.5 | cluster-md-kmp-default +18 | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| 15.5 | kernel-default-base | 5.14.21-150500.55.68.1.150500.6.31.1 | SUSE-SU-2024:2190-1 |
| 15.6 | kernel-livepatch-6-4-0-150600-10-5-rt | 1-150600.1.5.1 | SUSE-SU-2024:2973-1 |
8 more rows
SUSE Linux Enterprise Micro 3 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.5 | kernel-rt +1 | 5.14.21-150500.13.58.1 | SUSE-SU-2024:2008-1 |
| 5.5 | kernel-default | 5.14.21-150500.55.68.1 | SUSE-SU-2024:2190-1 |
| 5.5 | kernel-default-base | 5.14.21-150500.55.68.1.150500.6.31.1 | SUSE-SU-2024:2190-1 |
| 6.0 | kernel-livepatch-6-4-0-25-rt | 1-1.1 | SUSE-SU-2025:20166-1 |
| 6.0 | kernel-default-base | 6.4.0-17.1.1.51 | SUSE-SU-2025:20008-1 |
| 6.0 | kernel-default +5 | 6.4.0-18.1 | SUSE-SU-2025:20008-1 |
4 more rows
debian 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | linux-5-10 | 5.10.216-1~deb10u1 |
| 11 | linux | 5.10.216-1 |
| 12 | linux | 6.1.85-1 |
| 13 | linux | 6.7.12-1 |
| 14 | linux | 6.7.12-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.7.12-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.216-1 |
| 12 | rootio-linux | 6.1.85-1 |
| 13 | rootio-linux | 6.7.12-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-116.126 |
| 24.04 | rootio-linux | 6.8.0-35.35 |
ubuntu 5 releases · 36 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux-ibm-5-4 | 5.4.0-1075.80~18.04.1 |
| 18.04-ESM | linux-raspi-5-4 | 5.4.0-1112.124~18.04.1 |
| 18.04-ESM | linux-oracle-5-4 | 5.4.0-1127.136~18.04.1 |
| 18.04-ESM | linux-aws-5-4 | 5.4.0-1128.138~18.04.1 |
| 18.04-ESM | linux-gcp-5-4 | 5.4.0-1132.141~18.04.1 |
| 18.04-ESM | linux-azure-5-4 | 5.4.0-1133.140~18.04.1 |
68 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-35813
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- git.kernel.org https://git.kernel.org/linus/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 (6.9-rc2)
- git.kernel.org https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56
- git.kernel.org https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6
- git.kernel.org https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2
- git.kernel.org https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304
- git.kernel.org https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28
- git.kernel.org https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55
- git.kernel.org https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68
Show all 33 references
- git.kernel.org https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2024051742-CVE-2024-35813-bdc9@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-35813
- ubuntu.com https://ubuntu.com/security/notices/USN-6816-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6817-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6817-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6817-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6878-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-4
- ubuntu.com https://ubuntu.com/security/notices/USN-6896-5
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-3
- ubuntu.com https://ubuntu.com/security/notices/USN-6898-4
- ubuntu.com https://ubuntu.com/security/notices/USN-6917-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6919-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6927-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7019-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-35813
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.