Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38472

published critical CVSS 3.1 · 9.8

netfilter: nf_conntrack: fix crash due to removal of uninitialised entry

Published
28 Jul 2025, 11:21:33 UTC
Updated
15 Oct 2026, 21:52:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < a47ef874189d47f934d0809ae738886307c0ea22 · 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < 76179961c423cd698080b5e4d5583cf7f4fcdde9 · 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < fc38c249c622ff5e3011b8845fd49dbfd9289afc · 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < 938ce0e8422d3793fe30df2ed0e37f6bc0598379 · 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < 2d72afb340657f03f7261e9243b44457a9228ac7 · 594cea2c09f7cd440d1ee1c4547d5bc6a646b0e4 · 5.18.13 to < 5.19 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.1.147 through 6.1.* (unaffected · semver) · 6.6.100 through 6.6.* (unaffected · semver) · 6.12.40 through 6.12.* (unaffected · semver) · 6.15.8 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1144 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1145 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-55.30.1.el10_0 ALSA-2025:15005
Debian bookworm linux Advisory build 6.1.147-1 DSA-5973-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-doc Advisory build 6.12.0-55.30.1.el10_0 ALSA-2025:15005
AlmaLinux 9 kernel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-doc Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-headers Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-kvm Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-kvm Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-tools Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 libperf Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 perf Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 python3-perf Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 rtla Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
AlmaLinux 9 rv Advisory build 5.14.0-570.49.1.el9_6 ALSA-2025:16880
Debian bullseye linux-6.1 Advisory build 6.1.153-1~deb11u1 DLA-4328-1
Debian trixie linux Advisory build 6.12.41-1 DSA-5975-1
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-55.30.1.0.1.el10_0 ELSA-2025-15005

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: fix crash due to removal of uninitialised entry A crash in conntrack was reported while trying to unlink the conntrack entry from the hash bucket list: [exception RIP: __nf_ct_delete_from_lists+172] [..] #7 [ff539b5a2b043aa0] nf_ct_delete at ffffffffc124d421 [nf_conntrack] #8 [ff539b5a2b043ad0] nf_ct_gc_expired at ffffffffc124d999 [nf_conntrack] #9 [ff539b5a2b043ae0] __nf_conntrack_find_get at ffffffffc124efbc [nf_conntrack] [..] The nf_conn struct is marked as allocated from slab but appears to be in a partially initialised state: ct hlist pointer is garbage; looks like the ct hash value (hence crash). ct->status is equal to IPS_CONFIRMED|IPS_DYING, which is expected ct->timeout is 30000 (=30s), which is unexpected. Everything else looks like normal udp conntrack entry. If we ignore ct->status and pretend its 0, the entry matches those that are newly allocated but not yet inserted into the hash: - ct hlist pointers are overloaded and store/cache the raw tuple hash - ct->timeout matches the relative time expected for a new udp flow rather than the absolute 'jiffies' value. If it were not for the presence of IPS_CONFIRMED, __nf_conntrack_find_get() would have skipped the entry. Theory is that we did hit following race: cpu x cpu y cpu z found entry E found entry E E is expired <preemption> nf_ct_delete() return E to rcu slab init_conntrack E is re-inited, ct->status set to 0 reply tuplehash hnnode.pprev stores hash value. cpu y found E right before it was deleted on cpu x. E is now re-inited on cpu z. cpu y was preempted before checking for expiry and/or confirm bit. ->refcnt set to 1 E now owned by skb ->timeout set to 30000 If cpu y were to resume now, it would observe E as expired but would skip E due to missing CONFIRMED bit. nf_conntrack_confirm gets called sets: ct->status |= CONFIRMED This is wrong: E is not yet added to hashtable. cpu y resumes, it observes E as expired but CONFIRMED: <resumes> nf_ct_expired() -> yes (ct->timeout is 30s) confirmed bit set. cpu y will try to delete E from the hashtable: nf_ct_delete() -> set DYING bit __nf_ct_delete_from_lists Even this scenario doesn't guarantee a crash: cpu z still holds the table bucket lock(s) so y blocks: wait for spinlock held by z CONFIRMED is set but there is no guarantee ct will be added to hash: "chaintoolong" or "clash resolution" logic both skip the insert step. reply hnnode.pprev still stores the hash value. unlocks spinlock return NF_DROP <unblocks, then crashes on hlist_nulls_del_rcu pprev> In case CPU z does insert the entry into the hashtable, cpu y will unlink E again right away but no crash occurs. Without 'cpu y' race, 'garbage' hlist is of no consequence: ct refcnt remains at 1, eventually skb will be free'd and E gets destroyed via: nf_conntrack_put -> nf_conntrack_destroy -> nf_ct_destroy. To resolve this, move the IPS_CONFIRMED assignment after the table insertion but before the unlock. Pablo points out that the confirm-bit-store could be reordered to happen before hlist add resp. the timeout fixup, so switch to set_bit and before_atomic memory barrier to prevent this. It doesn't matter if other CPUs can observe a newly inserted entry right before the CONFIRMED bit was set: Such event cannot be distinguished from above "E is the old incarnation" case: the entry will be skipped. Also change nf_ct_should_gc() to first check the confirmed bit. The gc sequence is: 1. Check if entry has expired, if not skip to next entry 2. Obtain a reference to the expired entry. 3. Call nf_ct_should_gc() to double-check step 1. nf_ct_should_gc() is thus called only for entries that already failed an expiry check. After this patch, once the confirmed bit check pas ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

