CVE-2026-99278

ksmbd: limit sessions on each connection

Published Nov 7, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: limit sessions on each connection

The pending setup limit only counts InProgress sessions. A client can
complete authentication repeatedly and retain an unbounded number of Valid
sessions on one connection.

Reserve a connection slot before allocating a session and retain a
connection reference while authentication is in progress. The first SMB3
channel takes over that reservation; binding to another connection reserves
one slot there. Reauthentication and authentication continuation reuse the
existing reservation. Return slots on allocation or insertion failure,
channel removal, and final session destruction.

Accept max_sessions_per_connection in reserved startup-request space and
default to 64 when older tools leave it zero. Keep the request size and
existing field offsets unchanged. Expose the configured limit in procfs.
The existing connection limits bound the aggregate number of sessions
without a separate global session allocation limit.

Analysis

AI-generated

Technical impact

This vulnerability arises in the Linux kernel’s SMB daemon (ksmbd). The server incorrectly counts only in‑progress sessions toward the per‑connection limit, allowing a client to authenticate repeatedly and accumulate an unrestricted number of valid sessions on a single connection. This flaw enables resource exhaustion and potential denial‑of‑service on the host, as an attacker could deplete memory or other kernel resources by creating a large number of orphaned session objects that remain allocated until the connection is terminated. The resolution implements a reservation mechanism and enforces a maximum session count per connection, defaulting to 64 when unspecified.

Affected Systems

The flaw affects any Linux system running a kernel that includes ksmbd without the patch. The impacted products are versions of the Linux kernel up to the point where this commit was integrated. All kernel builds are potentially affected until the fix is applied; no specific kernel release is listed beyond "cpe:2.3:o:linux:linux_kernel:*".

Risk and Exploitability

The CVSS score is 6.5, reflecting a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, via an SMB client that can repeatedly authenticate and keep sessions alive. An attacker only needs the ability to establish SMB connections to the target host; no privileged access is required. Successful exploitation would degrade service availability, potentially leading to a denial‑of‑service condition for legitimate users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the ksmbd session limit patch.
  • Configure the max_sessions_per_connection parameter to a value that aligns with operational requirements; avoid setting it to zero or an unreasonably high value.
  • Verify enforcement by inspecting the procfs entry that exposes the configured limit and monitoring kernel logs for abnormal session counts.

Generated by OpenCVE AI on November 8, 2026 at 01:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: limit sessions on each connection The pending setup limit only counts InProgress sessions. A client can complete authentication repeatedly and retain an unbounded number of Valid sessions on one connection. Reserve a connection slot before allocating a session and retain a connection reference while authentication is in progress. The first SMB3 channel takes over that reservation; binding to another connection reserves one slot there. Reauthentication and authentication continuation reuse the existing reservation. Return slots on allocation or insertion failure, channel removal, and final session destruction. Accept max_sessions_per_connection in reserved startup-request space and default to 64 when older tools leave it zero. Keep the request size and existing field offsets unchanged. Expose the configured limit in procfs. The existing connection limits bound the aggregate number of sessions without a separate global session allocation limit.
Title ksmbd: limit sessions on each connection
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 25, 2026, 6:19 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 7, 2026, 2:17 PM
Modified
Nov 25, 2026, 7:17 PM
Severity
Moderate
Public date
Nov 7, 2026, 2:08 PM