CVEvulnerability

CVE-2025-21711

5.5 MEDIUM Published 2025-02-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-02-27
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-190

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 configurations

• linux linux kernel (>= 2.6.12 < 6.1.129) • linux linux kernel (>= 6.2 < 6.6.76) • linux linux kernel (>= 6.7 < 6.12.13) • linux linux kernel (>= 6.13 < 6.13.2)

Related

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References