In the Linux kernel, the following vulnerability has been resolved:
media: irtoy: fix a memleak in irtoytx
When irtoycommand fails, buf should be freed since it is allocated by irtoytx, or there is a memleak.
[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1283.0,
"function_hash": "188931553975292271282593394644530199345"
},
"target": {
"file": "drivers/media/rc/ir_toy.c",
"function": "irtoy_tx"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc9ceb90c4b42c6e5c6757df1d6257110433788e",
"signature_version": "v1",
"id": "CVE-2024-26829-5c72f0be"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"322408309228516559869805861543135605878",
"275982374734707643373555271197136257786",
"145040115951185307348762598345984420237",
"98037187993956976463370398689116605114",
"124845908279572278463054995792603785809",
"126166702876943231496430502399882249687",
"139224391417980890505086270774751984220",
"289970164038970860173667986888151990791"
],
"threshold": 0.9
},
"target": {
"file": "drivers/media/rc/ir_toy.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc9ceb90c4b42c6e5c6757df1d6257110433788e",
"signature_version": "v1",
"id": "CVE-2024-26829-85a3f8ea"
}
]