{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56729","id":"CVE-2024-56729","title":"smb: Initialize cfid->tcon before performing network ops","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: Initialize cfid->tcon before performing network ops\n\nAvoid leaking a tcon ref when a lease break races with opening the\ncached directory. Processing the leak break might take a reference to\nthe tcon in cached_dir_lease_break() and then fail to release the ref in\ncached_dir_offload_close, since cfid->tcon is still NULL.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: Initialize cfid->tcon before performing network ops\n\nAvoid leaking a tcon ref when a lease break races with opening the\ncached directory. Processing the leak break might take a reference to\nthe tcon in cached_dir_lease_break() and then fail to release the ref in\ncached_dir_offload_close, since cfid->tcon is still NULL.","published":"2024-12-29T11:30:07.181Z","updated":"2026-11-01T02:30:22.904231162Z","reserved":"2024-12-27T15:00:39.861Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ebe98f1447bbccf8228335c62d86af02a0ed23f7","lessThan":"269ff24a5b2b58600151e04e964d2043bfe1843c","status":"affected","versionType":"git"},{"version":"ebe98f1447bbccf8228335c62d86af02a0ed23f7","lessThan":"625e2357c8fcfae6e66dcc667dc656fe390bab15","status":"affected","versionType":"git"},{"version":"ebe98f1447bbccf8228335c62d86af02a0ed23f7","lessThan":"4b216c8f9c7d84ef7de33ca60b97e08e03ef3292","status":"affected","versionType":"git"},{"version":"ebe98f1447bbccf8228335c62d86af02a0ed23f7","lessThan":"1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262","status":"affected","versionType":"git"},{"version":"ebe98f1447bbccf8228335c62d86af02a0ed23f7","lessThan":"c353ee4fb119a2582d0e011f66a76a38f5cf984d","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.1","status":"affected"},{"version":"0","lessThan":"6.1","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.64","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.11","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12.2","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/269ff24a5b2b58600151e04e964d2043bfe1843c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/625e2357c8fcfae6e66dcc667dc656fe390bab15","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4b216c8f9c7d84ef7de33ca60b97e08e03ef3292","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c353ee4fb119a2582d0e011f66a76a38f5cf984d","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56729.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56729","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00231,"epssPercentile":0.14167,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56729","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56729","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56729","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56729","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}