CVE-2026-46183
Publiée le 2026-05-28 · Dernière modification le 2026-06-17
Les systèmes Linux utilisant la fonctionnalité Data Access Monitor (DAMON) sont affectés par une faille de gestion de la mémoire. Un utilisateur local disposant de privilèges restreints peut déclencher une condition de type « use-after-free » en effectuant simultanément des opérations de lecture et d'écriture sur les fichiers sysfs de DAMON, ce qui pourrait lui permettre de faire planter le système ou d'exécuter du code arbitraire avec les permissions du noyau. Cette attaque est relativement simple à exécuter, mais nécessite un accès shell préalable à la machine.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: protect path kfree() with damon_sysfs_lock damon_sysfs_quot_goal->path can be read and written by users, via DAMON sysfs 'path' file. It can also be indirectly read, for the parameters {on,off}line committing to DAMON. The reads for parameters committing are protected by damon_sysfs_lock to avoid the sysfs files being destroyed while any of the parameters are being read. But the user-driven direct reads and writes are not protected by any lock, while the write is deallocating the path-pointing buffer. As a result, the readers could read the already freed buffer (user-after-free). Note that the user-reads don't race when the same open file is used by the writer, due to kernfs's open file locking. Nonetheless, doing the reads and writes with separate open files would be common. Fix it by protecting both the user-direct reads and writes with damon_sysfs_lock.