PT-2024-11207 · Linux+2 · Linux Kernel+2
Dan Carpenter
·
Published
2021-05-10
·
Updated
2024-05-30
·
CVE-2021-47159
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A vulnerability has been resolved in the Linux kernel. The issue occurs when
ds->ops->get sset count() fails, resulting in a negative error code, such as -EOPNOTSUPP. Because i is an unsigned int, the negative error code is type promoted to a very high value, causing the loop to corrupt memory until the system crashes. The fix involves checking for error codes and changing the type of i to just int.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Infinite Loop
Incorrect Type Conversion or Cast
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse