Ad

CVE-2026-74487

NONE EPSS 0.18%
Обновлено 23 августа 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: binfmt_misc: восстановить доступ на запись при удалении записи Регистрация записи с флагом MISC_FMT_OPEN_FILE открывает интерпретатор через open_exec(), который запрещает доступ на запись к нему, как пока запись существует. Удаление записи закрывает интерпретатор файл через filp_close(), но никогда не восстанавливает доступ на запись, оставляя i_writecount inode постоянно отрицательный. Открытие интерпретатора поскольку запись продолжает терпеть неудачу с ETXTBSY еще долго после того, как запись исчезла до тех пор, пока индексный дескриптор не будет удален из кэша индексных дескрипторов.

Зафиксируйте 90f601b497d7 («binfmt_misc: восстановить доступ на запись перед закрытие файлов, открытых с помощью open_exec()") исправило тот же дисбаланс в путь ошибки bm_register_write(), но фактический путь удаления имеет произошла утечка информации об отказе в записи с момента введения флага. Восстановите доступ на запись в put_binfmt_handler() перед закрытием файл интерпретатора.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: restore write access when removing an entry Registering an entry with the MISC_FMT_OPEN_FILE flag opens the interpreter via open_exec() which denies write access to it for as long as the entry exists. Removing the entry closes the interpreter file via filp_close() but never restores write access, leaving the inode's i_writecount permanently negative. Opening the interpreter for writing keeps failing with ETXTBSY long after the entry is gone until the inode is evicted from the inode cache. Commit 90f601b497d7 ("binfmt_misc: restore write access before closing files opened by open_exec()") fixed the same imbalance in the error path of bm_register_write() but the actual removal path has been leaking the write denial since the introduction of the flag. Restore write access in put_binfmt_handler() before closing the interpreter file.