| Title | LinuxのLinux Kernelにおける誤った領域へのリソースの漏えいに関する脆弱性 |
|---|---|
| Summary | Linuxカーネルにおいて、以下の脆弱性が修正されました:riscv: fgraph: ftrace_return_to_handlerの__arch_ftrace_regs引数に合わせてスタックレイアウトを修正しました。Naresh Kambojuは、riscvでLTPトレースのftrace_stress_test.shを実行中に「Bad frame pointer」というカーネル警告が報告されました。以下のコマンドで同様の問題を再現できます:``` $ cd /sys/kernel/debug/tracing $ echo 'f:myprobe do_nanosleep%return args1=$retval' dynamic_events $ echo 1 events/fprobes/enable $ echo 1 tracing_on $ sleep 1 ```すると、以下のカーネル警告が表示されます:[ 127.692888] ------------[ cut here ]------------ [ 127.693755] Bad frame pointer: expected ff2000000065be50, received ba34c141e9594000 [ 127.693755] from func do_nanosleep return to ffffffff800ccb16 [ 127.698699] WARNING: CPU: 1 PID: 129 at kernel/trace/fgraph.c:755 ftrace_return_to_handler+0x1b2/0x1be 他にも多数ありました。この問題の原因は、return_to_handler内でftrace_return_to_handlerの引数を構築するためのスタックレイアウトがriscvの__arch_ftrace_regs構造体と一致しておらず、予期しない結果を招いていたことです。 |
| Possible impacts | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | April 16, 2025, midnight |
| Registration Date | Jan. 28, 2026, 12:37 p.m. |
| Last Update | Jan. 28, 2026, 12:37 p.m. |
| CVSS3.0 : 重要 | |
| Score | 7.8 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Linux |
| Linux Kernel 6.14 以上 6.14.2 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年01月28日] 掲載 |
Jan. 28, 2026, 12:37 p.m. |
| Summary | In the Linux kernel, the following vulnerability has been resolved: riscv: fgraph: Fix stack layout to match __arch_ftrace_regs argument of ftrace_return_to_handler Naresh Kamboju reported a "Bad frame pointer" kernel warning while ``` And we can get the following kernel warning: [ 127.692888] ------------[ cut here ]------------ The reason is that the stack layout for constructing argument for the |
|---|---|
| Publication Date | April 17, 2025, 12:16 a.m. |
| Registration Date | April 17, 2025, 4 a.m. |
| Last Update | April 18, 2025, 5:22 a.m. |