CVE-2021-47096
JSON

4.0medium

ALSA: rawmidi - fix the uninitalized user_pversion

Severity
4.0medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 5.15 before 5.15.12, 5.16NVD

Classification

CWE-908

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ALSA: rawmidi: corrige la user_pversion no inicializada. La user_pversion no se inicializó para la estructura de archivos del espacio de usuario en la función abierta, porque la estructura privada del archivo usa kmalloc para la asignación. El código del secuenciador ALSA del kernel borra la estructura del archivo, por lo que no se requieren correcciones adicionales. Enlace de error: https://github.com/alsa-project/alsa-lib/issues/178

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47096 changed 2026-05-23CVE Terms of Use
NVDCVE-2021-47096 changed 2026-06-17Public domain