CVE-2024-35813

Source
https://cve.org/CVERecord?id=CVE-2024-35813
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35813.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35813
Downstream
Related
Published
2024-05-17T13:23:18.902Z
Modified
2026-03-14T12:34:02.430856Z
Summary
mmc: core: Avoid negative index with array access
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35813.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f49f9e802785291149bdc9c824414de4604226b4
Fixed
b9a7339ae403035ffe7fc37cb034b36947910f68
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
59020bf0999ff7da8aedcd00ef8f0d75d93b6d20
Fixed
2b539c88940e22494da80a93ee1c5a28bbad10f6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
50b8b7a22e90bab9f1949b64a88ff17ab10913ec
Fixed
81b8645feca08a54c7c4bf36e7b176f4983b2f28
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c4edcd134bb72b3b0acc884612d624e48c9d057f
Fixed
ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1653a8102868264f3488c298a9f20af2add9a288
Fixed
4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
eed9119f8f8e8fbf225c08abdbb58597fba807e0
Fixed
064db53f9023a2d5877a2d12de6bc27995f6ca56
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4d0c8d0aef6355660b6775d57ccd5d4ea2e15802
Fixed
7d0e8a6147550aa058fa6ade8583ad252aa61304
Fixed
cf55a7acd1ed38afe43bba1c8a0935b51d1dc014

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35813.json"