# CVE-2022-48702: ALSA: emu10k1: Fix out of bounds access in snd\_emu10k1\_pcm\_channel\_alloc()

> 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.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2024-05-03T15:13:10.363Z
- **Modified:** 2026-08-05T08:51:51.574Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 637c5310acb48fffcc5657568db3f3e9bc719bfa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6b0e260ac3cf289e38446552461caa65e6dab275; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88aac6684cf8bc885cca15463cb4407e91f28ff7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 45321a7d02b7cf9b3f97e3987fc1e4d649b82da2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 39a90720f3abe96625d1224e7a7463410875de4c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 45814a53514e10a8014906c882e0d0d38df39cc1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4204a01ffce97cae1d59edc5848f02be5b2b9178; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d29f59051d3a07b81281b2df2b8c9dfe4716067f
- Anyone running Linux 2.6.12

## Description

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

ALSA: emu10k1: Fix out of bounds access in snd\_emu10k1\_pcm\_channel\_alloc()

The voice allocator sometimes begins allocating from near the end of the
array and then wraps around, however snd\_emu10k1\_pcm\_channel\_alloc()
accesses the newly allocated voices as if it never wrapped around.

This results in out of bounds access if the first voice has a high enough
index so that first\_voice + requested\_voice\_count \> NUM\_G (64).
The more voices are requested, the more likely it is for this to occur.

This was initially discovered using PipeWire, however it can be reproduced
by calling aplay multiple times with 16 channels:
aplay -r 48000 -D plughw:CARD=Live,DEV=3 -c 16 /dev/zero

UBSAN: array-index-out-of-bounds in sound/pci/emu10k1/emupcm.c:127:40
index 65 is out of range for type 'snd\_emu10k1\_voice \[64\]'
CPU: 1 PID: 31977 Comm: aplay Tainted: G        W IOE      6.0.0-rc2-emu10k1+ \#7
Hardware name: ASUSTEK COMPUTER INC P5W DH Deluxe/P5W DH Deluxe, BIOS 3002    07/22/2010
Call Trace:
\<TASK\>
dump\_stack\_lvl+0x49/0x63
dump\_stack+0x10/0x16
ubsan\_epilogue+0x9/0x3f
\_\_ubsan\_handle\_out\_of\_bounds.cold+0x44/0x49
snd\_emu10k1\_playback\_hw\_params+0x3bc/0x420 \[snd\_emu10k1\]
snd\_pcm\_hw\_params+0x29f/0x600 \[snd\_pcm\]
snd\_pcm\_common\_ioctl+0x188/0x1410 \[snd\_pcm\]
? exit\_to\_user\_mode\_prepare+0x35/0x170
? do\_syscall\_64+0x69/0x90
? syscall\_exit\_to\_user\_mode+0x26/0x50
? do\_syscall\_64+0x69/0x90
? exit\_to\_user\_mode\_prepare+0x35/0x170
snd\_pcm\_ioctl+0x27/0x40 \[snd\_pcm\]
\_\_x64\_sys\_ioctl+0x95/0xd0
do\_syscall\_64+0x5c/0x90
? do\_syscall\_64+0x69/0x90
? do\_syscall\_64+0x69/0x90
entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 637c5310acb48fffcc5657568db3f3e9bc719bfa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6b0e260ac3cf289e38446552461caa65e6dab275; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88aac6684cf8bc885cca15463cb4407e91f28ff7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 45321a7d02b7cf9b3f97e3987fc1e4d649b82da2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 39a90720f3abe96625d1224e7a7463410875de4c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 45814a53514e10a8014906c882e0d0d38df39cc1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4204a01ffce97cae1d59edc5848f02be5b2b9178; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d29f59051d3a07b81281b2df2b8c9dfe4716067f (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48702.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 637c5310acb48fffcc5657568db3f3e9bc719bfa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6b0e260ac3cf289e38446552461caa65e6dab275; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 88aac6684cf8bc885cca15463cb4407e91f28ff7; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 637c5310acb48fffcc5657568db3f3e9bc719bfa, Linux 6b0e260ac3cf289e38446552461caa65e6dab275, Linux 88aac6684cf8bc885cca15463cb4407e91f28ff7, Linux 45321a7d02b7cf9b3f97e3987fc1e4d649b82da2, Linux 39a90720f3abe96625d1224e7a7463410875de4c, Linux 45814a53514e10a8014906c882e0d0d38df39cc1, Linux 4204a…

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-2022-48702 being exploited?

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

### How serious is CVE-2022-48702?

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

### Which versions are affected by CVE-2022-48702?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 637c5310acb48fffcc5657568db3f3e9bc719bfa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6b0e260ac3cf289e38446552461caa65e6dab275; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88aac6684cf8bc885cca15463cb4407e91f28ff7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 45321a7d02b7cf9b3f97e3987fc1e4d649b82da2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 39a90720f3abe96625d1224e7a7463410875de4c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 45814a53514e10a8014906c882e0d0d38df39cc1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4204a01ffce97cae1d59edc5848f02be5b2b9178; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d29f59051d3a07b81281b2df2b8c9dfe4716067f; Linux 2.6.12.

### Is there a fix for CVE-2022-48702?

Yes. Fixed in Linux 637c5310acb48fffcc5657568db3f3e9bc719bfa, Linux 6b0e260ac3cf289e38446552461caa65e6dab275, Linux 88aac6684cf8bc885cca15463cb4407e91f28ff7, Linux 45321a7d02b7cf9b3f97e3987fc1e4d649b82da2, Linux 39a90720f3abe96625d1224e7a7463410875de4c, Linux 45814a53514e10a8014906c882e0d0d38df39cc1, Linux 4204a01ffce97cae1d59edc5848f02be5b2b9178. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-48702?

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/637c5310acb48fffcc5657568db3f3e9bc719bfa>
- patch: <https://git.kernel.org/stable/c/6b0e260ac3cf289e38446552461caa65e6dab275>
- patch: <https://git.kernel.org/stable/c/88aac6684cf8bc885cca15463cb4407e91f28ff7>
- patch: <https://git.kernel.org/stable/c/45321a7d02b7cf9b3f97e3987fc1e4d649b82da2>
- patch: <https://git.kernel.org/stable/c/39a90720f3abe96625d1224e7a7463410875de4c>
- patch: <https://git.kernel.org/stable/c/45814a53514e10a8014906c882e0d0d38df39cc1>
- patch: <https://git.kernel.org/stable/c/4204a01ffce97cae1d59edc5848f02be5b2b9178>
- patch: <https://git.kernel.org/stable/c/d29f59051d3a07b81281b2df2b8c9dfe4716067f>

## 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-2022-48702>

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