In the Linux kernel, the following vulnerability has been resolved:
habanalabs: fix possible memory leak in MMU DR fini
This patch fixes what seems to be copy paste error.
We will have a memory leak if the host-resident shadow is NULL (which will likely happen as the DR and HR are not dependent).
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d421fb7a9eddd8ce0a05641a3db97283fe20699",
"target": {
"function": "hl_mmu_v1_fini",
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"function_hash": "101025556156816233228404957471502527626",
"length": 269.0
},
"deprecated": false,
"id": "CVE-2022-49102-4d7b87f0",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12e49aefda2e04b07604f13e03f40027cbeb0dc6",
"target": {
"function": "hl_mmu_v1_fini",
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"function_hash": "101025556156816233228404957471502527626",
"length": 269.0
},
"deprecated": false,
"id": "CVE-2022-49102-9c44c22b",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@30058d3a83cfe8c6aacbfe5ab13c01dd0c1799e3",
"target": {
"function": "hl_mmu_v1_fini",
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"function_hash": "101025556156816233228404957471502527626",
"length": 269.0
},
"deprecated": false,
"id": "CVE-2022-49102-b8ddaa15",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb85eec858c1a5c11d3a0bff403f6440b05b40dc",
"target": {
"function": "hl_mmu_v1_fini",
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"function_hash": "101025556156816233228404957471502527626",
"length": 269.0
},
"deprecated": false,
"id": "CVE-2022-49102-d2bed9e3",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d421fb7a9eddd8ce0a05641a3db97283fe20699",
"target": {
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"line_hashes": [
"131531038525674589223125400526116275153",
"130174914412917495781110420555146358959",
"83154666490904703101616163057395802873",
"9042013051736632591551828025618630813"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-49102-dbde99f9",
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@30058d3a83cfe8c6aacbfe5ab13c01dd0c1799e3",
"target": {
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"line_hashes": [
"131531038525674589223125400526116275153",
"130174914412917495781110420555146358959",
"83154666490904703101616163057395802873",
"9042013051736632591551828025618630813"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-49102-f1a85e21",
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@12e49aefda2e04b07604f13e03f40027cbeb0dc6",
"target": {
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"line_hashes": [
"131531038525674589223125400526116275153",
"130174914412917495781110420555146358959",
"83154666490904703101616163057395802873",
"9042013051736632591551828025618630813"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-49102-f3c1617f",
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb85eec858c1a5c11d3a0bff403f6440b05b40dc",
"target": {
"file": "drivers/misc/habanalabs/common/mmu/mmu_v1.c"
},
"digest": {
"line_hashes": [
"131531038525674589223125400526116275153",
"130174914412917495781110420555146358959",
"83154666490904703101616163057395802873",
"9042013051736632591551828025618630813"
],
"threshold": 0.9
},
"deprecated": false,
"id": "CVE-2022-49102-f761b21e",
"signature_version": "v1",
"signature_type": "Line"
}
]