In the Linux kernel, the following vulnerability has been resolved:
ASoC: TAS2781: Fix tasdevloadcalibrated_data()
This function has a reversed if statement so it's either a no-op or it leads to a NULL dereference.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42278.json"
}[
{
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d98741dbd1309a6f2d7cffbb10a8f036ec3ca06",
"digest": {
"threshold": 0.9,
"line_hashes": [
"54237366263014922447406816040287921194",
"57363564797576741050737740787989178876",
"299951673389024926106728103695723505985",
"187104016578595051456784453803897784866"
]
},
"target": {
"file": "sound/soc/codecs/tas2781-fmwlib.c"
},
"id": "CVE-2024-42278-3219f82e",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92c78222168e9035a9bfb8841c2e56ce23e51f73",
"digest": {
"threshold": 0.9,
"line_hashes": [
"54237366263014922447406816040287921194",
"57363564797576741050737740787989178876",
"299951673389024926106728103695723505985",
"187104016578595051456784453803897784866"
]
},
"target": {
"file": "sound/soc/codecs/tas2781-fmwlib.c"
},
"id": "CVE-2024-42278-4ccfe499",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92c78222168e9035a9bfb8841c2e56ce23e51f73",
"digest": {
"function_hash": "187166149638008079251978112846441856967",
"length": 249.0
},
"target": {
"file": "sound/soc/codecs/tas2781-fmwlib.c",
"function": "tasdev_load_calibrated_data"
},
"id": "CVE-2024-42278-8406a5e6",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d98741dbd1309a6f2d7cffbb10a8f036ec3ca06",
"digest": {
"function_hash": "187166149638008079251978112846441856967",
"length": 249.0
},
"target": {
"file": "sound/soc/codecs/tas2781-fmwlib.c",
"function": "tasdev_load_calibrated_data"
},
"id": "CVE-2024-42278-8f56267a",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51be301d29d674ff328dfcf23705851f326f35b3",
"digest": {
"threshold": 0.9,
"line_hashes": [
"54237366263014922447406816040287921194",
"57363564797576741050737740787989178876",
"299951673389024926106728103695723505985",
"187104016578595051456784453803897784866"
]
},
"target": {
"file": "sound/soc/codecs/tas2781-fmwlib.c"
},
"id": "CVE-2024-42278-a88d5d97",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51be301d29d674ff328dfcf23705851f326f35b3",
"digest": {
"function_hash": "187166149638008079251978112846441856967",
"length": 249.0
},
"target": {
"file": "sound/soc/codecs/tas2781-fmwlib.c",
"function": "tasdev_load_calibrated_data"
},
"id": "CVE-2024-42278-ef646fa7",
"deprecated": false,
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42278.json"