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-99801][IMPORTANT] io_uring/bpf-ops: clear bpf_ctx while submitting SQEs
@ 2026-11-21  2:09 AL-KERNEL
  0 siblings, 0 replies; only message in thread
From: AL-KERNEL @ 2026-11-21  2:09 UTC (permalink / raw)
  To: kernel-cve

CVE: CVE-2026-99801
Priority: IMPORTANT
AL-KERNEL base severity: IMPORTANT
KPANIC flag: NO
Patch: io_uring/bpf-ops: clear bpf_ctx while submitting SQEs
Commit: 521861b17a107875c884df9474e7746617f256d5
Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=521861b17a107875c884df9474e7746617f256d5
Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99801
Analysis date: Fri, 20 Nov 2026 22:09:38 -0400
ActionableScore: 7
ActionableScore lower bound: unknown
Actionable bucket: Strong Important candidate
Manual review required: YES

Summary:
Unprivileged io_uring SQEs can inherit a trusted BPF context, bypass socket capability and locking checks, modify restricted socket state, and trigger a concurrent IP_OPTIONS double free.

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

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

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: IMPORTANT
Manual review required: YES

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

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

CVE-2026-99801	IMPORTANT	https://www.kernelcve.org/list/?q=CVE-2026-99801 CHECK WITH IMPACT FROM ORIG NN LOW | AEGIS IMPACT MODERATE_KPANIC AEGIS_AS=5 LEGACY=IMPORTANT RESULT=DIFF INDEPENDENT_LEGACY=IMPORTANT INDEPENDENT_RESULT=DIFF TEMP_KPANIC_MERGE=IMPORTANT_WINS_DISAGREEMENT PRE_MERGE_LEGACY=IMPORTANT (final Legacy and Aegis differ; FINAL: IMPORTANT, Aegis: MODERATE_KPANIC)	Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H';CWE-863;CWE-667;CWE-362;CWE-415;Other CVSS 'AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H';BEST CVSS score: '7.8';DESCR 'An io_uring BPF loop program can call bpf_io_uring_submit_sqes while current bpf_ctx remains set, causing userspace supplied SQEs to be mistaken for vetted BPF socket helper calls. This bypasses sockopt_capable and sockopt_lock_sock and allows a local unprivileged task to set restricted options including SO_MARK, IP_TRANSPARENT, and TCP_REPAIR. Concurrent IP_OPTIONS changes can trigger a double free, while SOCK_DESTROY can reach tcp_abort without the required socket lock. For the CVSS the PR:L value is selected because local unprivileged code and access to an io_uring BPF ops context are required. The confirmed authorization bypass and double free provide a plausible path to kernel crash and local privilege escalation, although reliable code execution is not demonstrated and exploitation depends on io_uring BPF ops availability. Automated impact decision path. The original SimpleNet classifier selected LOW. The primary LLM estimated paranoid CVSS 7.8 and the production ActionableScore returned 7 with recommendation Strong Important candidate. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were CVSS and initial triage stage LOW to MODERATE_KPANIC because the manual review requirement was applied. ActionableScore thresholds stage MODERATE_KPANIC to IMPORTANT because the ActionableScore threshold rule was applied. final reconciliation stage IMPORTANT to IMPORTANT because a specific evidence based protection or manual review veto was applied and KP specialist did not establish a qualifying panic. The legacy KP specialist produced a review artifact and its decision was processed by the applicable KP rules. The legacy FD or DH downgrade specialist produced a review artifact and its decision was processed by the applicable downgrade and preservation rules. Exact triggered rule markers were INCREASED_FROM_LOW_BASED_ON_REQUIREMANUALCHECK and INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHERTHAN5 and TEMP_KPANIC_MERGE_IMPORTANT_WINS and B4_PENDING_REVIEW_AUTHORIZATION_PRESERVE and MANUAL_REVIEW_REQUIRED and KPANIC_UNSUPPORTED_REMOVED. The independent weaker Aegis shadow evaluated CVSS 4.3 and ActionableScore 5 with primitive class CLASS_B and manual review REQUIRED. Its independently reconciled impact was MODERATE_KPANIC. Cross model aggregation changed the production result under an enabled evidence gated merge rule. The final reported impact is IMPORTANT.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Strong Important candidate (with actual score 7)	MAYBE	BPF SIMPLEFIX LEAK IO_URING INCREASED_FROM_LOW_BASED_ON_REQUIREMANUALCHECK INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHERTHAN5 TEMP_KPANIC_MERGE_IMPORTANT_WINS B4_PENDING_REVIEW_AUTHORIZATION_PRESERVE MANUAL_REVIEW_REQUIRED KPANIC_UNSUPPORTED_REMOVED	-	-	checked

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

ActionableScore=7
PrimitiveClass=CLASS_A
RealUAF=YES
HostAdminRequired=NO
NamespaceScopedPrivilege=NO
ImportantCandidate=YES
ManualReview=REQUIRED
AutoDowngradeAllowed=NO
RequiresHostUID0=NO
AuthorizationDecisionBypass=YES
ProtectedResourceImpact=CONFIRMED
B4PendingReview=YES
B4PendingConfirmed=YES

