public inbox for [email protected]
 help / color / mirror / Atom feed
This is experimental automated Linux kernel CVE triage research. Results are heuristic and may be incorrect. This site is not an official vendor advisory or severity source.
* [CVE-2026-99751][MODERATE REGULAR] bpf: Fix skb_pull() BUG in __bpf_redirect_neigh() [ Upstream commit 23503acb214cbefaf3945d05ab9667ff11ae3de9 ]
@ 2026-11-22  0:04 AL-KERNEL
  0 siblings, 0 replies; only message in thread
From: AL-KERNEL @ 2026-11-22  0:04 UTC (permalink / raw)
  To: kernel-cve

CVE: CVE-2026-99751
Priority: MODERATE REGULAR
AL-KERNEL base severity: MODERATE
KPANIC flag: NO
Patch: bpf: Fix skb_pull() BUG in __bpf_redirect_neigh() [ Upstream commit 23503acb214cbefaf3945d05ab9667ff11ae3de9 ]
Commit: a725401dd629c6fdda47e3a02efed539ac0ed6d0
Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a725401dd629c6fdda47e3a02efed539ac0ed6d0
Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99751
Analysis date: Sat, 21 Nov 2026 20:04:37 -0400
ActionableScore: 2
ActionableScore lower bound: unknown
Actionable bucket: Ordinary Moderate
Manual review required: NO

Summary:
A privileged BPF/tc path can construct a short non-linear skb that triggers an `skb_pull()` BUG and invalid IP-header reads, causing a host panic without a demonstrated write or disclosure primitive.

======================================================================
ABOUT THIS REPORT
======================================================================

The original Linux kernel CVE announcement for CVE-2026-99751 is available here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99751

The original announcement does not normally provide a security severity
estimate, CVSS assessment, or enough information to determine whether the
reported kernel bug represents a practically relevant security issue.

This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin. It combines
an autonomous classifier with LLM-assisted technical analysis and a
separate ActionableScore mechanism.

The purpose of this report is to prioritize Linux kernel CVEs before
manual review, identify cases that require prompt investigation, and
support automatic closure of issues that are unlikely to have meaningful
security impact.

Published priority for this report: MODERATE REGULAR
Manual review required: NO

A detailed explanation of the methodology and priority rules is included
at the end of this message.

======================================================================
AL-KERNEL CLASSIFICATION RESULT
======================================================================

CVE-2026-99751	MODERATE	https://www.kernelcve.org/list/?q=CVE-2026-99751 CHECK WITH IMPACT FROM ORIG NN MODERATE | AEGIS IMPACT MODERATE AEGIS_AS=0 LEGACY=MODERATE RESULT=SAME (final reconciliation agrees; DECISION: both MODERATE)	Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H';*CWE-20;CWE-125;CWE-754;Other CVSS 'AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H';BEST CVSS score: '5.5';DESCR 'A privileged SCHED_ACT BPF program can create an skb with a one byte MAC span and invoke bpf_redirect_neigh, causing skb_pull(ETH_HLEN) to hit a kernel BUG and potentially panic the host. The IPv4 and IPv6 paths can also read header fields beyond the linear skb area when the network header remains in fragments, but there is no supported arbitrary write or direct information disclosure primitive. For the CVSS the PR:L value is used for the paranoid vector because the required BPF and network capabilities may be delegated to a container or restricted service account, while the base vector uses PR:H for the documented root controlled setup. The issue is locally triggered and is not directly reachable through ordinary network traffic. Automated impact decision path. The original SimpleNet classifier selected MODERATE. The primary LLM estimated paranoid CVSS 5.5 and the production ActionableScore returned 2 with recommendation Ordinary Moderate. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. No severity changing production threshold or specialist override was recorded. The legacy KP specialist has no review artifact for this run. The legacy FD or DH downgrade specialist has no review artifact for this run. The independent weaker Aegis shadow evaluated CVSS 4.4 and ActionableScore 0 with primitive class CLASS_C and manual review REQUIRED. Its independently reconciled impact was MODERATE. The shadow agreed with the final production impact and aggregation did not change that impact. The final reported impact is MODERATE.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Ordinary Moderate (with actual score 2)	MAYBE	REMOTE BPF LEAK SKB LINUS TEST QDISC IPV6 PACKET 	-	-	checked

