CVE-2026-31664
Last modified
CVE-2026-31664 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: xfrm: clear trailing padding in build_polexpire() build_expire() clears the trailing padding bytes of struct xfrm_user_expire after setting the hard field via memset_after(), but the analogous function build_polexpire() does not do this for struct xfrm_user_polexpire. The padding bytes after the __u8 hard field are left uninitialized from the heap allocation, and are then sent to userspace via netlink multicast to XFRMNLGRP_EXPIRE listeners, leaking kernel heap memory contents. Add the missing memset_after() call, matching build_expire().. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: clear trailing padding in build_polexpire() build_expire() clears the trailing padding bytes of struct xfrm_user_expire after setting the hard field via memset_after(), but the analogous function build_polexpire() does not do this for struct xfrm_user_polexpire. The padding bytes after the __u8 hard field are left uninitialized from the heap allocation, and are then sent to userspace via netlink multicast to XFRMNLGRP_EXPIRE listeners, leaking kernel heap memory contents. Add the missing memset_after() call, matching build_expire().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.12.1, < 6.1.169 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.135 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.82 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.23 | — |
| Linux | Linux Kernel | >= 6.19, < 6.19.13 | — |
| Linux | Linux Kernel | 2.6.12 | — |
| Linux | Linux Kernel | 7.0 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-31664?
How severe is CVE-2026-31664?
How do I fix CVE-2026-31664?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31659In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-3166A vulnerability was identified in Tenda F453 1.0.0.3. The af…8.8
- CVE-2026-31660In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31661In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31662In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-31663In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31665In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31666In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31667In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31668In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-31669In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-3167A security flaw has been discovered in Tenda F453 1.0.0.3. T…8.8
Are you affected by CVE-2026-31664?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
