# 摘要
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: Fix peer devlink set for SF representor devlink port
The cited patch change register devlink flow, and neglect to reflect
the changes for peer devlink set logic. Peer devlink set is
triggering a call trace if done after devl_register.[1]
Hence, align peer devlink set logic with register devlink flow.
[1]
WARNING: CPU: 4 PID: 3394 at net/devlink/core.c:155 devlink_rel_nested_in_add +0x177/0x180
CPU: 4 PID: 3394 Comm: kworker/u40:1 Not tainted 6.9.0-rc4_for_linust_min_debug_2024_04_16_14_08 #1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
Workqueue: mlx5_vhca_event0 mlx5_vhca_state_work_handler [mlx5_core]
RIP: 0010:devlink_rel_nested_in_add +0x177/0x180
Call Trace:
<TASK>
? __warn +0x78/0x120
? devlink_rel_nested_in_add +0x177/0x180
? report_bug +0x16d/0x180
? handle_bug +0x3c/0x60
? exc_invalid_op +0x14/0x70
? asm_exc_invalid_op +0x16/0x20
? devlink_port_init +0x30/0x30
? devlink_port_type_clear +0x50/0x50
? devlink_rel_nested_in_add +0x177/0x180
? devlink_rel_nested_in_add +0xdd/0x180
mlx5_sf_mdev_event +0x74/0xb0 [mlx5_core]
notifier_call_chain +0x35/0xb0
blocking_notifier_call_chain +0x3d/0x60
mlx5_blocking_notifier_call_chain +0x22/0x30 [mlx5_core]
mlx5_sf_dev_probe +0x185/0x3e0 [mlx5_core]
auxiliary_bus_probe +0x38/0x80
? driver_sysfs_add +0x51/0x80
really_probe +0xc5/0x3a0
? driver_probe_device +0x90/0x90
__driver_probe_device +0x80/0x160
driver_probe_device +0x1e/0x90
__device_attach_driver +0x7d/0x100
bus_for_each_drv +0x80/0xd0
__device_attach +0xbc/0x1f0
bus_probe_device +0x86/0xa0
device_add +0x64f/0x860
__auxiliary_device_add +0x3b/0xa0
mlx5_sf_dev_add +0x139/0x330 [mlx5_core]
mlx5_sf_dev_state_change_handler +0x1e4/0x250 [mlx5_core]
notifier_call_chain +0x35/0xb0
blocking_notifier_call_chain +0x3d/0x60
mlx5_vhca_state_work_handler +0x151/0x200 [mlx5_core]
process_one_work +0x13f/0x2e0
worker_thread +0x2bd/0x3c0
? rescuer_thread +0x410/0x410
kthread +0xc4/0xf0
? kthread_complete_and_exit +0x20/0x20
ret_from_fork +0x2d/0x50
? kthread_complete_and_exit +0x20/0x20
ret_from_fork_asm +0x11/0x20
</TASK>
以上是 CVE 记录( cvelist )中的原文,未经改写。
# 事件记录
2024-06-19T13:45Z
+DIS 披露
CVE 记录发布,编号分配方是 Linux。
来源 cvelist · 本站 2026-11-13T05:38Z 批量导入 · 原始记录
{
"id" : 336171,
"type" : "disclosed",
"source" : "cvelist",
"url" : "https://www.cve.org/CVERecord?id=CVE-2024-38595",
"occurred_at" : "2024-06-19T13:45:45.336Z",
"observed_at" : "2026-11-13T05:38:35.569196Z",
"is_backfill" : true,
"dedupe_key" : "",
"detail" : {
"ssvc" : {
"timestamp" : "2024-09-10T17:13:40.656790Z",
"automatable" : "no",
"exploitation" : "none",
"technical_impact" : "partial"
},
"state" : "PUBLISHED",
"date_published" : "2024-06-19T13:45:45.336Z",
"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 个字符)
隐藏评论 取消