Skip to content
High 7.8

Linux Kernelのovl処理に解放後使用の脆弱性、システムがクラッシュするおそれ

CVE-2026-99422 First seen on SecPulse

Summary

Linux Kernelのoverlayfsで、ルックアップ中に上位ファイルシステム上の名前変更が行われると、解放済みのメモリを使用してカーネルがクラッシュするおそれがあります。影響を受けるのは6.12.117より前、6.13系の6.18.61より前、6.19系の7.3.2より前のカーネルで、各系統の修正版で解消されます。修正版へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux Kernelのoverlayfsで、ルックアップ中に上位ファイルシステム上の名前変更が行われると、解放済みのメモリを使用してカーネルがクラッシュするおそれがあります。影響を受けるのは6.12.117より前、6.13系の6.18.61より前、6.19系の7.3.2より前のカーネルで、各系統の修正版で解消されます。修正版へ更新してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 4.16.0, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.117→ 6.12.117
≥ 6.13.0, < 6.18.61→ 6.18.61
≥ 6.19.0, < 7.3.2→ 7.3.2

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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

ovl: use the pinned upper dir in ovl_fix_origin()

Renames made directly on the upper filesystem during a lookup crash the
kernel.

A dentry that is passed to vfs_setxattr() must be pinned.
ovl_fix_origin() passes upper->d_parent to ovl_set_impure() without a
reference, and the lookup holds no lock of the upper directory. A
rename on the upper filesystem changes d_parent, and only the child
pins the new parent, so a second rename and an rmdir free it.

With delays in ovl_fix_origin() and ovl_set_impure(), renaming the upper
directory twice and removing the intermediate parent during the lookup
of a merge directory without an origin xattr gave a KASAN
use-after-free in vfs_setxattr().

Fix this by passing the upper dentry that the overlay parent holds.

[amir: add helper ovl_set_impure_dir()]

Source: Linux kernel CVE announcements NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details