CVE-2025-21711

net/rose: prevent integer overflows in rose_setsockopt()

No CVSS score yet EPSS 0.23%

Published 27 Feb 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-21711

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21711 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 4bdd449977e2364a53d0b2a5427e71beb1cd702d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b8583b54455cbec2fc038fa32b6700890b369815
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9bdee49ad6bbd26ab5e13cc6731e54fb1b6c1dca
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 352daa50946c3bbb662432e8daf54d6760796589
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d08f4074f9c69f7e95502587eb1b258a965ba7f0
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e5338930a29d0ab2a5af402f5f664aeba0d1a676
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d640627663bfe7d8963c7615316d7d4ef60f3b0b
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.129 up to and including 6.1.*
unaffected from 6.6.76 up to and including 6.6.*
unaffected from 6.12.13 up to and including 6.12.*
unaffected from 6.13.2 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21711 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21711

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-21711
trivy image --scanners vuln IMAGE | grep CVE-2025-21711

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-21711 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.