# CVE-2021-47096: ALSA: rawmidi - fix the uninitalized user_pversion

- Severity: Medium 4.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-03-04T18:10:48.095Z
- Modified: 2026-06-17T04:16:27.977Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

ALSA: rawmidi - fix the uninitalized user_pversion

The user_pversion was uninitialized for the user space file structure
in the open function, because the file private structure use
kmalloc for the allocation.

The kernel ALSA sequencer code clears the file structure, so no additional
fixes are required.

BugLink: https://github.com/alsa-project/alsa-lib/issues/178

(As written by CVE List.)

## Affected

- Linux Linux: from 09d23174402da0f10e98da2c61bb5ac8e7d79fdd before b398fcbe4de1e1100867fdb6f447c6fbc8fe7085; from 09d23174402da0f10e98da2c61bb5ac8e7d79fdd before 39a8fc4971a00d22536aeb7d446ee4a97810611b; 12d50801497235956fb3760be8530f4e44e4ce67; from 5.14.10 before 5.15; 5.15 (not affected: before 5.15; from 5.15.12 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.15 before 5.15.12; 5.16

## References

- <https://git.kernel.org/stable/c/b398fcbe4de1e1100867fdb6f447c6fbc8fe7085> (patch)
- <https://git.kernel.org/stable/c/39a8fc4971a00d22536aeb7d446ee4a97810611b> (patch)

## Sources

- CVE List: [CVE-2021-47096](https://www.cve.org/CVERecord?id=CVE-2021-47096), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2021-47096](https://nvd.nist.gov/vuln/detail/CVE-2021-47096), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47096 · Whole record: https://cve.day/CVE-2021-47096.json · Rebuilt by cve.day 2026-11-25T22:58:08.658Z
