Servers and applications
CVE-2026-143186
nsh: limit recursion in nsh_gso_segment()
- Severity
- Unrated
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 6.12.120, 6.18.66, 7.3.7
- Sources
- CVE Program
Description
In the Linux kernel, the following vulnerability has been resolved:
nsh_gso_segment() calls skb_mac_gso_segment() for the inner packet, which calls nsh_gso_segment() again when the next protocol is NSH, either directly or behind an inner Ethernet header (ETH_P_TEB).
Nothing limits the depth: a GSO packet made of stacked 8-byte NSH headers recurses once per header, and a 64KB packet can hold about 8000 of them, overflowing the kernel stack.
Such a packet can be injected with a packet socket using PACKET_VNET_HDR, or with tun/tap or virtio_net, as nothing checks that a GSO packet with VIRTIO_NET_HDR_F_NEEDS_CSUM carries the protocol it claims. It is then segmented in software if the output device does not support the GSO type:
BUG: TASK stack guard page was hit at ffffcad5c0ab3ff8 (stack is ffffcad5c0ab4000..ffffcad5c0ab8000) Oops: stack guard page: 0000 [#1] SMP NOPTI CPU: 3 UID: 0 PID: 337 Comm: nsh_gso Tainted: G E 7.4.0-rc1+ #118 PREEMPT(lazy) RIP: 0010:lock_acquire…
Affected software
| Software | Affected versions |
|---|---|
Linux kernelServers and applications · cna:linux|linux |
|
Status in Debian
Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.
- 4 vulnerable
| Package | Debian release | Status |
|---|---|---|
| linux | sidunstable | VulnerableNo fix yet. |
| 14forkytesting | VulnerableNo fix yet. | |
| 13trixiestable | VulnerableNo fix yet. | |
| 12bookwormoldstable | VulnerableNo fix yet. |
From Debian's security tracker for CVE-2026-143186 , read in the last 12 hours.
About Linux kernel
Unix-like operating system kernel, basis for all Linux operating systems
- GitHub stars
- 257,106GitHub, 29 Nov 2026
- Forks
- 66,781GitHub, 29 Nov 2026
- Developer
- Linus TorvaldsWikidata
- License
- GNU General Public License, version 2.0Wikidata
- Written in
- CWikidata
- First released
- 25 Aug 1991Wikidata
- First published on GitHub
- 4 Sept 2011GitHub
Vulnerabilities in Linux kernel
- In our list
- 4,747
- Published in the last 12 months
- 4,747
- Critical, last 12 months
- 108
- High, last 12 months
- 669
- Known exploited
- 0
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packetsUnrated 3 Dec 2026
- CVE-2026-143400virtio_net: check RX buffer length before DMA syncUnrated 3 Dec 2026
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()Unrated 3 Dec 2026
- CVE-2026-143398Input: destroy force-feedback device on input unregistrationUnrated 3 Dec 2026
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transportsUnrated 3 Dec 2026
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-freeUnrated 3 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-143186