# 摘要
In the Linux kernel, the following vulnerability has been resolved:
RDMA/core: Fix use after free in ib_query_qp()
When querying a QP via the netlink flow the only synchronization
mechanism for the said QP is rdma_restrack_get(), meanwhile during the
QP destroy path rdma_restrack_del() is called at the end of the
ib_destroy_qp_user() function which is too late, since by then the
vendor specific resources for said QP would already be destroyed, and
till the rdma_restrack_del() is called this QP can still be accessed,
which could cause the use after free below.
Fix this by moving the rdma_restrack_begin_del() to the start of the
ib_destroy_qp_user(), which in turn waits for all usages of the QP to be
done then removes it from the database to prevent access to it while it
is being destroyed.
RIP: 0010:ib_query_qp +0x15/0x50 [ib_core]
Code: 48 83 05 5d 8e b9 ff 01 eb b5 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 c7 46 40 00 00 00 00 48 c7 46 78 00 00 00 00 <48> 8b 07 48 8b 80 88 01 00 00 48 85 c0 74 1a 48 83 05 54 91 b9 ff
RSP: 0018:ff11000108a8f2f0 EFLAGS: 00010202
RAX: 0000000000000000 RBX: ff11000108a8f370 RCX: ff11000108a8f370
RDX: 0000000000000000 RSI: ff11000108a8f3d8 RDI: 0000000000000000
RBP: ff1100010de5a000 R08: 0000000000000e80 R09: 0000000000000004
R10: ff110001057a604c R11: 0000000000000000 R12: ff11000108a8f370
R13: ff110001090e8000 R14: 0000000000000000 R15: ff110001057a602c
FS: 00007f2ffd8db6c0 (0000) GS:ff110008dc90b000 (0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000010b9a7004 CR4: 0000000000373eb0
Call Trace:
<TASK>
mlx5_ib_gsi_query_qp +0x21/0x50 [mlx5_ib]
mlx5_ib_query_qp +0x689/0x9d0 [mlx5_ib]
ib_query_qp +0x35/0x50 [ib_core]
fill_res_qp_entry_query.isra.0 +0x47/0x280 [ib_core]
? __wake_up +0x40/0x50
? netlink_broadcast_filtered +0x15a/0x550
? kobject_uevent_env +0x562/0x710
? ep_poll_callback +0x242/0x270
? __nla_put +0xc/0x20
? nla_put +0x28/0x40
? nla_put_string +0x2e/0x40 [ib_core]
fill_res_qp_entry +0x138/0x190 [ib_core]
res_get_common_dumpit +0x4a5/0x800 [ib_core]
? fill_res_qp_entry_query.isra.0 +0x280/0x280 [ib_core]
nldev_res_get_qp_dumpit +0x1e/0x30 [ib_core]
netlink_dump +0x16f/0x450
__netlink_dump_start +0x1ce/0x2e0
rdma_nl_rcv_msg +0x1d3/0x330 [ib_core]
? nldev_res_get_qp_raw_dumpit +0x30/0x30 [ib_core]
rdma_nl_rcv_skb.constprop.0.isra.0 +0x108/0x180 [ib_core]
rdma_nl_rcv +0x12/0x20 [ib_core]
netlink_unicast +0x255/0x380
? __alloc_skb +0xfa/0x1e0
netlink_sendmsg +0x1f3/0x420
__sock_sendmsg +0x38/0x60
____sys_sendmsg +0x1e8/0x230
? copy_msghdr_from_user +0xea/0x170
___sys_sendmsg +0x7c/0xb0
? __futex_wait +0x95/0xf0
? __futex_wake_mark +0x40/0x40
? futex_wait +0x67/0x100
? futex_wake +0xac/0x1b0
__sys_sendmsg +0x5f/0xb0
do_syscall_64 +0x55/0xb90
entry_SYSCALL_64_after_hwframe +0x4b/0x53
以上是 CVE 记录( cvelist )中的原文,未经改写。
# 事件记录
2026-09-17T16:10Z
+DIS 披露
CVE 记录发布,编号分配方是 Linux。
来源 cvelist · 本站 2026-11-13T05:40Z 批量导入 · 原始记录
{
"id" : 454595,
"type" : "disclosed",
"source" : "cvelist",
"url" : "https://www.cve.org/CVERecord?id=CVE-2026-92512",
"occurred_at" : "2026-09-17T16:10:22.114Z",
"observed_at" : "2026-11-13T05:40:16.734465Z",
"is_backfill" : true,
"dedupe_key" : "",
"detail" : {
"state" : "PUBLISHED",
"date_published" : "2026-09-17T16:10:22.114Z",
"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 个字符)
隐藏评论 取消