SecurityContext

CVE-2026-31471: Linux Kernel - Use After Free

  • Cve: CVE-2026-31471
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: only publish mode_data after clone setup iptfs_clone_state() stores x->mode_data before allocating the reorder window. If that allocation fails, the code frees the cloned state and returns -ENOMEM, leaving x->mode_data pointing at freed memory. The xfrm clone unwind later runs destroy_state() through x->mode_data, so the failed clone path tears down IPTFS state that clone_state() already freed. Keep the cloned IPTFS state private until all allocations succeed so failed clones leave x->mode_data unset. The destroy path already handles a NULL mode_data pointer.
  • Impact: Attackers can cause use-after-free leading to system crashes or potential privilege escalation.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability type: use_after_free
  • Vulnerability impact: use_after_free, denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs kernel-level access to trigger clone_state failure
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00132
  • Epss percentile: 0.0276
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-04-22T14:16:43Z
  • Age in days: 216
  • Modified at: 2026-11-11T23:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-31471
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-415Double Free

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/371a43c4ac70cac0de9f9b1fc5b1660b9565b9f1
https://git.kernel.org/stable/c/5784a1e2889c9525a8f036cb586930e232170bf7
https://git.kernel.org/stable/c/d849a2f7309fc0616e79d13b008b0a47e0458b6e

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 7.0 rc1; = 7.0 rc2; = 7.0 rc3; = 7.0 rc4; = 7.0 rc5; >= 6.19, < 6.19.11; >= 6.14, < 6.18.21nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports