В ядре Linux устранена следующая уязвимость:
ocfs2: добавить проверку NULL журнала в ocfs2_checkpoint_inode()
Во время размонтирования ocfs2_journal_shutdown() освобождает журнал и устанавливает
osb->журнал в NULL. Позже, когда VFS удаляет оставшиеся кэшированные индексные дескрипторы,
ocfs2_evict_inode() -> ocfs2_clear_inode() -> ocfs2_checkpoint_inode()
-> ocfs2_ci_full_checkpointed() разыменовывает osb->journal, вызывая
Разыменование NULL-указателя. Исправьте это, добавив проверку NULL для osb->journal в
ocfs2_checkpoint_inode().
Если журнал имеет значение NULL, он уже был
полностью смыт и уничтожен во время остановки, поэтому нечего
КПП.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ocfs2: add journal NULL check in ocfs2_checkpoint_inode() During unmount, ocfs2_journal_shutdown() frees the journal and sets osb->journal to NULL. Later, when VFS evicts remaining cached inodes, ocfs2_evict_inode() -> ocfs2_clear_inode() -> ocfs2_checkpoint_inode() -> ocfs2_ci_fully_checkpointed() dereferences osb->journal, causing a NULL pointer dereference. Fix this by adding a NULL check for osb->journal in ocfs2_checkpoint_inode(). If the journal is NULL, it has already been fully flushed and destroyed during shutdown, so there is nothing to checkpoint.