PT-2025-4321
CVE-2025-21640
·
Published
2025-01-08
·
Updated
2026-10-21
Description by
CVSS 3.1
7.1
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.74
Description
A vulnerability has been resolved in the Linux kernel, specifically in the sctp: sysctl: cookie hmac alg component. The issue arises from using the 'net' structure via 'current', which is not recommended due to inconsistency and potential null pointer dereferences. The 'net' structure can be obtained from the table->data using container of(). This vulnerability can result in an 'Oops' (null-ptr-deref) when the current task is exiting.
Recommendations
For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider modifying the code to use table->data instead of current->nsproxy to obtain the 'net' structure, thereby avoiding potential null pointer dereferences.
Found an issue in the description? Have something to add? Feel free to write us 👾