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.0012
EPSS Percentile 2.1%
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 (36)
linux/Kernel 2.6.19 - 5.10.253linux
linux/Kernel 5.11.0 - 5.15.203linux
linux/Kernel 5.16.0 - 6.1.169linux
linux/Kernel 6.13.0 - 6.18.23linux
linux/Kernel 6.19.0 - 6.19.13linux
linux/Kernel 6.2.0 - 6.6.135linux
linux/Kernel 6.7.0 - 6.12.82linux
Linux/Linux < 2.6.19
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72
... and 26 more
Published Apr 24, 2026
Tracked Since Apr 24, 2026