{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-49622", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-02-26T02:21:30.420Z", "datePublished": "2025-02-26T02:23:39.341Z", "dateUpdated": "2026-10-30T12:17:07.220Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-10-30T12:17:07.220Z" }, "descriptions": [ { "lang": "en", "value": "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\"." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The bug is reached by configuring nf_tables rules over netlink and triggering them in a local network namespace; nftables/netfilter is scored as Local, not remotely exploitable by itself.\nAC:L - An attacker who can install rules fully controls enabling nftrace and a STOLEN path (e.g. synproxy/fwd that consume_skb), then triggers the UAF synchronously on a locally generated packet with no race or external conditions.\nPR:L - nfnetlink requires CAP_NET_ADMIN, but that capability is obtainable in an unprivileged user+network namespace (unshare -Urn), so privileges required are Low rather than High.\nUI:N - No victim action is needed; the attacker installs the rules and sends packets that hit the chain themselves.\nS:U - This is a standard in-kernel use-after-free enabling local privilege escalation within the same OS security authority, not a VM/IOMMU/sandbox boundary escape.\nC:H - Use-after-free of the skb allows reading freed slab memory (including via nft_trace_notify packet/header dumps to netlink), which per guidance is High confidentiality impact.\nI:H - A kernel skb UAF is heap-corruptible via spraying and can yield write/control-flow primitives, so integrity impact is High.\nA:H - Accessing the freed skb in the tracing path can cause kernel oops/panic or otherwise crash the system, so availability impact is High." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "include/net/netfilter/nf_tables.h", "net/netfilter/nf_tables_core.c", "net/netfilter/nf_tables_trace.c" ], "versions": [ { "version": "5efa0fc6d7f7930b18801f07cefae8eeacd6ac02", "lessThan": "348218a4601e93de4d1e9fab29837cf656e4bf99", "status": "affected", "versionType": "git" }, { "version": "5efa0fc6d7f7930b18801f07cefae8eeacd6ac02", "lessThan": "453a67af8bd77463b33cb0336dd7f2341e332d29", "status": "affected", "versionType": "git" }, { "version": "5efa0fc6d7f7930b18801f07cefae8eeacd6ac02", "lessThan": "0016d5d46d7440729a3132f61a8da3bf7f84e2ba", "status": "affected", "versionType": "git" }, { "version": "5efa0fc6d7f7930b18801f07cefae8eeacd6ac02", "lessThan": "e34b9ed96ce3b06c79bf884009b16961ca478f87", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "include/net/netfilter/nf_tables.h", "net/netfilter/nf_tables_core.c", "net/netfilter/nf_tables_trace.c" ], "versions": [ { "version": "4.10", "status": "affected" }, { "version": "0", "lessThan": "4.10", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.273", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.224", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.18.13", "lessThanOrEqual": "5.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.19", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "5.10.273" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "5.15.224" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "5.18.13" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "5.19" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/348218a4601e93de4d1e9fab29837cf656e4bf99" }, { "url": "https://git.kernel.org/stable/c/453a67af8bd77463b33cb0336dd7f2341e332d29" }, { "url": "https://git.kernel.org/stable/c/0016d5d46d7440729a3132f61a8da3bf7f84e2ba" }, { "url": "https://git.kernel.org/stable/c/e34b9ed96ce3b06c79bf884009b16961ca478f87" } ], "title": "netfilter: nf_tables: avoid skb access on nf_stolen", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 7.8, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "id": "CVE-2022-49622", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "version": "2.0.3", "timestamp": "2025-02-27T18:15:30.357017Z" } } } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "type": "CWE", "cweId": "CWE-416", "description": "CWE-416 Use After Free" } ] } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2025-02-27T18:22:31.702Z" } } ] } }