概要
低い権限で、細工した圧縮データによりカーネルのメモリ範囲外に書き込まれるおそれ。
元の説明(英語)を読む
In the Linux kernel, the following vulnerability has been resolved: crypto: nx - validate 'ignore' before subtracting in decompress The decompress() function subtracts the header-supplied `ignore` value (a u16 from the compressed stream) from `dlen` (the number of bytes produced by the decompressor) without checking that ignore <= dlen. If a caller decompresses a crafted buffer where `hdr->ignore` exceeds the actual decompressed length, the subtraction wraps around to a near-UINT_MAX value. The subsequent memcpy() then copies gigabytes of data past the destination buffer, causing an out-of-bounds kernel write. Add a bounds check before the subtraction and return -EINVAL if the value is inconsistent.
影響を受ける人
crypto の nx を使う Linux の管理者
対策
- Linux kernel を 5.10.275・5.15.226・6.1.193・6.6.163・6.12.117・6.18.63・7.3.4 以降のうち、お使いの系統の版に更新する
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
公開されている PoC は、まだ見つかっていない。