In the Linux kernel, the following vulnerability has been resolved:
perf/smmuv3: Fix hotplug callback leak in armsmmupmu_init()
armsmmupmuinit() won't remove the callback added by cpuhpsetupstatemulti() when platformdriverregister() failed. Remove the callback by cpuhpremovemulti_state() in fail path.
Similar to the handling of armccninit() in commit 26242b330093 ("bus: arm-ccn: Prevent hotplug callback leak")
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d69bdb61d577297d3851fc9f6403574bf73ef41f",
"target": {
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-1f489a55",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"58019967309667965201531111307058047182",
"181475015179617704479241791184583169616",
"116072470595121476244243781834358383684",
"88542976829716113315705359239115987405",
"217665814411646741825393345920045596839",
"148377384238314504286170441802456563250",
"22918656522721228264062002053722858159",
"121726210395274940016073864621943849408"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@582babe17ea878ec1d76f30e03f3a6ce6e30eb91",
"target": {
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-3182b739",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"58019967309667965201531111307058047182",
"181475015179617704479241791184583169616",
"116072470595121476244243781834358383684",
"88542976829716113315705359239115987405",
"217665814411646741825393345920045596839",
"148377384238314504286170441802456563250",
"22918656522721228264062002053722858159",
"121726210395274940016073864621943849408"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@582babe17ea878ec1d76f30e03f3a6ce6e30eb91",
"target": {
"function": "arm_smmu_pmu_init",
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-40676868",
"signature_type": "Function",
"digest": {
"function_hash": "126204343316922800478374392781436241599",
"length": 235.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f2d566b46436a50a80d6445e82879686b89588c",
"target": {
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-4d732105",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"58019967309667965201531111307058047182",
"181475015179617704479241791184583169616",
"116072470595121476244243781834358383684",
"88542976829716113315705359239115987405",
"217665814411646741825393345920045596839",
"148377384238314504286170441802456563250",
"22918656522721228264062002053722858159",
"121726210395274940016073864621943849408"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@359286f886feef38536eaa7e673dc3440f03b0a1",
"target": {
"function": "arm_smmu_pmu_init",
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-7fcfd5cc",
"signature_type": "Function",
"digest": {
"function_hash": "126204343316922800478374392781436241599",
"length": 235.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@359286f886feef38536eaa7e673dc3440f03b0a1",
"target": {
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-8746849e",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"58019967309667965201531111307058047182",
"181475015179617704479241791184583169616",
"116072470595121476244243781834358383684",
"88542976829716113315705359239115987405",
"217665814411646741825393345920045596839",
"148377384238314504286170441802456563250",
"22918656522721228264062002053722858159",
"121726210395274940016073864621943849408"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d69bdb61d577297d3851fc9f6403574bf73ef41f",
"target": {
"function": "arm_smmu_pmu_init",
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-95769e62",
"signature_type": "Function",
"digest": {
"function_hash": "126204343316922800478374392781436241599",
"length": 235.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f245ca9a0fe7f794a8187ad803d5e2ced5a11cb2",
"target": {
"function": "arm_smmu_pmu_init",
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-9f1140cf",
"signature_type": "Function",
"digest": {
"function_hash": "126204343316922800478374392781436241599",
"length": 235.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6f2d566b46436a50a80d6445e82879686b89588c",
"target": {
"function": "arm_smmu_pmu_init",
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-b8b61a96",
"signature_type": "Function",
"digest": {
"function_hash": "126204343316922800478374392781436241599",
"length": 235.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f245ca9a0fe7f794a8187ad803d5e2ced5a11cb2",
"target": {
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-c5049e64",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"58019967309667965201531111307058047182",
"181475015179617704479241791184583169616",
"116072470595121476244243781834358383684",
"88542976829716113315705359239115987405",
"217665814411646741825393345920045596839",
"148377384238314504286170441802456563250",
"22918656522721228264062002053722858159",
"121726210395274940016073864621943849408"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b131304fe722853cf26e55c4fa21fc58a36e7f21",
"target": {
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-c842e17f",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"58019967309667965201531111307058047182",
"181475015179617704479241791184583169616",
"116072470595121476244243781834358383684",
"88542976829716113315705359239115987405",
"217665814411646741825393345920045596839",
"148377384238314504286170441802456563250",
"22918656522721228264062002053722858159",
"121726210395274940016073864621943849408"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b131304fe722853cf26e55c4fa21fc58a36e7f21",
"target": {
"function": "arm_smmu_pmu_init",
"file": "drivers/perf/arm_smmuv3_pmu.c"
},
"id": "CVE-2022-50510-d5403049",
"signature_type": "Function",
"digest": {
"function_hash": "126204343316922800478374392781436241599",
"length": 235.0
},
"deprecated": false,
"signature_version": "v1"
}
]