Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99725

published high CVSS 3.1 · 7.0

cipso: fix optlen corruption in cipso_v4_delopt()

Published
20 Nov 2026, 05:51:01 UTC
Updated
22 Nov 2026, 11:09:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 699141380f7f249b7ee594198d9bea6bcd4862ea · 014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 4077bd2bcebf43922f84aa87f6839153212df509 · 014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7 · 014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 1f1f8e8c5176234fa31858cd25f2e9b88aac0a45 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.28 (affected) · 0 to < 2.6.28 (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Debian trixie linux Advisory build 6.12.118-1 DSA-6652-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - do_ip_setsockopt(IP_OPTIONS) installs the caller's buffer via ip_options_get() on inet_opt; cipso_v4_delopt() then memmoves the CIPSO option out and cipso_v4_get_actual_opt_len() treats a stale tail byte of that buffer as an option length. On-wire options saved by tcp_v4_save_options() are rebuilt by __ip_options_echo() with CIPSO last, so a remote SYN does not supply the length byte that inflates opt.optlen. AC:H - netlbl_sock_delattr() corrupts a userspace IP_OPTIONS buffer in NLBL_REQSKB: netlbl_sock_setattr() returned -EDESTADDRREQ for ADDRSELECT, and selinux_netlbl_socket_setsockopt() blocks IP_OPTIONS once NLBL_LABELED. connect(AF_UNSPEC) calls selinux_netlbl_socket_connect_helper(). Smack does this from smack_netlbl_delete() only for a smk_net4addr_list host. cipso_v4_validate() needs a DOI and that map, both GENL_ADMIN_PERM in init_user_ns. PR:L - ip_options_compile() accepts a userspace IPOPT_CIPSO option when ns_capable(net->user_ns, CAP_NET_RAW) is true, which holds for the owner of a user namespace that owns the socket's netns. UI:N - The attacker calls setsockopt(IP_OPTIONS) and then connect(AF_UNSPEC), which selinux_netlbl_socket_connect_helper() turns into netlbl_sock_delattr() when nlbl_state is NLBL_REQSKB. S:U - The inflated opt.optlen is consumed inside the caller's kernel, by do_ip_getsockopt(), udp_sendmsg(), raw_sendmsg(), ping_v4_sendmsg(), and ip_setup_cork(), the same security authority as the socket. C:H - do_ip_getsockopt(IP_OPTIONS) memcpy()s sizeof(struct ip_options)+opt.optlen out of an inet_opt that ip_options_get() allocated with at most 40 bytes of __data, then copy_to_sockptr() returns min(user length, opt.optlen) bytes of opt->__data to the caller. cipso_v4_get_actual_opt_len() adds a stale data[iter+1] (u8, up to 255) and stores the result in the unsigned char optlen, so the copy reads on the order of 200 bytes past the allocation. I:H - udp_sendmsg(), raw_sendmsg(), and ping_v4_sendmsg() memcpy socket options into a DEFINE_RAW_FLEX buffer of IP_OPTIONS_DATA_FIXED_SIZE (40) using opt.optlen as the added length, and ip_setup_cork() memcpy()s that length into kmalloc(sizeof(struct ip_options)+40). optlen above 40 is an out-of-bounds write of up to about 215 bytes on that stack frame and that heap object. A:H - Those copies overwrite the stack past the 40-byte option tail in do_ip_getsockopt() and the sendmsg paths. On a TCP socket, cipso_v4_sock_delattr() skips the icsk_ext_hdr_len update when hdr_delta is negative, so a later skb_push() in __ip_queue_xmit() uses the inflated optlen against headroom reserved for the original length and faults.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 699141380f7f249b7ee594198d9bea6bcd4862ea (affected · git)014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 4077bd2bcebf43922f84aa87f6839153212df509 (affected · git)014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7 (affected · git)014ab19a69c325f52d7bae54ceeda73d6307ae0c to < 1f1f8e8c5176234fa31858cd25f2e9b88aac0a45 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.28 (affected)0 to < 2.6.28 (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

cipso: fix optlen corruption in cipso_v4_delopt()

Provenance

Schema
5.2
Searchable
yes
Content hash
8fcf90b12f79c8aa1379a8bf315f543976599a5bee57a9662f7d654d4c60bd08
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected