In the Linux kernel, the following vulnerability has been resolved:
phy: qcom-qmp-combo: fix NULL-deref on runtime resume
Commit fc64623637da ("phy: qcom-qmp-combo,usb: add support for separate PCSUSB region") started treating the PCSUSB registers as potentially separate from the PCS registers but used the wrong base when no PCS_USB offset has been provided.
Fix the PCSUSB base used at runtime resume to prevent dereferencing a NULL pointer on platforms that do not provide a PCSUSB offset (e.g. SC7180).
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04948e757148f870a31f4887ea2239403f516c3c",
"target": {
"file": "drivers/phy/qualcomm/phy-qcom-qmp-combo.c"
},
"id": "CVE-2022-49848-03c21d60",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"211731484294670585036581914645090311470",
"115549039989154672164541552168059598395",
"20408601361482203520164190387440921826",
"208874755969490020909064657524331567164"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c559a8b5cfa3db196ced0257b288f17027621348",
"target": {
"file": "drivers/phy/qualcomm/phy-qcom-qmp-combo.c"
},
"id": "CVE-2022-49848-38c70e13",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"243131923841635398866170804951699971056",
"115549039989154672164541552168059598395",
"20408601361482203520164190387440921826",
"208874755969490020909064657524331567164"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c559a8b5cfa3db196ced0257b288f17027621348",
"target": {
"function": "qcom_qmp_phy_combo_disable_autonomous_mode",
"file": "drivers/phy/qualcomm/phy-qcom-qmp-combo.c"
},
"id": "CVE-2022-49848-58bcaf84",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"function_hash": "70690051591083431899116299792307063803",
"length": 532.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04948e757148f870a31f4887ea2239403f516c3c",
"target": {
"function": "qmp_combo_disable_autonomous_mode",
"file": "drivers/phy/qualcomm/phy-qcom-qmp-combo.c"
},
"id": "CVE-2022-49848-bea6eb49",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"function_hash": "70690051591083431899116299792307063803",
"length": 532.0
}
}
]