CVE-2026-31717

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate owner of durable handle on reconnect Currently, ksmbd does not verify if the user attempting to reconnect to a durable handle is the same user who originally opened the file. This allows any authenticated user to hijack an orphaned durable handle by predicting or brute-forcing the persistent ID. According to MS-SMB2, the server MUST verify that the SecurityContext of the reconnect request matches the SecurityContext associated with the existing open. Add a durable_owner structure to ksmbd_file to store the original opener's UID, GID, and account name. and catpure the owner information when a file handle becomes orphaned. and implementing ksmbd_vfs_compare_durable_owner() to validate the identity of the requester during SMB2_CREATE (DHnC).
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:7.1:rc1:*:*:*:*:*:*

History

11 Nov 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ksmbd: validar el propietario del identificador duradero al reconectar Actualmente, ksmbd no verifica si el usuario que intenta reconectar a un identificador duradero es el mismo usuario que abrió originalmente el archivo. Esto permite a cualquier usuario autenticado secuestrar un identificador duradero huérfano prediciendo o forzando por fuerza bruta el ID persistente. Según MS-SMB2, el servidor DEBE verificar que el SecurityContext de la solicitud de reconexión coincide con el SecurityContext asociado con la apertura existente. Añadir una estructura durable_owner a ksmbd_file para almacenar el UID, GID y nombre de cuenta del abridor original. Y capturar la información del propietario cuando un identificador de archivo queda huérfano. E implementar ksmbd_vfs_compare_durable_owner() para validar la identidad del solicitante durante SMB2_CREATE (DHnC).

Information

Published : 2026-05-01 14:16

Updated : 2026-11-11 21:10


NVD link : CVE-2026-31717

Mitre link : CVE-2026-31717

CVE.ORG link : CVE-2026-31717


JSON object : View

Products Affected

linux

  • linux_kernel