In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: icc-bwmon: Fix refcount imbalance seen during bwmon_remove
The following warning is seen during bwmon_remove due to refcount imbalance, fix this by releasing the OPPs after use.
Logs: WARNING: at drivers/opp/core.c:1640 opptablekrefrelease+0x150/0x158 Hardware name: Qualcomm Technologies, Inc. X1E80100 CRD (DT) ... Call trace: opptablekrefrelease+0x150/0x158 devpmoppremovetable+0x100/0x1b4 devmpmoppoftablerelease+0x10/0x1c devmactionrelease+0x14/0x20 devresreleaseall+0xa4/0x104 deviceunbindcleanup+0x18/0x60 devicereleasedriverinternal+0x1ec/0x228 driverdetach+0x50/0x98 busremovedriver+0x6c/0xbc driverunregister+0x30/0x60 platformdriverunregister+0x14/0x20 bwmondriverexit+0x18/0x524 [iccbwmon] _arm64sysdeletemodule+0x184/0x264 invokesyscall+0x48/0x118 el0svccommon.constprop.0+0xc8/0xe8 doel0svc+0x20/0x2c el0svc+0x34/0xdc el0t64synchandler+0x13c/0x158 el0t64sync+0x190/0x194 --[ end trace 0000000000000000 ]---
[
{
"id": "CVE-2024-43850-00883df2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@24086640ab39396eb1a92d1cb1cd2f31b2677c52",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"269942582838844315179211315891131188236",
"114413157273498409049153812153924853176",
"169863028373415267422345918166225184760",
"54228210316087202589427210967223245979",
"209762532147701046399813473544662605711",
"251995064784969013466755428453557798429",
"129757416963566353273659792252944715058",
"203057086372961739949397250913420732131",
"47596982928199108998819260195707906145",
"156330289088875602930635549829483721285",
"90343459288902261776281726985714511374",
"334370953357220871020658903123609995279"
]
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-403ecba9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aad41f4c169bcb800ae88123799bdf8cdec3d366",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"269942582838844315179211315891131188236",
"114413157273498409049153812153924853176",
"169863028373415267422345918166225184760",
"54228210316087202589427210967223245979",
"209762532147701046399813473544662605711",
"251995064784969013466755428453557798429",
"129757416963566353273659792252944715058",
"203057086372961739949397250913420732131",
"47596982928199108998819260195707906145",
"156330289088875602930635549829483721285",
"90343459288902261776281726985714511374",
"334370953357220871020658903123609995279"
]
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-5ee70cd8",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4100d4d019f8e140be1d4d3a9d8d93c1285f5d1c",
"signature_type": "Function",
"digest": {
"function_hash": "218891097665954491234235979918148753499",
"length": 1126.0
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "bwmon_probe",
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-640348b2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aad41f4c169bcb800ae88123799bdf8cdec3d366",
"signature_type": "Function",
"digest": {
"function_hash": "218891097665954491234235979918148753499",
"length": 1126.0
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "bwmon_probe",
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-8711cddb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aad41f4c169bcb800ae88123799bdf8cdec3d366",
"signature_type": "Function",
"digest": {
"function_hash": "153768350303183218781709548463828526975",
"length": 1241.0
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "bwmon_start",
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-9a7ca2be",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@24086640ab39396eb1a92d1cb1cd2f31b2677c52",
"signature_type": "Function",
"digest": {
"function_hash": "153768350303183218781709548463828526975",
"length": 1241.0
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "bwmon_start",
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-b58b98d9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4100d4d019f8e140be1d4d3a9d8d93c1285f5d1c",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"269942582838844315179211315891131188236",
"114413157273498409049153812153924853176",
"169863028373415267422345918166225184760",
"54228210316087202589427210967223245979",
"209762532147701046399813473544662605711",
"251995064784969013466755428453557798429",
"129757416963566353273659792252944715058",
"203057086372961739949397250913420732131",
"47596982928199108998819260195707906145",
"156330289088875602930635549829483721285",
"90343459288902261776281726985714511374",
"334370953357220871020658903123609995279"
]
},
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-dd81e4b0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4100d4d019f8e140be1d4d3a9d8d93c1285f5d1c",
"signature_type": "Function",
"digest": {
"function_hash": "153768350303183218781709548463828526975",
"length": 1241.0
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "bwmon_start",
"file": "drivers/soc/qcom/icc-bwmon.c"
}
},
{
"id": "CVE-2024-43850-f754c06f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@24086640ab39396eb1a92d1cb1cd2f31b2677c52",
"signature_type": "Function",
"digest": {
"function_hash": "218891097665954491234235979918148753499",
"length": 1126.0
},
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "bwmon_probe",
"file": "drivers/soc/qcom/icc-bwmon.c"
}
}
]