SecurityContext

CVE-2022-49873: Linux Kernel - Information Disclosure

  • Cve: CVE-2022-49873
  • Name: Linux Kernel - Information Disclosure
  • Description: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix wrong reg type conversion in release_reference() Some helper functions will allocate memory. To avoid memory leaks, the verifier requires the eBPF program to release these memories by calling the corresponding helper functions. When a resource is released, all pointer registers corresponding to the resource should be invalidated. The verifier use release_references() to do this job, by apply __mark_reg_unknown() to each relevant register. It will give these registers the type of SCALAR_VALUE. A register that will contain a pointer value at runtime, but of type SCALAR_VALUE, which may allow the unprivileged user to get a kernel pointer by storing this register into a map. Using __mark_reg_not_init() while NOT allow_ptr_leaks can mitigate this problem.
  • Impact: Unprivileged users may obtain kernel pointers, leading to information disclosure or potential further exploitation.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00215
  • Epss percentile: 0.11909
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-05-01T15:16:12Z
  • Age in days: 572
  • Modified at: 2026-06-17T05:19:22Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-49873
  • 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: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-704Incorrect Type Conversion or Cast

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/466ce46f251dfb259a8cbaa895ab9edd6fb56240
https://git.kernel.org/stable/c/ae5ccad6c711db0f2ca1231be051935dd128b8f5
https://git.kernel.org/stable/c/cedd4f01f67be94735f15123158f485028571037
https://git.kernel.org/stable/c/f1db20814af532f85e091231223e5e4818e8464b

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.1 rc1; = 6.1 rc2; = 6.1 rc3; = 6.1 rc4; >= 5.16, < 6.0.9; >= 5.11, < 5.15.79; >= 4.20, < 5.10.155nonvd/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