HID: sensor: custom: Fix field sysfs group cleanup on failure
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 8.8epss 0.3%
probabilidad de explotación
0.3%top 71% de las CVE
explotación observada
noninguna fuente lo reporta
In the Linux kernel, the following vulnerability has been resolved:
HID: sensor: custom: Fix field sysfs group cleanup on failure
hid_sensor_custom_add_attributes() creates one sysfs group for each
custom sensor field. If sysfs_create_group() fails after some groups
have already been created, the function returns the error without
removing the previously created groups.
Add a local unwind path to remove the groups that were already created.
With enable_sensor exposed only after the field attributes are ready,
this path can free sensor_inst->fields without leaving enable_sensor
able to access pointers into that array.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/10b05fafff932e325896d59dde40938954ab4577https://git.kernel.org/stable/c/2409779f3096fcef41bcf57b5f4887d0fa0dc8ddhttps://git.kernel.org/stable/c/3789d0802ddb4b3be04062caf4bfadd23496e9a7https://git.kernel.org/stable/c/416194933af63bd58d03b7605b1ebc1711186838https://git.kernel.org/stable/c/79154fad98ee843e5363940841e2d831503c190ahttps://git.kernel.org/stable/c/d0e15091e88d18e30b67daf85b88f6528bb9bf41https://git.kernel.org/stable/c/d96f8958d4469ac02d9c563686cdd968005b944dhttps://git.kernel.org/stable/c/f3f37b937a6ea2a00fb5e6189e74f855caa43eb5