CVE-2025-21711: net/rose: prevent integer overflows in rose_setsockopt()

Published Feb 27, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/rose: prevent integer overflows in rosesetsockopt()

In case of possible unpredictably large arguments passed to rosesetsockopt() 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 ROSEIDLE case.

Affected Software

10 affected componentsFixes available
Linux Kernel
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
Microsoft cbl2 kernel 5.15.182.1-1
Microsoft azl3 kernel 6.6.78.1-3<6.6.78.1-3
6.6.78.1-3
Microsoft cbl2 kernel 5.15.179.1-1<5.15.179.1-1
5.15.179.1-1
Microsoft azl3 kernel 6.6.64.2-9<6.6.78.1-3
6.6.78.1-3
Microsoft cbl2 kernel 5.15.182.1-1<5.15.179.1-1
5.15.179.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.78.1-3
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 5.15.179.1-1
  3. Compensating control

    Apply the Linux kernel fix for net/rose by updating the kernel so rose_setsockopt() prevents integer overflows (e.g., by checking the size/contents of 'opt' and returning -EINVAL when they are too large) rather than allowing unpredictably large arguments in the ROSE_IDLE case.

Event History

Feb 27, 2025
CVE Published
via MITRE·02:07 AM
Data Sourced
via MITRE·02:07 AM
Description
Data Sourced
via NVD·02:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 14, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Description
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-21711?

CVE-2025-21711 has a moderate severity level due to potential integer overflows in the Linux kernel's rose_setsockopt() function.

2

How do I fix CVE-2025-21711?

To fix CVE-2025-21711, users should update their Linux kernel to the latest available version that includes the security patch.

3

What are the consequences of CVE-2025-21711?

Exploiting CVE-2025-21711 can lead to system instability or crashes due to integer overflow vulnerabilities.

4

Which versions of the Linux kernel are affected by CVE-2025-21711?

CVE-2025-21711 affects multiple versions of the Linux kernel, specifically from 2.6.12 to 6.1.129, 6.2 to 6.6.76, 6.7 to 6.12.13, and 6.13 to 6.13.2.

5

What components of the Linux kernel are impacted by CVE-2025-21711?

The CVE-2025-21711 vulnerability specifically impacts the net/rose component of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203