What’s Vulnerable › Vulnerabilities
CVE-2023-53684: xfrm: Zero padding when dumping algos and encap
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-07 · updated 2026-10-28
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: Zero padding when dumping algos and encap When copying data to user-space we should ensure that only valid data is copied over. Padding in structures may be filled with random (possibly sensitve) data and should never be given directly to user-space. This patch fixes the copying of xfrm algorithms and the encap template in xfrm_user so that padding is zeroed.
Affected products
- Linux kernel: from 5.11 before 5.15.106; from 5.16 before 6.1.23; from 6.2 before 6.2.10; 6.3-rc1, 6.3-rc2 — fixed in 5.15.106, 6.1.23, 6.2.10
How to fix
Upgrade to a fixed version: Linux kernel 5.15.106, 6.1.23, 6.2.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0725daaa9a879388ed312110f62dbd5ea2d75f8f
- https://git.kernel.org/stable/c/1a351e26cc010d6991fbbd5701ac16581372e26f
- https://git.kernel.org/stable/c/5218af4ad5d8948faac19f71583bcd786c3852df
- https://git.kernel.org/stable/c/8222d5910dae08213b6d9d4bc9a7f8502855e624
Get alerted when CVE-2023-53684 or the next vulnerability affects your stack