Linux Kernel Signed Integer Overflow Vulnerability in IPv6 Data Handling

Vulnerability

A signed integer overflow vulnerability has been identified in the Linux kernel's IPv6 data handling, specifically within the '__ip6_append_data' function of the 'ip6_output.c' file. This vulnerability arises from the 'length' variable being incorrectly typed, allowing for an overflow that cannot be properly represented as an integer. The issue was detected by Undefined Behavior Sanitizer (UBSAN), which reported the overflow occurring when adding two values that exceeded the maximum limit of the 'int' type. The vulnerability is present in Linux kernel versions 5.16.0 and later.

Impact

Exploitation of this vulnerability could lead to integer overflow, potentially allowing for memory corruption or other unintended behavior in the kernel.

Reproduction

The vulnerability can be reproduced by sending a UDP packet over IPv6 with a payload size that causes the total length to exceed the maximum value representable by an integer. This can be done using network tools or programming scripts that manipulate packet sizes. The overflow will trigger a UBSAN warning, indicating the signed-integer-overflow error.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
0.0
relevance
0.0
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.