6lowpan: fix off-by-one in multicast context address compression (Linux Linux)

CVE-2026-53263
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: 6lowpan: fix off-by-one in multicast context address compression The second memcpy in lowpan_iphc_mcast_ctx_addr_compress() uses &data[1] as destination and &ipaddr->s6_addr[11] as source, but both should be offset by one: &data[2] and &ipaddr->s6_addr[12] respectively. This off-by-one has two consequences: 1. data[1] is overwritten with s6_addr[11], corrupting the RIID field in the compressed multicast address 2. data[5] is never written, so uninitialized kernel stack memory is transmitted over the network via lowpan_push_hc_data(), leaking kernel stack contents The correct inline data layout must match what the decompression function lowpan_uncompress_multicast_ctx_daddr() expects: data[0..1] = s6_addr[1..2] (flags/scope + RIID) data[2..5] = s6_addr[12..15] (group ID) Also zero-initialize the data array as a defensive measure against similar bugs in the future.

Faiblesses (CWE)

  • CWE-193 — Erreur de décalage d'une unité

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 5609c185f24dffca5f6a9c127106869da150be03 < f24a58c72a45f4c109f3557a760cc4b60b7a6037 ; affected 5609c185f24dffca5f6a9c127106869da150be03 < da8cbb64b47e9066b40af0de170901caf17b768c ; affected 5609c185f24dffca5f6a9c127106869da150be03 < 4485d79617520d84ba5a14515e2b5136007d6deb ; affected 5609c185f24dffca5f6a9c127106869da150be03 < 06ce6fc106b16dec9b535950db626261be865e5b ; affected 5609c185f24dffca5f6a9c127106869da150be03 < dcb1bec1c32ee5c3878354e087cf5dbee2b7c7af ; affected 5609c185f24dffca5f6a9c127106869da150be03 < c32f30ef5e66adbfa102348e2e8a23776eb007cb
Linux · Linuxaffected 4.6 ; unaffected 0 < 4.6 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 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