net: skmsg: preserve sg.copy across SG transforms (Linux Linux)

CVE-2026-63830
CRITICAL 9.4

En bref

Source
NVD
EPSS
EPSS 0.44 % · centile 38 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net: skmsg: preserve sg.copy across SG transforms The sk_msg sg.copy bitmap is part of the scatterlist entry ownership state. A set bit tells sk_msg_compute_data_pointers() not to expose the entry through writable BPF ctx->data. This protects entries backed by pages that are not private to the sk_msg, such as splice-backed file page-cache pages. Several sk_msg transform paths move, copy, split, or compact msg->sg.data[] entries without moving the matching sg.copy bit. This can make an externally backed entry arrive at a new slot with a clear copy bit. A later SK_MSG verdict can then expose sg_virt(sge) as writable ctx->data and BPF stores can modify the original page cache. Keep sg.copy synchronized with sg.data[] whenever entries are transferred, shifted, split, or copied into a new sk_msg. Clear the bit when an entry is replaced by a newly allocated private page or freed. This covers the BPF pull/push/pop helpers, sk_msg_shift_left/right(), sk_msg_xfer(), and tls_split_open_record(), including the partial tail entry created during TLS open-record splitting.

Faiblesses (CWE)

  • CWE-269 — Gestion incorrecte des privilèges
  • CWE-863 — Autorisation incorrecte

Références

Scores

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

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected d3b18ad31f93d0b6bae105c679018a1ba7daa9ca < f126eed589eec6f201405abbc398844042ef6d57 ; affected d3b18ad31f93d0b6bae105c679018a1ba7daa9ca < 31a110642b5fb5e61940cbcfb503445ac4f28017 ; affected d3b18ad31f93d0b6bae105c679018a1ba7daa9ca < 9bb86d8184b37503816150c4a6ad3c17dfdbe827 ; affected d3b18ad31f93d0b6bae105c679018a1ba7daa9ca < 0eb4c16c4adb262763bda870a8ed38a1a9dec7ec ; affected d3b18ad31f93d0b6bae105c679018a1ba7daa9ca < d22cc92bc41290e5783a72375e0843d9435f6001 ; affected d3b18ad31f93d0b6bae105c679018a1ba7daa9ca < 1acdd14c0990dd1cd4b6534f00366d2e6dfce05f
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.177 ≤ 6.1.* ; unaffected 6.6.144 ≤ 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