CVE-2024-58011
Beschrijving NL
In de Linux-kernel is de volgende kwetsbaarheid verholpen:
platform/x86: int3472: Controleer of adev == NULL
Niet alle apparaten hebben een ACPI companion fwnode, dus adev kan NULL zijn.
kan bijvoorbeeld (theoretisch) gebeuren wanneer een gebruiker handmatig een van de volgende opties koppelt:
De int3472-stuurprogramma's naar een ander i2c/platformapparaat via sysfs.
Voeg een controle toe voor het geval adev niet is ingesteld en retourneer in dat geval -ENODEV.
Voorkom een mogelijke dereferentie van een NULL-pointer in skl_int3472_get_acpi_buffer().
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: int3472: Check for adev == NULL
Not all devices have an ACPI companion fwnode, so adev might be NULL. This
can e.g. (theoretically) happen when a user manually binds one of
the int3472 drivers to another i2c/platform device through sysfs.
Add a check for adev not being set and return -ENODEV in that case to
avoid a possible NULL pointer deref in skl_int3472_get_acpi_buffer().