Aller au contenu
Non notée

CVE-2025-23131 dlm: prevent NPD when writing a positive value to event_done

Description

In the Linux kernel, the following vulnerability has been resolved: dlm: prevent NPD when writing a positive value to event_done do_uevent returns the value written to event_done. In case it is a positive value, new_lockspace would undo all the work, and lockspace would not be set. __dlm_new_lockspace, however, would treat that positive value as a success due to commit 8511a2728ab8 ("dlm: fix use count with multiple joins"). Down the line, device_create_lockspace would pass that NULL lockspace to dlm_find_lockspace_local, leading to a NULL pointer dereference. Treating such positive values as successes prevents the problem. Given this has been broken for so long, this is unlikely to break userspace expectations.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.15 premières → < 6.15 6.15
Linux 6.14 premières → < 6.14.2 6.14.2
Linux 6.12 premières → < 6.12.95 6.12.95
Linux 6.6 premières → < 6.6.144 6.6.144
Linux 6.1 premières → < 6.1.177 6.1.177
Linux 5.15 premières → < 5.15.211 5.15.211
Linux 5.10 premières → < 5.10.260 5.10.260
Linux 2.6.31 Pas de correctif indiqué
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions non publiées
Les 18286 CVE de Linux →
Suivre cette CVE