CVEvulnerability
CVE-2024-56729
4.7 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-12-29
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• linux linux kernel (>= 6.1 < 6.6.64)
• linux linux kernel (>= 6.7 < 6.11.11)
• linux linux kernel (>= 6.12 < 6.12.2)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262 Patch
- https://git.kernel.org/stable/c/4b216c8f9c7d84ef7de33ca60b97e08e03ef3292 Patch
- https://git.kernel.org/stable/c/625e2357c8fcfae6e66dcc667dc656fe390bab15 Patch
- https://git.kernel.org/stable/c/c353ee4fb119a2582d0e011f66a76a38f5cf984d Patch