CVE-2026-31516
published high CVSS 3.1 · 7.8xfrm: prevent policy_hthresh.work from racing with netns teardown
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 56ea2257b83ee29a543f158159e3d1abc1e3e4fe · 880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 8854e9367465d784046362698731c1111e3b39b8 · 880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 4e2e77843fef473ef47e322d52436d8308582a96 · 880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 29fe3a61bcdce398ee3955101c39f89c01a8a77e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.18 (affected) · 0 to < 3.18 (unaffected · semver) · 6.12.80 through 6.12.* (unaffected · semver) · 6.18.21 through 6.18.* (unaffected · semver) · 6.19.11 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1646 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1746 | Fixed | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.85-1 | DSA-6238-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-204.92.4.2.el9uek | ELSA-2026-50372 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached by a local NETLINK_XFRM request, specifically XFRM_MSG_NEWSPDINFO, not by remote packet processing. AC:L - The attacker can create the net namespace, send the request that queues policy_hthresh.work, and tear the namespace down; this is an attacker-controlled race and can be retried. PR:L - XFRM netlink operations require CAP_NET_ADMIN over the target network namespace. This is reachable with low privileges via user and network namespaces rather than requiring real init-namespace root. UI:N - No victim action is required after the attacker has local execution; the attacker directly drives the netlink request and namespace teardown. S:U - The impact is within the kernel security authority and does not cross a separate boundary such as guest-to-host or IOMMU isolation. C:H - The bug is a use-after-free of struct net reached by queued work dereferencing stale namespace memory. Under the required conservative kernel scoring guidance, UAF memory corruption is treated as capable of high confidentiality impact. I:H - The stale work callback writes through fields in the freed struct net and manipulates policy lists and hash state. As a kernel UAF, this is defensibly scored as high integrity impact due to potential memory corruption and control-flow exploitation. A:H - The stale struct net dereference can crash or corrupt the kernel during workqueue execution. Kernel crashes and UAF-triggered failures are high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 56ea2257b83ee29a543f158159e3d1abc1e3e4fe (affected · git)880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 8854e9367465d784046362698731c1111e3b39b8 (affected · git)880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 4e2e77843fef473ef47e322d52436d8308582a96 (affected · git)880a6fab8f6ba5b5abe59ea68533202ddea1012c to < 29fe3a61bcdce398ee3955101c39f89c01a8a77e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.18 (affected)0 to < 3.18 (unaffected · semver)6.12.80 through 6.12.* (unaffected · semver)6.18.21 through 6.18.* (unaffected · semver)6.19.11 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4Provider assertions
2Linux · cna
xfrm: prevent policy_hthresh.work from racing with netns teardown
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 933c8a22e813aaec80de30902c1c9540a737fd39a55c4455c4425dd7e62e3693
- Ingested
- 19 Oct 2026, 18:57:59 UTC
- Source record
- Official CVE record