2025-03-13 15:03:52 +00:00

53 lines
4.5 KiB
JSON

{
"id": "CVE-2024-57986",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2025-02-27T02:15:12.597",
"lastModified": "2025-03-13T13:15:43.287",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Fix assumption that Resolution Multipliers must be in Logical Collections\n\nA report in 2019 by the syzbot fuzzer was found to be connected to two\nerrors in the HID core associated with Resolution Multipliers. One of\nthe errors was fixed by commit ea427a222d8b (\"HID: core: Fix deadloop\nin hid_apply_multiplier.\"), but the other has not been fixed.\n\nThis error arises because hid_apply_multipler() assumes that every\nResolution Multiplier control is contained in a Logical Collection,\ni.e., there's no way the routine can ever set multiplier_collection to\nNULL. This is in spite of the fact that the function starts with a\nbig comment saying:\n\n\t * \"The Resolution Multiplier control must be contained in the same\n\t * Logical Collection as the control(s) to which it is to be applied.\n\t ...\n\t * If no Logical Collection is\n\t * defined, the Resolution Multiplier is associated with all\n\t * controls in the report.\"\n\t * HID Usage Table, v1.12, Section 4.3.1, p30\n\t *\n\t * Thus, search from the current collection upwards until we find a\n\t * logical collection...\n\nThe comment and the code overlook the possibility that none of the\ncollections found may be a Logical Collection.\n\nThe fix is to set the multiplier_collection pointer to NULL if the\ncollection found isn't a Logical Collection."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: core: Fix posture that Resolution Multipliers must be in Logical Collections Se descubri\u00f3 que un informe de 2019 del fuzzer syzbot estaba relacionado con dos errores en el n\u00facleo de HID asociados con Resolution Multipliers. Uno de los errores se solucion\u00f3 con el commit ea427a222d8b (\"HID: core: Fix deadloop in hid_apply_multipler.\"), pero el otro no se solucion\u00f3. Este error surge porque hid_apply_multipler() asume que cada control Resolution Multiplier est\u00e1 contenido en una colecci\u00f3n l\u00f3gica, es decir, no hay forma de que la rutina pueda establecer multiplier_collection en NULL. Esto es a pesar del hecho de que la funci\u00f3n comienza con un gran comentario que dice: * \"El control Multiplicador de resoluci\u00f3n debe estar contenido en la misma * Colecci\u00f3n l\u00f3gica que el control o los controles a los que se aplicar\u00e1. ... * Si no se define ninguna Colecci\u00f3n l\u00f3gica, el Multiplicador de resoluci\u00f3n se asocia con todos los * controles del informe\". * Tabla de uso de HID, v1.12, Secci\u00f3n 4.3.1, p30 * * Por lo tanto, busque desde la colecci\u00f3n actual hacia arriba hasta que encontremos una * colecci\u00f3n l\u00f3gica... El comentario y el c\u00f3digo pasan por alto la posibilidad de que ninguna de las colecciones encontradas pueda ser una Colecci\u00f3n l\u00f3gica. La soluci\u00f3n es establecer el puntero multiplier_collection en NULL si la colecci\u00f3n encontrada no es una Colecci\u00f3n l\u00f3gica."
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/05dd7d10675b540b8b7b31035c0a8abb6e6f3b88",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3a002e4029230d9a6be89f869b2328b258612f5c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/64f2657b579343cf923aa933f08074e6258eb07b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a32ea3f982b389ea43a41ce77b6fb70d74006d9b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a5498f1f864ea26f4c613c77f54409c776a95a90",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/bebf542e8d7c44a18a95f306b1b5dc160c823506",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ebaeca33d32c8bdb705a8c88267737a456f354b1",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ed3d3883476423f337aac0f22c521819b3f1e970",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}