CVE-2025-38004
Vulnérabilité élevée dans Linux (Linux)
Description
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.
Gravité et risque d'exploitation
CVE-2025-38004 obtient un score CVSS de 7.3/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.27 %, ce qui la place devant 17.3 % des CVE référencées.
Que faire ?
- Vérifiez si Linux (versions <=6.1.*, <c4e8a172501e677ebd8ea9d9161d97dc4df56fbd, <=6.12.*, <=6.14.*, 0, 6.1.141, 6.6.93, <=5.10.*, 5.4.294, <=6.6.*, 6.14.9, <76c84c3728178b2d38d5604e399dfe8b0752645e, <fbd8fdc2b218e979cfe422b139b8f74c12419d1f, <=5.4.*, <cc55dd28c20a6611e30596019b3b2f636819a4c0, 6.12.31, ffd980f976e7fd666c2e61bf8ab35107efd11828, <c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7, 2.6.25, 6.15, <2a437b86ac5a9893c902f30ef66815bf13587bf6, <8f1c022541bf5a923c8d6fa483112c15250f30a4, <2.6.25, <=*, <=5.15.*, 5.15.185, <7595de7bc56e0e52b74e56c90f7e247bf626d628, 5.10.238) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://git.kernel.org/stable/c/8f1c022541bf5a923c8d6fa483112c15250f30a4
- https://git.kernel.org/stable/c/7595de7bc56e0e52b74e56c90f7e247bf626d628
- https://git.kernel.org/stable/c/fbd8fdc2b218e979cfe422b139b8f74c12419d1f
- https://git.kernel.org/stable/c/2a437b86ac5a9893c902f30ef66815bf13587bf6
- https://git.kernel.org/stable/c/76c84c3728178b2d38d5604e399dfe8b0752645e
- https://git.kernel.org/stable/c/cc55dd28c20a6611e30596019b3b2f636819a4c0
- https://git.kernel.org/stable/c/c4e8a172501e677ebd8ea9d9161d97dc4df56fbd
- https://git.kernel.org/stable/c/c2aba69d0c36a496ab4f2e81e9c2b271f2693fd7
