# CVE-2025-40281: sctp: prevent possible shift-out-of-bounds in sctp\_transport\_update\_rto

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-12-06T21:51:05.208Z
- **Modified:** 2026-10-15T19:10:00.173Z

## Who should check

- Anyone running Linux \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 0e0413e3315199b23ff4aec295e256034cd0a6e4; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 834e65be429c0fa4f9bb5945064bd57f18ed2187; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< abb086b9a95d0ed3b757ee59964ba3c4e4b2fc1a; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< d0d858652834dcf531342c82a0428170aa7c2675; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< ed71f801249d2350c77a73dca2c03918a15a62fe; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 1cfa4eac275cc4875755c1303d48a4ddfe507ca8; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< aaba523dd7b6106526c24b1fd9b5fc35e5aaa88d; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 1534ff77757e44bcc4b98d0196bc5c0052fce5fa
- Anyone running Linux 3.16

## Description

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

sctp: prevent possible shift-out-of-bounds in sctp\_transport\_update\_rto

syzbot reported a possible shift-out-of-bounds \[1\]

Blamed commit added rto\_alpha\_max and rto\_beta\_max set to 1000.

It is unclear if some sctp users are setting very large rto\_alpha
and/or rto\_beta.

In order to prevent user regression, perform the test at run time.

Also add READ\_ONCE() annotations as sysctl values can change under us.

\[1\]

UBSAN: shift-out-of-bounds in net/sctp/transport.c:509:41
shift exponent 64 is too large for 32-bit type 'unsigned int'
CPU: 0 UID: 0 PID: 16704 Comm: syz.2.2320 Not tainted syzkaller \#0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
 \<TASK\>
  \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
  dump\_stack\_lvl+0x16c/0x1f0 lib/dump\_stack.c:120
  ubsan\_epilogue lib/ubsan.c:233 \[inline\]
  \_\_ubsan\_handle\_shift\_out\_of\_bounds+0x27f/0x420 lib/ubsan.c:494
  sctp\_transport\_update\_rto.cold+0x1c/0x34b net/sctp/transport.c:509
  sctp\_check\_transmitted+0x11c4/0x1c30 net/sctp/outqueue.c:1502
  sctp\_outq\_sack+0x4ef/0x1b20 net/sctp/outqueue.c:1338
  sctp\_cmd\_process\_sack net/sctp/sm\_sideeffect.c:840 \[inline\]
  sctp\_cmd\_interpreter net/sctp/sm\_sideeffect.c:1372 \[inline\]

## Affected and fixed versions

- Linux: \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 0e0413e3315199b23ff4aec295e256034cd0a6e4; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 834e65be429c0fa4f9bb5945064bd57f18ed2187; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< abb086b9a95d0ed3b757ee59964ba3c4e4b2fc1a; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< d0d858652834dcf531342c82a0428170aa7c2675; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< ed71f801249d2350c77a73dca2c03918a15a62fe; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 1cfa4eac275cc4875755c1303d48a4ddfe507ca8; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< aaba523dd7b6106526c24b1fd9b5fc35e5aaa88d; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 1534ff77757e44bcc4b98d0196bc5c0052fce5fa (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

- Upgrade Linux to 1534ff77757e44bcc4b98d0196bc5c0052fce5fa or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40281. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40281.md
Affected: Linux >= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, < 0e0413e3315199b23ff4aec295e256034cd0a6e4; >= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, < 834e65be429c0fa4f9bb5945064bd57f18ed2187; >= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, < abb086b9a95d0ed3b757ee59964ba3c4e4b2fc1a; >= b58537a1f5629bdc98a8b9d…
Fixed in: Linux 0e0413e3315199b23ff4aec295e256034cd0a6e4, Linux 834e65be429c0fa4f9bb5945064bd57f18ed2187, Linux 1cfa4eac275cc4875755c1303d48a4ddfe507ca8, Linux 1534ff77757e44bcc4b98d0196bc5c0052fce5fa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40281 being exploited?

There is no confirmed exploitation: CVE-2025-40281 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40281?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40281?

Linux \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 0e0413e3315199b23ff4aec295e256034cd0a6e4; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 834e65be429c0fa4f9bb5945064bd57f18ed2187; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< abb086b9a95d0ed3b757ee59964ba3c4e4b2fc1a; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< d0d858652834dcf531342c82a0428170aa7c2675; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< ed71f801249d2350c77a73dca2c03918a15a62fe; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 1cfa4eac275cc4875755c1303d48a4ddfe507ca8; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< aaba523dd7b6106526c24b1fd9b5fc35e5aaa88d; \>= b58537a1f5629bdc98a8b9dc2051ce0e952f6b4b, \< 1534ff77757e44bcc4b98d0196bc5c0052fce5fa; Linux 3.16.

### Is there a fix for CVE-2025-40281?

Yes. Fixed in Linux 0e0413e3315199b23ff4aec295e256034cd0a6e4, Linux 834e65be429c0fa4f9bb5945064bd57f18ed2187, Linux 1cfa4eac275cc4875755c1303d48a4ddfe507ca8, Linux 1534ff77757e44bcc4b98d0196bc5c0052fce5fa. Upgrade Linux to 1534ff77757e44bcc4b98d0196bc5c0052fce5fa or later.

### How do I check if I'm affected by CVE-2025-40281?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0e0413e3315199b23ff4aec295e256034cd0a6e4>
- other: <https://git.kernel.org/stable/c/834e65be429c0fa4f9bb5945064bd57f18ed2187>
- other: <https://git.kernel.org/stable/c/abb086b9a95d0ed3b757ee59964ba3c4e4b2fc1a>
- other: <https://git.kernel.org/stable/c/d0d858652834dcf531342c82a0428170aa7c2675>
- other: <https://git.kernel.org/stable/c/ed71f801249d2350c77a73dca2c03918a15a62fe>
- other: <https://git.kernel.org/stable/c/1cfa4eac275cc4875755c1303d48a4ddfe507ca8>
- other: <https://git.kernel.org/stable/c/aaba523dd7b6106526c24b1fd9b5fc35e5aaa88d>
- other: <https://git.kernel.org/stable/c/1534ff77757e44bcc4b98d0196bc5c0052fce5fa>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40281>

HTML: <https://flawdb.com/CVE-2025-40281> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40281>
