Skip to main content
Network Thinking Solutions Logo

CVE-2021-47511

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Fix negative period/buffer sizes The period size calculation in OSS layer may receive a negative value as an error, but the code there assumes only the positive values and handle them with size_t.

All CVEs
CVE-2021-47511Published 5/24/2024

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Fix negative period/buffer sizes The period size calculation in OSS layer may receive a negative value as an error, but the code there assumes only the positive values and handle them with size_t.

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Fix negative period/buffer sizes The period size calculation in OSS layer may receive a negative value as an error, but the code there assumes only the positive values and handle them with size_t. Due to that, a too big value may be passed to the lower layers. This patch changes the code to handle with ssize_t and adds the proper error checks appropriately.

Published
5/24/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 4.4.295

Verify advisory

Source
linux kernel
linux
≥ 4.5, < 4.9.293

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.258

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.221

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.165

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.85

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.8

Verify advisory

Source
linux kernel
linux
5.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < be8869d388593e57223ad39297c8e54be632f2f2

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 502e1146873d870f87da3b8f93d6bf2de5f38d0c

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8af815ab052eaf74addbbfb556d63ce2137c0e1b

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f96c0959c1ee92adc911c10d6ec209af50105049

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f12c8a7515f641885677960af450082569a87243

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 02b2b691b77cd7b951fa7b6c9d44d4e472cdc823

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 00a860678098fcd9fa8db2b5fb9d2ddf4776d4cc

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9d2479c960875ca1239bcb899f386970c13d9cfe

Verify advisory

Source
Linux
Linux
2.6.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.