All reports
Medium

kernel: sctp: Fix MAC comparison to be constant-time

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40204

Probability of exploitation in the next 30 days: 0.47%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: Fix MAC comparison to be constant-time To prevent timing attacks, MACs need to be compared in constant time. Use the appropriate helper function for this.

A flaw was found in the Linux kernel's Stream Control Transmission Protocol (SCTP) implementation. Message Authentication Codes (MACs) are evaluated using standard non-constant-time comparisons rather than constant-time operations. A remote attacker could exploit this timing side-channel vulnerability by measuring slight differences in response times to infer authentication data, resulting in information disclosure.