CVE-2024-44945
published high CVSS 3.1 · 7.1netfilter: nfnetlink: Initialise extack before use in ACKs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbf2ac490d28c21a349e9eef81edc45320fca4a3c to < 3e03b536d9454c5802168b9e85248d456d3ff6a3 · bf2ac490d28c21a349e9eef81edc45320fca4a3c to < d1a7b382a9d3f0f3e5a80e0be2991c075fa4f618 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.10.7 through 6.10.* (unaffected · semver) · 6.11 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 evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink: Initialise extack before use in ACKs Add missing extack initialisation when ACKing BATCH_BEGIN and BATCH_END.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached only through a `NETLINK_NETFILTER` socket via `sendmsg()`, i.e. a local netlink/syscall interface. Per kernel scoring guidance netfilter/nfnetlink netlink paths are Local. AC:L - The attacker fully controls every precondition: it enables `NETLINK_EXT_ACK` on its own socket and sends a well-formed `BATCH_BEGIN|NLM_F_ACK` + `BATCH_END` batch, which deterministically reaches `nfnl_err_add()` with the uninitialized `extack` and delivers it. Stack contents at that frame offset can be groomed by preceding syscalls, so no condition lies outside the attacker's influence. PR:L - `nfnetlink_rcv()` requires `CAP_NET_ADMIN` only via `netlink_net_capable()`, which is evaluated against the netns owner's user namespace, so any unprivileged user obtains it with `unshare -Urn`. The nf_tables subsystem is module-autoloaded on demand from that namespace. UI:N - The attacker triggers the entire sequence from its own process with socket/sendmsg calls; no victim action or cooperation is involved. S:U - The uninitialized read and the resulting disclosure/crash occur entirely within the kernel's own security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - `netlink_ack_tlv_fill()` does `nla_put_string(skb, NLMSGERR_ATTR_MSG, extack->_msg)` on an uninitialized pointer, copying kernel memory at an attacker-groomable address straight back to userspace, and the uninitialized `cookie_len` (up to 255 vs. a 20-byte array) additionally leaks ~130 bytes past the `nfnl_err` slab object. This is an attacker-directed kernel memory read primitive, defeating KASLR and exposing arbitrary kernel data. I:N - The defect is a pure use of uninitialized memory — every affected field is only read and serialized into a freshly allocated reply skb, whose `nla_put` calls are tailroom-checked. No kernel memory is written or corrupted, so no modification primitive arises. A:H - `strlen()` on the uninitialized `_msg` pointer dereferences a wild address, producing a page-fault oops, and the out-of-bounds `cookie_len` read triggers a KASAN slab-out-of-bounds report (panic with panic_on_warn/KASAN panic). The trigger is cheap and repeatable, so an unprivileged user can crash the kernel at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bf2ac490d28c21a349e9eef81edc45320fca4a3c to < 3e03b536d9454c5802168b9e85248d456d3ff6a3 (affected · git)bf2ac490d28c21a349e9eef81edc45320fca4a3c to < d1a7b382a9d3f0f3e5a80e0be2991c075fa4f618 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.10.7 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
netfilter: nfnetlink: Initialise extack before use in ACKs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f6ca4e7d8495d9ee79617a6e5ebe898f06b0c403ef196244c22000d8df9cc632
- Ingested
- 23 Sep 2026, 08:27:32 UTC
- Source record
- Official CVE record