CVE-2022-48994

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedOct 21, 2024
First seenOct 21, 2024

How to fix

Update
  • linux linux_kernel4.9.336, 4.14.302, 4.19.269, 5.4.227, 5.10.159, 5.15.83, 6.0.13 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 4.9.336, 4.10 ≤ v < 4.14.302, 4.15 ≤ v < 4.19.269, 4.20 ≤ v < 5.4.227, 5.5 ≤ v < 5.10.159, 5.11 ≤ v < 5.15.83, 5.16 ≤ v < 6.0.13, 6.14.9.336, 4.14.302, 4.19.269, 5.4.227, 5.10.159, 5.15.83, 6.0.13

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.