5.5medium
xfrm_user: fix info leak in build_report()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before d27c02eec529f78055a46a5c9e6c62684382b2d8, from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before 716c546e88cfe49d841658240e10cb57bc50a2cc, from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before 0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9, from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before e0c8542c3d097ed4205ded51868195d5d6ddac62, from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before ff5ee507302303b15859753c3e0d67d38fd12c88, from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before 6c55714c931051cd7f4839c19ce0867179fd22fe, from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before 0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72, from 97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5 before d10119968d0e1f2b669604baf2a8b5fdb72fa6b4 and 1 more Not affected: before 2.6.19, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.169 up to 6.1.*, from 6.6.135 up to 6.6.*, from 6.12.82 up to 6.12.* | CVE List |
| linux linux_kernel | from 2.6.19.1 before 5.10.253, from 5.11 before 5.15.203, from 5.16 before 6.1.169, from 6.2 before 6.6.135, from 6.7 before 6.12.82, from 6.13 before 6.18.23, from 6.19 before 6.19.13, 2.6.19 and 1 more | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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 (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xfrm_user: corrige fuga de información en build_report() La estructura xfrm_user_report es un campo __u8 proto seguido por una estructura xfrm_selector, lo que significa que hay tres bytes de relleno ’vacíos’, pero el relleno nunca se pone a cero antes de copiar al espacio de usuario. Se soluciona poniendo a cero la estructura antes de establecer las variables miembro individuales.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31671 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-31671 changed 2026-11-11 | Public domain |