CVE-2025-21711

MEDIUM

Linux Kernel - Integer Overflow in rose_setsockopt

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 10.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-190
Status published
Products (23)
linux/Kernel 2.6.12 - 5.10.235linux
linux/Kernel 5.11.0 - 5.15.179linux
linux/Kernel 5.16.0 - 6.1.129linux
linux/Kernel 6.13.0 - 6.13.2linux
linux/Kernel 6.2.0 - 6.6.76linux
linux/Kernel 6.7.0 - 6.12.13linux
Linux/Linux < 2.6.12
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 352daa50946c3bbb662432e8daf54d6760796589
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 4bdd449977e2364a53d0b2a5427e71beb1cd702d
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 9bdee49ad6bbd26ab5e13cc6731e54fb1b6c1dca
... and 13 more
Published Feb 27, 2025
Tracked Since Feb 18, 2026