CVE-2026-93051 PUBLISHED

misc: ad525x_dpot: use driver core groups for sysfs files

Assigner: Linux
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to 1d43cef1d4ff258dee3020cc29f29fd6becfd8b9 (excl.)
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to ddbd794e543e5f917d191f8259ce40b79c52d105 (excl.)
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to aa3ace3f6c66811001ffa63a53fbb01ed8109312 (excl.)
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to 0394902df38279da7f880021b2cfc64577a60e42 (excl.)
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to e30f2c23c8d5620f9679e3b6656a6eb7cb1fd38b (excl.)
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to c7ff7a70f405a3c6fde39ed00a36d9f4fecaf3ab (excl.)
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to ab2fe43041412d37f88eb368a99f63f98b31d8ea (excl.)
  • affected from 4eb174bee6f8623fed1af0072f1bebfc3b513a52 to e3a8557e88eb26278eda60bf64f2ef33ce7de8bf (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.33 is affected
  • unaffected from 0 to 2.6.33 (excl.)
  • unaffected from 5.10.270 to 5.10.* (incl.)
  • unaffected from 5.15.221 to 5.15.* (incl.)
  • unaffected from 6.1.188 to 6.1.* (incl.)
  • unaffected from 6.6.157 to 6.6.* (incl.)
  • unaffected from 6.12.110 to 6.12.* (incl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References