1. ActionableScore

* Raw base score: 7.
* Conservative score: 7; no floor or cap applied.
* Raw paranoid score: 7.
* Paranoid score: 7; unsupported LPE, disclosure, or arbitrary-write effects were not added.
* Final recommended bucket: **Strong Important candidate**::

2. Signal breakdown

* +2 concrete authorization bypass: userspace SQEs inherit `current->bpf_ctx`, causing `sockopt_capable()` to mistake them for already-vetted BPF helper calls and skip capability enforcement.
* +2 real lifetime corruption: concurrent unlocked `IP_OPTIONS` changes are explicitly reported to produce a double free.
* +1 local unprivileged trigger: the commit states that a task without the required capability can issue the restricted socket operations.
* +1 reliable kernel crash/strong DoS: rapid double-free corruption plausibly causes a fatal kernel fault.
* +1 integrity impact: the bypass permits unauthorized changes to capability-protected socket state, including `SO_MARK`, `IP_TRANSPARENT`, and `TCP_REPAIR`.

No separate repeated-release point was awarded: the exact first free, surviving reference, and second lifetime operation are not visible. No extra availability point, arbitrary-write, controlled reclaim, confidentiality, or demonstrated LPE was scored.

3. Reachability analysis

The grounded path is an unprivileged local task with access to an io_uring BPF-ops context invoking `bpf_io_uring_submit_sqes()`. The submitted SQEs are userspace-controlled and execute while the BPF run context is incorrectly visible. Neither host UID 0 nor effective host-administrator capability is required according to the commit and supplied evidence. No namespace capability is part of the bypass. Availability of the io_uring BPF-ops facility remains a deployment prerequisite, but no separate privileged provisioning step is shown.

4. Primitive and severity reading

The exact authorization path is:

userspace SQE → `bpf_io_uring_submit_sqes()` → `io_submit_sqes()` with stale `current->bpf_ctx` → `sockopt_capable()` and `sockopt_lock_sock()` skip capability and locking requirements → restricted socket operation succeeds.

The fix cleanly removes this false trusted context around SQE submission. This establishes B4-PENDING with a concrete DENY-to-ALLOW path and materially protected socket settings. Independently, missing locking yields a confirmed double-free lifetime violation. Controlled reclaim, arbitrary kernel write, code execution, and privilege escalation are not shown. CLASS_A follows from the concrete authorization bypass, not from assuming exploitability of the double free. Auto-downgrade is unsafe because both the protected-state bypass and kernel lifetime corruption are established.

5. One-sentence report phrase

Unprivileged io_uring SQEs can inherit a trusted BPF context, bypass socket capability and locking checks, modify restricted socket state, and trigger a concurrent IP_OPTIONS double free.

6. Manual review advice

MANUAL CHECK REQUIRED

The confirmed below-host-admin authorization bypass and double-free primitive require Important-class impact and exploitability review.

7. Call-site confidence

Call-site confidence: high

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

Patch: io_uring/bpf-ops: clear bpf_ctx while submitting SQEs
Commit: 521861b17a107875c884df9474e7746617f256d5
Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=521861b17a107875c884df9474e7746617f256d5

Commit description:

bpf_io_uring_submit_sqes() calls io_submit_sqes() from inside the loop
program, with current->bpf_ctx set, and requests issued inline run with
it set too. The socket code uses has_current_bpf_ctx() to recognize
calls from bpf_setsockopt() and friends, where the caller holds the
socket lock and has already been vetted, and skips both.

So a SOCKET_URING_OP_SETSOCKOPT from the SQ passes sockopt_capable()
without the capability, and runs without lock_sock(). A task with no
capability can set SO_MARK, IP_TRANSPARENT or TCP_REPAIR, and two
threads changing IP_OPTIONS on one socket, one through the ring, double
free in no time. SOCK_DESTROY via IORING_OP_SENDMSG ends up in
tcp_abort() without the lock the same way.

Clear the run context around io_submit_sqes(). The SQEs come from
userspace and must be issued like those of any other ring. They still
run inside the program's RCU tasks trace read section, so a request
that sleeps there holds up that grace period, but other request types
do that already.

Fixes: 8908192 ("io_uring/bpf-ops: add kfunc helpers")
Signed-off-by: Chris Mason <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

Changed files:
  io_uring/bpf-ops.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=521861b17a107875c884df9474e7746617f256d5

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

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

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:L/UI:N/S:U/C:L/I:L/A:H
  The Best / paranoid CVSS vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  The Best / paranoid CVSS score: 7.8

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: 7

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: IMPORTANT
KPANIC detected for this report: NO
Published priority for this report (same as in Subject): IMPORTANT

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-21  2:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21  2:09 [CVE-2026-99801][IMPORTANT] io_uring/bpf-ops: clear bpf_ctx while submitting SQEs AL-KERNEL

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