{"id":"CVE-2023-53684","aliases":["CVE-2023-53684"],"related":[],"kind":"vulnerability","state":"published","title":"xfrm: Zero padding when dumping algos and encap","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: Zero padding when dumping algos and encap\n\nWhen copying data to user-space we should ensure that only valid\ndata is copied over.  Padding in structures may be filled with\nrandom (possibly sensitve) data and should never be given directly\nto user-space.\n\nThis patch fixes the copying of xfrm algorithms and the encap\ntemplate in xfrm_user so that padding is zeroed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: Zero padding when dumping algos and encap\n\nWhen copying data to user-space we should ensure that only valid\ndata is copied over.  Padding in structures may be filled with\nrandom (possibly sensitve) data and should never be given directly\nto user-space.\n\nThis patch fixes the copying of xfrm algorithms and the encap\ntemplate in xfrm_user so that padding is zeroed.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nxfrm: Rellenar con ceros el padding al volcar algos y encap\n\nAl copiar datos al espacio de usuario, debemos asegurar que solo se copien datos válidos. El padding en las estructuras puede estar lleno de datos aleatorios (posiblemente sensibles) y nunca debe entregarse directamente al espacio de usuario.\n\nEste parche corrige la copia de algoritmos xfrm y la plantilla encap en xfrm_user para que el padding se rellene con ceros.","source":"nvd"}],"published":"2025-10-07T15:21:37.413Z","modified":"2026-11-05T21:17:32.113Z","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":[],"affected":[{"ranges":[{"type":"git","introduced":"c7a5899eb26e2a4d516d53f65b6dd67be2228041","fixed":"0725daaa9a879388ed312110f62dbd5ea2d75f8f","status":"affected"},{"type":"git","introduced":"c7a5899eb26e2a4d516d53f65b6dd67be2228041","fixed":"5218af4ad5d8948faac19f71583bcd786c3852df","status":"affected"},{"type":"git","introduced":"c7a5899eb26e2a4d516d53f65b6dd67be2228041","fixed":"1a351e26cc010d6991fbbd5701ac16581372e26f","status":"affected"},{"type":"git","introduced":"c7a5899eb26e2a4d516d53f65b6dd67be2228041","fixed":"8222d5910dae08213b6d9d4bc9a7f8502855e624","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.106","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.23","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.10","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","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.11","fixed":"5.15.106"},{"status":"affected","introduced":"5.16","fixed":"6.1.23"},{"status":"affected","introduced":"6.2","fixed":"6.2.10"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0725daaa9a879388ed312110f62dbd5ea2d75f8f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5218af4ad5d8948faac19f71583bcd786c3852df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a351e26cc010d6991fbbd5701ac16581372e26f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8222d5910dae08213b6d9d4bc9a7f8502855e624","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:27:13.093Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53684","url":"https://www.cve.org/CVERecord?id=CVE-2023-53684","licence":"CVE Terms of Use","modified":"2026-11-05T20:31:20.944Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53684","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53684","licence":"Public domain","modified":"2026-11-05T21:17:32.113Z"}],"updatedAt":"2026-11-25T22:58:35.004Z","epss":{"score":0.00149,"percentile":0.0427,"date":"2026-12-01T12:00:22.000Z"}}