SecurityContext

CVE-2022-49548: Linux Kernel - Buffer Overflow

  • Cve: CVE-2022-49548
  • Name: Linux Kernel - Buffer Overflow
  • Description: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf programs, so the number of the attached BPF_TRAMP_MODIFY_RETURN bpf programs in a trampoline can exceed BPF_MAX_TRAMP_PROGS. When this happens, the assignment '*progs++ = aux->prog' in bpf_trampoline_get_progs() will cause progs array overflow as the progs field in the bpf_tramp_progs struct can only hold at most BPF_MAX_TRAMP_PROGS bpf programs.
  • Impact: Attackers can cause a buffer overflow leading to kernel memory corruption or privilege escalation.
  • Remediation: Update to the latest Linux kernel version where this issue is fixed.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: 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.00296
  • Epss percentile: 0.22558
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-02-26T07:01:30Z
  • Age in days: 636
  • Modified at: 2026-06-17T05:18:24Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-49548
  • 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-129Improper Validation of Array Index

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/32c4559c61652f24c9fdd5440342196fe37453bc
https://git.kernel.org/stable/c/4f8897bcc20b9ae44758e0572538d741ab66f0dc
https://git.kernel.org/stable/c/7f845de2863334bed4f362e95853f5e7bc323737
https://git.kernel.org/stable/c/a2aa95b71c9bbec793b5c5fa50f0a80d882b3e8d
https://git.kernel.org/stable/c/e36452d5da6325df7c10cffc60a9e68d21e2606d

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.18, < 5.18.2; >= 5.16, < 5.17.13; >= 5.11, < 5.15.45; >= 5.7, < 5.10.120nonvd/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