Skip to main content
← All vulnerabilities
CVE-2026-31671

xfrm_user: fix info leak in build_report()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.253, 5.15.203, 6.1.169, 6.6.135, 6.12.82, and 2 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in d27c02eec529f78055a46a5c9e6c62684382b2d8; From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in 716c546e88cfe49d841658240e10cb57bc50a2cc; From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9; From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in e0c8542c3d097ed4205ded51868195d5d6ddac62; From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in ff5ee507302303b15859753c3e0d67d38fd12c88; From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in 6c55714c931051cd7f4839c19ce0867179fd22fe; From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72; From 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 · fixed in d10119968d0e1f2b669604baf2a8b5fdb72fa6b4

  • Linux Linux

    2.6.19

  • KernelLinux

    From 2.6.19 · fixed in 5.10.253; From 5.11.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.169; From 6.2.0 · fixed in 6.6.135; From 6.7.0 · fixed in 6.12.82; From 6.13.0 · fixed in 6.18.23; From 6.19.0 · fixed in 6.19.13

References 8

git.kernel.org