{"id":"CVE-2022-49622","published":"2025-02-26T02:23:39Z","modified":"2026-10-30T12:17:07Z","title":"netfilter: nf_tables: avoid skb access on nf_stolen","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: avoid skb access on nf_stolen\n\nWhen verdict is NF_STOLEN, the skb might have been freed.\n\nWhen tracing is enabled, this can result in a use-after-free:\n1. access to skb->nf_trace\n2. access to skb->mark\n3. computation of trace id\n4. dump of packet payload\n\nTo avoid 1, keep a cached copy of skb->nf_trace in the\ntrace state struct.\nRefresh this copy whenever verdict is != STOLEN.\n\nAvoid 2 by skipping skb->mark access if verdict is STOLEN.\n\n3 is avoided by precomputing the trace id.\n\nOnly dump the packet when verdict is not \"STOLEN\".","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00273,"percentile":0.20166,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/348218a4601e93de4d1e9fab29837cf656e4bf99","tags":[]},{"url":"https://git.kernel.org/stable/c/453a67af8bd77463b33cb0336dd7f2341e332d29","tags":[]},{"url":"https://git.kernel.org/stable/c/0016d5d46d7440729a3132f61a8da3bf7f84e2ba","tags":[]},{"url":"https://git.kernel.org/stable/c/e34b9ed96ce3b06c79bf884009b16961ca478f87","tags":[]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.03},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5efa0fc6d7f7930b18801f07cefae8eeacd6ac02, < 348218a4601e93de4d1e9fab29837cf656e4bf99",">= 5efa0fc6d7f7930b18801f07cefae8eeacd6ac02, < 453a67af8bd77463b33cb0336dd7f2341e332d29",">= 5efa0fc6d7f7930b18801f07cefae8eeacd6ac02, < 0016d5d46d7440729a3132f61a8da3bf7f84e2ba",">= 5efa0fc6d7f7930b18801f07cefae8eeacd6ac02, < e34b9ed96ce3b06c79bf884009b16961ca478f87"]},{"vendor":"Linux","product":"Linux","versions":["4.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-27T18:15:30.357017Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54610","exploited":false,"provenance":"source"}}