{"id":"CVE-2026-68162","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-68162","summary":"sctp: avoid auth_enable sysctl UAF during netns teardown","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: avoid auth_enable sysctl UAF during netns teardown\n\nproc_sctp_do_auth() updates the SCTP control socket after changing\nnet.sctp.auth_enable. The handler gets the per-net SCTP state from\nctl->data, so an already opened sysctl file can still target a network\nnamespace while that namespace is being torn down.\n\nSCTP previously registered its per-net sysctls from sctp_defaults_init(),\nwhile the control socket is created later from sctp_ctrlsock_init(). This\nexposed a window during initialization where auth_enable was writable\nbefore net->sctp.ctl_sock existed, and a teardown window where auth_enable\nstayed writable after inet_ctl_sock_destroy() had released the control\nsocket.\n\nMove the per-net SCTP sysctl registration into sctp_ctrlsock_init() after\nsctp_ctl_sock_init() succeeds, and unregister the sysctl table before\ndestroying the control socket in sctp_ctrlsock_exit(). If sysctl\nregistration fails after the control socket was created, destroy the\ncontrol socket in the same init path.\n\nMake sctp_sysctl_net_unregister() tolerate a missing header and clear the\nsaved pointer so init-error and exit paths can safely share the unregister\nhelper.","published":"2026-08-10T11:59:29.099Z","modified":"2026-08-14T04:03:27.241006822Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"5.4.292"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/19573dcddb8819fd68d6cd1f916c1c99c3fa4ff4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/626bda8cfe43dff19a9833ff6ba055a817b5455c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66700c0719675e0e118ae83b2d7168dacd69dd3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a50e73488e0bbdd262b3be3c9a1d8dd078382381"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be6aae9d1b91c603adb35872d37d40e83daf8758"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8d5e7846025f4ab15a461235f8ebae9094a361a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68162.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68162"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-14T04:03:27.241006822Z"}}