CVE-2026-90163

smb/server: call ksmbd_proc_cleanup() on module init failure

Published Sep 17, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

smb/server: call ksmbd_proc_cleanup() on module init failure

When a later initializer fails, the unwind chain releases resources
created after procfs and then jumps directly to class_unregister().
Returning an error from module_init() leaves the proc tree and its
per-CPU counters allocated.

Analysis

AI-generated

Technical impact

The vulnerability arises when a Linux kernel module initialization fails after creating procfs entries and per‑CPU counters. The failure path incorrectly releases only post‑procfs resources and then aborts by calling class_unregister(), leaving the proc tree and its counters in an allocated state. This leak can consume kernel memory or expose dangling kernel pointers, potentially causing a denial‑of‑service or allowing further exploitation by a privileged attacker.

Affected Systems

All Linux kernel builds are affected, as the issue exists in the core smb/server subsystem. No specific kernel versions are enumerated in the CVE data; any build that includes this code path is potentially impacted.

Risk and Exploitability

The EPSS score is reported as less than 1 %, indicating a very low probability of exploitation in the wild. The vulnerability requires a kernel module init failure, which typically demands elevated privileges or the ability to load custom kernel modules. If successfully triggered, the resulting resource leak could lead to system instability or memory exhaustion, but the attack surface stays restricted to environments where the attacker can influence kernel module loading.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the fix for the module initialization cleanup bug
  • Apply the kernel patch from the upstream source control if an updated kernel release is not available
  • Restrict kernel module loading to trusted administrative users and disable unneeded network services that may trigger the vulnerable code path

Generated by OpenCVE AI on September 20, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb/server: call ksmbd_proc_cleanup() on module init failure When a later initializer fails, the unwind chain releases resources created after procfs and then jumps directly to class_unregister(). Returning an error from module_init() leaves the proc tree and its per-CPU counters allocated.
Title smb/server: call ksmbd_proc_cleanup() on module init failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:59 AM
Reserved
Sep 11, 2026, 7:38 PM
Status
Received
Published
Sep 17, 2026, 5:17 PM
Modified
Oct 19, 2026, 9:19 AM