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