CVE-2026-93051: misc: ad525x_dpot: use driver core groups for sysfs files
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
misc: ad525x_dpot: use driver core groups for sysfs files
ad_dpot_probe() creates per-RDAC sysfs files manually and then optionally creates the command sysfs group. This leaves probe responsible for rolling back partial sysfs state and makes remove responsible for matching every file that probe created.
Move the device attributes into driver core dev_groups for the I2C and SPI drivers and use an is_visible() callback to expose only the attributes supported by the probed device. With this shape, the driver core creates the sysfs files only after probe succeeds and removes them before the remove callback frees the driver data.
The Linux kernel CVE team has assigned CVE-2026-93051 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 5.10.270 with commit 1d43cef1d4ff258dee3020cc29f29fd6becfd8b9 Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 5.15.221 with commit ddbd794e543e5f917d191f8259ce40b79c52d105 Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 6.1.188 with commit aa3ace3f6c66811001ffa63a53fbb01ed8109312 Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 6.6.157 with commit 0394902df38279da7f880021b2cfc64577a60e42 Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 6.12.110 with commit e30f2c23c8d5620f9679e3b6656a6eb7cb1fd38b Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 6.18.52 with commit c7ff7a70f405a3c6fde39ed00a36d9f4fecaf3ab Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 7.2.6 with commit ab2fe43041412d37f88eb368a99f63f98b31d8ea Issue introduced in 2.6.33 with commit 4eb174bee6f8623fed1af0072f1bebfc3b513a52 and fixed in 7.3-rc1 with commit e3a8557e88eb26278eda60bf64f2ef33ce7de8bf
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93051
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/misc/ad525x_dpot-i2c.c drivers/misc/ad525x_dpot-spi.c drivers/misc/ad525x_dpot.c drivers/misc/ad525x_dpot.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/1d43cef1d4ff258dee3020cc29f29fd6becfd8b9 https://git.kernel.org/stable/c/ddbd794e543e5f917d191f8259ce40b79c52d105 https://git.kernel.org/stable/c/aa3ace3f6c66811001ffa63a53fbb01ed8109312 https://git.kernel.org/stable/c/0394902df38279da7f880021b2cfc64577a60e42 https://git.kernel.org/stable/c/e30f2c23c8d5620f9679e3b6656a6eb7cb1fd38b https://git.kernel.org/stable/c/c7ff7a70f405a3c6fde39ed00a36d9f4fecaf3ab https://git.kernel.org/stable/c/ab2fe43041412d37f88eb368a99f63f98b31d8ea https://git.kernel.org/stable/c/e3a8557e88eb26278eda60bf64f2ef33ce7de8bf