# 摘要
In the Linux kernel, the following vulnerability has been resolved:
net: fix UaF in netns ops registration error path
If net_assign_generic() fails, the current error path in ops_init() tries
to clear the gen pointer slot. Anyway, in such error path, the gen pointer
itself has not been modified yet, and the existing and accessed one is
smaller than the accessed index, causing an out-of-bounds error:
BUG: KASAN: slab-out-of-bounds in ops_init +0x2de/0x320
Write of size 8 at addr ffff888109124978 by task modprobe/1018
CPU: 2 PID: 1018 Comm: modprobe Not tainted 6.2.0-rc2.mptcp_ae5ac65fbed5+ #1641
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.1-2.fc37 04/01/2014
Call Trace:
<TASK>
dump_stack_lvl +0x6a/0x9f
print_address_description.constprop.0 +0x86/0x2b5
print_report +0x11b/0x1fb
kasan_report +0x87/0xc0
ops_init +0x2de/0x320
register_pernet_operations +0x2e4/0x750
register_pernet_subsys +0x24/0x40
tcf_register_action +0x9f/0x560
do_one_initcall +0xf9/0x570
do_init_module +0x190/0x650
load_module +0x1fa5/0x23c0
__do_sys_finit_module +0x10d/0x1b0
do_syscall_64 +0x58/0x80
entry_SYSCALL_64_after_hwframe +0x72/0xdc
RIP: 0033:0x7f42518f778d
Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48
89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff
ff 73 01 c3 48 8b 0d cb 56 2c 00 f7 d8 64 89 01 48
RSP: 002b:00007fff96869688 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
RAX: ffffffffffffffda RBX: 00005568ef7f7c90 RCX: 00007f42518f778d
RDX: 0000000000000000 RSI: 00005568ef41d796 RDI: 0000000000000003
RBP: 00005568ef41d796 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000
R13: 00005568ef7f7d30 R14: 0000000000040000 R15: 0000000000000000
</TASK>
This change addresses the issue by skipping the gen pointer
de-reference in the mentioned error-path.
Found by code inspection and verified with explicit error injection
on a kasan-enabled kernel.
以上是 CVE 记录( cvelist )中的原文,未经改写。
# 利用条件
按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:L 本地:需要本地或 SSH 会话,或诱使用户在本机上操作
攻击复杂度 AC:L 低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:L 低:普通用户权限
用户交互 UI:N 无:除攻击者外不需要任何人配合
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 向量,来自 CVE 记录,由 CNA Linux 评定。
# 事件记录
2025-03-27T16:43Z
+DIS 披露
CVE 记录发布,编号分配方是 Linux。CVSS 7.8,高危。
来源 cvelist · 本站 2026-11-13T05:38Z 批量导入 · 原始记录
{
"id" : 309259,
"type" : "disclosed",
"source" : "cvelist",
"url" : "https://www.cve.org/CVERecord?id=CVE-2023-52999",
"occurred_at" : "2025-03-27T16:43:32.497Z",
"observed_at" : "2026-11-13T05:38:14.046808Z",
"is_backfill" : true,
"dedupe_key" : "",
"detail" : {
"cvss" : {
"source" : "cna",
"vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version" : "3.1",
"base_score" : 7.8,
"base_severity" : "HIGH"
},
"ssvc" : {
"timestamp" : "2025-03-27T16:59:38.580749Z",
"automatable" : "no",
"exploitation" : "none",
"technical_impact" : "total"
},
"state" : "PUBLISHED",
"date_published" : "2025-03-27T16:43:32.497Z",
"assigner_short_name" : "Linux"
}
}
# 纠错
报告错误或缺失
页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。
提交纠错需要启用 JavaScript。
无法确认登录状态,请刷新页面后再提交纠错。
请先在账号页设置公开用户名:被采纳的纠错会以它署名。
设置用户名
你的账号已被封禁,暂时不能提交纠错。
# 研究员讨论
近 7 天有 0 位研究员提到
研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。
尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。
# 讨论
0 条评论
阅读和发表评论都需要启用 JavaScript。
无法确认你的登录状态,刷新页面后再发表评论。
评论以 @用户名 署名。请先在账号页设置用户名。
前往账号页
你的账号已被封禁,不能发表、回复、编辑或举报评论;仍可删除自己的评论。
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
发表评论
最多 10,000 个字符
格式
↵↵空一行:新段落
↵换行:原样保留
*…*强调(斜体)
**…**加粗
`…`行内代码
```单独一行:开始和结束代码块
> …引用
- …列表
1. …编号列表
[…](https://…)链接(仅限 http 和 https)
https://…裸地址:自动成为链接
CVE-2026-1234链接到本站该漏洞页
\*按原样显示该字符
标题、图片、表格、嵌套列表和 HTML 都按纯文本显示。
新账号发的链接显示为纯文本;CVE 编号始终可点击。
你的回复
最多 10,000 个字符
回复 取消
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
编辑你的评论
最多 10,000 个字符
保存 取消
原因
垃圾信息或广告
骚扰或仇恨言论
与本漏洞无关
误导或错误信息
恶意链接
违法内容
其他
给版主的说明(可选,最多 500 个字符)
提交举报 取消
隐藏理由,作者可见(最多 200 个字符)
隐藏评论 取消