{"id":"CVE-2026-68162","aliases":["CVE-2026-68162"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: avoid auth_enable sysctl UAF during netns teardown","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-10T11:59:29.099Z","modified":"2026-11-30T16:13:21.673Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"10c869a52f266e40f548cc3c565d14930a5edafc","fixed":"19573dcddb8819fd68d6cd1f916c1c99c3fa4ff4","status":"affected"},{"type":"git","introduced":"dc583e7e5f8515ca489c0df28e4362a70eade382","fixed":"ceb7190b5c873d4a1267a1600c5aa52c600e929f","status":"affected"},{"type":"git","introduced":"bd2a2939423566c654545fa3e96a656662a0af9e","fixed":"fd66854a22661929245f3d2b244c432bc8b1a150","status":"affected"},{"type":"git","introduced":"1b67030d39f2b00f94ac1f0af11ba6657589e4d3","fixed":"158f3cc332dc53f43ec20060233d7c3cecd6d912","status":"affected"},{"type":"git","introduced":"7ec30c54f339c640aa7e49d7e9f7bbed6bd42bf6","fixed":"66700c0719675e0e118ae83b2d7168dacd69dd3d","status":"affected"},{"type":"git","introduced":"c184bc621e3cef03ac9ba81a50dda2dae6a21d36","fixed":"626bda8cfe43dff19a9833ff6ba055a817b5455c","status":"affected"},{"type":"git","introduced":"15649fd5415eda664ef35780c2013adeb5d9c695","fixed":"be6aae9d1b91c603adb35872d37d40e83daf8758","status":"affected"},{"type":"git","introduced":"15649fd5415eda664ef35780c2013adeb5d9c695","fixed":"a50e73488e0bbdd262b3be3c9a1d8dd078382381","status":"affected"},{"type":"git","introduced":"15649fd5415eda664ef35780c2013adeb5d9c695","fixed":"f8d5e7846025f4ab15a461235f8ebae9094a361a","status":"affected"},{"type":"semver","introduced":"5.4.290","fixed":"5.4.292","status":"affected"},{"type":"semver","introduced":"5.10.234","fixed":"5.10.266","status":"affected"},{"type":"semver","introduced":"5.15.177","fixed":"5.15.217","status":"affected"},{"type":"semver","introduced":"6.1.125","fixed":"6.1.184","status":"affected"},{"type":"semver","introduced":"6.6.72","fixed":"6.6.151","status":"affected"},{"type":"semver","introduced":"6.12.10","fixed":"6.12.101","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"5.4.292","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.266","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.217","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.184","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/19573dcddb8819fd68d6cd1f916c1c99c3fa4ff4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ceb7190b5c873d4a1267a1600c5aa52c600e929f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd66854a22661929245f3d2b244c432bc8b1a150","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/158f3cc332dc53f43ec20060233d7c3cecd6d912","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66700c0719675e0e118ae83b2d7168dacd69dd3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/626bda8cfe43dff19a9833ff6ba055a817b5455c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be6aae9d1b91c603adb35872d37d40e83daf8758","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a50e73488e0bbdd262b3be3c9a1d8dd078382381","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8d5e7846025f4ab15a461235f8ebae9094a361a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:45:25.940Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68162","url":"https://www.cve.org/CVERecord?id=CVE-2026-68162","licence":"CVE Terms of Use","modified":"2026-10-19T20:58:55.689Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68162","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68162","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:24.588Z","epss":{"score":0.00198,"percentile":0.05472,"date":"2026-11-30T12:00:22.000Z"}}