# CVE-2024-46793: ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards harder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-09-18T07:12:48.283Z
- **Modified:** 2026-06-17T07:55:56.760Z

## Who should check

- Anyone running Linux \>= 7d99a70b65951108d82e1618c67abe69c3ed7720, \< 85cda5b040bda9c577b34eb72d5b2e5b7e31985c; \>= 7d99a70b65951108d82e1618c67abe69c3ed7720, \< 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb
- Anyone running Linux 6.8

## Description

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

ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards harder

Since commit 13f58267cda3 ("ASoC: soc.h: don't create dummy Component
via COMP\_DUMMY()") dummy codecs declared like this:

SND\_SOC\_DAILINK\_DEF(dummy,
        DAILINK\_COMP\_ARRAY(COMP\_DUMMY()));

expand to:

static struct snd\_soc\_dai\_link\_component dummy\[\] = {
};

Which means that dummy is a zero sized array and thus dais\[i\].codecs should
not be dereferenced \*at all\* since it points to the address of the next
variable stored in the data section as the "dummy" variable has an address
but no size, so even dereferencing dais\[0\] is already an out of bounds
array reference.

Which means that the if (dais\[i\].codecs-\>name) check added in
commit 7d99a70b6595 ("ASoC: Intel: Boards: Fix NULL pointer deref
in BYT/CHT boards") relies on that the part of the next variable which
the name member maps to just happens to be NULL.

Which apparently so far it usually is, except when it isn't
and then it results in crashes like this one:

\[   28.795659\] BUG: unable to handle page fault for address: 0000000000030011
...
\[   28.795780\] Call Trace:
\[   28.795787\]  \<TASK\>
...
\[   28.795862\]  ? strcmp+0x18/0x40
\[   28.795872\]  0xffffffffc150c605
\[   28.795887\]  platform\_probe+0x40/0xa0
...
\[   28.795979\]  ? \_\_pfx\_init\_module+0x10/0x10 \[snd\_soc\_sst\_bytcr\_wm5102\]

Really fix things this time around by checking dais.num\_codecs != 0.

## Affected and fixed versions

- Linux: \>= 7d99a70b65951108d82e1618c67abe69c3ed7720, \< 85cda5b040bda9c577b34eb72d5b2e5b7e31985c; \>= 7d99a70b65951108d82e1618c67abe69c3ed7720, \< 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-46793. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46793.md
Affected: Linux >= 7d99a70b65951108d82e1618c67abe69c3ed7720, < 85cda5b040bda9c577b34eb72d5b2e5b7e31985c; >= 7d99a70b65951108d82e1618c67abe69c3ed7720, < 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb; Linux 6.8
Fixed in: Linux 85cda5b040bda9c577b34eb72d5b2e5b7e31985c, Linux 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-46793 being exploited?

There is no confirmed exploitation: CVE-2024-46793 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-46793?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46793?

Linux \>= 7d99a70b65951108d82e1618c67abe69c3ed7720, \< 85cda5b040bda9c577b34eb72d5b2e5b7e31985c; \>= 7d99a70b65951108d82e1618c67abe69c3ed7720, \< 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb; Linux 6.8.

### Is there a fix for CVE-2024-46793?

Yes. Fixed in Linux 85cda5b040bda9c577b34eb72d5b2e5b7e31985c, Linux 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb. Upgrade Linux to 0cc65482f5b03ac2b1c240bc34665e43ea2d71bb or later.

### How do I check if I'm affected by CVE-2024-46793?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/85cda5b040bda9c577b34eb72d5b2e5b7e31985c>
- patch: <https://git.kernel.org/stable/c/0cc65482f5b03ac2b1c240bc34665e43ea2d71bb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-46793>

HTML: <https://flawdb.com/CVE-2024-46793> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-46793>
