CVE-2025-21638

Updated: 2025-04-11 01:30:37.623298

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.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x MEDIUM 5.5

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 5.5 MEDIUM Ignored 2025-03-02 21:45:17
AlmaLinux 9.6 ESU kernel 5.14.0 5.5 MEDIUM Ignored 2025-07-05 02:18:11
CentOS 8.4 ELS kernel 4.18.0 5.5 MEDIUM Ignored 2025-03-02 21:45:17
CentOS 8.5 ELS kernel 4.18.0 5.5 MEDIUM Ignored 2025-03-02 21:45:17
CentOS Stream 8 ELS kernel 4.18.0 5.5 MEDIUM Ignored 2025-03-02 21:45:17
Ubuntu 16.04 ELS linux 4.4.0 5.5 MEDIUM Ignored 2025-03-02 21:45:19
Ubuntu 16.04 ELS linux-hwe 4.15.0 5.5 MEDIUM Ignored 2025-03-02 21:45:19
Ubuntu 18.04 ELS linux 4.15.0 5.5 MEDIUM Needs Triage 2025-05-30 00:54:16
Ubuntu 20.04 ELS linux 5.4.0 5.5 MEDIUM Ignored 2025-06-24 00:42:04