CVE-2025-40281

EUVD-2025-201574
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]
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 8%
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
SiemensRUGGEDCOM RST2428P
𝑥
< V4.0
ADP
Debian logo
Debian Releases
Debian Product
Codename
linux
bookworm
6.1.170-3
fixed
bookworm (security)
6.1.176-1
fixed
bullseye
vulnerable
bullseye (security)
5.10.259-1
fixed
forky
7.0.13-1
fixed
sid
7.0.14-1
fixed
trixie
6.12.86-1
fixed
trixie (security)
6.12.94-1
fixed
linux-6.1
bullseye (security)
6.1.174-1~deb11u1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
bpftool
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
bpftool-debuginfo
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
bpftool6.12
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
bpftool6.12-debuginfo
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-debuginfo
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-debuginfo-common-aarch64
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-debuginfo-common-x86_64
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-devel
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-headers
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-libbpf
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-libbpf-debuginfo
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-libbpf-devel
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-libbpf-static
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-livepatch-6.1.159-181.297
Amazon Linux 2023
1:1.0-0.amzn2023
fixed
kernel-livepatch-6.12.63-84.121
Amazon Linux 2023
1:1.0-0.amzn2023
fixed
kernel-modules-extra
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-modules-extra-common
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-tools
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-tools-debuginfo
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel-tools-devel
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
kernel6.12
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-debuginfo
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-debuginfo-common-aarch64
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-debuginfo-common-x86_64
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-devel
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-headers
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-libbpf
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-libbpf-debuginfo
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-libbpf-devel
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-libbpf-static
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-modules-extra
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-modules-extra-common
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-tools
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-tools-debuginfo
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
kernel6.12-tools-devel
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
perf
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
perf-debuginfo
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
perf6.12
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
perf6.12-debuginfo
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
python3-perf
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
python3-perf-debuginfo
Amazon Linux 2023
1:6.1.159-181.297.amzn2023
fixed
python3-perf6.12
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
python3-perf6.12-debuginfo
Amazon Linux 2023
1:6.12.63-84.121.amzn2023
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
kernel
Azure Linux 3.0
0:6.6.117.1-1.azl3
fixed