CVE-2022-49288

ALSA: pcm: Fix races among concurrent prealloc proc writes

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.28 % · percentile 21 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

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).

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < e7786c445bb67a9a6e64f66ebd6b7215b153ff7d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < e14dca613e0a6ddc2bf6e360f16936a9f865205b ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 37b12c16beb6f6c1c3c678c1aacbc46525c250f7 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b560d670c87d7d40b3cf6949246fa4c7aa65a00a ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 51fce708ab8986a9879ee5da946a2cc120f1036d ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a21d2f323b5a978dedf9ff1d50f101f85e39b3f2
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 4.14.279 ≤ 4.14.* ; unaffected 4.19.243 ≤ 4.19.* ; unaffected 5.4.193 ≤ 5.4.* ; unaffected 5.10.109 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD