CVE-2022-48994

MEDIUM

Linux Kernel - Denial of Service via ALSA seq Function Prototype Mismatch

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 14.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (27)
linux/Kernel 2.6.12 - 4.9.336linux
linux/Kernel 4.10.0 - 4.14.302linux
linux/Kernel 4.15.0 - 4.19.269linux
linux/Kernel 4.20.0 - 5.4.227linux
linux/Kernel 5.11.0 - 5.15.83linux
linux/Kernel 5.16.0 - 6.0.13linux
linux/Kernel 5.5.0 - 5.10.159linux
Linux/Linux < 2.6.12
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 05530ef7cf7c7d700f6753f058999b1b5099a026
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 13ee8fb5410b740c8dd2867d3557c7662f7dda2d
... and 17 more
Published Oct 21, 2024
Tracked Since Feb 18, 2026