CVE-2022-49622 Details
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: avoid skb access on nf_stolen When verdict is NF_STOLEN, the skb might have been freed. When tracing is enabled, this can result in a use-after-free: 1. access to skb->nf_trace 2. access to skb->mark 3. computation of trace id 4. dump of packet payload To avoid 1, keep a cached copy of skb->nf_trace in the trace state struct. Refresh this copy whenever verdict is != STOLEN. Avoid 2 by skipping skb->mark access if verdict is STOLEN. 3 is avoided by precomputing the trace id. Only dump the packet when verdict is not "STOLEN".
A use-after-free vulnerability has been identified in the Linux kernel's netfilter component, specifically within nf_tables. When a packet's verdict is set to NF_STOLEN, the associated socket buffer (skb) may have already been freed. If tracing is enabled, this can lead to unauthorized access to freed memory, allowing access to skb tracing information, packet marks, and the computation and dumping of trace IDs and packet payloads. The vulnerability arises from improper handling of the NF_STOLEN verdict, which can be exploited to access freed resources that should no longer be available.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0016d5d46d7440729a3132f61a8da3bf7f84e2ba | kernel.org | Patch |
| https://git.kernel.org/stable/c/348218a4601e93de4d1e9fab29837cf656e4bf99 | kernel.org | |
| https://git.kernel.org/stable/c/453a67af8bd77463b33cb0336dd7f2341e332d29 | kernel.org | |
| https://git.kernel.org/stable/c/e34b9ed96ce3b06c79bf884009b16961ca478f87 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.18.13 5.19 rc1 5.19 rc2 5.19 rc3 5.19 rc4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 24, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | CVE Modified | CISA-ADP |
| Feb 26, 2025 | New CVE Received | kernel.org |