In the Linux kernel, the following vulnerability has been resolved:
media: venus: hfi: avoid null dereference in deinit
If venusprobe fails at pmruntimeputsync the error handling first calls hfidestroy and afterwards hficoredeinit. As hfidestroy sets core->ops to NULL, hficoredeinit cannot call the core_deinit function anymore.
Avoid this null pointer derefence by skipping the call when necessary.
[
{
"id": "CVE-2022-49527-18ae258b",
"signature_type": "Line",
"digest": {
"line_hashes": [
"189380220695913523405116457032812259065",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ac84ab50712879eac3c1dd2598440652a85d3d0",
"deprecated": false
},
{
"id": "CVE-2022-49527-1f9b04bf",
"signature_type": "Function",
"digest": {
"length": 554.0,
"function_hash": "88058558480780826546254283242396309735"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ed5a643b1a4a46b9b7bfba5d468c10cc30e1359",
"deprecated": false
},
{
"id": "CVE-2022-49527-2f0f40cc",
"signature_type": "Line",
"digest": {
"line_hashes": [
"189380220695913523405116457032812259065",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b73ed0510bb8d9647cd8e8a4c4c8772bbe545c3a",
"deprecated": false
},
{
"id": "CVE-2022-49527-505ca4f0",
"signature_type": "Function",
"digest": {
"length": 554.0,
"function_hash": "88058558480780826546254283242396309735"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a21d15dde21d7e8ae047eb8368677407db45d840",
"deprecated": false
},
{
"id": "CVE-2022-49527-6cf56076",
"signature_type": "Function",
"digest": {
"length": 565.0,
"function_hash": "84997100058315314898720311669655219445"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2533acb652359c9e097dfa33587896af782e8a91",
"deprecated": false
},
{
"id": "CVE-2022-49527-709f8a25",
"signature_type": "Line",
"digest": {
"line_hashes": [
"189380220695913523405116457032812259065",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27ad46da44177a78a4a0cae6fe03906888c61aa1",
"deprecated": false
},
{
"id": "CVE-2022-49527-798d5cbd",
"signature_type": "Function",
"digest": {
"length": 554.0,
"function_hash": "88058558480780826546254283242396309735"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86594f6af867b5165d2ba7b5a71fae3a5961e56c",
"deprecated": false
},
{
"id": "CVE-2022-49527-7add70fb",
"signature_type": "Function",
"digest": {
"length": 554.0,
"function_hash": "88058558480780826546254283242396309735"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@27ad46da44177a78a4a0cae6fe03906888c61aa1",
"deprecated": false
},
{
"id": "CVE-2022-49527-7ee81b2e",
"signature_type": "Line",
"digest": {
"line_hashes": [
"189380220695913523405116457032812259065",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86594f6af867b5165d2ba7b5a71fae3a5961e56c",
"deprecated": false
},
{
"id": "CVE-2022-49527-9e0a94f5",
"signature_type": "Line",
"digest": {
"line_hashes": [
"142338531114873897967685608904462533113",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2533acb652359c9e097dfa33587896af782e8a91",
"deprecated": false
},
{
"id": "CVE-2022-49527-ad0d5a82",
"signature_type": "Function",
"digest": {
"length": 554.0,
"function_hash": "88058558480780826546254283242396309735"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c385b961d4c378228e80f6abea8509cb67feab6",
"deprecated": false
},
{
"id": "CVE-2022-49527-ae1cae4a",
"signature_type": "Function",
"digest": {
"length": 554.0,
"function_hash": "88058558480780826546254283242396309735"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b73ed0510bb8d9647cd8e8a4c4c8772bbe545c3a",
"deprecated": false
},
{
"id": "CVE-2022-49527-b52fb1f1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"189380220695913523405116457032812259065",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ed5a643b1a4a46b9b7bfba5d468c10cc30e1359",
"deprecated": false
},
{
"id": "CVE-2022-49527-c736f19c",
"signature_type": "Function",
"digest": {
"length": 554.0,
"function_hash": "88058558480780826546254283242396309735"
},
"signature_version": "v1",
"target": {
"function": "hfi_core_deinit",
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ac84ab50712879eac3c1dd2598440652a85d3d0",
"deprecated": false
},
{
"id": "CVE-2022-49527-e060aaf7",
"signature_type": "Line",
"digest": {
"line_hashes": [
"189380220695913523405116457032812259065",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a21d15dde21d7e8ae047eb8368677407db45d840",
"deprecated": false
},
{
"id": "CVE-2022-49527-fdad3919",
"signature_type": "Line",
"digest": {
"line_hashes": [
"189380220695913523405116457032812259065",
"208648689202265816697219899594514186365",
"127880157557381706579643919583262937099"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/media/platform/qcom/venus/hfi.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c385b961d4c378228e80f6abea8509cb67feab6",
"deprecated": false
}
]