Lucene search

K
cveLinuxCVE-2021-47172
HistoryMar 25, 2024 - 10:15 a.m.

CVE-2021-47172

2024-03-2510:15:08
Linux
web.nvd.nist.gov
69
linux kernel
ad7124 adc
potential overflow

AI Score

6.9

Confidence

Low

EPSS

0

Percentile

15.5%

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.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.55.4.124
OR
linuxlinux_kernelRange5.5.05.10.42
OR
linuxlinux_kernelRange5.11.05.12.9
OR
linuxlinux_kernelRange5.13.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iio/adc/ad7124.c"
    ],
    "versions": [
      {
        "version": "5408cbc63373",
        "lessThan": "f49149964d24",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d7857e4ee1ba",
        "lessThan": "f70122825076",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d7857e4ee1ba",
        "lessThan": "26da8040eccc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d7857e4ee1ba",
        "lessThan": "f2a772c51206",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iio/adc/ad7124.c"
    ],
    "versions": [
      {
        "version": "5.5",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.5",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.124",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.42",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.9",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.9

Confidence

Low

EPSS

0

Percentile

15.5%