"value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors\n\nThe error handling in nilfs_empty_dir() when a directory folio/page read\nfails is incorrect, as in the old ext2 implementation, and if the\nfolio/page cannot be read or nilfs_check_folio() fails, it will falsely\ndetermine the directory as empty and corrupt the file system.\n\nIn addition, since nilfs_empty_dir() does not immediately return on a\nfailed folio/page read, but continues to loop, this can cause a long loop\nwith I/O if i_size of the directory's inode is also corrupted, causing the\nlog writer thread to wait and hang, as reported by syzbot.\n\nFix these issues by making nilfs_empty_dir() immediately return a false\nvalue (0) if it fails to get a directory folio/page."
"value":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nilfs2: corrige el error de c\u00e1lculo de nilfs_empty_dir() y el bucle largo en errores de E/S. El manejo de errores en nilfs_empty_dir() cuando falla la lectura de una p\u00e1gina/folio de directorio es incorrecto, como en el antiguo ext2 implementaci\u00f3n, y si la publicaci\u00f3n/p\u00e1gina no se puede leer o nilfs_check_folio() falla, determinar\u00e1 err\u00f3neamente que el directorio est\u00e1 vac\u00edo y da\u00f1ar\u00e1 el sistema de archivos. Adem\u00e1s, dado que nilfs_empty_dir() no regresa inmediatamente tras una lectura fallida de un folio/p\u00e1gina, sino que contin\u00faa en bucle, esto puede provocar un bucle largo con E/S si i_size del inodo del directorio tambi\u00e9n est\u00e1 da\u00f1ado, lo que provoca que el subproceso del escritor de registros se bloquee. espera y cuelga, seg\u00fan lo informado por syzbot. Solucione estos problemas haciendo que nilfs_empty_dir() devuelva inmediatamente un valor falso (0) si no puede obtener una p\u00e1gina/folio del directorio."