Linux Kernel SCTP IPv6 Handling Vulnerability Allows Undefined Behavior

Vulnerability

A vulnerability in the Linux kernel's handling of SCTP over IPv6 has been identified, where the 'sin6_scope_id' was not properly initialized. This oversight led to undefined behavior. The issue was discovered by syzbot, which reported a use of an uninitialized value in the function '__sctp_v6_cmp_addr'. The vulnerability arises in the SCTP implementation within the 'net/sctp/ipv6.c' file.

Impact

The vulnerability could lead to undefined behavior in the SCTP implementation, potentially causing incorrect handling of network addresses or disrupting normal communication processes.

Reproduction

The vulnerability can be reproduced by creating an SCTP socket and binding it to an IPv6 address without properly initializing the 'sin6_scope_id' and 'sin6_flowinfo' fields. This can be done by using the 'sctp_inet6_cmp_addr' function, which compares SCTP addresses but relies on these fields being correctly set. The uninitialized values can then cause unexpected behavior, such as address binding conflicts or errors in the SCTP communication.

Remediation

Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for downloading the patched version can be found on the official Linux kernel website.

Added: Sep 16, 2025, 4:10 PM
Updated: Sep 16, 2025, 4:10 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.