Skip to content
7.1 High

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.13 earliest → < 6.13 6.13
Linux 6.12 earliest → < 6.12.10 6.12.10
Linux 6.6 earliest → < 6.6.72 6.6.72
Linux 6.1 earliest → < 6.1.125 6.1.125
Linux 5.15 earliest → < 5.15.177 5.15.177
Linux 5.10 earliest → < 5.10.234 5.10.234
Linux 5.4 earliest → < 5.4.292 5.4.292
Linux 3.15 No fix stated
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions not published
The 18286 CVEs of Linux →
Track this CVE