CVE-2026-31671

MEDIUM

xfrm_user: fix info leak in build_report()

Title source: cna
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (29)
Linux/Linux < 2.6.19
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 6c55714c931051cd7f4839c19ce0867179fd22fe
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 716c546e88cfe49d841658240e10cb57bc50a2cc
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - d10119968d0e1f2b669604baf2a8b5fdb72fa6b4
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - d27c02eec529f78055a46a5c9e6c62684382b2d8
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - e0c8542c3d097ed4205ded51868195d5d6ddac62
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - ff5ee507302303b15859753c3e0d67d38fd12c88
Linux/Linux 2.6.19
... and 19 more
Published Apr 24, 2026
Tracked Since Apr 24, 2026