# CVE-2025-40204: sctp: Fix MAC comparison to be constant-time

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-11-12T21:56:35.110Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b93fa8dc521d00d2d44bf034fb90e0d79b036617; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0e8b8c326c2a6de4d837b1bb034ea704f4690d77; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1cd60e0d0fb8f0e62ec4499138afce6342dc9d4c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9c05d44ec24126fc283835b68f82dba3ae985209; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ed3044b9c810c5c24eb2830053fbfe5fd134c5d4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8019b3699289fce3f10b63f98601db97b8d105b0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0b32ff285ff6f6f1ac1d9495787ccce8837d6405; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dd91c79e4f58fbe2898dac84858033700e0e99fb; 2.6.12 (not affected: before 2.6.12; from 5.4.301 up to 5.4.*; from 5.10.246 up to 5.10.*; from 5.15.195 up to 5.15.*; from 6.1.157 up to 6.1.*; from 6.6.113 up to 6.6.*; from 6.12.54 up to 6.12.*; from 6.17.4 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/b93fa8dc521d00d2d44bf034fb90e0d79b036617>
- <https://git.kernel.org/stable/c/0e8b8c326c2a6de4d837b1bb034ea704f4690d77>
- <https://git.kernel.org/stable/c/1cd60e0d0fb8f0e62ec4499138afce6342dc9d4c>
- <https://git.kernel.org/stable/c/9c05d44ec24126fc283835b68f82dba3ae985209>
- <https://git.kernel.org/stable/c/ed3044b9c810c5c24eb2830053fbfe5fd134c5d4>
- <https://git.kernel.org/stable/c/8019b3699289fce3f10b63f98601db97b8d105b0>
- <https://git.kernel.org/stable/c/0b32ff285ff6f6f1ac1d9495787ccce8837d6405>
- <https://git.kernel.org/stable/c/dd91c79e4f58fbe2898dac84858033700e0e99fb>

## Sources

- CVE List: [CVE-2025-40204](https://www.cve.org/CVERecord?id=CVE-2025-40204), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-40204](https://nvd.nist.gov/vuln/detail/CVE-2025-40204), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40204 · Whole record: https://cve.day/CVE-2025-40204.json · Rebuilt by cve.day 2026-11-25T22:59:07.601Z
