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-143153][IMPORTANT] tcp: free saved_syn after an RCU grace period
@ 2026-12-04 19:23 AL-KERNEL
  0 siblings, 0 replies; only message in thread
From: AL-KERNEL @ 2026-12-04 19:23 UTC (permalink / raw)
  To: kernel-cve

CVE: CVE-2026-143153
Priority: IMPORTANT
AL-KERNEL base severity: IMPORTANT
KPANIC flag: NO
Patch: tcp: free saved_syn after an RCU grace period
Commit: d5e87d39681a48250e40fcd24e780a981a32adbc
Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d5e87d39681a48250e40fcd24e780a981a32adbc
Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-143153
Analysis date: Fri, 04 Dec 2026 15:23:33 -0400
ActionableScore: 6
ActionableScore lower bound: 5
Actionable bucket: Actionable Moderate / Strong Important candidate requiring manual review
Manual review required: YES

Summary:
A request-socket ownership-transfer race allows `bpf_sock_ops_get_syn()` to read a freed active `saved_syn` object before an RCU grace period completes.

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

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

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-143153	IMPORTANT	https://www.kernelcve.org/list/?q=CVE-2026-143153 CHECK WITH IMPACT FROM ORIG NN MODERATE | AEGIS IMPACT MODERATE_KPANIC AEGIS_AS=5 LEGACY=IMPORTANT RESULT=DIFF INDEPENDENT_LEGACY=IMPORTANT INDEPENDENT_RESULT=DIFF TEMP_KPANIC_MERGE=IMPORTANT_HARD_VETO 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:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H';*CWE-416;CWE-362;*CWE-672;Other CVSS 'AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L';BEST CVSS score: '6.5';DESCR 'A request socket saved_syn ownership race can let bpf_sock_ops_get_syn dereference an object after it was freed by child socket teardown or migrated request teardown. KASAN confirmed a slab use after free read during retransmitted SYN processing. Exploitation requires a TCP listener with the relevant BPF sockops path, saved SYN state, request migration or ownership transfer, and a successful race, so AC:H is appropriate. For the CVSS the PR:N value is used because a remote peer can supply retransmitted SYN packets without an authenticated account, although the vulnerable server must already have the required BPF and migration configuration. The demonstrated primitive is a UAF read rather than a write, so integrity impact and privilege escalation are not established. The paranoid score includes limited confidentiality impact from potentially reading reused slab contents and high availability impact if stale metadata causes a kernel fault. Automated impact decision path. The original SimpleNet classifier selected MODERATE. The primary LLM estimated paranoid CVSS 6.5 and the production ActionableScore returned 6 with recommendation Actionable Moderate / Strong Important candidate requiring manual review. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were CVSS and initial triage stage MODERATE to MODERATE_KPANIC because the CVSS score, vector or bug class threshold rule 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_TO_MODERATE7_FROM_MODERATE_BASED_ON_GUESSCVSS and INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHERTHAN5 and TEMP_KPANIC_MERGE_IMPORTANT_VETO and KPANIC_UNSUPPORTED_REMOVED. The independent weaker Aegis shadow evaluated CVSS 3.1 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 Actionable Moderate / Strong Important candidate requiring manual review (with actual score 6)	MAYBE	REMOTE INIT BPF LEAK UAF NETWORK HARDWARE TEST IPV6 INCREASED_TO_MODERATE7_FROM_MODERATE_BASED_ON_GUESSCVSS INCREASED_TO_HIGH_BASED_ON_ACTIONABLESCOREHIGHERTHAN5 TEMP_KPANIC_MERGE_IMPORTANT_VETO KPANIC_UNSUPPORTED_REMOVED	-	-	checked

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

ActionableScore=6
ActionableScoreLower=5
PrimitiveClass=CLASS_B
RealUAF=YES
HostAdminRequired=UNKNOWN
NamespaceScopedPrivilege=UNKNOWN
ImportantCandidate=YES
ManualReview=REQUIRED
AutoDowngradeAllowed=NO
RequiresHostUID0=NO
AuthorizationDecisionBypass=NO
ProtectedResourceImpact=NONE
B4PendingReview=NO
B4PendingConfirmed=NO

1. ActionableScore

* Raw base score: 4.
* Conservative score: 5. Applied the concrete RCU referenced-object lifetime floor: 4 -> 5.
* Raw paranoid score: 5, including +1 for materially unknown post-lifetime consumption of active saved-SYN fields.
* Paranoid score: 6 after the same RCU lifetime floor/calibration.
* Final recommended bucket: **Actionable Moderate / Strong Important candidate requiring manual review**::

2. Signal breakdown

