Kernel memory corruption via stale namespace reference
Published Nov 5, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel netfilter BPF links allows local users to corrupt kernel memory during deferred link teardown. bpf_nf_link_attach stores link->net without taking a namespace reference, so deferred bpf_nf_link_release passes a freed namespace to __nf_unregister_net_hook. Triggering the flaw requires local execution and delegated CAP_BPF and CAP_NET_ADMIN capabilities; reuse of the freed object can disclose or overwrite kernel memory and crash the host.
Summary
What happened
Use-after-free in Linux kernel netfilter BPF links allows local users to corrupt kernel memory during deferred link teardown. bpf_nf_link_attach stores link->net without taking a namespace reference, so deferred bpf_nf_link_release passes a freed namespace to __nf_unregister_net_hook. Triggering the flaw requires local execution and delegated CAP_BPF and CAP_NET_ADMIN capabilities; reuse of the freed object can disclose or overwrite kernel memory and crash the host.
The record
- CVE
- CVE-2024-50130
- Published
- Nov 5, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 5, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.4
- Affected versionversion=84601d6ee68ae820dec97450934797046d62db4b <1230fe7ad3974f7bf6c78901473e039b34d4fb1f
- Affected versionversion=84601d6ee68ae820dec97450934797046d62db4b <d0d7939543a1b3bb93af9a18d258a774daf8f162
- Affected versionversion=84601d6ee68ae820dec97450934797046d62db4b <f41bd93b3e0508edc7ba820357f949071dcc0acc
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo