CVE-2023-53684
Medium · 5.5CVSS
5.5
EPSS
0.1%
Published
Oct 7, 2025
CISA due date
—
Cloudanix analysis
A kernel bug allowed random internal computer memory to be sent to ordinary programs, which could let them see pieces of private data that should have stayed hidden.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- OS kernel
- Class
- Information Disclosure
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Uninitialized padding bytes in xfrm algorithm and encap structures containing kernel memory are copied to user-space during netlink dumps instead of being zeroed.
Why it matters to the business
Local processes may obtain fragments of kernel memory that could include sensitive internal state or cryptographic material, increasing risk of further attacks on systems running the affected kernel.
How an attack unfolds
A local attacker with access to the xfrm netlink interface requests dumps of algorithms or encapsulation templates; the kernel returns structures whose padding fields retain prior random or sensitive contents that the attacker then inspects.
How to fix it
Upgrade the Linux kernel to a version containing commit 0725daaa9a879388ed312110f62dbd5ea2d75f8f which zeros padding before copying xfrm structures to user-space.
How to confirm the fix worked
Confirm the presence of the zeroing patch in the xfrm_user.c source or verify the running kernel is newer than the listed fixed commit; test by exercising xfrm dump operations and inspecting returned structures for cleared padding.
Typical attack path
- Obtain local shell or process execution as a non-root user
- Open a netlink socket to the xfrm subsystem
- Issue XFRM_MSG_GETALGO or XFRM_MSG_GETENCAP requests
- Parse the returned nlmsghdr payloads for non-zero padding bytes
How to detect it
Audit netlink activity for repeated XFRM_MSG_GETALGO or XFRM_MSG_GETENCAP calls from non-privileged processes and inspect user-space buffers for anomalous non-zero padding after such calls.
What your security team should do
- Prioritize kernel upgrades on all systems exposing the xfrm netlink interface
- Apply the referenced commit or distribution backport within standard patch windows
- Review local user access controls to xfrm netlink sockets
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 0 | 5.15.106 |
| Linux | Kernel | 5.11.0 | 5.15.106 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel