Aller au contenu
5.5 Moyenne

CVE-2025-21639 In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: rto_min/max: avoid using…

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: rto_min/max: avoid using current->nsproxy As mentioned in a previous commit of this series, using the 'net' structure via 'current' is not recommended for different reasons: - Inconsistency: getting info from the reader's/writer's netns vs only from the opener's netns. - current->nsproxy can be NULL in some cases, resulting in an 'Oops' (null-ptr-deref), e.g. when the current task is exiting, as spotted by syzbot [1] using acct(2). The 'net' structure can be obtained from the table->data using container_of(). Note that table->data could also be used directly, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.rto_min/max' is used.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.13 premières → < 6.13 6.13
Linux 6.12 premières → < 6.12.10 6.12.10
Linux 6.6 premières → < 6.6.72 6.6.72
Linux 6.1 premières → < 6.1.125 6.1.125
Linux 5.15 premières → < 5.15.177 5.15.177
Linux 5.10 premières → < 5.10.234 5.10.234
Linux 5.4 premières → < 5.4.290 5.4.290
Linux 3.13 Pas de correctif indiqué
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions non publiées
Les 18286 CVE de Linux →
Suivre cette CVE