{"id":"CVE-2024-58087","aliases":["CVE-2024-58087"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: fix racy issue from session lookup and expire","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix racy issue from session lookup and expire\n\nIncrement the session reference count within the lock for lookup to avoid\nracy issue with session expire.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix racy issue from session lookup and expire\n\nIncrement the session reference count within the lock for lookup to avoid\nracy issue with session expire.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: corrige problema de rapidez en la búsqueda y expiración de la sesión Incrementa el recuento de referencia de sesión dentro del bloqueo para la búsqueda para evitar problemas de rapidez con la expiración de la sesión.","source":"nvd"}],"published":"2025-03-12T07:28:09.114Z","modified":"2026-08-05T11:47:38.424Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"2107ab40629aeabbec369cf34b8cf0f288c3eb1b","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"37a0e2b362b3150317fb6e2139de67b1e29ae5ff","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"450a844c045ff0895d41b05a1cbe8febd1acfcfd","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"a39e31e22a535d47b14656a7d6a893c7f6cf758c","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"b95629435b84b9ecc0c765995204a4d8a913ed52","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.176","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.121","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.67","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.6","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15.145","fixed":"5.15.176"},{"status":"affected","introduced":"6.1.29","fixed":"6.1.121"},{"status":"affected","introduced":"6.2.16","fixed":"6.3"},{"status":"affected","introduced":"6.3.2","fixed":"6.4"},{"status":"affected","introduced":"6.7","fixed":"6.12.6"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2107ab40629aeabbec369cf34b8cf0f288c3eb1b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37a0e2b362b3150317fb6e2139de67b1e29ae5ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/450a844c045ff0895d41b05a1cbe8febd1acfcfd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a39e31e22a535d47b14656a7d6a893c7f6cf758c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b95629435b84b9ecc0c765995204a4d8a913ed52","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-25-100/","tags":["patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T19:26:55.319Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58087","url":"https://www.cve.org/CVERecord?id=CVE-2024-58087","licence":"CVE Terms of Use","modified":"2026-08-05T11:47:38.424Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58087","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58087","licence":"Public domain","modified":"2026-08-04T11:22:38.603Z"}],"updatedAt":"2026-11-25T22:58:52.273Z","epss":{"score":0.00512,"percentile":0.45158,"date":"2026-12-01T12:00:22.000Z"}}