Aller au contenu
7.1 Élevée

CVE-2024-57986 In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix assumption that Resolution…

Description

In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix assumption that Resolution Multipliers must be in Logical Collections A report in 2019 by the syzbot fuzzer was found to be connected to two errors in the HID core associated with Resolution Multipliers. One of the errors was fixed by commit ea427a222d8b ("HID: core: Fix deadloop in hid_apply_multiplier."), but the other has not been fixed. This error arises because hid_apply_multipler() assumes that every Resolution Multiplier control is contained in a Logical Collection, i.e., there's no way the routine can ever set multiplier_collection to NULL. This is in spite of the fact that the function starts with a big comment saying: * "The Resolution Multiplier control must be contained in the same * Logical Collection as the control(s) to which it is to be applied. ... * If no Logical Collection is * defined, the Resolution Multiplier is associated with all * controls in the report." * HID Usage Table, v1.12, Section 4.3.1, p30 * * Thus, search from the current collection upwards until we find a * logical collection... The comment and the code overlook the possibility that none of the collections found may be a Logical Collection. The fix is to set the multiplier_collection pointer to NULL if the collection found isn't a Logical Collection.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.14 premières → < 6.14 6.14
Linux 6.13 premières → < 6.13.2 6.13.2
Linux 6.12 premières → < 6.12.13 6.12.13
Linux 6.6 premières → < 6.6.76 6.6.76
Linux 6.1 premières → < 6.1.129 6.1.129
Linux 5.15 premières → < 5.15.179 5.15.179
Linux 5.10 premières → < 5.10.235 5.10.235
Linux 5.4 premières → < 5.4.291 5.4.291
Linux 5.0 Pas de correctif indiqué
Afficher l’autre branche
Produit Versions touchées Corrigé en
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions non publiées
Les 18286 CVE de Linux →
Suivre cette CVE