NetSight
medium5.5

CVE-2025-21711

In the Linux kernel, the following vulnerability has been resolved: net/rose: prevent integer overflows in rose_setsockopt() In case of possible unpredictably …

Impact

In the Linux kernel, the following vulnerability has been resolved: net/rose: prevent integer overflows in rose_setsockopt() In case of possible unpredictably large arguments passed to rose_setsockopt() and multiplied by extra values on top of that, integer overflows may occur. Do the safest minimum and fix these issues by checking the contents of 'opt' and returning -EINVAL if they are too large. Also, switch to unsigned int and remove useless check for negative 'opt' in ROSE_IDLE case.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 2.6.12 before 6.1.129
from 6.2 before 6.6.76
from 6.7 before 6.12.13
from 6.13 before 6.13.2

Weakness classification

References