Security mailing lists by PureSourceCode

CVE-2021-47511

MEDIUM 5.5CVSS 3.1

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
24 May 2024
Last modified
17 Jun 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
< 4.4.295 4.4.295
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.5, < 4.9.293 4.9.293
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.10, < 4.14.258 4.14.258
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.15, < 4.19.221 4.19.221
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.20, < 5.4.165 5.4.165
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.5, < 5.10.85 5.10.85
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.15.8 5.15.8
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*
= 5.16
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*
= 5.16
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*
= 5.16
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*
= 5.16

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 24 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.