製品・ソフトウェアに関する情報
Linuxカーネルのsch_qfqモジュールにおける競合状態による解放済みメモリ使用の脆弱性
Title Linuxカーネルのsch_qfqモジュールにおける競合状態による解放済みメモリ使用の脆弱性
Summary

Linuxカーネルのnet/sched: sch_qfqモジュールにおいて、qfq_aggregateに競合状態が存在していた問題が修正されました。qfq_enqueueが実行されている最中にqfq_change_aggによって「agg」が変更されると、同時アクセスによってNULL参照や解放済みメモリの使用が生じるなど、予期しない動作が発生する可能性がありました。この修正では、qfq_destroy_classがクリティカルセクション内で処理されるようになりました。また、qfq_dump_classとqfq_dump_class_statsがsch_tree_lockによって保護されるようになりました。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date July 28, 2025, midnight
Registration Date Dec. 25, 2025, 4:58 p.m.
Last Update Dec. 25, 2025, 4:58 p.m.
CVSS3.0 : 警告
Score 4.7
Vector CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected System
Debian
Debian GNU/Linux 11.0
Linux
Linux Kernel 3.8 から 5.4.297 未満
Linux Kernel 5.11 から 5.15.190 未満
Linux Kernel 5.16 から 6.1.147 未満
Linux Kernel 5.5 から 5.10.241 未満
Linux Kernel 6.13 から 6.15.8 未満
Linux Kernel 6.16
Linux Kernel 6.2 から 6.6.100 未満
Linux Kernel 6.7 から 6.12.40 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2025年12月25日]
  掲載
Dec. 25, 2025, 4:58 p.m.

NVD Vulnerability Information
CVE-2025-38477
Summary

In the Linux kernel, the following vulnerability has been resolved:

net/sched: sch_qfq: Fix race condition on qfq_aggregate

A race condition can occur when 'agg' is modified in qfq_change_agg
(called during qfq_enqueue) while other threads access it
concurrently. For example, qfq_dump_class may trigger a NULL
dereference, and qfq_delete_class may cause a use-after-free.

This patch addresses the issue by:

1. Moved qfq_destroy_class into the critical section.

2. Added sch_tree_lock protection to qfq_dump_class and
qfq_dump_class_stats.

Publication Date July 28, 2025, 9:15 p.m.
Registration Date July 29, 2025, 4 a.m.
Last Update July 28, 2025, 9:15 p.m.
Related information, measures and tools
Common Vulnerabilities List