CVE-2022-49848

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49848
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49848.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49848
Downstream
Published
2025-05-01T14:10:03Z
Modified
2025-10-21T11:10:20.692162Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
phy: qcom-qmp-combo: fix NULL-deref on runtime resume
Details

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).

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fc64623637da5e964566628bc0e660e93dc7a395
Fixed
c559a8b5cfa3db196ced0257b288f17027621348
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fc64623637da5e964566628bc0e660e93dc7a395
Fixed
04948e757148f870a31f4887ea2239403f516c3c

Affected versions

v5.*

v5.19
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8

v6.*

v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.0.1
v6.0.2
v6.0.3
v6.0.4
v6.0.5
v6.0.6
v6.0.7
v6.0.8
v6.1-rc1

Database specific

vanir_signatures

[
    {
        "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
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.0.9