CVE-2026-98201
>_ Opis
Tłumaczenie automatyczne – może zawierać nieścisłości.
W jądrze Linuksa usunięto następującą lukę:
Wejście: zero ff_effect przed kopią kompatybilną w input_ff_effect_from_user
W ścieżce zgodności input_ff_effect_from_user() tworzy aliasy osoby wywołującej
natywną strukturą ff_effect z mniejszą strukturą ff_effect_compat i
kopiuje tylko prefiks o zgodnym rozmiarze:
compat_effect = (struct ff_effect_compat *)effect;
if (copy_from_user(compat_effect, bufor,
sizeof(struct ff_effect_compat)))
Ogon struktury natywnej nigdy nie jest zapisywany. Osoby dzwoniące przekazują
niezainicjowany obiekt na stosie, na przykład evdev_do_ioctl() dla
EVIOCSFF, więc te bajty zachowują poprzednią zawartość stosu.
input_ff_upload() następnie przechowuje pełną natywną strukturę w
ff->effects[id], z którego może korzystać demon siły sprzężenia zwrotnego oparty na danych wejściowych
przeczytaj go ponownie za pomocą UI_BEGIN_FF_UPLOAD, ujawniając pamięć stosu jądra
przestrzeń użytkownika.
Wyzeruj efekt przed kopią kompatybilną.
>_ Referencje
- https://git.kernel.org/stable/c/0d05b43b55d4784a42ce8fb318175f8ad7d9af5a
- https://git.kernel.org/stable/c/6c26681c5668c973bd0e951407d670ac60d9cd66
- https://git.kernel.org/stable/c/b878720e8bcaa4cf7163a5081f904dd6baf11b2c
- https://git.kernel.org/stable/c/c5e573bb095d502be7cbbaa99c26a20984111c6d
- https://git.kernel.org/stable/c/ec174c2ab1abb76b20fa167c6db848c3d97aa838
- https://git.kernel.org/stable/c/ed0406e490f48ed180df140fe2a81be26bccb1a9
- https://git.kernel.org/stable/c/ed0905fda39682d3da7937184397d3276abbffa8
- https://git.kernel.org/stable/c/f84819ef8d66931ee3998fee3c4f03230f4cb6cc
Dane podatności pochodzą z oficjalnych źródeł (CVE® List / NVD). Opisy po polsku są tłumaczone automatycznie i mogą zawierać nieścisłości – na stronie rekordu można wyświetlić wersję angielską.
This product uses the NVD API but is not endorsed or certified by the NVD.
Copyright © 1999–2026, The MITRE Corporation. CVE is a registered trademark and the CVE logo is a registered trademark of The MITRE Corporation.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.
NVD Terms of Use / CVE® Terms of Use / nvd.nist.gov / cve.org