Odebrany

CVE-2026-98419

opublikowano:
modyfikacja:
Ocena CVSS
n/a
Brak oceny

>_ Opis

Tłumaczenie automatyczne – może zawierać nieścisłości.

W jądrze Linuksa usunięto następującą lukę:

drop_monitor: napraw zapis poza zakresem w reset_per_cpu_data()

W reset_per_cpu_data() al jest obliczane jako:

al = sizeof(struct net_dm_alert_msg);
al += dm_hit_limit * sizeof(struct net_dm_drop_point);
al += sizeof(struct nlattr);

skb = genlmsg_new(al, GFP_KERNEL);
...
nla = nla_reserve(skb, NLA_UNSPEC, sizeof(struct net_dm_alert_msg));
...
msg = nla_data(nla);
memset(msg, 0, al);

Ponieważ al zawiera sizeof(struct nlattr) (4-bajtowy nagłówek atrybutu),
genlmsg_new() przydziela wszystkie bajty Tailroom zaczynając od nla.
Jednakże msg wskazuje na lokalizację nla_data(nla).
sizeof(struct nlattr) bajtów po nla. Wywoływanie memset(msg, 0, al)
dlatego zapisuje wszystkie bajty, zaczynając od msg, przekraczając przydzielone
bufor według sizeof(struct nlattr) (4 bajty) i uszkadzając
skb_shared_info.

Napraw to, pozwalając al reprezentować tylko długość ładunku, alokując
skb z genlmsg_new(nla_total_size(al), GFP_KERNEL) i zerowaniem
wszystkie bajty z wiadomości.

>_ Referencje

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