CVE-2022-49306

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49306
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49306.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49306
Downstream
Related
Published
2025-02-26T02:10:38Z
Modified
2025-10-21T09:43:50.613893Z
Summary
usb: dwc3: host: Stop setting the ACPI companion
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: dwc3: host: Stop setting the ACPI companion

It is no longer needed. The sysdev pointer is now used when assigning the ACPI companions to the xHCI ports and USB devices.

Assigning the ACPI companion here resulted in the fwnode->secondary pointer to be replaced also for the parent dwc3 device since the primary fwnode (the ACPI companion) was shared. That was unintentional and it created potential side effects like resource leaks.

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
11c39809070fc0eb3aacb0d9ee71cd3678144f66
Fixed
d7f35934f7ab67bfd9adabc84207e59da9c19108
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
11c39809070fc0eb3aacb0d9ee71cd3678144f66
Fixed
9c185fde906a48368bd2d2a8c17d4b6fb3d670af
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
11c39809070fc0eb3aacb0d9ee71cd3678144f66
Fixed
7fd069d65da2e20b1caec3b7bcf9dfbe28c04bb2

Affected versions

v5.*

v5.10
v5.10-rc1
v5.10-rc2
v5.10-rc3
v5.10-rc4
v5.10-rc5
v5.10-rc6
v5.10-rc7
v5.11
v5.11-rc1
v5.11-rc2
v5.11-rc3
v5.11-rc4
v5.11-rc5
v5.11-rc6
v5.11-rc7
v5.12
v5.12-rc1
v5.12-rc1-dontuse
v5.12-rc2
v5.12-rc3
v5.12-rc4
v5.12-rc5
v5.12-rc6
v5.12-rc7
v5.12-rc8
v5.13
v5.13-rc1
v5.13-rc2
v5.13-rc3
v5.13-rc4
v5.13-rc5
v5.13-rc6
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.17.1
v5.17.10
v5.17.11
v5.17.12
v5.17.13
v5.17.14
v5.17.2
v5.17.3
v5.17.4
v5.17.5
v5.17.6
v5.17.7
v5.17.8
v5.17.9
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.18.1
v5.18.2
v5.18.3
v5.6
v5.6-rc6
v5.6-rc7
v5.7
v5.7-rc1
v5.7-rc2
v5.7-rc3
v5.7-rc4
v5.7-rc5
v5.7-rc6
v5.7-rc7
v5.8
v5.8-rc1
v5.8-rc2
v5.8-rc3
v5.8-rc4
v5.8-rc5
v5.8-rc6
v5.8-rc7
v5.9
v5.9-rc1
v5.9-rc2
v5.9-rc3
v5.9-rc4
v5.9-rc5
v5.9-rc6
v5.9-rc7
v5.9-rc8

Database specific

vanir_signatures

[
    {
        "id": "CVE-2022-49306-3216dd4a",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "1217864697986840122387332362395952155",
                "83088098983086211974224402686376598436",
                "107596073861828110504244047798681508442",
                "93599943286852158491786714639739871868",
                "229222076328688247333002616456782564387"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "drivers/usb/dwc3/host.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fd069d65da2e20b1caec3b7bcf9dfbe28c04bb2",
        "signature_type": "Line"
    },
    {
        "id": "CVE-2022-49306-466bd3d7",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "1217864697986840122387332362395952155",
                "83088098983086211974224402686376598436",
                "107596073861828110504244047798681508442",
                "93599943286852158491786714639739871868",
                "229222076328688247333002616456782564387"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "drivers/usb/dwc3/host.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c185fde906a48368bd2d2a8c17d4b6fb3d670af",
        "signature_type": "Line"
    },
    {
        "id": "CVE-2022-49306-489b31c0",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "length": 1253.0,
            "function_hash": "166514071731043197337899139566228339012"
        },
        "target": {
            "function": "dwc3_host_init",
            "file": "drivers/usb/dwc3/host.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9c185fde906a48368bd2d2a8c17d4b6fb3d670af",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2022-49306-68a92c97",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "length": 1253.0,
            "function_hash": "166514071731043197337899139566228339012"
        },
        "target": {
            "function": "dwc3_host_init",
            "file": "drivers/usb/dwc3/host.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fd069d65da2e20b1caec3b7bcf9dfbe28c04bb2",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2022-49306-d18af2fb",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "1217864697986840122387332362395952155",
                "83088098983086211974224402686376598436",
                "107596073861828110504244047798681508442",
                "93599943286852158491786714639739871868",
                "229222076328688247333002616456782564387"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "drivers/usb/dwc3/host.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7f35934f7ab67bfd9adabc84207e59da9c19108",
        "signature_type": "Line"
    },
    {
        "id": "CVE-2022-49306-fe26895f",
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "length": 1253.0,
            "function_hash": "166514071731043197337899139566228339012"
        },
        "target": {
            "function": "dwc3_host_init",
            "file": "drivers/usb/dwc3/host.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d7f35934f7ab67bfd9adabc84207e59da9c19108",
        "signature_type": "Function"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
5.17.15
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
5.18.4