In the Linux kernel, the following vulnerability has been resolved:
accel/ivpu: Fix deadlock in context_xa
ivpudevice->contextxa is locked both in kernel thread and IRQ context. It requires XAFLAGSLOCK_IRQ flag to be passed during initialization otherwise the lock could be acquired from a thread and interrupted by an IRQ that locks it for the second time causing the deadlock.
This deadlock was reported by lockdep and observed in internal tests.
[
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3311.0,
"function_hash": "278115498553546966599640033008273530699"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d43e11d9c7fcb16f18bd46ab2556c2772ffc5775",
"target": {
"file": "drivers/accel/ivpu/ivpu_drv.c",
"function": "ivpu_dev_init"
},
"id": "CVE-2024-35953-078bc33a"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"185556346275788845608637161139558926263",
"82634548840596446096063559266411289295",
"240087758850967057950724337881127789827",
"239471456485711902335510988220229332431"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6011411147209bc0cc14628cbc155356837e52a",
"target": {
"file": "drivers/accel/ivpu/ivpu_drv.c"
},
"id": "CVE-2024-35953-425f0422"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2612.0,
"function_hash": "78455783109677877507693802171164122640"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6011411147209bc0cc14628cbc155356837e52a",
"target": {
"file": "drivers/accel/ivpu/ivpu_drv.c",
"function": "ivpu_dev_init"
},
"id": "CVE-2024-35953-7c4f48c8"
},
{
"signature_type": "Function",
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2587.0,
"function_hash": "82319013689130405748054983435550190554"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd7726e75968b27fe98534ccbf47ccd6fef686f3",
"target": {
"file": "drivers/accel/ivpu/ivpu_drv.c",
"function": "ivpu_dev_init"
},
"id": "CVE-2024-35953-a532419c"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"185556346275788845608637161139558926263",
"82634548840596446096063559266411289295",
"240087758850967057950724337881127789827",
"61682763347224341145317931816819799194"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d43e11d9c7fcb16f18bd46ab2556c2772ffc5775",
"target": {
"file": "drivers/accel/ivpu/ivpu_drv.c"
},
"id": "CVE-2024-35953-a8def6c9"
},
{
"signature_type": "Line",
"deprecated": false,
"signature_version": "v1",
"digest": {
"line_hashes": [
"185556346275788845608637161139558926263",
"82634548840596446096063559266411289295",
"318343099147434436602552414902461919018",
"76436498331165237447678954331843445853"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd7726e75968b27fe98534ccbf47ccd6fef686f3",
"target": {
"file": "drivers/accel/ivpu/ivpu_drv.c"
},
"id": "CVE-2024-35953-e8b39811"
}
]