CVE-2026-90358 bpf, x86: Fix trampoline stack size for 128-bit arguments
설명
In the Linux kernel, the following vulnerability has been resolved: bpf, x86: Fix trampoline stack size for 128-bit arguments btf_distill_func_proto() accepts a function argument up to 16 bytes, so a 128-bit scalar such as __int128 reaches the x86 trampoline with arg_size == 16. But the current implementation assumes an __int128 argument only needs one register, so the register save area is under-allocated and save_args() overwrites adjacent stack slots. Compute the register count from arg_size for all arguments to fix it.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1
해결 버전
- 6.1 미만
- 6.1.191 이상
- 6.6.160 이상
- 6.12.110 이상
- 6.18.52 이상
- 7.2.6 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/2189232984b45ac8281c80484ab9f67b380a2ca1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7f96bf0d24b2acc0732906b60a10f06783f2470d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f (새 창)