misc: ad525x_dpot: use driver core groups for sysfs files
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0394902df38279da7f880021b2cfc64577a60e42, Kernel 1d43cef1d4ff258dee3020cc29f29fd6becfd8b9, Kernel aa3ace3f6c66811001ffa63a53fbb01ed8109312 and 5 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.33, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <0394902df38279da7f880021b2cfc64577a60e42, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <1d43cef1d4ff258dee3020cc29f29fd6becfd8b9, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <aa3ace3f6c66811001ffa63a53fbb01ed8109312, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <ab2fe43041412d37f88eb368a99f63f98b31d8ea, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <c7ff7a70f405a3c6fde39ed00a36d9f4fecaf3ab, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <ddbd794e543e5f917d191f8259ce40b79c52d105, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <e30f2c23c8d5620f9679e3b6656a6eb7cb1fd38b, >=4eb174bee6f8623fed1af0072f1bebfc3b513a52 <e3a8557e88eb26278eda60bf64f2ef33ce7de8bf | 0394902df38279da7f880021b2cfc64577a60e42, 1d43cef1d4ff258dee3020cc29f29fd6becfd8b9, aa3ace3f6c66811001ffa63a53fbb01ed8109312, ab2fe43041412d37f88eb368a99f63f98b31d8ea, c7ff7a70f405a3c6fde39ed00a36d9f4fecaf3ab, ddbd794e543e5f917d191f8259ce40b79c52d105, e30f2c23c8d5620f9679e3b6656a6eb7cb1fd38b, e3a8557e88eb26278eda60bf64f2ef33ce7de8bf |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket