CVE-2022-48889

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48889
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48889.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48889
Downstream
Related
Published
2024-08-21T06:10:21Z
Modified
2025-10-21T08:14:32.329141Z
Summary
ASoC: Intel: sof-nau8825: fix module alias overflow
Details

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

ASoC: Intel: sof-nau8825: fix module alias overflow

The maximum name length for a platformdeviceid entry is 20 characters including the trailing NUL byte. The sof_nau8825.c file exceeds that, which causes an obscure error message:

sound/soc/intel/boards/snd-soc-sofnau8825.mod.c:35:45: error: illegal character encoding in string literal [-Werror,-Winvalid-source-encoding] MODULEALIAS("platform:adlmax98373nau8825<U+0018><AA>"); ^~~~ include/linux/module.h:168:49: note: expanded from macro 'MODULEALIAS' ^~~~~~ include/linux/module.h:165:56: note: expanded from macro 'MODULEINFO' ^~~~ include/linux/moduleparam.h:26:47: note: expanded from macro '_MODULEINFO' = _MODULEINFOPREFIX _stringify(tag) "=" info

I could not figure out how to make the module handling robust enough to handle this better, but as a quick fix, using slightly shorter names that are still unique avoids the build issue.

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
8d0872f6239f9d067d538d8368bdec643bb0d255
Fixed
fba1b23befd88366fe646787b3797e64d7338fd2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8d0872f6239f9d067d538d8368bdec643bb0d255
Fixed
3e78986a840d59dd27e636eae3f52dc11125c835

Affected versions

v5.*

v5.16
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.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
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.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.2-rc1

Database specific

vanir_signatures

[
    {
        "target": {
            "file": "sound/soc/intel/common/soc-acpi-intel-adl-match.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "322924919204225049391438105145542933821",
                "301233895888952559187465731112717345519",
                "45983812240365225280598744410067219491",
                "267677414103106120797174362121908212081",
                "299228857831726344491677464732201439206",
                "323956827820532303142334113780810282459",
                "103055658331067807507990449989105996088",
                "320978150236467817917517922521527347118",
                "137966978853277657237863574254668507204",
                "272351437411439905725553514415989137053",
                "80849321718276051481234293181640517099",
                "196686268603120087065616202427798526321",
                "235980858199131554387358323868071976706",
                "271626966808257547572568459347520876876",
                "22226820748712162873719979313855143625",
                "271213408141658978873457377618098305381",
                "295378938513700964861273938228601736511",
                "196332345374378080509157394857730921537",
                "46674883362356995789065447813279891382",
                "245821769875176857484596095843620533949",
                "317264649654649942331170802167987012935",
                "42419213325221060390476757798371885447"
            ]
        },
        "deprecated": false,
        "id": "CVE-2022-48889-014a43c6",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fba1b23befd88366fe646787b3797e64d7338fd2"
    },
    {
        "target": {
            "file": "sound/soc/intel/boards/sof_nau8825.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "174623312948247458090357348306550584868",
                "192403145747168327226765105480881061931",
                "117591304040465090744658433060140350265",
                "153642295999989046297504805186133624683",
                "311621847010445225048693683050982023278",
                "66211319979116283786533527945328174801",
                "254188441369031360071291972769778412287",
                "155749501224832097385911367392287781959",
                "169524847914517561614811501487073966948",
                "41047203598257710348097166122696511582",
                "187151662042867257376111747519982629163",
                "66673489631021642533398848971632006510",
                "275442036829294891663210259455070808431",
                "91591333463750503828900524961371105610",
                "110694272488164911517651210372046568423",
                "85228307454613369081557647105710697899"
            ]
        },
        "deprecated": false,
        "id": "CVE-2022-48889-222ae0d2",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fba1b23befd88366fe646787b3797e64d7338fd2"
    },
    {
        "target": {
            "file": "sound/soc/intel/boards/sof_nau8825.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "174623312948247458090357348306550584868",
                "192403145747168327226765105480881061931",
                "117591304040465090744658433060140350265",
                "153642295999989046297504805186133624683",
                "311621847010445225048693683050982023278",
                "66211319979116283786533527945328174801",
                "254188441369031360071291972769778412287",
                "155749501224832097385911367392287781959",
                "169524847914517561614811501487073966948",
                "41047203598257710348097166122696511582",
                "187151662042867257376111747519982629163",
                "66673489631021642533398848971632006510",
                "275442036829294891663210259455070808431",
                "91591333463750503828900524961371105610",
                "110694272488164911517651210372046568423",
                "85228307454613369081557647105710697899"
            ]
        },
        "deprecated": false,
        "id": "CVE-2022-48889-96961a85",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e78986a840d59dd27e636eae3f52dc11125c835"
    },
    {
        "target": {
            "file": "sound/soc/intel/common/soc-acpi-intel-adl-match.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "322924919204225049391438105145542933821",
                "301233895888952559187465731112717345519",
                "45983812240365225280598744410067219491",
                "267677414103106120797174362121908212081",
                "299228857831726344491677464732201439206",
                "323956827820532303142334113780810282459",
                "103055658331067807507990449989105996088",
                "320978150236467817917517922521527347118",
                "137966978853277657237863574254668507204",
                "272351437411439905725553514415989137053",
                "80849321718276051481234293181640517099",
                "196686268603120087065616202427798526321",
                "235980858199131554387358323868071976706",
                "271626966808257547572568459347520876876",
                "22226820748712162873719979313855143625",
                "271213408141658978873457377618098305381",
                "295378938513700964861273938228601736511",
                "196332345374378080509157394857730921537",
                "46674883362356995789065447813279891382",
                "245821769875176857484596095843620533949",
                "317264649654649942331170802167987012935",
                "42419213325221060390476757798371885447"
            ]
        },
        "deprecated": false,
        "id": "CVE-2022-48889-cde7b217",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e78986a840d59dd27e636eae3f52dc11125c835"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.1.7