← CVE Intelligence

CVE-2022-49288

ALSA: pcm: Fix races among concurrent prealloc proc writes PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Fix races among concurrent prealloc proc writes We have no protection against concurrent PCM buffer preallocation changes via proc files, and it may potentially lead to UAF or some weird problem. This patch applies the PCM open_mutex to the proc write operation for avoiding the racy proc writes and the PCM stream open (and further operations).

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e7786c445bb67a9a6e64f66ebd6b7215b153ff7d; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e14dca613e0a6ddc2bf6e360f16936a9f865205b; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 37b12c16beb6f6c1c3c678c1aacbc46525c250f7; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b560d670c87d7d40b3cf6949246fa4c7aa65a00a; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 51fce708ab8986a9879ee5da946a2cc120f1036d; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a21d2f323b5a978dedf9ff1d50f101f85e39b3f2; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5ed8f8e3c4e59d0396b9ccf2e639711e24295bb6; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 69534c48ba8ce552ce383b3dfdb271ffe51820c3
Linux / Linuxaffected 2.6.12; unaffected 0 before 2.6.12; unaffected 4.14.279 through 4.14.*; unaffected 4.19.243 through 4.19.*; unaffected 5.4.193 through 5.4.*; unaffected 5.10.109 through 5.10.*; unaffected 5.15.32 through 5.15.*; unaffected 5.16.18 through 5.16.*; unaffected 5.17.1 through 5.17.*; unaffected 5.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.