Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-21640— sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy

CVSS 7.1 · High EPSS 0.23% · P14

Possible ATT&CK Techniques 1AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 16

VendorProductVersion RangeStatus
LinuxLinux3c68198e75111a905ac2412be12bf7b29099729b< 5599b212d2f4466e1832a94e9932684aaa364587affected
3c68198e75111a905ac2412be12bf7b29099729b< 03ca51faba2b017bf6c90e139434c4117d0afcdcaffected
3c68198e75111a905ac2412be12bf7b29099729b< 86ddf8118123cb58a0fb8724cad6979c4069065baffected
3c68198e75111a905ac2412be12bf7b29099729b< 3cd0659deb9c03535fd61839e91d4d4d3e51ac71affected
3c68198e75111a905ac2412be12bf7b29099729b< ad673e514b2793b8d5902f6ba6ab7e890dea23d5affected
3c68198e75111a905ac2412be12bf7b29099729b< f0bb3935470684306e4e04793a20ac4c4b08de0baffected
3c68198e75111a905ac2412be12bf7b29099729b< ea62dd1383913b5999f3d16ae99d411f41b528d4affected
3.8affected
… +8 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-21640

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
sctp: sysctl: cookie_hmac_alg: avoid using current->nsproxy
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: sctp: sysctl: cookie_hmac_alg: 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, as this is the only member needed from the 'net' structure, but that would increase the size of this fix, to use '*data' everywhere 'net->sctp.sctp_hmac_alg' is used.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于空指针取消引用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 3c68198e75111a905ac2412be12bf7b29099729b ~ 5599b212d2f4466e1832a94e9932684aaa364587 -
LinuxLinux 3.8 -

II. Public POCs for CVE-2025-21640

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-21640

登录查看更多情报信息。

Patches & Fixes for CVE-2025-21640 (7)

Same Patch Batch · Linux · 2025-01-19 · 47 CVEs total

CVE-2025-216317.8 HIGHblock, bfq: fix waker_bfqq UAF after bfq_split_bfqq()
CVE-2025-216527.8 HIGHipvlan: Fix use-after-free in ipvlan_get_iflink().
CVE-2025-216467.5 HIGHafs: Fix the maximum cell name length
CVE-2025-216477.3 HIGHsched: sch_cake: add bounds checks to host bulk flow fairness counts
CVE-2025-216377.1 HIGHsctp: sysctl: udp_port: avoid using current->nsproxy
CVE-2025-216387.1 HIGHsctp: sysctl: auth_enable: avoid using current->nsproxy
CVE-2025-216507.1 HIGHnet: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds issue
CVE-2024-57914usb: typec: tcpci: fix NULL pointer issue on shared irq case
CVE-2024-57923btrfs: zlib: fix avail_in bytes for s390 zlib HW compression path
CVE-2024-57926drm/mediatek: Set private->all_drm_private[i]->drm to NULL if mtk_drm_bind returns err
CVE-2024-57925ksmbd: fix a missing return value check bug
CVE-2024-57928netfs: Fix enomem handling in buffered reads
CVE-2024-57917topology: Keep the cpumask unchanged when printing cpumap
CVE-2024-57916misc: microchip: pci1xxxx: Resolve kernel panic during GPIO IRQ handling
CVE-2024-57908iio: imu: kmx61: fix information leak in triggered buffer
CVE-2024-57913usb: gadget: f_fs: Remove WARN_ON in functionfs_bind
CVE-2024-57912iio: pressure: zpa2326: fix information leak in triggered buffer
CVE-2024-57911iio: dummy: iio_simply_dummy_buffer: fix information leak in triggered buffer
CVE-2024-57910iio: light: vcnl4035: fix information leak in triggered buffer
CVE-2024-57906iio: adc: ti-ads8688: fix information leak in triggered buffer

Showing top 20 of 47 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-21640

No comments yet


Leave a comment