{"id":"CVE-2024-46742","aliases":["CVE-2024-46742"],"related":[],"kind":"vulnerability","state":"published","title":"smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()\n\nnull-ptr-deref will occur when (req_op_level == SMB2_OPLOCK_LEVEL_LEASE)\nand parse_lease_state() return NULL.\n\nFix this by check if 'lease_ctx_info' is NULL.\n\nAdditionally, remove the redundant parentheses in\nparse_durable_handle_context().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()\n\nnull-ptr-deref will occur when (req_op_level == SMB2_OPLOCK_LEVEL_LEASE)\nand parse_lease_state() return NULL.\n\nFix this by check if 'lease_ctx_info' is NULL.\n\nAdditionally, remove the redundant parentheses in\nparse_durable_handle_context().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: smb/server: se corrige la posible eliminación de referencia nula de lease_ctx_info en smb2_open(). La eliminación de referencia nula de lease_ctx_info ocurrirá cuando (req_op_level == SMB2_OPLOCK_LEVEL_LEASE) y parse_lease_state() devuelvan NULL. Corrija esto verificando si 'lease_ctx_info' es NULL. Además, elimine los paréntesis redundantes en parse_durable_handle_context().","source":"nvd"}],"published":"2024-09-18T07:12:03.251Z","modified":"2026-06-17T07:55:50.400Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"878f32878351104448b86ef5b85d1f8ed6f599fb","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"ec28c35029b7930f31117f9284874b63bea4f31b","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"07f384c5be1f8633b13f0a22616e227570450bc6","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"3b692794b81f2ecad69a4adbba687f3836824ada","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"4e8771a3666c8f216eefd6bd2fd50121c6c437db","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.181","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.135","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.51","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.10","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","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","fixed":"6.6.51"},{"status":"affected","introduced":"6.7","fixed":"6.10.10"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/878f32878351104448b86ef5b85d1f8ed6f599fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec28c35029b7930f31117f9284874b63bea4f31b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07f384c5be1f8633b13f0a22616e227570450bc6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b692794b81f2ecad69a4adbba687f3836824ada","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e8771a3666c8f216eefd6bd2fd50121c6c437db","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T14:50:00.752Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46742","url":"https://www.cve.org/CVERecord?id=CVE-2024-46742","licence":"CVE Terms of Use","modified":"2026-05-11T20:35:31.448Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46742","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46742","licence":"Public domain","modified":"2026-06-17T07:55:50.400Z"}],"updatedAt":"2026-11-25T22:58:45.549Z","epss":{"score":0.00261,"percentile":0.19093,"date":"2026-12-01T12:00:22.000Z"}}