Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47437
HistoryMay 22, 2024 - 6:19 a.m.

CVE-2021-47437 iio: adis16475: fix deadlock on frequency set

2024-05-2206:19:32
Linux
www.cve.org
linux kernel
vulnerability
iio
adis16475
deadlock
frequency set
fix

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%

In the Linux kernel, the following vulnerability has been resolved:

iio: adis16475: fix deadlock on frequency set

With commit 39c024b51b560
(“iio: adis16475: improve sync scale mode handling”), two deadlocks were
introduced:

  1. The call to ‘adis_write_reg_16()’ was not changed to it’s unlocked
    version.
  2. The lock was not being released on the success path of the function.

This change fixes both these issues.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iio/imu/adis16475.c"
    ],
    "versions": [
      {
        "version": "39c024b51b56",
        "lessThan": "04e03b907022",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "39c024b51b56",
        "lessThan": "9da1b86865ab",
        "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/imu/adis16475.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14.14",
        "lessThanOrEqual": "5.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

9.1%