1. Accueil
  2. Vulnérabilités
  3. CVE-2025-38004

CVE-2025-38004

can: bcm: add locking for bcm_op runtime updates

Publiée le 8 juin 2025 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 33/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: can: bcm: add locking for bcm_op runtime updates The CAN broadcast manager (CAN BCM) can send a sequence of CAN frames via hrtimer. The content and also the length of the sequence can be changed resp reduced at runtime where the 'currframe' counter is then set to zero. Although this appeared to be a safe operation the updates of 'currframe' can be triggered from user space and hrtimer context in bcm_can_tx(). Anderson Nascimento created a proof of concept that triggered a KASAN slab-out-of-bounds read access which can be prevented with a spin_lock_bh. At the rework of bcm_can_tx() the 'count' variable has been moved into the protected section as this variable can be modified from both contexts too.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (9 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 2.6.25 — CNA (éditeur ou attributeur)
Linux kernel de 2.6.25 (inclus) à 5.4.294 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.238 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.185 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.141 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.93 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.31 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.14.9 (exclu) — NVD
Linux kernel 6.15 — NVD
Debian (1 ligne(s))
Debian
ProduitVersionsCorrigé dansSource
Debian linux 11.0 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1536)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-125 · Corruption mémoire

Comment sont obtenues et calculées ces données