{"id":"CVE-2024-35962","aliases":["CVE-2024-35962"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: complete validation of user input","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: complete validation of user input\n\nIn my recent commit, I missed that do_replace() handlers\nuse copy_from_sockptr() (which I fixed), followed\nby unsafe copy_from_sockptr_offset() calls.\n\nIn all functions, we can perform the @optlen validation\nbefore even calling xt_alloc_table_info() with the following\ncheck:\n\nif ((u64)optlen < (u64)tmp.size + sizeof(tmp))\n        return -EINVAL;","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: complete validation of user input\n\nIn my recent commit, I missed that do_replace() handlers\nuse copy_from_sockptr() (which I fixed), followed\nby unsafe copy_from_sockptr_offset() calls.\n\nIn all functions, we can perform the @optlen validation\nbefore even calling xt_alloc_table_info() with the following\ncheck:\n\nif ((u64)optlen < (u64)tmp.size + sizeof(tmp))\n        return -EINVAL;","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: netfilter: validación completa de la entrada del usuario En mi confirmación reciente, omití que los controladores do_replace() usan copy_from_sockptr() (que arreglé), seguido de llamadas inseguras copy_from_sockptr_offset(). En todas las funciones, podemos realizar la validación @optlen incluso antes de llamar a xt_alloc_table_info() con la siguiente comprobación: if ((u64)optlen &lt; (u64)tmp.size + sizeof(tmp)) return -EINVAL;","source":"nvd"}],"published":"2024-05-20T09:41:53.207Z","modified":"2026-10-15T01:18:13.690Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"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":[],"affected":[{"ranges":[{"type":"git","introduced":"0f038242b77ddfc505bf4163d4904c1abd2e74d6","fixed":"cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05","status":"affected"},{"type":"git","introduced":"440e948cf0eff32cfe322dcbca3f2525354b159b","fixed":"97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7","status":"affected"},{"type":"git","introduced":"18aae2cb87e5faa9c5bd865260ceadac60d5a6c5","fixed":"c760089aa98289b4b88a7ff5a62dd92845adf223","status":"affected"},{"type":"git","introduced":"81d51b9b7c95e791ba3c1a2dd77920a9d3b3f525","fixed":"89242d9584c342cb83311b598d9e6b82572eadf8","status":"affected"},{"type":"git","introduced":"58f2bfb789e6bd3bc24a2c9c1580f3c67aec3018","fixed":"562b7245131f6e9f1d280c8b5a8750f03edfc05c","status":"affected"},{"type":"git","introduced":"0c83842df40f86e529db6842231154772c20edcc","fixed":"65acf6e0501ac8880a4f73980d01b5d27648b956","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.10.215","fixed":"5.10.216","status":"affected"},{"type":"semver","introduced":"5.15.154","fixed":"5.15.156","status":"affected"},{"type":"semver","introduced":"6.1.85","fixed":"6.1.87","status":"affected"},{"type":"semver","introduced":"6.6.26","fixed":"6.6.28","status":"affected"},{"type":"semver","introduced":"6.8.5","fixed":"6.8.7","status":"affected"}],"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.154","fixed":"5.15.156"},{"status":"affected","introduced":"6.1.85","fixed":"6.1.87"},{"status":"affected","introduced":"6.6.26","fixed":"6.6.28"},{"status":"affected","introduced":"6.8.5","fixed":"6.8.7"},{"status":"affected","version":"5.10.215"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/cf4bc359b76144a3dd55d7c09464ef4c5f2b2b05","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/97dab36e57c64106e1c8ebd66cbf0d2d1e52d6b7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c760089aa98289b4b88a7ff5a62dd92845adf223","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89242d9584c342cb83311b598d9e6b82572eadf8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/562b7245131f6e9f1d280c8b5a8750f03edfc05c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65acf6e0501ac8880a4f73980d01b5d27648b956","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:40:32.586Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35962","url":"https://www.cve.org/CVERecord?id=CVE-2024-35962","licence":"CVE Terms of Use","modified":"2026-10-15T00:41:44.521Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35962","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35962","licence":"Public domain","modified":"2026-10-15T01:18:13.690Z"}],"updatedAt":"2026-11-25T22:58:40.639Z","epss":{"score":0.0024,"percentile":0.16137,"date":"2026-12-01T12:00:22.000Z"}}