CVE-2024-56729
JSON

4.7medium

smb: Initialize cfid->tcon before performing network ops

Severity
4.7medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: smb: Initialize cfid->tcon before performing network ops Avoid leaking a tcon ref when a lease break races with opening the cached directory. Processing the leak break might take a reference to the tcon in cached_dir_lease_break() and then fail to release the ref in cached_dir_offload_close, since cfid->tcon is still NULL.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 269ff24a5b2b58600151e04e964d2043bfe1843c, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 625e2357c8fcfae6e66dcc667dc656fe390bab15, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 4b216c8f9c7d84ef7de33ca60b97e08e03ef3292, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262, from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before c353ee4fb119a2582d0e011f66a76a38f5cf984d, 6.1
Not affected: before 6.1, from 6.1.191 up to 6.1.*, from 6.6.64 up to 6.6.*, from 6.11.11 up to 6.11.*, from 6.12.2 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelfrom 6.1 before 6.6.64, from 6.7 before 6.11.11, from 6.12 before 6.12.2NVD

All scores

CISA-ADP4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: smb: Initialize cfid->tcon before performing network ops Avoid leaking a tcon ref when a lease break races with opening the cached directory. Processing the leak break might take a reference to the tcon in cached_dir_lease_break() and then fail to release the ref in cached_dir_offload_close, since cfid->tcon is still NULL.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: smb: inicializar cfid->tcon antes de realizar operaciones de red Evitar la fuga de una referencia tcon cuando una interrupción de arrendamiento se ejecuta con la apertura del directorio en caché. El procesamiento de la interrupción de la fuga puede tomar una referencia al tcon en cached_dir_lease_break() y luego no liberar la referencia en cached_dir_offload_close, ya que cfid->tcon sigue siendo NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56729 changed 2026-10-30CVE Terms of Use
NVDCVE-2024-56729 changed 2026-10-30Public domain