CVE-2025-21638 - CVE House
Back to Database
Status published Unknown CVE-2025-21638

sctp: sysctl: auth_enable: avoid using current->nsproxy

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-21638

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
b14878ccb7fac0242db82720b784ab62c467c0dc, e5eae4a0511241959498b180fa0df0d4f1b11b9c, 88830f227a1f96e44d82ddfcb0cc81d517ec6dd8, 3938b0336a93fa5faa242dc9e5823ac69df9e066, 3.10.41, 3.12.21, 3.14.5, 3.15, 0, 5.4.292, 5.10.234, 5.15.177, 6.1.125, 6.6.72, 6.12.10, 6.13

Timeline

Official Publish: January 19th, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.