======================================================================
ACTIONABLESCORE ANALYSIS
======================================================================

ActionableScore=2
PrimitiveClass=CLASS_C
RealUAF=NO
HostAdminRequired=UNKNOWN
NamespaceScopedPrivilege=UNKNOWN
ImportantCandidate=NO
ManualReview=RECOMMENDED
AutoDowngradeAllowed=YES
RequiresHostUID0=UNKNOWN
AuthorizationDecisionBypass=NO
ProtectedResourceImpact=NONE
B4PendingReview=NO
B4PendingConfirmed=NO

1. ActionableScore

* Raw base score: 2.
* Conservative score: 2; no floor or cap applied.
* Raw paranoid score: 2.
* Paranoid score: 2; delegated or namespace-scoped privilege is not sufficiently established for an additional reachability point.
* Final recommended bucket: **Ordinary Moderate**::

2. Signal breakdown

* +1 weak invalid/OOB read concern: IPv4/IPv6 route lookup can read header fields past `skb->tail` when the header remains non-linear. No disclosure path or useful corrupt sink is shown.
* +1 reliable kernel crash/strong DoS: pulling `ETH_HLEN` from the crafted short skb reaches the documented `__skb_pull()` BUG and host panic.
* No privilege penalty: the demonstrated setup uses root with BPF, network-administration, and raw-packet privileges, but the evidence does not prove host-admin-equivalent privilege is invariably required.
* No additional availability point: it would duplicate the same panic.
* No write, UAF, controlled reclaim, arbitrary access, or confidentiality/integrity effect is shown.
* B5-R does not apply: there is no retry-accumulated heap OOB write or later consumption of corrupted written state.
* B3-PENDING does not apply: no shared-backing write occurs.
* No authorization decision changes from DENY to ALLOW, so B4-PENDING is inapplicable.

3. Reachability analysis

The complete demonstrated trigger uses a privileged SCHED_ACT BPF program, tc/VLAN configuration, and an AF_PACKET raw socket. Ordinary network packets cannot independently create the malformed skb metadata. The reproducer runs as root, but UID 0 is not proven technically mandatory, and the supplied evidence does not establish that all BPF load, attach, netdevice, and raw-socket operations work within an attacker-created namespace. Thus both effective host-admin and namespace-scoped reachability remain unknown. No race is required.

4. Primitive and severity reading

The shown primitive is malformed, non-linear skb consumption causing a bounds BUG, plus invalid reads of IPv4/IPv6 header fields beyond the linear region. This is CLASS_C crash/invalid-state behavior, not memory corruption by write. The fix validates the MAC span and linearizes both Ethernet and IP headers before use. Important-grade leverage past panic is not shown, so `ImportantCandidate=NO` and automatic Moderate downgrade remains allowed.

5. One-sentence report phrase

A privileged BPF/tc path can construct a short non-linear skb that triggers an `skb_pull()` BUG and invalid IP-header reads, causing a host panic without a demonstrated write or disclosure primitive.

6. Manual review advice

MANUAL CHECK RECOMMENDED

Confirm product-specific BPF, tc, raw-socket, and namespace privilege boundaries before final disposition.

7. Call-site confidence

Call-site confidence: high

======================================================================
UPSTREAM PATCH SUMMARY
======================================================================

Patch: bpf: Fix skb_pull() BUG in __bpf_redirect_neigh() [ Upstream commit 23503acb214cbefaf3945d05ab9667ff11ae3de9 ]
Commit: a725401dd629c6fdda47e3a02efed539ac0ed6d0
Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a725401dd629c6fdda47e3a02efed539ac0ed6d0

Commit description:

The issue:
This is a follow-up to the short link-layer header fixes from Eric.
After vlan pop_eth, a privileged SCHED_ACT BPF program can call
bpf_skb_change_head(skb, 1, 0) and then bpf_redirect_neigh().

__bpf_redirect_neigh() calls skb_pull(skb, sizeof(*ethh)) after checking
only that mac_header < network_header.  Nothing verifies that the MAC
header is long enough, that it is linear, or that the IP header the
redirect goes on to read is linear either.

