CVE-2023-53684 xfrm: Zero padding when dumping algos and encap
A local attacker can read sensitive kernel memory via uninitialized padding in xfrm algorithm and encap template dumps.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53684?
CVE-2023-53684 is a medium-severity vulnerability in Linux kernel, published on 7 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-53684?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53684?
Apply the vendor's patch.
Is CVE-2023-53684 being exploited?
There is no known exploitation of CVE-2023-53684 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-53684, DEBIAN-CVE-2023-53684, GHSA-pmq6-ggff-fwmg, ROOT-OS-DEBIAN-11-CVE-2023-53684, UBUNTU-CVE-2023-53684.