CVE-2026-68144

phonet: pep: fix use-after-free in pep_get_sb()

CRITICAL 9.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: phonet: pep: fix use-after-free in pep_get_sb() pep_get_sb() doesn't consider that pskb_may_pull() might have relocated the skb data, and continue to access the older pointer, causing UAF. Reproduced under KASAN: BUG: KASAN: slab-use-after-free in pep_get_sb+0x234/0x3b0 Read of size 1 at addr ff11000105510f50 by task repro/157 pep_get_sb+0x234/0x3b0 pipe_handler_do_rcv+0x5f7/0xa10 pep_do_rcv+0x203/0x410 __sk_receive_skb+0x471/0x4a0 phonet_rcv+0x5b3/0x6c0 __netif_receive_skb+0xcc/0x1d0 Refetch the header with skb_header_pointer() after pskb_may_pull(), so the possibly stale pointer is no longer dereferenced. There are better ways to solve this, but, this is the less instrusive one.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

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 9641458d3ec42def729fde64669abf07f3220cd5 < c4a52cb4da8d57d060b1d52085d25147a238dac2 ; affected 9641458d3ec42def729fde64669abf07f3220cd5 < df198743859fefba2f824115f8151dd62d7ad6d8 ; affected 9641458d3ec42def729fde64669abf07f3220cd5 < 1d81e19fc57a5ee55b4497d01bc0510d76fb9578 ; affected 9641458d3ec42def729fde64669abf07f3220cd5 < 8d931a75a38b9bb584a4071f5ebbd52755fc35ee ; affected 9641458d3ec42def729fde64669abf07f3220cd5 < 17f78c0c0d41d738ee236eb6e841e39395188054 ; affected 9641458d3ec42def729fde64669abf07f3220cd5 < a48a889b60f73edb0399a8b08284a2ab0bd0295f
Linux · Linuxaffected 2.6.28 ; unaffected 0 < 2.6.28 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.148 ≤ 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