Description
In the Linux kernel, the following vulnerability has been resolved:

sctp: avoid auth_enable sysctl UAF during netns teardown

proc_sctp_do_auth() updates the SCTP control socket after changing
net.sctp.auth_enable. The handler gets the per-net SCTP state from
ctl->data, so an already opened sysctl file can still target a network
namespace while that namespace is being torn down.

SCTP previously registered its per-net sysctls from sctp_defaults_init(),
while the control socket is created later from sctp_ctrlsock_init(). This
exposed a window during initialization where auth_enable was writable
before net->sctp.ctl_sock existed, and a teardown window where auth_enable
stayed writable after inet_ctl_sock_destroy() had released the control
socket.

Move the per-net SCTP sysctl registration into sctp_ctrlsock_init() after
sctp_ctl_sock_init() succeeds, and unregister the sysctl table before
destroying the control socket in sctp_ctrlsock_exit(). If sysctl
registration fails after the control socket was created, destroy the
control socket in the same init path.

Make sctp_sysctl_net_unregister() tolerate a missing header and clear the
saved pointer so init-error and exit paths can safely share the unregister
helper.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s SCTP implementation contains a use‑after‑free flaw where the sysctl variable net.sctp.auth_enable can be accessed after the control socket owning it has been released. An attacker opening or holding a reference to this sysctl file while the host’s network namespace is being torn down can force the kernel to dereference freed memory. The resulting memory corruption could allow privileged escalation or a kernel panic.

Affected Systems

Any Linux kernel build that supports SCTP and exposes the net.sctp.auth_enable sysctl. No specific version range is given, so all kernels prior to the patch contain the vulnerability.

Risk and Exploitability

The likely attack vector involves a local process with privileges to open or manipulate sysctl entries targeting a namespace undergoing teardown. Based on the description, it is inferred that successful exploitation would require local root or elevated access to sysctl. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, indicating limited known exploitation at present. However, the possibility of kernel memory corruption warrants prompt mitigation.

Generated by OpenCVE AI on August 10, 2026 at 19:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the sctp_ctrlsock_init and sctp_ctrlsock_exit changes described in the commit logs.
  • Disable SCTP traffic by setting net.sctp.auth_enable=0 or unload the SCTP module if it is not required for system operation.
  • Restrict sysctl access by configuring architecture‑specific LSM restrictions (SELinux, AppArmor, or similar) or by using a local sysctl whitelist to prevent unauthorized modification of net.sctp.auth_enable.

Generated by OpenCVE AI on August 10, 2026 at 19:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: sctp: avoid auth_enable sysctl UAF during netns teardown proc_sctp_do_auth() updates the SCTP control socket after changing net.sctp.auth_enable. The handler gets the per-net SCTP state from ctl->data, so an already opened sysctl file can still target a network namespace while that namespace is being torn down. SCTP previously registered its per-net sysctls from sctp_defaults_init(), while the control socket is created later from sctp_ctrlsock_init(). This exposed a window during initialization where auth_enable was writable before net->sctp.ctl_sock existed, and a teardown window where auth_enable stayed writable after inet_ctl_sock_destroy() had released the control socket. Move the per-net SCTP sysctl registration into sctp_ctrlsock_init() after sctp_ctl_sock_init() succeeds, and unregister the sysctl table before destroying the control socket in sctp_ctrlsock_exit(). If sysctl registration fails after the control socket was created, destroy the control socket in the same init path. Make sctp_sysctl_net_unregister() tolerate a missing header and clear the saved pointer so init-error and exit paths can safely share the unregister helper.
Title sctp: avoid auth_enable sysctl UAF during netns teardown
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T11:59:29.099Z

Reserved: 2026-07-30T09:28:09.372Z

Link: CVE-2026-68162

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T21:00:03Z

Weaknesses