CVE-2026-142896

Not scored yetLast modified Dec 3, 2026

Description

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

tls: avoid field-spanning write when copying crypto info

do_tls_setsockopt_conf() copies the cipher-specific part of the crypto info to crypto_info + 1, where crypto_info points at the 4-byte info member of union tls_crypto_context. When optval is a kernel sockptr, copy_from_sockptr_offset() is a memcpy(), and FORTIFY_SOURCE bounds the destination by that member:

[ 6.948348] memcpy: detected field-spanning write (size 52) of single field "dst" at include/linux/sockptr.h:49 (size 0) [ 6.948480] WARNING: include/linux/sockptr.h:49 at tls_setsockopt+0x9b2/0xa30, CPU#1: init/1 [ 7.001355] Call Trace: [ 7.003146] do_sock_setsockopt+0xb0/0x190 [ 7.003975] __sys_setsockopt+0x76/0xc0 [ 7.005368] do_syscall_64+0xda/0x4b0

tls_setsockopt() gets a kernel sockptr whenever a cgroup setsockopt BPF program is attached, even one that leaves the option alone, because __cgroup_bpf_run_filter_setsockopt() passes optval on in a kernel buffer. With a no-op program on the root cgroup, a plain TLS_TX setsockopt() with AES-GCM-256 triggers the warning above on an x86_64 build with CONFIG_FORTIFY_SOURCE.

Copy into the union at offset sizeof(struct tls_crypto_info) instead. crypto_ctx already points at the right union for both the first set and the TLS 1.3 rekey (tmp) case, and the address is unchanged.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= a7b75c5a8c41445f33efb663887ff5f5c3b4454b, < b92cd530e692fceff6c40187c700e94033fe5f9c; >= a7b75c5a8c41445f33efb663887ff5f5c3b4454b, < 202c9cb2130528f0ce9845b0f04879ee75d78a3c; >= a7b75c5a8c41445f33efb663887ff5f5c3b4454b, < c72fbed869f9fc1048323d6b90c462c4e14d95c2; >= a7b75c5a8c41445f33efb663887ff5f5c3b4454b, < 7a55f31d959668bcc072e33b2e6ae3313f21d600; >= a7b75c5a8c41445f33efb663887ff5f5c3b4454b, < 69bb302af0ee1b570a49689970367ccfee406b1c; >= a7b75c5a8c41445f33efb663887ff5f5c3b4454b, < c43c1c24f3cdc0d2d3f59e5686573ac3129637aa
LinuxLinux5.9

References

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142897In the Linux kernel, the following vulnerability has been resolved: net: pse-pd: si3474: fix use-after-free in ancillary client error path CVE-2026-142898In the Linux kernel, the following vulnerability has been resolved: ibmveth: step past bad RX correlators instead of spinning or oopsing iCVE-2026-142899In the Linux kernel, the following vulnerability has been resolved: fuse: validate folio state before pipe_buf_try_steal() in fuse_try_moveCVE-2026-14295.4Single Sign-On Portal System developed by WellChoose has a Reflected Cross-site Scripting vulnerability, allowing authenticated remote attacCVE-2026-142906.8The Embed Google Photos album WordPress plugin through 2.2.1 does not escape a shortcode attribute value before outputting it inside an HTMLCVE-2026-142900In the Linux kernel, the following vulnerability has been resolved: HID: wacom: fix wacom_intuos_irq NULL pen_input deref Currently, wacomCVE-2026-142901In the Linux kernel, the following vulnerability has been resolved: HID: logitech-hidpp: cancel reset_hi_res_work on probe failure The proCVE-2026-142902In the Linux kernel, the following vulnerability has been resolved: HID: asus: document and harden the worker teardown asus_work() executeCVE-2026-142903In the Linux kernel, the following vulnerability has been resolved: ALSA: vmaster: Protect follower lookup and setup A control selected byCVE-2026-142904In the Linux kernel, the following vulnerability has been resolved: veth: clear rx queue hint in veth_xmit With more tx queues on one end CVE-2026-142905In the Linux kernel, the following vulnerability has been resolved: net: stmmac: selftests: use skb_share_check() in the loopback receive hCVE-2026-142906In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Reject quality report requests during unregister A qu
CVE-2026-142896: Unscored | Vulnix