CVE-2024-58012

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-58012
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-58012.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-58012
Downstream
Related
Published
2025-02-27T02:12:06Z
Modified
2025-10-17T15:10:49.606266Z
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
ASoC: SOF: Intel: hda-dai: Ensure DAI widget is valid during params
Details

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

ASoC: SOF: Intel: hda-dai: Ensure DAI widget is valid during params

Each cpu DAI should associate with a widget. However, the topology might not create the right number of DAI widgets for aggregated amps. And it will cause NULL pointer deference. Check that the DAI widget associated with the CPU DAI is valid to prevent NULL pointer deference due to missing DAI widgets in topologies with aggregated amps.

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
4c414da93a4642d02c67fbe82f1834be7bf586b7
Fixed
e012a77e4d7632cf615ba9625b1600ed8985c3b5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4c414da93a4642d02c67fbe82f1834be7bf586b7
Fixed
789a2fbf0900982788408d3b0034e0e3f914fb3b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4c414da93a4642d02c67fbe82f1834be7bf586b7
Fixed
569922b82ca660f8b24e705f6cf674e6b1f99cc7

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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c4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.10
v6.12.11
v6.12.12
v6.12.13
v6.12.2
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.12.7
v6.12.8
v6.12.9
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.13.1
v6.13.2
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@789a2fbf0900982788408d3b0034e0e3f914fb3b",
        "id": "CVE-2024-58012-07042125",
        "digest": {
            "function_hash": "244713353234329329240070742438679815138",
            "length": 2105.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "sdw_hda_dai_hw_params",
            "file": "sound/soc/sof/intel/hda-dai.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@789a2fbf0900982788408d3b0034e0e3f914fb3b",
        "id": "CVE-2024-58012-101c2d7f",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "309371341663207622338681587153689032699",
                "315154231975710677293040500620458682278",
                "262529525685255790758175706601751487522",
                "308158511168944221060946932355920813234",
                "20064313871977934535397910162418099191",
                "210669040697779840338568161495080485128",
                "206145328069742097722909868602033988950"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "sound/soc/sof/intel/hda-dai.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@569922b82ca660f8b24e705f6cf674e6b1f99cc7",
        "id": "CVE-2024-58012-1725158d",
        "digest": {
            "function_hash": "244713353234329329240070742438679815138",
            "length": 2105.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "sdw_hda_dai_hw_params",
            "file": "sound/soc/sof/intel/hda-dai.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@569922b82ca660f8b24e705f6cf674e6b1f99cc7",
        "id": "CVE-2024-58012-36c995b1",
        "digest": {
            "function_hash": "239068285224492134478415734179256915660",
            "length": 376.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "sdw_params_stream",
            "file": "sound/soc/sof/intel/hda.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@789a2fbf0900982788408d3b0034e0e3f914fb3b",
        "id": "CVE-2024-58012-378c8046",
        "digest": {
            "function_hash": "239068285224492134478415734179256915660",
            "length": 376.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "sdw_params_stream",
            "file": "sound/soc/sof/intel/hda.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e012a77e4d7632cf615ba9625b1600ed8985c3b5",
        "id": "CVE-2024-58012-44af3582",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "309371341663207622338681587153689032699",
                "315154231975710677293040500620458682278",
                "262529525685255790758175706601751487522",
                "308158511168944221060946932355920813234",
                "20064313871977934535397910162418099191",
                "210669040697779840338568161495080485128",
                "206145328069742097722909868602033988950"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "sound/soc/sof/intel/hda-dai.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@789a2fbf0900982788408d3b0034e0e3f914fb3b",
        "id": "CVE-2024-58012-578dbf96",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "192643856179033491413083666198790025376",
                "90055876869525916028657838469997357683",
                "202282191099166816841863300070056296889"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "sound/soc/sof/intel/hda.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@569922b82ca660f8b24e705f6cf674e6b1f99cc7",
        "id": "CVE-2024-58012-792f70ee",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "192643856179033491413083666198790025376",
                "90055876869525916028657838469997357683",
                "202282191099166816841863300070056296889"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "sound/soc/sof/intel/hda.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e012a77e4d7632cf615ba9625b1600ed8985c3b5",
        "id": "CVE-2024-58012-967812bc",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "192643856179033491413083666198790025376",
                "90055876869525916028657838469997357683",
                "202282191099166816841863300070056296889"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "sound/soc/sof/intel/hda.c"
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e012a77e4d7632cf615ba9625b1600ed8985c3b5",
        "id": "CVE-2024-58012-cbdb156a",
        "digest": {
            "function_hash": "244713353234329329240070742438679815138",
            "length": 2105.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "sdw_hda_dai_hw_params",
            "file": "sound/soc/sof/intel/hda-dai.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e012a77e4d7632cf615ba9625b1600ed8985c3b5",
        "id": "CVE-2024-58012-fc521064",
        "digest": {
            "function_hash": "239068285224492134478415734179256915660",
            "length": 376.0
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "sdw_params_stream",
            "file": "sound/soc/sof/intel/hda.c"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@569922b82ca660f8b24e705f6cf674e6b1f99cc7",
        "id": "CVE-2024-58012-fe8462d2",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "309371341663207622338681587153689032699",
                "315154231975710677293040500620458682278",
                "262529525685255790758175706601751487522",
                "308158511168944221060946932355920813234",
                "20064313871977934535397910162418099191",
                "210669040697779840338568161495080485128",
                "206145328069742097722909868602033988950"
            ]
        },
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "sound/soc/sof/intel/hda-dai.c"
        },
        "signature_type": "Line"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
6.12.14
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.3