110 Star 69 Fork 293

src-openEuler/kernel

 / 详情

CVE-2021-47212

已完成
CVE和安全问题 拥有者
创建于  
2024-04-11 03:59

一、漏洞信息
漏洞编号:CVE-2021-47212
漏洞归属组件:kernel
漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.0,6.1.14,6.1.19,6.1.5,6.1.6,6.1.8,6.4.0
CVSS V2.0分值:
BaseScore:0.0 Low
Vector:CVSS:2.0/
漏洞简述:
In the Linux kernel, the following vulnerability has been resolved:net/mlx5: Update error handler for UCTX and UMEMIn the fast unload flow, the device state is set to internal error,which indicates that the driver started the destroy process.In this case, when a destroy command is being executed, it should returnMLX5_CMD_STAT_OK.Fix MLX5_CMD_OP_DESTROY_UCTX and MLX5_CMD_OP_DESTROY_UMEM to return OKinstead of EIO.This fixes a call trace in the umem release process -[ 2633.536695] Call Trace:[ 2633.537518] ib_uverbs_remove_one+0xc3/0x140 [ib_uverbs][ 2633.538596] remove_client_context+0x8b/0xd0 [ib_core][ 2633.539641] disable_device+0x8c/0x130 [ib_core][ 2633.540615] __ib_unregister_device+0x35/0xa0 [ib_core][ 2633.541640] ib_unregister_device+0x21/0x30 [ib_core][ 2633.542663] __mlx5_ib_remove+0x38/0x90 [mlx5_ib][ 2633.543640] auxiliary_bus_remove+0x1e/0x30 [auxiliary][ 2633.544661] device_release_driver_internal+0x103/0x1f0[ 2633.545679] bus_remove_device+0xf7/0x170[ 2633.546640] device_del+0x181/0x410[ 2633.547606] mlx5_rescan_drivers_locked.part.10+0x63/0x160 [mlx5_core][ 2633.548777] mlx5_unregister_device+0x27/0x40 [mlx5_core][ 2633.549841] mlx5_uninit_one+0x21/0xc0 [mlx5_core][ 2633.550864] remove_one+0x69/0xe0 [mlx5_core][ 2633.551819] pci_device_remove+0x3b/0xc0[ 2633.552731] device_release_driver_internal+0x103/0x1f0[ 2633.553746] unbind_store+0xf6/0x130[ 2633.554657] kernfs_fop_write+0x116/0x190[ 2633.555567] vfs_write+0xa5/0x1a0[ 2633.556407] ksys_write+0x4f/0xb0[ 2633.557233] do_syscall_64+0x5b/0x1a0[ 2633.558071] entry_SYSCALL_64_after_hwframe+0x65/0xca[ 2633.559018] RIP: 0033:0x7f9977132648[ 2633.559821] Code: 89 02 48 c7 c0 ff ff ff ff eb b3 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 8d 05 55 6f 2d 00 8b 00 85 c0 75 17 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 41 54 49 89 d4 55[ 2633.562332] RSP: 002b:00007fffb1a83888 EFLAGS: 00000246 ORIG_RAX: 0000000000000001[ 2633.563472] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f9977132648[ 2633.564541] RDX: 000000000000000c RSI: 000055b90546e230 RDI: 0000000000000001[ 2633.565596] RBP: 000055b90546e230 R08: 00007f9977406860 R09: 00007f9977a54740[ 2633.566653] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f99774056e0[ 2633.567692] R13: 000000000000000c R14: 00007f9977400880 R15: 000000000000000c[ 2633.568725] ---[ end trace 10b4fe52945e544d ]---
漏洞公开时间:2024-04-11 03:15:48
漏洞创建时间:2024-04-11 03:59:06
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2021-47212

更多参考(点击展开)
参考来源 参考链接 来源链接
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/a51a6da375d82aed5c8f83abd13e7d060421bd48
416baaa9-dc9f-4396-8d5f-8c081fb06d67 https://git.kernel.org/stable/c/ba50cd9451f6c49cf0841c0a4a146ff6a2822699
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47212 https://bugzilla.suse.com/show_bug.cgi?id=1222709
suse_bugzilla https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47212.mbox https://bugzilla.suse.com/show_bug.cgi?id=1222709
suse_bugzilla https://git.kernel.org/stable/c/a51a6da375d82aed5c8f83abd13e7d060421bd48 https://bugzilla.suse.com/show_bug.cgi?id=1222709
suse_bugzilla https://git.kernel.org/stable/c/ba50cd9451f6c49cf0841c0a4a146ff6a2822699 https://bugzilla.suse.com/show_bug.cgi?id=1222709
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2021-47212 https://bugzilla.suse.com/show_bug.cgi?id=1222709
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2274574 https://bugzilla.suse.com/show_bug.cgi?id=1222709
redhat_bugzilla https://lore.kernel.org/linux-cve-announce/2024041005-CVE-2021-47212-01d8@gregkh/T https://bugzilla.redhat.com/show_bug.cgi?id=2274574
ubuntu https://git.kernel.org/linus/ba50cd9451f6c49cf0841c0a4a146ff6a2822699 (5.16-rc2) https://ubuntu.com/security/CVE-2021-47212
ubuntu https://git.kernel.org/stable/c/a51a6da375d82aed5c8f83abd13e7d060421bd48 https://ubuntu.com/security/CVE-2021-47212
ubuntu https://git.kernel.org/stable/c/ba50cd9451f6c49cf0841c0a4a146ff6a2822699 https://ubuntu.com/security/CVE-2021-47212
ubuntu https://www.cve.org/CVERecord?id=CVE-2021-47212 https://ubuntu.com/security/CVE-2021-47212
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2021-47212 https://ubuntu.com/security/CVE-2021-47212
ubuntu https://launchpad.net/bugs/cve/CVE-2021-47212 https://ubuntu.com/security/CVE-2021-47212
ubuntu https://security-tracker.debian.org/tracker/CVE-2021-47212 https://ubuntu.com/security/CVE-2021-47212
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-47212 https://ubuntu.com/security/CVE-2021-47212

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
linux https://git.kernel.org/linus/ba50cd9451f6c49cf0841c0a4a146ff6a2822699 https://git.kernel.org/linus/6a6fabbfa3e8c656ff906ae999fb6856410fa4cd ubuntu

