Aller au contenu
Non notée

CVE-2024-35997 In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid: remove I2C_HID_READ_PENDING flag to…

Description

In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up The flag I2C_HID_READ_PENDING is used to serialize I2C operations. However, this is not necessary, because I2C core already has its own locking for that. More importantly, this flag can cause a lock-up: if the flag is set in i2c_hid_xfer() and an interrupt happens, the interrupt handler (i2c_hid_irq) will check this flag and return immediately without doing anything, then the interrupt handler will be invoked again in an infinite loop. Since interrupt handler is an RT task, it takes over the CPU and the flag-clearing task never gets scheduled, thus we have a lock-up. Delete this unnecessary flag.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.9 premières → < 6.9 6.9
Linux 6.8 premières → < 6.8.9 6.8.9
Linux 6.6 premières → < 6.6.30 6.6.30
Linux 6.1 premières → < 6.1.90 6.1.90
Linux 5.15 premières → < 5.15.158 5.15.158
Linux 5.10 premières → < 5.10.216 5.10.216
Linux 5.4 premières → < 5.4.275 5.4.275
Linux 4.19 premières → < 4.19.313 4.19.313
Linux 3.8 Pas de correctif indiqué
Afficher les 2 autres branches
Produit Versions touchées Corrigé en
linux_kernel 0561 premières → < 0561b65fbd53 0561b65fbd53
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE