From mboxrd@z Thu Jan 1 00:00:00 1970 From: AL-KERNEL To: kernel-cve@kernelcve.org Subject: [CVE-2026-99296][MODERATE 7.0] libceph: bound mon_command ack decode to front len Date: Thu, 19 Nov 2026 21:50:56 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AL-KERNEL-CVE: CVE-2026-99296 X-AL-KERNEL-Priority: MODERATE 7.0 X-AL-KERNEL-Severity: MODERATE 7.0 X-AL-KERNEL-Base-Severity: MODERATE X-AL-KERNEL-KPANIC: YES X-AL-KERNEL-ActionableScore: 4 X-AL-KERNEL-ActionableScore-Lower: unknown X-AL-KERNEL-Commit: c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e List-Id: CVE: CVE-2026-99296 Priority: MODERATE 7.0 AL-KERNEL base severity: MODERATE KPANIC flag: YES Patch: libceph: bound mon_command ack decode to front len Commit: c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e Original CVE announcement: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99296 Analysis date: Thu, 19 Nov 2026 21:50:56 -0400 ActionableScore: 4 ActionableScore lower bound: unknown Actionable bucket: Borderline / manual review recommended Manual review required: YES Summary: A malicious authenticated Ceph monitor can send a truncated command ACK that exposes four stale reply-buffer bytes as a result value and can drive the RBD add path into a host kernel panic. ====================================================================== ABOUT THIS REPORT ====================================================================== The original Linux kernel CVE announcement for CVE-2026-99296 is available here: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99296 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 7.0 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-99296 MODERATE https://www.kernelcve.org/list/?q=CVE-2026-99296 CHECK WITH IMPACT FROM ORIG NN IMPORTANT | AEGIS IMPACT MODERATE_KPANIC AEGIS_AS=3 LEGACY=MODERATE_KPANIC RESULT=SAME (final reconciliation agrees; DECISION: both MODERATE_KPANIC) Maybe valid. Check manually. Hints by AL-KERNEL: The best (paranoid) CVSS is 'AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H';CWE-125;CWE-908;CWE-130;*CWE-200;Other CVSS 'AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H';BEST CVSS score: '6.8';DESCR 'libceph handle_command_ack bounded decoding with the allocated reply buffer size instead of the number of bytes received. A short monitor command ACK can therefore make ceph_decode_32 consume four bytes of uninitialized slab data, stale message contents, or bytes planted through buffer reuse. The value propagates through req result and may reach userspace, while the RBD add path can pass an unchecked invalid result to ERR_PTR and trigger a kernel page fault and panic. For the CVSS the PR:L value reflects that reliable triggering normally requires control of an authenticated Ceph monitor peer or equivalent access to the established storage network session. The issue is adjacent network reachable in a Ceph deployment and provides a concrete uninitialized read with limited disclosure plus demonstrated host availability impact. The paranoid I:L interpretation covers limited manipulation of result handling through peer planted stale bytes, but there is no supported UAF, out of bounds write, arbitrary write, or privilege escalation primitive. Automated impact decision path. The original SimpleNet classifier selected IMPORTANT. The primary LLM estimated paranoid CVSS 6.8 and the production ActionableScore returned 4 with recommendation Borderline / manual review recommended. The production rules then evaluated CVSS thresholds and ActionableScore thresholds. Recorded rule transitions were ActionableScore thresholds stage IMPORTANT to MODERATE_KPANIC because the ActionableScore threshold rule was applied. 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 has no review artifact for this run. Exact triggered rule markers were DECREASED_TO_MODERATE70_BASED_ON_ACTIONABLESCORELOWERTHAN5. The independent weaker Aegis shadow evaluated CVSS 5.8 and ActionableScore 3 with primitive class CLASS_C and manual review REQUIRED. Its independently reconciled impact was MODERATE_KPANIC. The shadow agreed with the final production impact and aggregation did not change that impact. The final reported impact is MODERATE_KPANIC.';YES REQUIRES MANUAL CHECK; ,and ActionableScore result is Borderline / manual review recommended (with actual score 4) MAYBE REMOTE WRITE KASAN OOB LEAK NETWORK HARDWARE LINUS KPANIC KPANIC DECREASED_TO_MODERATE70_BASED_ON_ACTIONABLESCORELOWERTHAN5 - - checked ====================================================================== ACTIONABLESCORE ANALYSIS ====================================================================== ActionableScore=4 PrimitiveClass=CLASS_C RealUAF=NO HostAdminRequired=NO NamespaceScopedPrivilege=UNKNOWN ImportantCandidate=NO ManualReview=RECOMMENDED AutoDowngradeAllowed=YES RequiresHostUID0=NO AuthorizationDecisionBypass=NO ProtectedResourceImpact=NONE B4PendingReview=NO B4PendingConfirmed=NO 1. ActionableScore * Raw base score: 4. * Conservative score: 4; no floor or cap applied. * Raw paranoid score: 4. * Paranoid score: 4; no additional technically supported primitive. * Final recommended bucket: **Borderline / manual review recommended**:: 2. Signal breakdown * +2 remote/adjacent network reachability: an attacker controlling an authenticated Ceph monitor peer can send the short command ACK over an established storage session. * +1 reliable kernel crash/strong DoS: the stale decoded value reaches `ERR_PTR()` unchecked in the RBD add path, with a demonstrated page fault and panic. * +1 confidentiality plausible: four unreceived bytes from initialized, stale, or peer-planted reply-buffer contents become `req->result` and can be returned to userspace. * No extra availability point: it would duplicate the demonstrated panic. * No integrity point: influencing result handling is shown, but no unauthorized protected-state modification is established. * No OOB write, UAF, arbitrary write, controlled reclaim, or protected-resource corruption is shown. The read remains inside the allocation. * NEW52 B5-R does not apply: there is no write, retry-accumulated index, or later consumption of OOB-corrupted structured state. * NEW53 B3-PENDING and checksum cross-boundary rules do not apply. * No authorization guard changes DENY to ALLOW; B4 pending review is inapplicable. 3. Reachability analysis The grounded attacker is an authenticated or otherwise controlled Ceph monitor peer able to answer an existing client request with a short ACK. This is below host-administrator authority and does not require host UID 0, but it does require an established Ceph deployment/session and monitor-level network access; arbitrary Internet reachability is not shown. No namespace capability path, special hardware, race, or retry sequence is involved. 4. Primitive and severity reading The exact primitive is an in-allocation four-byte uninitialized/stale read caused by bounding decode against `front_alloc_len` rather than received `front.iov_len`. The resulting invalid status value is actively consumed and can cause host panic, but there is no memory overwrite or lifetime violation. This is CLASS_C invalid-state/disclosure-plus-DoS behavior, not an Important-preserving corruption primitive. Auto-downgrade remains allowed because the stronger effects are constrained and no unresolved write, ownership, or authorization boundary exists. 5. One-sentence report phrase A malicious authenticated Ceph monitor can send a truncated command ACK that exposes four stale reply-buffer bytes as a result value and can drive the RBD add path into a host kernel panic. 6. Manual review advice MANUAL CHECK RECOMMENDED Confirm product exposure to attacker-controlled Ceph monitors and whether affected userspace callers expose the stale result across a meaningful trust boundary. 7. Call-site confidence Call-site confidence: high ====================================================================== UPSTREAM PATCH SUMMARY ====================================================================== Patch: libceph: bound mon_command ack decode to front len Commit: c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e Upstream URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e Commit description: handle_command_ack() bounds the decode with msg->front_alloc_len, the size of the reply buffer, instead of msg->front.iov_len, the number of bytes the monitor sent. mon_alloc_msg() routes every CEPH_MSG_MON_COMMAND_ACK to get_generic_reply(), which returns the preallocated ->reply of whichever generic request carries the same tid, so the buffer keeps its fixed size however short the reply is. An ack with hdr.front_len below sizeof(struct ceph_mon_request_header) + sizeof(u32), including 0, still passes ceph_decode_need(), and ceph_decode_32() returns four bytes that were never received: uninitialized slab memory, stale bytes of an earlier message, or bytes the peer planted by sending a reply that lands in the same buffer and is then rejected. The read stays within the allocation, so KASAN does not flag it. req->result reaches userspace through ceph_monc_do_statfs(), ceph_monc_get_version() and ceph_monc_blocklist_add(); rbd hands it back from write() on /sys/bus/rbd/add_single_major, and rbd_get_client() passes it to ERR_PTR() unchecked, which faults: rbd: failed to get latest osdmap: -186318427 BUG: unable to handle page fault for address: fffffbfffe9ca034 Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: 0010:do_rbd_add (drivers/block/rbd.c:7105) Call Trace: ... kernfs_fop_write_iter (fs/kernfs/file.c:345) vfs_write (fs/read_write.c:595 fs/read_write.c:687) ksys_write (fs/read_write.c:739) do_syscall_64 (arch/x86/entry/syscall_64.c:61 arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Kernel panic - not syncing: Fatal exception Use msg->front.iov_len, matching handle_subscribe_ack(), handle_statfs_reply(), handle_get_version_reply() and handle_auth_reply(). A well-formed ack has front.iov_len >= 22 and is unaffected; a short one takes the existing bad: path. This applies commit d3c3293 ("libceph: bound get_version reply decode to front len") to the last decode-side use of front_alloc_len in this file. Cc: stable@vger.kernel.org Fixes: 6305a3b ("libceph: support for blacklisting clients") Reported-by: co+25860fb17af97289@bugs.sh Assisted-by: Cursor Signed-off-by: Xiang Mei Reviewed-by: Alex Markuze Signed-off-by: Ilya Dryomov Signed-off-by: Greg Kroah-Hartman Changed files: drivers/block/rbd.c fs/kernfs/file.c fs/read_write.c arch/x86/entry/syscall_64.c arch/x86/entry/entry_64.S net/ceph/mon_client.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=c6696ac94c8c3ad79a9fa57fc334af2dc1a1f72e ====================================================================== DETAILED REPORT METHODOLOGY ====================================================================== The original Linux kernel CVE announcement for CVE-2026-99296 can be found here: https://lore.kernel.org/linux-cve-announce/?q=CVE-2026-99296 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:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H The Best / paranoid CVSS vector: AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H The Best / paranoid CVSS score: 6.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: 4 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: YES Published priority for this report (same as in Subject): MODERATE 7.0 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 alexanjelausa@gmail.com (and both send reply to CVE record itself too and see "reply" button below for howto reply).