二、漏洞分析结构反馈
影响性分析说明:

openEuler评分:

受影响版本排查(受影响/不受影响):
1.master(6.1.0):
2.openEuler-20.03-LTS-SP1(4.19.90):
3.openEuler-20.03-LTS-SP4(4.19.90):
4.openEuler-22.03-LTS(5.10.0):
5.openEuler-22.03-LTS-Next(5.10.0):
6.openEuler-22.03-LTS-SP1(5.10.0):
7.openEuler-22.03-LTS-SP2(5.10.0):
8.openEuler-22.03-LTS-SP3(5.10.0):
9.openEuler-24.03-LTS:
10.openEuler-24.03-LTS-Next:

修复是否涉及abi变化(是/否):
1.master(6.1.0):
2.openEuler-20.03-LTS-SP1(4.19.90):
3.openEuler-20.03-LTS-SP4(4.19.90):
4.openEuler-22.03-LTS(5.10.0):
5.openEuler-22.03-LTS-Next(5.10.0):
6.openEuler-22.03-LTS-SP1(5.10.0):
7.openEuler-22.03-LTS-SP2(5.10.0):
8.openEuler-22.03-LTS-SP3(5.10.0):
9.openEuler-24.03-LTS:
10.openEuler-24.03-LTS-Next:

评论 (6)

Hi openeuler-ci-bot, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

openeuler-ci-bot 创建了CVE和安全问题 1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/Kernel
标签
1年前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2021-47212NoneNonehttps://git.kernel.org/stable/c/ba50cd9451f6c49cf0841c0a4a146ff6a2822699
https://git.kernel.org/stable/c/a51a6da375d82aed5c8f83abd13e7d060421bd48
https://ubuntu.com/security/CVE-2021-47212NoneNonehttps://discourse.ubuntu.com/c/ubuntu-pro
https://www.opencve.io/cve/CVE-2021-47212NoneNonehttps://git.kernel.org/stable/c/ba50cd9451f6c49cf0841c0a4a146ff6a2822699
https://git.kernel.org/stable/c/a51a6da375d82aed5c8f83abd13e7d060421bd48
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2021-47212
https://security-tracker.debian.org/tracker/CVE-2021-47212

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
ci-robot 通过合并 Pull Request !6281: v2 net/mlx5: Update error handler for UCTX and UMEM任务状态待办的 修改为已完成 12个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 12个月前

@ci-robot 请确认分支: master,openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-Next,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2,openEuler-22.03-LTS-SP3,openEuler-24.03-LTS,openEuler-24.03-LTS-Next 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 移除了
 
sig/Kernel
标签
12个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 添加了
 
sig/Kernel
标签
12个月前
openeuler-ci-bot 修改了描述 12个月前
zhangjialin 通过合并 Pull Request !1546: release 5.10.0-197.0.0任务状态待办的 修改为已完成 12个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 12个月前

@zhangjialin11 请确认分支: master,openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-Next,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2,openEuler-22.03-LTS-SP3,openEuler-24.03-LTS,openEuler-24.03-LTS-Next 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 移除了
 
sig/Kernel
标签
12个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 添加了
 
sig/Kernel
标签
12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-sync-bot 通过合并 Pull Request !6449: [sync] PR-6281: v2 net/mlx5: Update error handler for UCTX and UMEM任务状态待办的 修改为已完成 12个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 12个月前

@openeuler-sync-bot 请确认分支: master,openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-Next,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2,openEuler-22.03-LTS-SP3,openEuler-24.03-LTS,openEuler-24.03-LTS-Next 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 移除了
 
sig/Kernel
标签
12个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 添加了
 
sig/Kernel
标签
12个月前
openeuler-sync-bot 通过合并 Pull Request !6450: [sync] PR-6281: v2 net/mlx5: Update error handler for UCTX and UMEM任务状态待办的 修改为已完成 12个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 移除了
 
sig/Kernel
标签
12个月前
openeuler-ci-bot 添加了
 
CVE/UNAFFECTED
标签
12个月前
openeuler-ci-bot 添加了
 
sig/Kernel
标签
12个月前
openeuler-ci-bot 计划开始日期设置为2024-04-11 14天前
openeuler-ci-bot 计划截止日期设置为2024-05-11 14天前
openeuler-ci-bot 优先级设置为次要 14天前

登录 后才可以发表评论

状态
负责人
项目
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
分支
参与者(1)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/kernel.git
git@gitee.com:src-openeuler/kernel.git
src-openeuler
kernel
kernel

搜索帮助