* [CVE-2026-99324][IMPORTANT] ksmbd: fix out-of-bounds read when padding the final compound response [ Upstream commit 714f27729121d59f103ca4dad7b0c2d1c125cd71 ]
@ 2026-11-20 4:36 AL-KERNEL
0 siblings, 0 replies; only message in thread
From: AL-KERNEL @ 2026-11-20 4:36 UTC (permalink / raw)
To: kernel-cve
CVE: CVE-2026-99324
Priority: IMPORTANT
AL-KERNEL base severity: IMPORTANT
KPANIC flag: NO
Patch: ksmbd: fix out-of-bounds read when padding the final compound response [ Upstream commit 714f27729121d59f103ca4dad7b0c2d1c125cd71 ]
Commit: f4d6f211be04c9b018ce4cfb9793ea1f48c150c3
Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f4d6f211be04c9b018ce4cfb9793ea1f48c150c3
Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99324
Analysis date: Fri, 20 Nov 2026 00:36:50 -0400
ActionableScore: 5
ActionableScore lower bound: unknown
Actionable bucket: Actionable Moderate / Strong Important candidate requiring manual review
Manual review required: YES
Summary:
An authenticated remote SMB client can make ksmbd transmit up to seven bytes beyond a compound-response allocation, disclosing adjacent kernel heap data.
======================================================================
ABOUT THIS REPORT
======================================================================
The original Linux kernel CVE announcement for CVE-2026-99324 is available here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99324
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-99324 IMPORTANT https://www.kernelcve.org/list/?q=CVE-2026-99324 CHECK WITH IMPACT FROM ORIG NN IMPORTANT | AEGIS IMPACT MODERATE_KPANIC AEGIS_AS=4 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:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H';CWE-125;*CWE-200;Other CVSS 'AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N';BEST CVSS score: '7.1';DESCR 'A remotely reachable authenticated SMB client can send a compound request whose final response consumes nearly all of response_sz. The final 8 byte alignment can extend the last iov by up to 7 bytes beyond the allocation, after which ksmbd_tcp_writev transmits adjacent kernel memory to the client. This provides a concrete small kernel memory disclosure primitive. A kernel fault is also plausible if the invalid read crosses inaccessible memory, although the reported KASAN failure does not establish a reliable production kernel crash. For the CVSS the PR:L value is selected because a practical QUERY_INFO trigger normally requires an authenticated SMB session and access to a valid tree or object. The issue is network reachable only when ksmbd is enabled and exposed. Automated impact decision path. The original SimpleNet classifier selected IMPORTANT. The primary LLM estimated paranoid CVSS 7.1 and the production ActionableScore returned 5 with recommendation Actionable Moderate / Strong Important candidate requiring manual review. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were final reconciliation stage IMPORTANT to IMPORTANT because KP specialist did not establish a qualifying panic. The legacy KP specialist has no review artifact for this run. 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 TEMP_KPANIC_MERGE_IMPORTANT_WINS and KPANIC_UNSUPPORTED_REMOVED. The independent weaker Aegis shadow evaluated CVSS 4.3 and ActionableScore 4 with primitive class CLASS_C 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 5) MAYBE REMOTE WRITE KASAN OOB DISK LEAK SKIP LINUS TEMP_KPANIC_MERGE_IMPORTANT_WINS KPANIC_UNSUPPORTED_REMOVED - - checked
======================================================================
ACTIONABLESCORE ANALYSIS
======================================================================
ActionableScore=5
PrimitiveClass=CLASS_B
RealUAF=NO
HostAdminRequired=NO
NamespaceScopedPrivilege=NO
ImportantCandidate=YES
ManualReview=REQUIRED
AutoDowngradeAllowed=NO
RequiresHostUID0=NO
AuthorizationDecisionBypass=NO
ProtectedResourceImpact=NONE
B4PendingReview=NO
B4PendingConfirmed=NO
1. ActionableScore
* Raw base score: 5.
* Conservative score: 5; no floor or cap applied.
* Raw paranoid score: 5.
* Paranoid score: 5; no additional speculative impact awarded.
* Final recommended bucket: **Actionable Moderate / Strong Important candidate requiring manual review**::
2. Signal breakdown
* +2 remote reachability: an authenticated SMB client can invoke compound request processing over the network when ksmbd is exposed.
* +1 concrete bounded kernel OOB-read primitive: final-response alignment extends the transmitted iov by up to seven bytes beyond the exact allocation.
* +1 confidentiality impact: `ksmbd_tcp_writev()` copies those adjacent bytes into the network response, providing a user-visible kernel-memory disclosure path.
* +1 practical exploit chain: compound response nearly fills `response_sz` → padding crosses the allocation → TCP transmission returns the bytes to the requesting client.
* No crash point: KASAN confirms the invalid read, but not a reliable production panic.
* No write, UAF, arbitrary read, controlled target, identified secret, LPE, or C:H/I:H is shown.
* B5-R does not apply: this is a bounded OOB read, not a retry-accumulated heap OOB write.
* B4-PENDING does not apply: no authorization guard changes DENY to ALLOW.
3. Reachability analysis
The grounded actor is a below-host-administrator authenticated SMB client with access sufficient to issue the relevant compound operation, such as QUERY_INFO. No host UID 0, capability, namespace privilege, prior local setup, race, or special hardware is required from that client. Server exposure and an authenticated SMB session remain deployment prerequisites.
4. Primitive and severity reading
The primitive is a confirmed, remotely observable, one-to-seven-byte slab OOB read. It is CLASS_B because disclosure is real but tightly bounded and no sensitive adjacent object or stronger exploitation primitive is identified. Repetition may make allocator-adjacent information security-relevant, but stable pointer or secret disclosure remains unproven. ImportantCandidate is YES and automatic downgrade is disallowed because the kernel-memory disclosure is concrete and remotely repeatable, while its practical contents require manual assessment.
5. One-sentence report phrase
An authenticated remote SMB client can make ksmbd transmit up to seven bytes beyond a compound-response allocation, disclosing adjacent kernel heap data.
6. Manual review advice
MANUAL CHECK REQUIRED
Determine whether repeated requests expose stable pointers, credentials, or other useful slab-adjacent data in affected deployments.
7. Call-site confidence
Call-site confidence: high
======================================================================
UPSTREAM PATCH SUMMARY
======================================================================
Patch: ksmbd: fix out-of-bounds read when padding the final compound response [ Upstream commit 714f27729121d59f103ca4dad7b0c2d1c125cd71 ]
Commit: f4d6f211be04c9b018ce4cfb9793ea1f48c150c3
Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f4d6f211be04c9b018ce4cfb9793ea1f48c150c3
Commit description:
Compound response handling pads the last response of a compound to an
8-byte boundary by growing the final iov and the RFC1002 length.
smb2_allocate_rsp_buf() allocates exactly response_sz. A command can
fill the response buffer to within 7 bytes of its end, for example a
QUERY_INFO whose output is bounded only by the space left. The padding
can then run past the allocation, and ksmbd_tcp_writev() reads those
bytes when it sends the response.
BUG: KASAN: slab-out-of-bounds in _copy_from_iter+0x744/0x10e0
Call Trace:
_copy_from_iter+0x744/0x10e0
tcp_sendmsg_locked+0x2290/0x3f80
ksmbd_tcp_writev+0x10c7/0x1ab0 [ksmbd]
Allocate room for the padding when the request is a compound, as
smb2_read() and smb2_read_pipe() do for their payloads. response_sz is
unchanged, so commands still fill only up to it, and kvzalloc() zeroes
the padding.
Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3")
Cc: [email protected]
Signed-off-by: Ian Bridges <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
[ sashal: adjusted context for direct work->conn->vals access instead of a local vals variable ]
Signed-off-by: Sasha Levin <[email protected]>
Diffstat -rw-r--r-- fs/smb/server/smb2pdu.c 13
Changed files:
fs/smb/server/smb2pdu.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=f4d6f211be04c9b018ce4cfb9793ea1f48c150c3
======================================================================
DETAILED REPORT METHODOLOGY
======================================================================
The original Linux kernel CVE announcement for CVE-2026-99324 can be found here:
https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99324
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:L/PR:L/UI:N/S:U/C:L/I:N/A:N
The Best / paranoid CVSS vector: AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
The Best / paranoid CVSS score: 7.1
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: 5
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-20 4:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 4:36 [CVE-2026-99324][IMPORTANT] ksmbd: fix out-of-bounds read when padding the final compound response [ Upstream commit 714f27729121d59f103ca4dad7b0c2d1c125cd71 ] AL-KERNEL
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox