Sérülékenységek

CVE-2024-36971

Linux Linux, linux linux_kernel

Adatlap

Eszköztípus
IT
Publikálva
Frissítve
Súlyosság
Magas
Prioritás
Riasztás
CWE
CWE-416

CVSS-pontszámok

Verzió Pontszám Súlyosság Vektor
3.1 7,8 Magas CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1 7,8 Magas CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Eredeti leírás

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

net: fix __dst_negative_advice() race

__dst_negative_advice() does not enforce proper RCU rules when
sk->dst_cache must be cleared, leading to possible UAF.

RCU rules are that we must first clear sk->sk_dst_cache,
then call dst_release(old_dst).

Note that sk_dst_reset(sk) is implementing this protocol correctly,
while __dst_negative_advice() uses the wrong order.

Given that ip6_negative_advice() has special logic
against RTF_CACHE, this means each of the three ->negative_advice()
existing methods must perform the sk_dst_reset() themselves.

Note the check against NULL dst is centralized in
__dst_negative_advice(), there is no need to duplicate
it in various callbacks.

Many thanks to Clement Lecigne for tracking this issue.

This old bug became visible after the blamed commit, using UDP sockets.

Érintett termékek

  • Linux Linux Verziók: a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 – < 051c0bde9f0450a2ec3d62a86d2a0d2fad117f13; a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 – < db0082825037794c5dba9959c9de13ca34cc5e72; a87cb3e48ee86d29868d3f59cfb9ce1a8fa63314 – < 2295a7ef5c8c49241bff769e7826ef2582e5, 4.6; 0 – < 4.6; 4.19.316 – <= 4.19.*; 5.4.278 – <= 5.4.*; 5.10.219 – <= 5.10.*; 5.15.161 – <= 5.15.*; 6.1.94 – <= 6.1.*; 6.6.34 – <= 6.6.*; 6.9.4 – <= 6.9.*; 6.10 – <= *
  • linux_kernel linux Verziók: 4.6, a87cb3e48ee8 – < 051c0bde9f04; a87cb3e48ee8 – < db0082825037; a87cb3e48ee8 – < 2295a7ef5c8c; a87cb3e48ee8 – < eacb8b195579; a87cb3e48ee8 – < 81dd3c82a456; a87cb3e48ee8 – < 5af198c38712; a87cb3e48ee8 – < b8af8e6118a6; a87cb3e48ee8 – < 92f1655aa2b2, 0 – < 4.6, 4.19.316 – < 4.20, 5.4.278 – < 5.5, 5.10.219 – < 5.11, 5.15.161 – < 5.16, 6.1.94 – < 6.2, 6.6.34 – < 6.7, 6.9.4 – < 6.10, 6.10 – <= *

Prioritás

Szint
Riasztás
Teendő
Azonnali intézkedés javasolt: a szoftvert 24 órán belül frissítse. Ha a frissítés nem telepíthető azonnal, alkalmazza a gyártó által javasolt kerülő megoldást, és a javításig fokozottan figyelje a sérülékenység kihasználására irányuló kísérleteket.

Kihasználási státusz

EPSS
2,70%
Kihasználtság
Aktív
Kihasználás óta
Automatizálhatóság
Nem
Technikai hatás
Teljes

Javítás

Javított verzió
4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.94, 6.6.34, 6.9.4, 6.10

Hivatkozások