# CVE-2023-53684: xfrm: Zero padding when dumping algos and encap

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-10-07T15:21:37.413Z
- Modified: 2026-11-05T21:17:32.113Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c7a5899eb26e2a4d516d53f65b6dd67be2228041 before 0725daaa9a879388ed312110f62dbd5ea2d75f8f; from c7a5899eb26e2a4d516d53f65b6dd67be2228041 before 5218af4ad5d8948faac19f71583bcd786c3852df; from c7a5899eb26e2a4d516d53f65b6dd67be2228041 before 1a351e26cc010d6991fbbd5701ac16581372e26f; from c7a5899eb26e2a4d516d53f65b6dd67be2228041 before 8222d5910dae08213b6d9d4bc9a7f8502855e624; 5.11 (not affected: before 5.11; from 5.15.106 up to 5.15.*; from 6.1.23 up to 6.1.*; from 6.2.10 up to 6.2.*; from 6.3 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/0725daaa9a879388ed312110f62dbd5ea2d75f8f> (patch)
- <https://git.kernel.org/stable/c/5218af4ad5d8948faac19f71583bcd786c3852df> (patch)
- <https://git.kernel.org/stable/c/1a351e26cc010d6991fbbd5701ac16581372e26f> (patch)
- <https://git.kernel.org/stable/c/8222d5910dae08213b6d9d4bc9a7f8502855e624> (patch)

## Sources

- CVE List: [CVE-2023-53684](https://www.cve.org/CVERecord?id=CVE-2023-53684), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53684](https://nvd.nist.gov/vuln/detail/CVE-2023-53684), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53684 · Whole record: https://cve.day/CVE-2023-53684.json · Rebuilt by cve.day 2026-11-25T22:58:35.004Z
