In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: pmicglinkaltmode: fix port sanity check
The PMIC GLINK altmode driver currently supports at most two ports.
Fix the incomplete port sanity check on notifications to avoid accessing and corrupting memory beyond the port array if we ever get a notification for an unsupported port.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@532a5557da6892a6b2d5793052e1bce1f4c9e177",
"deprecated": false,
"digest": {
"function_hash": "76004737457702222036909120562390500632",
"length": 894.0
},
"target": {
"function": "pmic_glink_altmode_sc8280xp_notify",
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-10a66f8a",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4fb7d2eac9ff9bfc35a2e4d40c7169a332416e0",
"deprecated": false,
"digest": {
"line_hashes": [
"28953392164792580223685307556907170872",
"196724966310004248419714470325408592647",
"130521442917969859209715644655732364322",
"339537267053204900310287352781591404220",
"288697265154874430032702414599529591357",
"251662525260386848575260025689342772677",
"243026739882825322409331018353996362010",
"339537267053204900310287352781591404220"
],
"threshold": 0.9
},
"target": {
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-21189f33",
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@532a5557da6892a6b2d5793052e1bce1f4c9e177",
"deprecated": false,
"digest": {
"line_hashes": [
"28953392164792580223685307556907170872",
"196724966310004248419714470325408592647",
"130521442917969859209715644655732364322",
"339537267053204900310287352781591404220",
"288697265154874430032702414599529591357",
"251662525260386848575260025689342772677",
"243026739882825322409331018353996362010",
"339537267053204900310287352781591404220"
],
"threshold": 0.9
},
"target": {
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-63b1d5b0",
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4fb7d2eac9ff9bfc35a2e4d40c7169a332416e0",
"deprecated": false,
"digest": {
"function_hash": "76004737457702222036909120562390500632",
"length": 894.0
},
"target": {
"function": "pmic_glink_altmode_sc8280xp_notify",
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-a81299b5",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d26edf4ee3672cc9828f2a3ffae34086a712574d",
"deprecated": false,
"digest": {
"function_hash": "76004737457702222036909120562390500632",
"length": 894.0
},
"target": {
"function": "pmic_glink_altmode_sc8280xp_notify",
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-abb493dd",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d26edf4ee3672cc9828f2a3ffae34086a712574d",
"deprecated": false,
"digest": {
"function_hash": "304592337687748247638201379177885774614",
"length": 1010.0
},
"target": {
"function": "pmic_glink_altmode_sc8180xp_notify",
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-c21e6344",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c4fb7d2eac9ff9bfc35a2e4d40c7169a332416e0",
"deprecated": false,
"digest": {
"function_hash": "304592337687748247638201379177885774614",
"length": 1010.0
},
"target": {
"function": "pmic_glink_altmode_sc8180xp_notify",
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-c803218c",
"signature_version": "v1",
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d26edf4ee3672cc9828f2a3ffae34086a712574d",
"deprecated": false,
"digest": {
"line_hashes": [
"28953392164792580223685307556907170872",
"196724966310004248419714470325408592647",
"130521442917969859209715644655732364322",
"339537267053204900310287352781591404220",
"288697265154874430032702414599529591357",
"251662525260386848575260025689342772677",
"243026739882825322409331018353996362010",
"339537267053204900310287352781591404220"
],
"threshold": 0.9
},
"target": {
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-e1cdf735",
"signature_version": "v1",
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@532a5557da6892a6b2d5793052e1bce1f4c9e177",
"deprecated": false,
"digest": {
"function_hash": "304592337687748247638201379177885774614",
"length": 1010.0
},
"target": {
"function": "pmic_glink_altmode_sc8180xp_notify",
"file": "drivers/soc/qcom/pmic_glink_altmode.c"
},
"id": "CVE-2023-52495-f1d8bd2c",
"signature_version": "v1",
"signature_type": "Function"
}
]