55

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The entire code path (nf_conntrack_in → init_conntrack → __nf_conntrack_confirm → __nf_conntrack_find_get → nf_ct_gc_expired) executes in softirq context on received packets, with no syscall or local entry point required. Any Linux box doing stateful filtering or NAT — routers, firewalls, Docker/k8s hosts — reaches this purely from remote traffic. AC:L - The attacker drives every side of the race: a flood of short-lived UDP flows creates, expires, GCs and reallocates conntrack entries concurrently across CPUs, and duplicate same-5-tuple packets sent in parallel deliberately steer confirmation into the clash-resolution/chaintoolong paths that leave the uninitialised hlist pointer. The crash was observed spontaneously on production systems under ordinary load, confirming no attacker-uncontrollable precondition is needed. PR:N - No authentication or privilege of any kind is required — an unauthenticated remote host merely sends packets to or through the target. Conntrack entry allocation, confirmation and expiry are performed on behalf of arbitrary unsolicited traffic. UI:N - Exploitation requires nothing from any local user; packet processing happens automatically in softirq context on receipt. S:U - The corruption is confined to kernel memory within the same security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - The refcount imbalance frees an nf_conn still referenced by a live skb, and SLAB_TYPESAFE_BY_RCU lets the attacker immediately reclaim it with an attacker-shaped nf_conn, giving a use-after-free read primitive over conntrack/NAT state and adjacent slab contents. I:H - `__hlist_nulls_del()` performs `WRITE_ONCE(*pprev, next)` where pprev is NULL or the raw attacker-influenced tuple hash — a wild kernel write — and the accompanying UAF permits heap grooming for control-flow hijack; the bug also silently unlinks valid live conntrack entries, corrupting firewall/NAT policy state. A:H - The reported real-world symptom is a kernel oops in __nf_ct_delete_from_lists from dereferencing the uninitialised hlist pprev, and the use-after-free independently causes panics; a remote attacker can trigger it repeatedly.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < a47ef874189d47f934d0809ae738886307c0ea22 (affected · git)1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < 76179961c423cd698080b5e4d5583cf7f4fcdde9 (affected · git)1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < fc38c249c622ff5e3011b8845fd49dbfd9289afc (affected · git)1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < 938ce0e8422d3793fe30df2ed0e37f6bc0598379 (affected · git)1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 to < 2d72afb340657f03f7261e9243b44457a9228ac7 (affected · git)594cea2c09f7cd440d1ee1c4547d5bc6a646b0e4 (affected · git)5.18.13 to < 5.19 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.19 (affected)0 to < 5.19 (unaffected · semver)6.1.147 through 6.1.* (unaffected · semver)6.6.100 through 6.6.* (unaffected · semver)6.12.40 through 6.12.* (unaffected · semver)6.15.8 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

3

Linux · cna

netfilter: nf_conntrack: fix crash due to removal of uninitialised entry

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
71580f75dd6b3d2cf7d3866be62f567ecef56597effac5c3f9b0c0b64b82787d
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected