CVE-2024-27403
published high CVSS 3.1 · 7.8netfilter: nft_flow_offload: reset dst in route object after setting up flow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa3c90f7a2323b331ae816d5b0633e68148e25d04 to < 4c167af9f6b5ae4a5dbc243d5983c295ccc2e43c · a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 012df10717da02367aaf92c65f9c89db206c15f4 · a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 558b00a30e05753a62ecc7e05e939ca8f0241148 · a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 670548c8db44d76e40e1dfc06812bca36a61e9ae · a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 9e0f0430389be7696396c62f037be4bf72cf93e3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 5.15.150 through 5.15.* (unaffected · semver) · 6.1.80 through 6.1.* (unaffected · semver) · 6.6.19 through 6.6.* (unaffected · semver) · 6.7.7 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2024-058 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-784 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.40.1.el9_4 | ALSA-2024:8162 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 5.14.0-70.112.1.el9_0 | RHSA-2024:5257 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.40.1.el9_4 | ALSA-2024:8162 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
| Oracle Linux | 9 | rvx86_64 | Advisory build | 0:5.14.0-427.40.1.el9_4 | ELSA-2024-8162 |
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: nft_flow_offload: reset dst in route object after setting up flow dst is transferred to the flow object, route object does not own it anymore. Reset dst in route object, otherwise if flow_offload_add() fails, error path releases dst twice, leading to a refcount underflow.
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 vulnerability lives in the nftables flow_offload expression, which requires local nftables/netlink configuration (flowtable + FORWARD-chain rule + conntrack zone rules) to set up and to force the failing insert. Per kernel scoring convention netfilter/nftables is treated as Local, even though the final trigger is a forwarded packet. AC:L - The attacker deterministically forces `flow_offload_add()` to return -EEXIST because the flow_offload_tuple hash key excludes the conntrack zone, so two zone-separated conntracks with the same 5-tuple and ingress ifindex always collide. No race and no uncontrolled memory-layout condition is involved. PR:L - Configuring the flowtable and rules only needs CAP_NET_ADMIN evaluated via `netlink_net_capable()`, which an unprivileged user obtains with `unshare -Urn`; forwarded traffic can then be generated entirely inside that namespace with veth pairs. UI:N - The attacker sets up the namespace, nftables ruleset and traffic themselves; no victim action of any kind is needed. S:U - The corruption is confined to kernel memory managed by the same kernel security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - The dst refcount underflow frees a `struct dst_entry` that remains referenced by skbs and the route cache, giving a use-after-free on a heap object the attacker can reclaim and read back, enabling disclosure of arbitrary kernel memory. I:H - The freed dst is reclaimable via heap spray and contains `ops`, `input()` and `output()` function pointers dereferenced on every forwarded packet, yielding an arbitrary-write/control-flow-hijack primitive. A:H - The premature free of a live routing cache entry causes immediate use-after-free on the packet forwarding path, reliably producing an oops or panic, and can be repeated at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 4c167af9f6b5ae4a5dbc243d5983c295ccc2e43c (affected · git)a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 012df10717da02367aaf92c65f9c89db206c15f4 (affected · git)a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 558b00a30e05753a62ecc7e05e939ca8f0241148 (affected · git)a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 670548c8db44d76e40e1dfc06812bca36a61e9ae (affected · git)a3c90f7a2323b331ae816d5b0633e68148e25d04 to < 9e0f0430389be7696396c62f037be4bf72cf93e3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.16 (affected)0 to < 4.16 (unaffected · semver)5.15.150 through 5.15.* (unaffected · semver)6.1.80 through 6.1.* (unaffected · semver)6.6.19 through 6.6.* (unaffected · semver)6.7.7 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/012df10717da02367aaf92c65f9c89db206c15f4
- https://git.kernel.org/stable/c/4c167af9f6b5ae4a5dbc243d5983c295ccc2e43c
- https://git.kernel.org/stable/c/558b00a30e05753a62ecc7e05e939ca8f0241148
- https://git.kernel.org/stable/c/670548c8db44d76e40e1dfc06812bca36a61e9ae
- https://git.kernel.org/stable/c/9e0f0430389be7696396c62f037be4bf72cf93e3
Provider assertions
3Linux · cna
netfilter: nft_flow_offload: reset dst in route object after setting up flow
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bd61d76e505bf2b7269f014ffba84904d51d2eecf4edddd470f7893886e7fe6b
- Ingested
- 23 Sep 2026, 08:20:47 UTC
- Source record
- Official CVE record