CVE-2024-56549 in Linux情報

要約

〜によって VulDB • 2026年06月27日

Linuxカーネルにおいて、以下の脆弱性が修正されました:

cachefiles: object->fileにおけるNULLポインタ dereferenceの修正

現在、ondemandモードではobject->fileにNULLポインタdereferenceの問題があります。根本原因は、割り当てられたファイルディスクリプタ(fd)とobject->fileの有効期間が不一致であること、およびユーザー空間からのanon_fdへの呼び出しでobject->fileが使用されていることです。以下がこの問題をトリガーするプロセスです:

[write fd] [umount]
cachefiles_ondemand_fd_write_iter fscache_cookie_state_machine cachefiles_withdraw_cookie if (!file) return -ENOBUFS cachefiles_clean_up_object cachefiles_unmark_inode_in_use fput(object->file) object->file = NULL // fileのNULLポインタdereference! __cachefiles_write(..., file, ...)

この問題を修正するため、write/llseekの前にobject->fileに対して追加のリファレンスカウントを追加し、処理完了後にデクリメントします。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

責任者

Linux

予約する

2024年12月27日

モデレーション

承諾済み

エントリ

VDB-289503

EPSS

0.00229

アクティビティ

非常低い

ソース

Want to stay up to date on a daily basis?

Enable the mail alert feature now!