{"id":"CVE-2026-31671","summary":"xfrm_user: fix info leak in build_report()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm_user: fix info leak in build_report()\n\nstruct xfrm_user_report is a __u8 proto field followed by a struct\nxfrm_selector which means there is three \"empty\" bytes of padding, but\nthe padding is never zeroed before copying to userspace.  Fix that up by\nzeroing the structure before setting individual member variables.","modified":"2026-04-26T04:22:21.208855Z","published":"2026-04-24T14:45:18.669Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31671.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c55714c931051cd7f4839c19ce0867179fd22fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/716c546e88cfe49d841658240e10cb57bc50a2cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d10119968d0e1f2b669604baf2a8b5fdb72fa6b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d27c02eec529f78055a46a5c9e6c62684382b2d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0c8542c3d097ed4205ded51868195d5d6ddac62"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff5ee507302303b15859753c3e0d67d38fd12c88"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31671.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31671"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"97a64b4577ae2bc5599dbd008a3cd9e25de9b9f5"},{"fixed":"d27c02eec529f78055a46a5c9e6c62684382b2d8"},{"fixed":"716c546e88cfe49d841658240e10cb57bc50a2cc"},{"fixed":"0616314b3b34f24cbb91da8c6bd8bcdc4c8592f9"},{"fixed":"e0c8542c3d097ed4205ded51868195d5d6ddac62"},{"fixed":"ff5ee507302303b15859753c3e0d67d38fd12c88"},{"fixed":"6c55714c931051cd7f4839c19ce0867179fd22fe"},{"fixed":"0a30dceb0e1f0c480d2482e6d7cebf8aebb6eb72"},{"fixed":"d10119968d0e1f2b669604baf2a8b5fdb72fa6b4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31671.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.19"},{"fixed":"5.10.253"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.203"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.169"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.135"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.82"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.23"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31671.json"}}],"schema_version":"1.7.5"}