SecurityContext

CVE-2021-47172: Linux Kernel - Buffer Overflow

  • Cve: CVE-2021-47172
  • Name: Linux Kernel - Buffer Overflow
  • Description: In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers Channel numbering must start at 0 and then not have any holes, or it is possible to overflow the available storage. Note this bug was introduced as part of a fix to ensure we didn't rely on the ordering of child nodes. So we need to support arbitrary ordering but they all need to be there somewhere. Note I hit this when using qemu to test the rest of this series. Arguably this isn't the best fix, but it is probably the most minimal option for backporting etc. Alexandru's sign-off is here because he carried this patch in a larger set that Jonathan then applied.
  • Impact: Potential overflow may lead to memory corruption or kernel panic, risking system stability and security.
  • Remediation: Update to the latest kernel version where the fix is included.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service
  • 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.00225
  • Epss percentile: 0.1306
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-03-25T10:15:08Z
  • Age in days: 974
  • Modified at: 2026-06-17T04:16:49Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-47172
  • Nvd status: analyzed
  • 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-120Buffer Copy without Checking Size of Input

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc
https://git.kernel.org/stable/c/f2a772c51206b0c3f262e4f6a3812c89a650191b
https://git.kernel.org/stable/c/f49149964d2423fb618fb6b755bb1eaa431cca2c
https://git.kernel.org/stable/c/f70122825076117787b91e7f219e21c09f11a5b9

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 5.13 rc1; = 5.13 rc2; = 5.13 rc3; >= 5.11, < 5.12.9; >= 5.5, < 5.10.42; >= 5.4.14, < 5.4.124nonvd/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