2025-01-26 03:03:52 +00:00

29 lines
2.0 KiB
JSON

{
"id": "CVE-2024-57928",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2025-01-19T12:15:26.903",
"lastModified": "2025-01-19T12:15:26.903",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfs: Fix enomem handling in buffered reads\n\nIf netfs_read_to_pagecache() gets an error from either ->prepare_read() or\nfrom netfs_prepare_read_iterator(), it needs to decrement ->nr_outstanding,\ncancel the subrequest and break out of the issuing loop. Currently, it\nonly does this for two of the cases, but there are two more that aren't\nhandled.\n\nFix this by moving the handling to a common place and jumping to it from\nall four places. This is in preference to inserting a wrapper around\nnetfs_prepare_read_iterator() as proposed by Dmitry Antipov[1]."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfs: Arreglar la gesti\u00f3n de enomem en lecturas en b\u00fafer Si netfs_read_to_pagecache() obtiene un error de ->prepare_read() o de netfs_prepare_read_iterator(), necesita decrementar ->nr_outstanding, cancelar la subsolicitud y salir del bucle de emisi\u00f3n. Actualmente, solo hace esto para dos de los casos, pero hay dos m\u00e1s que no se gestionan. Arregle esto moviendo la gesti\u00f3n a un lugar com\u00fan y saltando a \u00e9l desde los cuatro lugares. Esto es preferible a insertar un contenedor alrededor de netfs_prepare_read_iterator() como lo propuso Dmitry Antipov[1]."
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/105549d09a539a876b7c3330ab52d8aceedad358",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/88ecdfea1b333de5c51442b45cd549eeadf01852",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}