# CVE-2023-52627: iio: adc: ad7091r: Allow users to configure device events

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-03-26T17:49:59.834Z
- **Modified:** 2026-06-17T06:43:12.063Z

## Who should check

- Anyone running Linux \>= ca69300173b642ba64118200172171ea5967b6c5, \< 1eba6f7ffa295a0eec098c107043074be7cc4ec5; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 49f322ce1f265935f15e5512da69a399f27a5091; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 137568aa540a9f587c48ff7d4c51cdba08cfe9a4; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 89c4e63324e208a23098f7fb15c00487cecbfed2; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 55aca2ce91a63740278502066beaddbd841af9c6; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f
- Anyone running Linux 5.6

## 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.

## Affected and fixed versions

- Linux: \>= ca69300173b642ba64118200172171ea5967b6c5, \< 1eba6f7ffa295a0eec098c107043074be7cc4ec5; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 49f322ce1f265935f15e5512da69a399f27a5091; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 137568aa540a9f587c48ff7d4c51cdba08cfe9a4; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 89c4e63324e208a23098f7fb15c00487cecbfed2; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 55aca2ce91a63740278502066beaddbd841af9c6; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52627. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52627.md
Affected: Linux >= ca69300173b642ba64118200172171ea5967b6c5, < 1eba6f7ffa295a0eec098c107043074be7cc4ec5; >= ca69300173b642ba64118200172171ea5967b6c5, < 49f322ce1f265935f15e5512da69a399f27a5091; >= ca69300173b642ba64118200172171ea5967b6c5, < 137568aa540a9f587c48ff7d4c51cdba08cfe9a4; >= ca69300173b642ba6411820…
Fixed in: Linux 1eba6f7ffa295a0eec098c107043074be7cc4ec5, Linux 49f322ce1f265935f15e5512da69a399f27a5091, Linux 137568aa540a9f587c48ff7d4c51cdba08cfe9a4, Linux 89c4e63324e208a23098f7fb15c00487cecbfed2, Linux 55aca2ce91a63740278502066beaddbd841af9c6, Linux 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52627 being exploited?

There is no confirmed exploitation: CVE-2023-52627 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52627?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-52627?

Linux \>= ca69300173b642ba64118200172171ea5967b6c5, \< 1eba6f7ffa295a0eec098c107043074be7cc4ec5; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 49f322ce1f265935f15e5512da69a399f27a5091; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 137568aa540a9f587c48ff7d4c51cdba08cfe9a4; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 89c4e63324e208a23098f7fb15c00487cecbfed2; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 55aca2ce91a63740278502066beaddbd841af9c6; \>= ca69300173b642ba64118200172171ea5967b6c5, \< 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f; Linux 5.6.

### Is there a fix for CVE-2023-52627?

Yes. Fixed in Linux 1eba6f7ffa295a0eec098c107043074be7cc4ec5, Linux 49f322ce1f265935f15e5512da69a399f27a5091, Linux 137568aa540a9f587c48ff7d4c51cdba08cfe9a4, Linux 89c4e63324e208a23098f7fb15c00487cecbfed2, Linux 55aca2ce91a63740278502066beaddbd841af9c6, Linux 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f. Upgrade Linux to 020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f or later.

### How do I check if I'm affected by CVE-2023-52627?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1eba6f7ffa295a0eec098c107043074be7cc4ec5>
- patch: <https://git.kernel.org/stable/c/49f322ce1f265935f15e5512da69a399f27a5091>
- patch: <https://git.kernel.org/stable/c/137568aa540a9f587c48ff7d4c51cdba08cfe9a4>
- patch: <https://git.kernel.org/stable/c/89c4e63324e208a23098f7fb15c00487cecbfed2>
- patch: <https://git.kernel.org/stable/c/55aca2ce91a63740278502066beaddbd841af9c6>
- patch: <https://git.kernel.org/stable/c/020e71c7ffc25dfe29ed9be6c2d39af7bd7f661f>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52627>

HTML: <https://flawdb.com/CVE-2023-52627> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52627>
