← Database

CVE-2025-21711

MEDIUM CVSS: 5.5 Published: 2025-02-27 Modified: 2026-06-17

Description

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-190

References