PT-2026-150591
CVE-2026-95823
·
Published
2026-11-18
·
Updated
2026-11-18
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
The product name cannot be determined. (affected versions not specified)
Description
An issue exists in the
tcp pkt linearize() function within subsys/net/ip/tcp.c, which is utilized by th get() when a received TCP header is not contiguous in a single net buf. The loop fails to detach the frags pointer before calling net buf unref() on an emptied fragment, causing subsequent payload buffers to be freed prematurely. This leads to a use-after-free condition and a subsequent double free during packet teardown. Additionally, the loop may unconditionally advance to second->frags, potentially splicing out fragments that still hold payload without unreferencing them, resulting in buffer leaks and data loss.This can be triggered via
tcp recv() and th get() by an unauthenticated TCP segment that causes the TCP header to straddle a net buf boundary. This can be achieved using IPv6 extension headers, such as a Destination Options header of a specific length, or through packet chains from IPv4/IPv6 reassembly, 6LoWPAN/802.15.4 reassembly, or specific drivers.Consequences include the exhaustion of the receive buffer pool (
CONFIG NET BUF RX COUNT), which prevents the device from receiving network traffic until a reboot. In cases where a fragment is emptied exactly, memory corruption may occur as freed pool buffers are written to, and their contents may be delivered to the application.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