CVE-2022-48994

ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event

MEDIUM
5.5
CVSS Score
Published: October 21, 2024 at 08:06 PM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.3362.6.12 ≤ v < 4.14.3022.6.12 ≤ v < 4.19.2692.6.12 ≤ v < 4.9.3362.6.12 ≤ v < 5.10.1592.6.12 ≤ v < 5.15.832.6.12 ≤ v < 5.4.2272.6.12 ≤ v < 6.0.132.6.12 ≤ v < 6.14.10 ≤ v < 4.14.3024.15 ≤ v < 4.19.2694.20 ≤ v < 5.4.2275.11 ≤ v < 5.15.835.16 ≤ v < 6.0.135.5 ≤ v < 5.10.1591da177e4c3f41524e886b7f1b8a0c1fc7321cac26.1 rc16.1 rc26.1 rc36.1 rc46.1 rc56.1 rc6
Vendor states this is fixed in 05530ef7cf7c7d700f6753f058999b1b5099a026 (fixed)
Vendor states this is fixed in 13ee8fb5410b740c8dd2867d3557c7662f7dda2d (fixed)
Vendor states this is fixed in 15c42ab8d43acb73e2eba361ad05822c0af0ecfa (fixed)
Vendor states this is fixed in 2f46e95bf344abc4e74f8158901d32a869e0adb6 (fixed)
Vendor states this is fixed in 63badfed200219ca656968725f1a43df293ac936 (fixed)
Vendor states this is fixed in b38486e82ecb9f3046e0184205f6b61408fc40c9 (fixed)
Vendor states this is fixed in e385360705a0b346bdb57ce938249175d0613b8a (fixed)
Vendor states this is fixed in fccd454129f6a0739651f7f58307cdb631fd6e89 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.14.302 (unaffected)
Vendor states this is fixed in 4.19.269 (unaffected)
Vendor states this is fixed in 4.9.336 (unaffected)
Vendor states this is fixed in 5.10.159 (unaffected)
Vendor states this is fixed in 5.15.83 (unaffected)
Vendor states this is fixed in 5.4.227 (unaffected)
Vendor states this is fixed in 6.0.13 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/05530ef7cf7c7d700f6753f058999b1b5099a026
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/13ee8fb5410b740c8dd2867d3557c7662f7dda2d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/15c42ab8d43acb73e2eba361ad05822c0af0ecfa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2f46e95bf344abc4e74f8158901d32a869e0adb6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/63badfed200219ca656968725f1a43df293ac936
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b38486e82ecb9f3046e0184205f6b61408fc40c9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e385360705a0b346bdb57ce938249175d0613b8a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fccd454129f6a0739651f7f58307cdb631fd6e89

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card