Bug 2348552 (CVE-2025-21711) - CVE-2025-21711 kernel: net/rose: prevent integer overflows in rose_setsockopt()
Summary: CVE-2025-21711 kernel: net/rose: prevent integer overflows in rose_setsockopt()
Keywords:
Status: NEW
Alias: CVE-2025-21711
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-27 03:02 UTC by OSIDB Bzimport
Modified: 2025-02-27 18:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-27 03:02:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.