A SCHED_ACT BPF program can do:

    bpf_skb_change_head(skb, 1, 0);
    bpf_redirect_neigh(lo, NULL, 0, 0);

after vlan pop_eth.  The skb then has mac_len == 1 and only one byte of
linear data; skb_pull(ETH_HLEN) trips the skb->len < skb->data_len BUG in
__skb_pull():

    kernel BUG at ./include/linux/skbuff.h:2839!
    RIP: skb_pull+0x40/0x50
    Call Trace: skb_do_redirect -> packet_xmit -> packet_sendmsg
    Kernel panic - not syncing: Fatal exception in interrupt

The v4 and v6 paths read ip_hdr() and ipv6_hdr() as soon as the MAC
header is gone.  On the AF_PACKET frame below that leaves headlen == 0
after the pull, so the network header sits at skb->tail and the route
lookup reads ip4h->protocol, ip4h->saddr and ip4h->daddr past the linear
area.

The Fix:
Use skb_network_offset(), which is the MAC header span, instead of
skb->mac_len.  mac_len is zero for locally generated tc egress and netkit
packets, while the span still rejects the one-byte header produced by
pop_eth + bpf_skb_change_head(skb, 1, 0).  The single check also covers
the mac_header >= network_header test it replaces.

Use pskb_may_pull() to make the Ethernet header linear before it is read
or pulled, and to make the IP header linear in both the v4 and the v6
path before ip_hdr()/ipv6_hdr() is read.  The header pointers are taken
after the pull, since pskb_may_pull() may reallocate skb->head.

Conditions to recreate the bug:
On x86-64 with 4 KiB pages, enable CONFIG_PACKET, CONFIG_BPF_SYSCALL,
CONFIG_NET_SCH_INGRESS, CONFIG_NET_CLS_MATCHALL, CONFIG_NET_ACT_VLAN and
CONFIG_NET_ACT_BPF.  Run as root with BPF loading, network administration
and raw-packet privileges.  Bring lo up and attach a SCHED_ACT program
that calls bpf_skb_change_head(skb, 1, 0), then returns
bpf_redirect_neigh(skb->ifindex, NULL, 0, 0):

  ip link set lo up
  tc qdisc add dev lo clsact
  tc filter add dev lo egress matchall action vlan pop_eth pipe \
      action bpf object-file neigh_chghead.o section action

Send an untagged ETH_P_IP frame of ETH_HLEN + 8192 bytes through an
AF_PACKET/SOCK_RAW socket bound to lo, without PACKET_VNET_HDR or
PACKET_QDISC_BYPASS.  Use a unicast destination MAC.  The sender's skb
has a 14-byte linear Ethernet prefix and a fragmented payload; pop_eth
removes that prefix and change_head restores only one linear byte.
The unfixed neighbor redirect then tries to pull 14 bytes and BUGs.

Sending the same frame without pop_eth and change_head leaves the IP
header in the frags, which is the route lookup reading past skb->tail.

Fixes: b4ab31414970 ("bpf: Add redirect_neigh helper as redirect drop-in")
Signed-off-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Victor Nogueira <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/netdev/[email protected]/
Link: https://lore.kernel.org/all/2a0f5ff1d8db81b07fc4b344b8e68e3505fcbf36f72a471d1678b2f1cecd881b@mail.kernel.org/
Link: https://lore.kernel.org/netdev/[email protected]/
Link: https://patch.msgid.link/bpf_redirect_neigh_short_linear.v3.r0.20261031153053-1@mojatatu.com
Signed-off-by: Sasha Levin <[email protected]>
Diffstat -rw-r--r-- net/core/filter.c 21

Changed files:
  include/linux/skbuff.h
  net/core/filter.c

Diff excerpt:

Not included in this email. See the upstream URL for the full patch.

Full patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a725401dd629c6fdda47e3a02efed539ac0ed6d0

======================================================================
DETAILED REPORT METHODOLOGY
======================================================================

The original Linux kernel CVE announcement for CVE-2026-99751 can be found here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99751

The original CVE announcement normally does not include a security-level
estimate. In particular, it may not contain a CVSS assessment, an impact
level, or enough information to determine whether the reported bug is a
practically relevant security issue. One purpose of this parallel CVE list
is to provide that missing technical and prioritization information.

