CVE-2023-54280
JSON

9.8critical

cifs: fix potential race when tree connecting ipc

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential race when tree connecting ipc Protect access of TCP_Server_Info::hostname when building the ipc tree name as it might get freed in cifsd thread and thus causing an use-after-free bug in __tree_connect_dfs_target(). Also, while at it, update status of IPC tcon on success and then avoid any extra tree connects.

Affected

Product or packageVersionsReported by
Linux Linuxfrom c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e before 536ec71ba060a02fabe8e22cecb82fe7b3a8708b, from c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e before 553476df55a111e6a66ad9155256aec0ec1b7ad0, from c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e before ee20d7c6100752eaf2409d783f4f1449c29ea33d, 81d583baa5f1abd73c755ce1992929debd20b687, from 5.15.81 before 5.16, 5.16
Not affected: before 5.16, from 6.2.15 up to 6.2.*, from 6.3.2 up to 6.3.*, from 6.4 up to *
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential race when tree connecting ipc Protect access of TCP_Server_Info::hostname when building the ipc tree name as it might get freed in cifsd thread and thus causing an use-after-free bug in __tree_connect_dfs_target(). Also, while at it, update status of IPC tcon on success and then avoid any extra tree connects.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: cifs: corregir una posible condición de carrera al conectar el árbol ipc Proteger el acceso a TCP_Server_Info::hostname al construir el nombre del árbol ipc, ya que podría ser liberado en el hilo cifsd y así causar un error de uso después de liberación en __tree_connect_dfs_target(). Además, ya que estamos en ello, actualizar el estado de IPC tcon en caso de éxito y luego evitar cualquier conexión de árbol adicional.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-54280 changed 2026-10-15CVE Terms of Use
NVDCVE-2023-54280 changed 2026-10-15Public domain