CVE-2022-50780
Use-After-Free in Linux Kernel net Subsystem's nfqnl_nf_hook_drop Function
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free (UAF) issue in the Linux kernel's net subsystem, specifically in the nfqnl_nf_hook_drop() function. It occurs when the ops_init() function fails during network initialization. Although data is allocated and assigned to a pointer in net->gen, if ops->init() fails, the allocated data is freed but the pointer remains invalid. Later, when nfqnl_nf_hook_drop() tries to access this invalid pointer to release network resources, it results in invalid memory access, causing a use-after-free error.
How can this vulnerability impact me? :
This vulnerability can lead to invalid memory access in the Linux kernel, potentially causing system crashes, instability, or kernel panics. Exploiting this use-after-free bug could allow an attacker to execute arbitrary code with kernel privileges or cause denial of service by crashing the system.