CVE-2026-139370

net: selftests: use skb_share_check() in the loopback receive hook

Published Nov 30, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: selftests: use skb_share_check() in the loopback receive hook

The loopback hook gets a shared skb when another ETH_P_IP handler is
bound to the device. skb_unshare() does not unshare it, so
skb_linearize() on a non-linear frame hits BUG_ON(skb_shared()).

Use skb_share_check() instead.

Analysis

AI-generated

Technical impact

The Linux kernel contains a flaw in the loopback receive hook where a shared sk_buff is improperly handled. When another ETH_P_IP handler is bound to the device, skb_unshare() fails to unshare the packet buffer, and subsequent linearization triggers a BUG_ON caused by the skb_shared flag. The bug does not allow arbitrary code execution but can cause the kernel to crash, resulting in a complete system reboot or lockup, which is a high‑severity denial‑of‑service impact. The vulnerability is purely a logic error in packet handling and does not expose data directly.

Affected Systems

All Linux kernel builds are affected, as the CPE lists the generic Linux kernel. The issue persists in every release that has not applied the commit that replaces skb_unshare() with skb_share_check() in the loopback hook. No specific vendor or product version is listed, so any system running an unpatched kernel is potentially vulnerable.

Risk and Exploitability

The CVSS score is not provided, but the bug can force a kernel panic, making it a severe availability threat. No exploit has been published (the KEV catalog does not list it), and the EPSS score is unavailable, so exploitation likelihood is unknown. The likely attack vector would involve an attacker who can generate or interpose packets on the loopback interface, such as a local user with network access or remote exploitation of services that manipulate loopback traffic. As no public exploits exist, immediate patching is still the most reliable defense.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update or patch that implements the skb_share_check change in the loopback receive hook as recommended by the upstream commit logs.
  • If an official kernel update is not yet available for your distribution, manually cherry‑pick or apply the patch from the commit that introduces skb_share_check and rebuild the kernel.
  • As a temporary mitigation, disable or remove any non‑essential ETH_P_IP handlers that are bound to the loopback interface to limit the exposure of shared sk_buffs.

Generated by OpenCVE AI on December 1, 2026 at 11:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-617
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-398
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: selftests: use skb_share_check() in the loopback receive hook The loopback hook gets a shared skb when another ETH_P_IP handler is bound to the device. skb_unshare() does not unshare it, so skb_linearize() on a non-linear frame hits BUG_ON(skb_shared()). Use skb_share_check() instead.
Title net: selftests: use skb_share_check() in the loopback receive hook
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:34 PM