# CVE-2022-48994: ALSA: seq: Fix function prototype mismatch in snd\_seq\_expand\_var\_event

> 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.30% (percentile 15, 2026-11-26)
- **Published:** 2024-10-21T20:06:10.814Z
- **Modified:** 2026-06-17T05:16:48.127Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b38486e82ecb9f3046e0184205f6b61408fc40c9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e385360705a0b346bdb57ce938249175d0613b8a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2f46e95bf344abc4e74f8158901d32a869e0adb6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 63badfed200219ca656968725f1a43df293ac936; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 15c42ab8d43acb73e2eba361ad05822c0af0ecfa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fccd454129f6a0739651f7f58307cdb631fd6e89; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13ee8fb5410b740c8dd2867d3557c7662f7dda2d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 05530ef7cf7c7d700f6753f058999b1b5099a026
- Anyone running Linux 2.6.12

## Description

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

ALSA: seq: Fix function prototype mismatch in snd\_seq\_expand\_var\_event

With clang's kernel control flow integrity (kCFI, CONFIG\_CFI\_CLANG),
indirect call targets are validated against the expected function
pointer prototype to make sure the call target is valid to help mitigate
ROP attacks. If they are not identical, there is a failure at run time,
which manifests as either a kernel panic or thread getting killed.

seq\_copy\_in\_user() and seq\_copy\_in\_kernel() did not have prototypes
matching snd\_seq\_dump\_func\_t. Adjust this and remove the casts. There
are not resulting binary output differences.

This was found as a result of Clang's new -Wcast-function-type-strict
flag, which is more sensitive than the simpler -Wcast-function-type,
which only checks for type width mismatches.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b38486e82ecb9f3046e0184205f6b61408fc40c9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e385360705a0b346bdb57ce938249175d0613b8a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2f46e95bf344abc4e74f8158901d32a869e0adb6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 63badfed200219ca656968725f1a43df293ac936; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 15c42ab8d43acb73e2eba361ad05822c0af0ecfa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fccd454129f6a0739651f7f58307cdb631fd6e89; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13ee8fb5410b740c8dd2867d3557c7662f7dda2d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 05530ef7cf7c7d700f6753f058999b1b5099a026 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 05530ef7cf7c7d700f6753f058999b1b5099a026 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48994.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b38486e82ecb9f3046e0184205f6b61408fc40c9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e385360705a0b346bdb57ce938249175d0613b8a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2f46e95bf344abc4e74f8158901d32a869e0adb6; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 2f46e95bf344abc4e74f8158901d32a869e0adb6, Linux 63badfed200219ca656968725f1a43df293ac936, Linux 15c42ab8d43acb73e2eba361ad05822c0af0ecfa, Linux 13ee8fb5410b740c8dd2867d3557c7662f7dda2d, Linux 05530ef7cf7c7d700f6753f058999b1b5099a026

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

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

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

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

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b38486e82ecb9f3046e0184205f6b61408fc40c9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e385360705a0b346bdb57ce938249175d0613b8a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2f46e95bf344abc4e74f8158901d32a869e0adb6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 63badfed200219ca656968725f1a43df293ac936; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 15c42ab8d43acb73e2eba361ad05822c0af0ecfa; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fccd454129f6a0739651f7f58307cdb631fd6e89; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13ee8fb5410b740c8dd2867d3557c7662f7dda2d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 05530ef7cf7c7d700f6753f058999b1b5099a026; Linux 2.6.12.

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

Yes. Fixed in Linux 2f46e95bf344abc4e74f8158901d32a869e0adb6, Linux 63badfed200219ca656968725f1a43df293ac936, Linux 15c42ab8d43acb73e2eba361ad05822c0af0ecfa, Linux 13ee8fb5410b740c8dd2867d3557c7662f7dda2d, Linux 05530ef7cf7c7d700f6753f058999b1b5099a026. Upgrade Linux to 05530ef7cf7c7d700f6753f058999b1b5099a026 or later.

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

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/b38486e82ecb9f3046e0184205f6b61408fc40c9>
- patch: <https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a>
- patch: <https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6>
- patch: <https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936>
- patch: <https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa>
- patch: <https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89>
- patch: <https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d>
- patch: <https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026>

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

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