In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btusb: mediatek: Fix double free of skb in coredump
hcidevcdappend() would free the skb on error so the caller don't have to free it again otherwise it would cause the double free of skb.
Reported-by : Dan Carpenter dan.carpenter@linaro.org
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/btmtk.c",
"function": "btmtk_process_coredump"
},
"digest": {
"length": 894.0,
"function_hash": "167491233972122596975170984746471176092"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e20093c741d8da9f6390dd45d75b779861547035",
"signature_version": "v1",
"id": "CVE-2024-35856-6d397f89"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/btmtk.c"
},
"digest": {
"line_hashes": [
"257026897179810609471603246677841204048",
"120018272215905351038007251156172014690",
"77121306719916448159973458892157865658",
"327145749454381542024999725529690378651",
"79146112078888588228286415527184244948",
"317911324474591740382344956979140679141",
"20963963886644094772942596869028529991",
"221304876180199052643807829392797555785",
"61516433550441046678099860526007454620",
"225076638790688569981113145801372940203"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18bdb386a1a30e7a3d7732a98e45e69cf6b5710d",
"signature_version": "v1",
"id": "CVE-2024-35856-7b4faa72"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/btmtk.c",
"function": "btmtk_process_coredump"
},
"digest": {
"length": 894.0,
"function_hash": "167491233972122596975170984746471176092"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18bdb386a1a30e7a3d7732a98e45e69cf6b5710d",
"signature_version": "v1",
"id": "CVE-2024-35856-a6718b10"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/btmtk.c"
},
"digest": {
"line_hashes": [
"257026897179810609471603246677841204048",
"120018272215905351038007251156172014690",
"77121306719916448159973458892157865658",
"327145749454381542024999725529690378651",
"79146112078888588228286415527184244948",
"317911324474591740382344956979140679141",
"20963963886644094772942596869028529991",
"221304876180199052643807829392797555785",
"61516433550441046678099860526007454620",
"225076638790688569981113145801372940203"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e20093c741d8da9f6390dd45d75b779861547035",
"signature_version": "v1",
"id": "CVE-2024-35856-e1bbb9f8"
}
]