CVE-2021-47058
Publiée le 2024-02-29 · Dernière modification le 2026-06-17
affecte le composant regmap du noyau Linux, plus précisément la manière dont il gère la mémoire pour les noms debugfs. Un utilisateur local disposant de privilèges restreints peut exploiter cette erreur de gestion de la mémoire pour potentiellement lire, modifier ou faire planter le système. Comme l'attaque nécessite un accès local et aucune interaction particulière de l'utilisateur, elle est relativement simple à exécuter si un attaquant dispose déjà d'un shell sur votre machine.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Description officielle du NVD (en anglais)
In the Linux kernel, the following vulnerability has been resolved: regmap: set debugfs_name to NULL after it is freed There is a upstream commit cffa4b2122f5("regmap:debugfs: Fix a memory leak when calling regmap_attach_dev") that adds a if condition when create name for debugfs_name. With below function invoking logical, debugfs_name is freed in regmap_debugfs_exit(), but it is not created again because of the if condition introduced by above commit. regmap_reinit_cache() regmap_debugfs_exit() ... regmap_debugfs_init() So, set debugfs_name to NULL after it is freed.