CVE-2023-52627

iio: adc: ad7091r: Allow users to configure device events

5.5 medium EPSS 0.23%

Published 26 Mar 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-52627

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52627 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

iio: adc: ad7091r: Allow users to configure device events

AD7091R-5 devices are supported by the ad7091r-5 driver together with the ad7091r-base driver. Those drivers declared iio events for notifying user space when ADC readings fall bellow the thresholds of low limit registers or above the values set in high limit registers. However, to configure iio events and their thresholds, a set of callback functions must be implemented and those were not present until now. The consequence of trying to configure ad7091r-5 events without the proper callback functions was a null pointer dereference in the kernel because the pointers to the callback functions were not set.

Implement event configuration callbacks allowing users to read/write event thresholds and enable/disable event generation.

Since the event spec structs are generic to AD7091R devices, also move those from the ad7091r-5 driver the base driver so they can be reused when support for ad7091r-2/-4/-8 be added.

Severity (CVSS)

5.5 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 26 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ca69300173b642ba64118200172171ea5967b6c5, before 1eba6f7ffa295a0eec098c107043074be7cc4ec5
affected from ca69300173b642ba64118200172171ea5967b6c5, before 49f322ce1f265935f15e5512da69a399f27a5091
affected from ca69300173b642ba64118200172171ea5967b6c5, before 137568aa540a9f587c48ff7d4c51cdba08cfe9a4
affected from ca69300173b642ba64118200172171ea5967b6c5, before 89c4e63324e208a23098f7fb15c00487cecbfed2
affected from ca69300173b642ba64118200172171ea5967b6c5, before 55aca2ce91a63740278502066beaddbd841af9c6
affected from ca69300173b642ba64118200172171ea5967b6c5, before 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f
Other versions: unaffected
Linux
affected 5.6
unaffected before 5.6
unaffected from 5.10.210 up to and including 5.10.*
unaffected from 5.15.149 up to and including 5.15.*
unaffected from 6.1.76 up to and including 6.1.*
unaffected from 6.6.15 up to and including 6.6.*
unaffected from 6.7.3 up to and including 6.7.*
unaffected 6.8 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52627 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52627

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-52627
trivy image --scanners vuln IMAGE | grep CVE-2023-52627

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-52627 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.