CVE-2025-21638 In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: auth_enable: avoid using…
Description
In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: auth_enable: 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, but that would increase the size of this fix, while 'sctp.ctl_sock' still needs to be retrieved from 'net' structure.
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.292 | 5.4.292 |
| Linux | 3.15 | Pas de correctif indiqué |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Versions non publiées |