# CVE-2026-68162: sctp: avoid auth_enable sysctl UAF during netns teardown

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 5% of CVEs (2026-11-30)
- Published: 2026-08-10T11:59:29.099Z
- Modified: 2026-11-30T16:13:21.673Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 10c869a52f266e40f548cc3c565d14930a5edafc before 19573dcddb8819fd68d6cd1f916c1c99c3fa4ff4; from dc583e7e5f8515ca489c0df28e4362a70eade382 before ceb7190b5c873d4a1267a1600c5aa52c600e929f; from bd2a2939423566c654545fa3e96a656662a0af9e before fd66854a22661929245f3d2b244c432bc8b1a150; from 1b67030d39f2b00f94ac1f0af11ba6657589e4d3 before 158f3cc332dc53f43ec20060233d7c3cecd6d912; from 7ec30c54f339c640aa7e49d7e9f7bbed6bd42bf6 before 66700c0719675e0e118ae83b2d7168dacd69dd3d; from c184bc621e3cef03ac9ba81a50dda2dae6a21d36 before 626bda8cfe43dff19a9833ff6ba055a817b5455c; from 15649fd5415eda664ef35780c2013adeb5d9c695 before be6aae9d1b91c603adb35872d37d40e83daf8758; from 15649fd5415eda664ef35780c2013adeb5d9c695 before a50e73488e0bbdd262b3be3c9a1d8dd078382381; from 15649fd5415eda664ef35780c2013adeb5d9c695 before f8d5e7846025f4ab15a461235f8ebae9094a361a; from 5.4.290 before 5.4.292; from 5.10.234 before 5.10.266; from 5.15.177 before 5.15.217; and 4 more (not affected: before 6.13; from 5.4.292 up to 5.4.*; from 5.10.266 up to 5.10.*; from 5.15.217 up to 5.15.*; from 6.1.184 up to 6.1.*; from 6.6.151 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/19573dcddb8819fd68d6cd1f916c1c99c3fa4ff4>
- <https://git.kernel.org/stable/c/ceb7190b5c873d4a1267a1600c5aa52c600e929f>
- <https://git.kernel.org/stable/c/fd66854a22661929245f3d2b244c432bc8b1a150>
- <https://git.kernel.org/stable/c/158f3cc332dc53f43ec20060233d7c3cecd6d912>
- <https://git.kernel.org/stable/c/66700c0719675e0e118ae83b2d7168dacd69dd3d>
- <https://git.kernel.org/stable/c/626bda8cfe43dff19a9833ff6ba055a817b5455c>
- <https://git.kernel.org/stable/c/be6aae9d1b91c603adb35872d37d40e83daf8758>
- <https://git.kernel.org/stable/c/a50e73488e0bbdd262b3be3c9a1d8dd078382381>
- <https://git.kernel.org/stable/c/f8d5e7846025f4ab15a461235f8ebae9094a361a>

## Sources

- CVE List: [CVE-2026-68162](https://www.cve.org/CVERecord?id=CVE-2026-68162), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-68162](https://nvd.nist.gov/vuln/detail/CVE-2026-68162), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-68162 · Whole record: https://cve.day/CVE-2026-68162.json · Rebuilt by cve.day 2026-11-30T16:17:24.588Z
