Skip to content
CVE PROGRAM SOURCE RECORD4.7 Medium

CVE-2024-56729

smb: Initialize cfid->tcon before performing network ops

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ebe98f1447bbccf8228335c62d86af02a0ed23f7 to < 269ff24a5b2b58600151e04e964d2043bfe1843caffected
  • ebe98f1447bbccf8228335c62d86af02a0ed23f7 to < 625e2357c8fcfae6e66dcc667dc656fe390bab15affected
  • ebe98f1447bbccf8228335c62d86af02a0ed23f7 to < 4b216c8f9c7d84ef7de33ca60b97e08e03ef3292affected
  • ebe98f1447bbccf8228335c62d86af02a0ed23f7 to < 1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262affected
  • ebe98f1447bbccf8228335c62d86af02a0ed23f7 to < c353ee4fb119a2582d0e011f66a76a38f5cf984daffected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.64 to ≤ 6.6.*unaffected
  • 6.11.11 to ≤ 6.11.*unaffected
  • 6.12.2 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References