Linux Kernel: Zero Padding Leak in xfrm_user Report Structure
CVE-2026-31671 Published on April 24, 2026

xfrm_user: fix info leak in build_report()
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.

NVD


Products Associated with CVE-2026-31671

Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.

 

Affected Versions

Linux: Linux: