CVE-2025-21711

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
27/02/2025
Last modified:
03/11/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 2.6.12 (including) 6.1.129 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.76 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.13 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.2 (excluding)