CVE-2026-99725

cipso: fix optlen corruption in cipso_v4_delopt()

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

cipso: fix optlen corruption in cipso_v4_delopt()

cipso_v4_delopt() recomputes the option length by walking the option buffer after the CIPSO option has been moved out. The walk then reads the stale bytes at the tail of the buffer as option data, and a crafted setsockopt(IP_OPTIONS) buffer can make it treat one of them as an option length, increasing opt->opt.optlen beyond the valid option data.

The corrupted length stays on the socket and is later used as the copy length by getsockopt(IP_OPTIONS) and by the udp/raw/ping sendmsg paths, where it exceeds the size of the buffers they copy into.

Compute the new length from the intact options before the move and subtract the CIPSO length, and fill the padding with IPOPT_END.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 014ab19a69c325f52d7bae54ceeda73d6307ae0c to before 699141380f7f249b7ee594198d9bea6bcd4862eaAffected
  • 014ab19a69c325f52d7bae54ceeda73d6307ae0c to before 4077bd2bcebf43922f84aa87f6839153212df509Affected
  • 014ab19a69c325f52d7bae54ceeda73d6307ae0c to before 0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7Affected
  • 014ab19a69c325f52d7bae54ceeda73d6307ae0c to before 1f1f8e8c5176234fa31858cd25f2e9b88aac0a45Affected
LinuxLinux
  • 2.6.28Affected
  • before 2.6.28Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.