The original goal of the AL-KERNEL project was to prioritize Linux kernel
CVE analysis automatically before manual review. The system can also help
identify non-security issues that may be suitable for automatic closure.

This report was generated by AL-KERNEL, an AI-assisted Linux kernel
vulnerability analysis system developed by Alexander Larkin.

The first analysis stage combines an autonomous classifier with additional
LLM-based analysis. The autonomous classifier runs locally on a CPU and is
based on a backpropagation neural network. Together, these mechanisms
produce a technical vulnerability description, identify likely weakness
types, estimate CVSS severity, and provide input for ActionableScore.

Two CVSS estimates are retained because incomplete kernel vulnerability
information often permits more than one defensible interpretation:

  Conservative CVSS vector: AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
  The Best / paranoid CVSS vector: AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  The Best / paranoid CVSS score: 5.5

The conservative vector represents a lower-impact interpretation.
The Best/paranoid vector intentionally represents a plausible upper-bound
interpretation and should not automatically be treated as demonstrated
real-world impact.

CVSS may also need to be adjusted for a particular Linux deployment,
because actual reachability, privileges, enabled kernel configuration,
hardware, namespaces, exposed device nodes, and other environmental
conditions can differ significantly between systems.

A separate ActionableScore mechanism evaluates practical remediation
urgency. Its analysis may include reachability, attack prerequisites,
subsystem exposure, memory-corruption characteristics, denial-of-service
reliability, and possible confidentiality, integrity, or
privilege-escalation impact.

  Conservative ActionableScore: unknown
  Paranoid ActionableScore: 2

The final base severity is taken directly from the second tab-separated
field of the AL-KERNEL classification result. ActionableScore does not
replace or independently override that final AL-KERNEL decision, and
if ActionableScore adjusted impact level of ALKERNEL, then you would see
self-readable flags above like INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHEREQTHAN7.

For an AL-KERNEL result of MODERATE, this report uses the following
additional presentation split:

  ActionableScore below 5   -> MODERATE REGULAR
  ActionableScore 5 or more -> MODERATE 7.0

The distinction between MODERATE REGULAR and MODERATE 7.0 makes it
possible to identify Moderate issues that should receive manual analysis
and fixes before lower-priority MODERATE REGULAR issues. In many cases,
MODERATE REGULAR fixes may wait for a later rebase or routine update.

There is one override in which MODERATE REGULAR becomes MODERATE 7.0
even when the ActionableScore is below 5. When the AL-KERNEL result
contains the KPANIC flag, a MODERATE result is always presented as
MODERATE 7.0. The KPANIC flag selected with few regexps without
usage of AI at all, so it helps to detect cases when Kernel Crash happens
and similar (to filter False-Negative results from the LLM usage).

KPANIC indicates that a reliable kernel crash, kernel panic, or similarly
serious kernel availability impact was identified by the classification
workflow.

AL-KERNEL base severity for this report: MODERATE
KPANIC detected for this report: NO
Published priority for this report (same as in Subject): MODERATE REGULAR

These results are intended to support engineering triage. They are
machine-generated estimates, and cases marked for manual review should
be validated by a human security engineer before final disposition.
For more info read docs linked from here: https://kernelcve.org/
(and you can submit you own patch there to generate such a report
for non-existant CVE-id yet).

Note that in many cases this AI tool selects higher severity, than
real is (means you can expect Importants instead of Moderate 7.0 or
Moderates 7.0 instead of regular Moderates). If you see such cases,
please use reply email interface to add additional manual analyses
info to this particular CVE.
And please, please, let me know when you see Lows instead of Importants
or Important instead of Low (because particular for such cases I
need to tune this AI tool to make it better for this one and next similar).
My contact email for such notifications is [email protected] (and both
send reply to CVE record itself too and see "reply" button below for howto reply).

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-22  0:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-22  0:04 [CVE-2026-99751][MODERATE REGULAR] bpf: Fix skb_pull() BUG in __bpf_redirect_neigh() [ Upstream commit 23503acb214cbefaf3945d05ab9667ff11ae3de9 ] AL-KERNEL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox