um: vector: fix use-after-free in vector_mmsg_rx() (Linux Linux)

CVE-2026-74478
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.86 % · centile 59 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: um: vector: fix use-after-free in vector_mmsg_rx() When vector_mmsg_rx() discards a packet whose overlay header fails verify_header(), it frees the skb and continues the loop: if (header_check < 0) { dev_kfree_skb_irq(skb); vp->estats.rx_encaps_errors++; continue; } The normal and short-packet paths fall through to the bottom of the loop body, which clears the consumed slot and advances the cursors: (*skbuff_vector) = NULL; mmsg_vector++; skbuff_vector++; The verify_header() < 0 path skips that via continue, so the freed skb is left in skbuff_vector[] and the cursors do not advance. The next iteration reads the same slot, gets the freed skb, and frees it again, producing a refcount underflow / use-after-free in the RX path. Discard the slot the same way the other paths do before continuing. Only transports whose verify_header() can return negative are affected: GRE and L2TPv3 do so on a cookie/session-id mismatch (raw/tap do not), so any peer on such a transport can trigger it without authentication.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb < 967c779c9853d2a1cc9cd8e61d300250c348f3d9 ; affected 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb < a7bc015bb798c525e7a82dd14225c6aeb994274b ; affected 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb < 7dc9781e320d664c9bdd50003c9acfddf363d1e1 ; affected 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb < 4b9601595e8b6b5d18878cac0aeabc687d241111 ; affected 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb < 67d58ab4f2ccf7145f3da07e025735a09c79de1b ; affected 49da7e64f33e80edffb1a9eeb230fa4c3f42dffb < 180ff4c81faf01ec4e06082c9daa7c40518ead89
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD