ALSA: pcm: oss: Limit the period size to 16MB (Linux Linux)

CVE-2021-47509
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Limit the period size to 16MB Set the practical limit to the period size (the fragment shift in OSS) instead of a full 31bit; a too large value could lead to the exhaust of memory as we allocate temporary buffers of the period size, too. As of this patch, we set to 16MB limit, which should cover all use cases.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < d1bb703ad050de9095f10b2d3416c32921ac6bcc ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b02a41eebcc36d4f07196780f2e165ca2c499257 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < be55f306396cd62c6889286a7194fd8b53363aeb ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2e54cf6794bf82a54aaefc78da13819aea9cd28a ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 76f19e4cbb548e28547f8c328aa0bfb3a10222d3 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ad45babf7886e7a212ee1d5eda9ef49f696db43c
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 4.4.295 ≤ 4.4.* ; unaffected 4.9.293 ≤ 4.9.* ; unaffected 4.14.258 ≤ 4.14.* ; unaffected 4.19.221 ≤ 4.19.*

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