CVE-2023-53684

xfrm: Zero padding when dumping algos and encap

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c7a5899eb26e2a4d516d53f65b6dd67be2228041 to before 0725daaa9a879388ed312110f62dbd5ea2d75f8fAffected
  • c7a5899eb26e2a4d516d53f65b6dd67be2228041 to before 5218af4ad5d8948faac19f71583bcd786c3852dfAffected
  • c7a5899eb26e2a4d516d53f65b6dd67be2228041 to before 1a351e26cc010d6991fbbd5701ac16581372e26fAffected
  • c7a5899eb26e2a4d516d53f65b6dd67be2228041 to before 8222d5910dae08213b6d9d4bc9a7f8502855e624Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.106 through 5.15.*Not affected
  • 6.1.23 through 6.1.*Not affected
  • 6.2.10 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.