kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.4.290 이상 5.4.292 미만
    • 5.10.234 이상 5.10.266 미만
    • 5.15.177 이상 5.15.217 미만
    • 6.1.125 이상 6.1.184 미만
    • 6.6.72 이상 6.6.151 미만
    • 6.12.10 이상 6.12.101 미만
    • 6.13

    해결 버전

    • 5.4.292 이상
    • 5.10.266 이상
    • 5.15.217 이상
    • 6.1.184 이상
    • 6.6.151 이상
    • 6.12.101 이상
    • 6.13 미만
    • 6.18.42 이상
    외 1개 구간 펼치기
    • 7.1.6 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의