Ad

CVE-2026-74362

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

В ядре Linux устранена следующая уязвимость: ext2: исправлено игнорирование возвращаемого значения generic_write_sync(). Исправьте ext2_dio_write_iter() для распространения ошибки, возвращаемой generic_write_sync() вместо того, чтобы молча отбрасывать его, что могло бы заставить write(2) возвращать успех в пользовательское пространство для файлов O_SYNC/O_DSYNC даже если синхронизация не удалась. Правильный шаблон, уже использованный в ext2_dax_write_iter() в том же файл, а в ext4, xfs, f2fs и других: если (рет > 0) ret = generic_write_sync (iocb, ret); Найдено Центром проверки Linux (linuxtesting.org) с помощью SVACE. [JK: Отразить также возвращаемое значение filemap_write_and_wait()]

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

In the Linux kernel, the following vulnerability has been resolved: ext2: fix ignored return value of generic_write_sync() Fix ext2_dio_write_iter() to propagate the error returned by generic_write_sync() instead of silently discarding it, which could cause write(2) to return success to userspace on O_SYNC/O_DSYNC files even when the sync failed. The correct pattern, already used in ext2_dax_write_iter() in the same file and in ext4, xfs, f2fs among others, is: if (ret > 0) ret = generic_write_sync(iocb, ret); Found by Linux Verification Center (linuxtesting.org) with SVACE. [JK: Reflect also filemap_write_and_wait() return value]