# CVE-2024-42097: ALSA: emux: improve patch ioctl data validation

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.34% (percentile 20, 2026-11-26)
- **Published:** 2024-07-29T17:39:32.470Z
- **Modified:** 2026-10-15T01:18:43.533Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40d7def67841343c10f8642a41031fecbb248bab; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 79d9a000f0220cdaba1682d2a23c0d0c61d620a3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d23982ea9aa438f35a8c8a6305943e98a8db90f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7a18293fd8d8519c2f7a03753bc1583b18e3db69; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0ff2443fcbb472206d45a5d2a90cc694065804e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d8f5ce3cb9adf0c72e2ad6089aba02d7a32469c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 87039b83fb7bfd7d0e0499aaa8e6c049906b4d14; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 89b32ccb12ae67e630c6453d778ec30a592a212f
- Anyone running Linux 2.6.12

## Description

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

ALSA: emux: improve patch ioctl data validation

In load\_data(), make the validation of and skipping over the main info
block match that in load\_guspatch().

In load\_guspatch(), add checking that the specified patch length matches
the actually supplied data, like load\_data() already did.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40d7def67841343c10f8642a41031fecbb248bab; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 79d9a000f0220cdaba1682d2a23c0d0c61d620a3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d23982ea9aa438f35a8c8a6305943e98a8db90f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7a18293fd8d8519c2f7a03753bc1583b18e3db69; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0ff2443fcbb472206d45a5d2a90cc694065804e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d8f5ce3cb9adf0c72e2ad6089aba02d7a32469c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 87039b83fb7bfd7d0e0499aaa8e6c049906b4d14; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 89b32ccb12ae67e630c6453d778ec30a592a212f (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 89b32ccb12ae67e630c6453d778ec30a592a212f 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-42097. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42097.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 40d7def67841343c10f8642a41031fecbb248bab; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 79d9a000f0220cdaba1682d2a23c0d0c61d620a3; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d23982ea9aa438f35a8c8a6305943e98a8db90f6; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 40d7def67841343c10f8642a41031fecbb248bab, Linux 79d9a000f0220cdaba1682d2a23c0d0c61d620a3, Linux 7a18293fd8d8519c2f7a03753bc1583b18e3db69, Linux 87039b83fb7bfd7d0e0499aaa8e6c049906b4d14, Linux 89b32ccb12ae67e630c6453d778ec30a592a212f

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-42097 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40d7def67841343c10f8642a41031fecbb248bab; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 79d9a000f0220cdaba1682d2a23c0d0c61d620a3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d23982ea9aa438f35a8c8a6305943e98a8db90f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7a18293fd8d8519c2f7a03753bc1583b18e3db69; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d0ff2443fcbb472206d45a5d2a90cc694065804e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d8f5ce3cb9adf0c72e2ad6089aba02d7a32469c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 87039b83fb7bfd7d0e0499aaa8e6c049906b4d14; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 89b32ccb12ae67e630c6453d778ec30a592a212f; Linux 2.6.12.

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

Yes. Fixed in Linux 40d7def67841343c10f8642a41031fecbb248bab, Linux 79d9a000f0220cdaba1682d2a23c0d0c61d620a3, Linux 7a18293fd8d8519c2f7a03753bc1583b18e3db69, Linux 87039b83fb7bfd7d0e0499aaa8e6c049906b4d14, Linux 89b32ccb12ae67e630c6453d778ec30a592a212f. Upgrade Linux to 89b32ccb12ae67e630c6453d778ec30a592a212f or later.

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

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/40d7def67841343c10f8642a41031fecbb248bab>
- patch: <https://git.kernel.org/stable/c/79d9a000f0220cdaba1682d2a23c0d0c61d620a3>
- patch: <https://git.kernel.org/stable/c/d23982ea9aa438f35a8c8a6305943e98a8db90f6>
- patch: <https://git.kernel.org/stable/c/7a18293fd8d8519c2f7a03753bc1583b18e3db69>
- patch: <https://git.kernel.org/stable/c/d0ff2443fcbb472206d45a5d2a90cc694065804e>
- patch: <https://git.kernel.org/stable/c/d8f5ce3cb9adf0c72e2ad6089aba02d7a32469c2>
- patch: <https://git.kernel.org/stable/c/87039b83fb7bfd7d0e0499aaa8e6c049906b4d14>
- patch: <https://git.kernel.org/stable/c/89b32ccb12ae67e630c6453d778ec30a592a212f>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## 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-42097>

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