* +2 real UAF: `bpf_sock_ops_get_syn()` can dereference `saved_syn` after child or migrated-request teardown frees it; KASAN confirmed the slab UAF read.
* +1 concrete RCU referenced-object lifetime mismatch: readers legitimately retain `req->saved_syn`, while ownership transfer permits another object to free it before the reader's grace period ends. `kfree_rcu()` directly restores the invariant.
* +1 plausible kernel crash/DoS: dereferencing reclaimed slab storage can fault; no separate availability point is added.
* Paranoid +1: the stale object contains active lengths and packet data consumed by the BPF helper, so effects of reuse beyond the observed KASAN read remain unresolved.
* No remote +2: retransmitted SYNs reach the reader, but the complete BPF sockops, saved-SYN, migration/transfer, and timing setup is not established as remotely controllable without prior configuration.
* No structured-reuse, confidentiality, integrity, controlled reclaim, arbitrary write, or LPE bonus. Reused bytes reaching a sensitive observer is not demonstrated.

3. Reachability analysis

A remote peer can supply and retransmit SYNs, influencing the saved packet contents and reader invocation. The vulnerable environment nevertheless requires a listener using the relevant BPF sockops path and an ownership-transfer or request-migration sequence. Who controls migration, child closure, and BPF installation is not fully shown. Thus numeric host UID 0 is not required for the packet-side trigger, but effective host-admin requirements for establishing the complete path remain unknown. Namespace-scoped completion is likewise unproven. The race was widened for confirmation; its reliability without instrumentation is unknown, so no unsupported hard-race penalty is applied.

4. Primitive and severity reading

This is an active structured-object RCU UAF read, not fixed stale storage and not cleanup-only consumption. No repeated release on the same dangling reference exists. The shown effect is post-free reading of saved-SYN lengths/data by an active BPF helper, with plausible crash. Reclaim control, disclosure, write corruption, and privilege escalation remain speculative.

CLASS_B is appropriate. ImportantCandidate is YES because a concrete cross-object RCU lifetime breach reaches active packet-processing state and its post-reuse effects remain unknown. Auto-downgrade is disallowed pending review, but the evidence does not establish CLASS_A or Important severity conclusively.

5. One-sentence report phrase

A request-socket ownership-transfer race allows `bpf_sock_ops_get_syn()` to read a freed active `saved_syn` object before an RCU grace period completes.

6. Manual review advice

MANUAL CHECK REQUIRED

Review actual BPF deployment, request-migration reachability, stale-field consumers, and whether reclaimed contents can be exposed or influence subsequent bounds-sensitive processing.

7. Call-site confidence

Call-site confidence: high

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

Patch: tcp: free saved_syn after an RCU grace period
Commit: d5e87d39681a48250e40fcd24e780a981a32adbc
Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d5e87d39681a48250e40fcd24e780a981a32adbc

Commit description:

tcp_reqsk_record_syn() allocates saved_syn separately from its request
socket. bpf_sock_ops_get_syn() can load that pointer while processing a
retransmitted SYN under RCU.

There are two ownership transfers which can let another CPU reclaim the
allocation while such a reader is still using it.

First, tcp_move_syn() transfers req->saved_syn to a newly created child
socket. The child can be closed and tcp_saved_syn_free() can reclaim the
allocation before a reader of the old request finishes.

Second, inet_reqsk_clone() shallow-copies request_sock during request
migration. After reqsk_migrate_reset() clears the old request pointer, the
migrated clone owns it. However, a reader which already loaded the pointer
from the old request can still be using it when the clone is released.

I found this through LLM-assisted concurrency fuzzing.

Mark the request-socket saved_syn pointer as RCU protected and use RCU
accessors for its reads and updates. Keep the full-socket pointer plain
because all of its accesses hold the socket lock. Embed an rcu_head in
struct saved_syn and use kfree_rcu() in both teardown paths. This lets a
request-side reader which loaded the object before an ownership transfer
finish.

This follows commit e3f33b0 ("ipv4: free inet_opt and ireq_opt
after an RCU grace period"), which fixed the same ownership-transfer
pattern for IPv4 options.

The issue was confirmed with KASAN on v7.3-16007-g36aad21d50d1 using
temporary kernel instrumentation to widen the reader and request-migration
window. KASAN reported a slab-use-after-free read in
bpf_sock_ops_get_syn(), with the allocation freed by __reqsk_free() from
reqsk_timer_handler(). The same explicit migration test completed without
a report with deferred reclamation. A patched kernel without the delay
instrumentation also completed a successful migration and seven saved-SYN
reads without a KASAN report.

Fixes: 0813a84 ("bpf: tcp: Allow bpf prog to write and parse TCP header option")
Fixes: c905dee ("tcp: Migrate TCP_NEW_SYN_RECV requests at retransmitting SYN+ACKs.")
Cc: [email protected]
Signed-off-by: Yingjie Wang <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://patch.msgid.link/38fa9f2cc476502e9b1c1fef09ebba1df5dd5901.1793795528.git.x-professor@outlook.com
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

Changed files:
  include/linux/tcp.h
  include/net/request_sock.h
  net/core/filter.c
  net/ipv4/inet_connection_sock.c
  net/ipv4/tcp_input.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=d5e87d39681a48250e40fcd24e780a981a32adbc

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

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

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

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-12-04 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-04 19:23 [CVE-2026-143153][IMPORTANT] tcp: free saved_syn after an RCU grace period AL-KERNEL

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