CVE-2026-31671

xfrm_user: fix info leak in build_report()

State
Published
Severity
Not scored
Published
Apr 24, 2026
Updated
Oct 15, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

xfrm_user: fix info leak in build_report()

struct xfrm_user_report is a __u8 proto field followed by a struct xfrm_selector which means there is three "empty" bytes of padding, but the padding is never zeroed before copying to userspace. Fix that up by zeroing the structure before setting individual member variables.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before d27c02eec529f78055a46a5c9e6c62684382b2d8Affected
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before 716c546e88cfe49d841658240e10cb57bc50a2ccAffected
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9Affected
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before e0c8542c3d097ed4205ded51868195d5d6ddac62Affected
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before ff5ee507302303b15859753c3e0d67d38fd12c88Affected
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before 6c55714c931051cd7f4839c19ce0867179fd22feAffected
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72Affected
  • 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 to before d10119968d0e1f2b669604baf2a8b5fdb72fa6b4Affected
LinuxLinux
  • 2.6.19Affected
  • before 2.6.19Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.169 through 6.1.*Not affected
  • 6.6.135 through 6.6.*Not affected
  • 6.12.82 through 6.12.*Not affected
  • 6.18.23 through 6.18.*Not affected
  • 6.19.13 through 6.19.*Not affected
  • 7.0 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.