CVE-2024-41026

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-41026
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41026.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-41026
Downstream
Published
2024-07-29T14:31:43.056Z
Modified
2025-11-20T04:49:16.603753Z
Summary
mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm's length
Details

In the Linux kernel, the following vulnerability has been resolved:

mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm's length

No check is done on the size of the data to be transmiited. This causes a kernel panic when this size exceeds the sg_miter's length.

Limit the number of transmitted bytes to sgm->length.

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
ed01d210fd910f7fa7933638df14ffb8d4aac2a9
Fixed
c561c4ecce712f94b442db5960e281f13b28df2e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ed01d210fd910f7fa7933638df14ffb8d4aac2a9
Fixed
16198eef11c1929374381d7f6271b4bf6aa44615

Affected versions

v6.*

v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.8
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7
v6.9.1
v6.9.2
v6.9.3
v6.9.4
v6.9.5
v6.9.6
v6.9.7
v6.9.8
v6.9.9

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "deprecated": false,
        "target": {
            "file": "drivers/mmc/host/davinci_mmc.c"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c561c4ecce712f94b442db5960e281f13b28df2e",
        "digest": {
            "line_hashes": [
                "136128895585027673317425138647917188938",
                "90691732037867224761547900961790580804",
                "44201854747268978879121648449011775095"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-41026-25e9aebe"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "target": {
            "file": "drivers/mmc/host/davinci_mmc.c",
            "function": "davinci_fifo_data_trans"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c561c4ecce712f94b442db5960e281f13b28df2e",
        "digest": {
            "length": 907.0,
            "function_hash": "313416902261188556307909463188819392933"
        },
        "id": "CVE-2024-41026-dd639de3"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.9.10