7.8

CVE-2026-31516: linux Race Condition

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2026-31516DEBIAN-CVE-2026-31516
Published 22-04-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-31516 is a high (CVSS 7.8) Race Condition vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 2.7% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.14%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 25 · Related 25

Timeline

  1. 22-04-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: prevent policy_hthresh.work from racing with netns teardown A XFRM_MSG_NEWSPDINFO request can queue the per-net work item policy_hthresh.work onto the system workqueue. The queued callback, xfrm_hash_rebuild(), retrieves the enclosing struct net via container_of(). If the net namespace is torn down before that work runs, the associated struct net may already have been freed, and xfrm_hash_rebuild() may then dereference stale memory. xfrm_policy_fini() already flushes policy_hash_work during teardown, but it does not synchronize policy_hthresh.work. Synchronize policy_hthresh.work in xfrm_policy_fini() as well, so the queued work cannot outlive the net namespace teardown and access a freed struct net.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

+0.04 pp

From 0.10% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.14%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu157 products
  • linuxAll versions (No fix recorded) | < 6.8.0-136.136
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1061.64
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 880a6fab8f6ba5b5abe59ea68533202ddea1012c, < 56ea2257b83ee29a543f158159e3d1abc1e3e4fe | ≥ 880a6fab8f6ba5b5abe59ea68533202ddea1012c, < 8854e9367465d784046362698731c1111e3b39b8 | ≥ 880a6fab8f6ba5b5abe59ea68533202ddea1012c, < 4e2e77843fef473ef47e322d52436d8308582a96 | ≥ 880a6fab8f6ba5b5abe59ea68533202ddea1012c, < 29fe3a61bcdce398ee3955101c39f89c01a8a77e | 3.18
  • linux_kernel≥ 3.18.1, < 6.12.80 | ≥ 6.13, < 6.18.21 | ≥ 6.19, < 6.19.11 | 3.18 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4 | 7.0:rc5 | 7.0:rc6 | 7.0:rc7
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.12.85-1 | < 6.19.11-1

3 vendors · 160 products

References

22 links
Show all 22 references