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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-02-27T02:07:23.746Z
- Modified: 2026-10-15T01:03:34.288Z
- Weaknesses: CWE-190
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4bdd449977e2364a53d0b2a5427e71beb1cd702d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b8583b54455cbec2fc038fa32b6700890b369815; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9bdee49ad6bbd26ab5e13cc6731e54fb1b6c1dca; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 352daa50946c3bbb662432e8daf54d6760796589; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d08f4074f9c69f7e95502587eb1b258a965ba7f0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e5338930a29d0ab2a5af402f5f664aeba0d1a676; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d640627663bfe7d8963c7615316d7d4ef60f3b0b; 2.6.12 (not affected: before 2.6.12; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 2.6.12 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## References

- <https://git.kernel.org/stable/c/4bdd449977e2364a53d0b2a5427e71beb1cd702d>
- <https://git.kernel.org/stable/c/b8583b54455cbec2fc038fa32b6700890b369815>
- <https://git.kernel.org/stable/c/9bdee49ad6bbd26ab5e13cc6731e54fb1b6c1dca> (patch)
- <https://git.kernel.org/stable/c/352daa50946c3bbb662432e8daf54d6760796589> (patch)
- <https://git.kernel.org/stable/c/d08f4074f9c69f7e95502587eb1b258a965ba7f0> (patch)
- <https://git.kernel.org/stable/c/e5338930a29d0ab2a5af402f5f664aeba0d1a676> (patch)
- <https://git.kernel.org/stable/c/d640627663bfe7d8963c7615316d7d4ef60f3b0b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2025-21711](https://www.cve.org/CVERecord?id=CVE-2025-21711), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21711](https://nvd.nist.gov/vuln/detail/CVE-2025-21711), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21711 · Whole record: https://cve.day/CVE-2025-21711.json · Rebuilt by cve.day 2026-11-25T22:58:54.484Z
