CVE-2021-47096
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47096 affects the Linux kernel's ALSA (Advanced Linux Sound Architecture) rawmidi component. The vulnerability was discovered when an uninitialized user_pversion variable was found in the user space file structure during the open function. This occurred because the file private structure used kmalloc for allocation without proper initialization. The vulnerability was disclosed on March 4, 2024, and affects Linux kernel systems using the ALSA rawmidi component (NVD).

Technical details

The vulnerability stems from a failure to initialize the user_pversion field in the rawmidi file structure when allocating memory using kmalloc. The issue was introduced in the commit that added SNDRV_RAWMIDI_IOCTL_USER_PVERSION functionality. The vulnerability has been assigned a CVSS v3.1 base score of 4.0 (Medium) with the vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

The vulnerability could potentially lead to information disclosure due to the use of uninitialized memory. Since the kernel ALSA sequencer code clears the file structure, the impact is limited to the rawmidi component (Kernel Commit).

Exploitability

The vulnerability requires local access to the system and can be triggered through the ALSA rawmidi interface. No known exploits have been reported in the wild (NVD).

Mitigation and workarounds

The vulnerability has been fixed by initializing the user_pversion field to 0 during the file structure allocation in the snd_rawmidi_open function. The fix was implemented in the Linux kernel through a patch that adds the initialization code (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-89654CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesSep 11, 2026
CVE-2026-89711HIGH8.2
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 11, 2026
CVE-2026-89682HIGH8.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 11, 2026
CVE-2026-89648HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 11, 2026
CVE-2026-89693HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management