Linux Kernel IPv6 Segment Routing Constant-Time MAC Comparison Vulnerability

Vulnerability

A vulnerability in the Linux kernel's handling of IPv6 segment routing has been addressed by modifying the comparison of Message Authentication Codes (MACs) to be constant-time. This change is crucial for preventing timing attacks, which can exploit variations in processing time to infer information. The vulnerability was present in the stable versions of the Linux kernel.

Impact

The vulnerability could lead to timing attacks, where an attacker could potentially exploit the non-constant-time MAC comparison to gain unauthorized information or manipulate data.

Reproduction

The vulnerability can be reproduced by using a version of the Linux kernel that is prior to the fix. In this vulnerable state, the MAC comparison in the IPv6 segment routing HMAC validation process is not constant-time, allowing for timing attacks to be executed.

Remediation

Users can upgrade to the latest version of the Linux kernel to address this vulnerability. The specific commit that contains the fix is available in the Linux kernel stable tree.

Added: Sep 5, 2025, 7:41 PM
Updated: Sep 5, 2025, 7:41 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
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.