CVE-2026-31476

In the Linux kernel, the following vulnerability has been resolved: ksmbd: do not expire session on binding failure When a multichannel session binding request fails (e.g. wrong password), the error path unconditionally sets sess->state = SMB2_SESSION_EXPIRED. However, during binding, sess points to the target session looked up via ksmbd_session_lookup_slowpath() -- which belongs to another connection's user. This allows a remote attacker to invalidate any active session by simply sending a binding request with a wrong password (DoS). Fix this by skipping session expiration when the failed request was a binding attempt, since the session does not belong to the current connection. The reference taken by ksmbd_session_lookup_slowpath() is still correctly released via ksmbd_user_session_put().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ksmbd: no expirar la sesión en caso de fallo de enlace Cuando una solicitud de enlace de sesión multicanal falla (p. ej., contraseña incorrecta), la ruta de error establece incondicionalmente sess -> state = SMB2_SESSION_EXPIRED. Sin embargo, durante el enlace, sess apunta a la sesión objetivo buscada a través de ksmbd_session_lookup_slowpath() - - que pertenece al usuario de otra conexión. Esto permite a un atacante remoto invalidar cualquier sesión activa simplemente enviando una solicitud de enlace con una contraseña incorrecta (DoS). Solucione esto omitiendo la expiración de la sesión cuando la solicitud fallida fue un intento de enlace, ya que la sesión no pertenece a la conexión actual. La referencia tomada por ksmbd_session_lookup_slowpath() se sigue liberando correctamente a través de ksmbd_user_session_put().

Information

Published : 2026-04-22 14:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-31476

Mitre link : CVE-2026-31476

CVE.ORG link : CVE-2026-31476


JSON object : View

Products Affected

linux

  • linux_kernel