# CVE-2022-50218: iio: light: isl29028: Fix the warning in isl29028\_remove()

> 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, NVD) `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.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-06-18T11:03:54.101Z
- **Modified:** 2026-11-05T20:17:27.573Z

## Who should check

- Anyone running Linux \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< ca63d5abf404d2934e2ac03545350de7bb8c8e96; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 359f3b150eab30805fe0e4e9d616887d7257a625; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< ed43fb20d3d1fca9d79db0d5faf4321a4dd58c23; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< fb1888205c0782f287e5dd4ffff1f665332e868c; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< fac589fb764699a4bcd288f6656b8cd0408ea968; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 4f0ebfb4b9bfad2326c0b2c3cc7e37f4b9ee9eba; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< a1135205b0affd255510775a27df571aca84ab4b; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad
- Anyone running Linux 4.11

## Description

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

iio: light: isl29028: Fix the warning in isl29028\_remove()

The driver use the non-managed form of the register function in
isl29028\_remove(). To keep the release order as mirroring the ordering
in probe, the driver should use non-managed form in probe, too.

The following log reveals it:

\[   32.374955\] isl29028 0-0010: remove
\[   32.376861\] general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 \[\#1\] PREEMPT SMP KASAN PTI
\[   32.377676\] KASAN: null-ptr-deref in range \[0x0000000000000030-0x0000000000000037\]
\[   32.379432\] RIP: 0010:kernfs\_find\_and\_get\_ns+0x28/0xe0
\[   32.385461\] Call Trace:
\[   32.385807\]  sysfs\_unmerge\_group+0x59/0x110
\[   32.386110\]  dpm\_sysfs\_remove+0x58/0xc0
\[   32.386391\]  device\_del+0x296/0xe50
\[   32.386959\]  cdev\_device\_del+0x1d/0xd0
\[   32.387231\]  devm\_iio\_device\_unreg+0x27/0xb0
\[   32.387542\]  devres\_release\_group+0x319/0x3d0
\[   32.388162\]  i2c\_device\_remove+0x93/0x1f0

## Affected and fixed versions

- Linux: \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< ca63d5abf404d2934e2ac03545350de7bb8c8e96; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 359f3b150eab30805fe0e4e9d616887d7257a625; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< ed43fb20d3d1fca9d79db0d5faf4321a4dd58c23; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< fb1888205c0782f287e5dd4ffff1f665332e868c; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< fac589fb764699a4bcd288f6656b8cd0408ea968; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 4f0ebfb4b9bfad2326c0b2c3cc7e37f4b9ee9eba; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< a1135205b0affd255510775a27df571aca84ab4b; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-50218.md
Affected: Linux >= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, < ca63d5abf404d2934e2ac03545350de7bb8c8e96; >= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, < 359f3b150eab30805fe0e4e9d616887d7257a625; >= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, < ed43fb20d3d1fca9d79db0d5faf4321a4dd58c23; >= 2db5054ac28d4ab2eaa6c67…
Fixed in: Linux 359f3b150eab30805fe0e4e9d616887d7257a625, Linux 4f0ebfb4b9bfad2326c0b2c3cc7e37f4b9ee9eba, Linux 06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad

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-2022-50218 being exploited?

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

### How serious is CVE-2022-50218?

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

### Which versions are affected by CVE-2022-50218?

Linux \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< ca63d5abf404d2934e2ac03545350de7bb8c8e96; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 359f3b150eab30805fe0e4e9d616887d7257a625; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< ed43fb20d3d1fca9d79db0d5faf4321a4dd58c23; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< fb1888205c0782f287e5dd4ffff1f665332e868c; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< fac589fb764699a4bcd288f6656b8cd0408ea968; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 4f0ebfb4b9bfad2326c0b2c3cc7e37f4b9ee9eba; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< a1135205b0affd255510775a27df571aca84ab4b; \>= 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8, \< 06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad; Linux 4.11.

### Is there a fix for CVE-2022-50218?

Yes. Fixed in Linux 359f3b150eab30805fe0e4e9d616887d7257a625, Linux 4f0ebfb4b9bfad2326c0b2c3cc7e37f4b9ee9eba, Linux 06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad. Upgrade Linux to 06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad or later.

### How do I check if I'm affected by CVE-2022-50218?

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/ca63d5abf404d2934e2ac03545350de7bb8c8e96>
- patch: <https://git.kernel.org/stable/c/359f3b150eab30805fe0e4e9d616887d7257a625>
- patch: <https://git.kernel.org/stable/c/ed43fb20d3d1fca9d79db0d5faf4321a4dd58c23>
- patch: <https://git.kernel.org/stable/c/fb1888205c0782f287e5dd4ffff1f665332e868c>
- patch: <https://git.kernel.org/stable/c/fac589fb764699a4bcd288f6656b8cd0408ea968>
- patch: <https://git.kernel.org/stable/c/4f0ebfb4b9bfad2326c0b2c3cc7e37f4b9ee9eba>
- patch: <https://git.kernel.org/stable/c/a1135205b0affd255510775a27df571aca84ab4b>
- patch: <https://git.kernel.org/stable/c/06674fc7c003b9d0aa1d37fef7ab2c24802cc6ad>

## 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-2022-50218>

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