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.
[
{
"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"
}
]