Skip to content
High 7.5

Linux Kernelで負の TCPヘッダーオフセットによりメモリ外を読まれる脆弱性

CVE-2026-99636 First seen on SecPulse

Summary

Linux Kernelのqdisc_pkt_len_segs_init()で、TCPヘッダーのオフセットが負の値になると範囲外のメモリを読み取り、カーネルがクラッシュするおそれがあります。影響するのは6.6.160以降6.7未満、6.12.114以降6.12.118未満、7.0.10以降7.1未満、7.1.0以降7.3.5未満で、修正版は6.7、6.12.118、7.1、7.3.5です。修正版へのアップデートを進めてください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux Kernelのqdisc_pkt_len_segs_init()で、TCPヘッダーのオフセットが負の値になると範囲外のメモリを読み取り、カーネルがクラッシュするおそれがあります。影響するのは6.6.160以降6.7未満、6.12.114以降6.12.118未満、7.0.10以降7.1未満、7.1.0以降7.3.5未満で、修正版は6.7、6.12.118、7.1、7.3.5です。修正版へのアップデートを進めてください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.6.160, < 6.6.163→ 6.6.163
≥ 6.12.114, < 6.12.118→ 6.12.118
≥ 7.0.10, < 7.1→ 7.1
≥ 7.1.0, < 7.3.5→ 7.3.5

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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

net: reject a negative TCP header offset in qdisc_pkt_len_segs_init()

qdisc_pkt_len_segs_init() stores skb_transport_offset(), or the inner
offset, in the unsigned hdr_len. A header in front of skb->data gives a
negative offset. For an offset a little below zero, pskb_may_pull() gets a
small length and succeeds. Then a 64-bit kernel reads the TCP header far
after the skb and can crash. Further below zero pskb_may_pull() fails.

Commit 28a57fb2c5df ("net: iptunnel: fix stale transport header during
tunnel decapsulation") fixed one source of such offsets. Other code that
removes bytes from the front of a packet can leave the same stale header.

Return SKB_DROP_REASON_SKB_BAD_GSO for a negative offset in the TCP branch.
SKB_GSO_UDP_L4 and the other GSO types read no header and still get a wrong
qdisc_pkt_len(). On a 64-bit kernel only packets that cause the read after
the skb today get a new result. Then __dev_queue_xmit() drops them and
returns -EINVAL, but sch_handle_ingress() ignores the result. Their content
can be valid. Thus the code that leaves the header stale needs its own fix.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details