SecurityContext

CVE-2022-49622: Linux Kernel - Use After Free

  • Cve: CVE-2022-49622
  • Name: Linux Kernel - Use After Free
  • 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".
  • Impact: Local attackers can cause kernel crashes or privilege escalation by triggering use-after-free conditions during packet tracing.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00273
  • Epss percentile: 0.19948
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-02-26T07:01:37Z
  • Age in days: 636
  • Modified at: 2026-10-30T13:17:13Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-49622
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/0016d5d46d7440729a3132f61a8da3bf7f84e2baPatch
https://git.kernel.org/stable/c/e34b9ed96ce3b06c79bf884009b16961ca478f87Patch
https://git.kernel.org/stable/c/348218a4601e93de4d1e9fab29837cf656e4bf99
https://git.kernel.org/stable/c/453a67af8bd77463b33cb0336dd7f2341e332d29

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 5.19 rc1, = 5.19 rc2, = 5.19 rc3, = 5.19 rc4, < 5.18.13nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports