PT-2025-8794 · Linux+7 · Linux Kernel+7
Nikita Zhandarovich
·
Published
2025-01-15
·
Updated
2026-04-20
·
CVE-2025-21711
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
The issue concerns integer overflows in the
rose setsockopt() function, which can occur when large arguments are passed and multiplied by additional values. This is addressed by checking the contents of the opt variable and returning an error if the values are too large. The fix also involves switching to unsigned int and removing an unnecessary check for negative opt values in the ROSE IDLE case.Recommendations
For the affected Linux kernel versions, apply the fix by implementing the checks for the
opt variable in the rose setsockopt() function and switch to unsigned int to prevent integer overflows.
As a temporary workaround, consider restricting the use of the rose setsockopt() function until the issue is fully resolved.Exploit
Fix
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu