Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
128
Star
73
Fork
329
src-openEuler
/
kernel
Closed
Code
Issues
1197
Pull Requests
35
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2022-50063
Done
#ICGA3P
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2025-06-19 11:19
一、漏洞信息 漏洞编号:[CVE-2022-50063](https://nvd.nist.gov/vuln/detail/CVE-2022-50063) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:N/A None Vector:CVSS:3.0/ 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:net: dsa: felix: suppress non-changes to the tagging protocolThe way in which dsa_tree_change_tag_proto() works is that whendsa_tree_notify() fails, it doesn t know whether the operation failedmid way in a multi-switch tree, or it failed for a single-switch tree.So even though drivers need to fail cleanly inds->ops->change_tag_protocol(), DSA will still call dsa_tree_notify()again, to restore the old tag protocol for potential switches in thetree where the change did succeeed (before failing for others).This means for the felix driver that if we report an error infelix_change_tag_protocol(), we ll get another call where proto_ops ==old_proto_ops. If we proceed to act upon that, we may do unexpectedthings. For example, we will call dsa_tag_8021q_register() twice in arow, without any dsa_tag_8021q_unregister() in between. Then we willactually call dsa_tag_8021q_unregister() via old_proto_ops->teardown,which (if it manages to run at all, after walking through corrupted datastructures) will leave the ports inoperational anyway.The bug can be readily reproduced if we force an error while intag_8021q mode; this crashes the kernel.echo ocelot-8021q > /sys/class/net/eno2/dsa/taggingecho edsa > /sys/class/net/eno2/dsa/tagging # -EPROTONOSUPPORTUnable to handle kernel NULL pointer dereference at virtual address 0000000000000014Call trace: vcap_entry_get+0x24/0x124 ocelot_vcap_filter_del+0x198/0x270 felix_tag_8021q_vlan_del+0xd4/0x21c dsa_switch_tag_8021q_vlan_del+0x168/0x2cc dsa_switch_event+0x68/0x1170 dsa_tree_notify+0x14/0x34 dsa_port_tag_8021q_vlan_del+0x84/0x110 dsa_tag_8021q_unregister+0x15c/0x1c0 felix_tag_8021q_teardown+0x16c/0x180 felix_change_tag_protocol+0x1bc/0x230 dsa_switch_event+0x14c/0x1170 dsa_tree_change_tag_proto+0x118/0x1c0 漏洞公开时间:2025-06-18 19:15:35 漏洞创建时间:2025-06-19 11:19:20 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-50063 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | | https://git.kernel.org/stable/c/4c46bb49460ee14c69629e813640d8b929e88941 | | | | https://git.kernel.org/stable/c/8e432f157c3edc5a97a7244c666589a438f5e4d4 | | | | https://lore.kernel.org/linux-cve-announce/2025061850-CVE-2022-50063-a233@gregkh/T/#u | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 七彩瞬析开源风险感知平台 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.kernel.org/stable/c/4c46bb49460ee14c69629e813640d8b929e88941 | | nvd | | | | https://git.kernel.org/stable/c/8e432f157c3edc5a97a7244c666589a438f5e4d4 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:net: dsa: felix: suppress non-changes to the tagging protocolThe way in which dsa_tree_change_tag_proto() works is that whendsa_tree_notify() fails, it doesn't know whether the operation failedmid way in a multi-switch tree, or it failed for a single-switch tree.So even though drivers need to fail cleanly inds->ops->change_tag_protocol(), DSA will still call dsa_tree_notify()again, to restore the old tag protocol for potential switches in thetree where the change did succeeed (before failing for others).This means for the felix driver that if we report an error infelix_change_tag_protocol(), we'll get another call where proto_ops ==old_proto_ops. If we proceed to act upon that, we may do unexpectedthings. For example, we will call dsa_tag_8021q_register() twice in arow, without any dsa_tag_8021q_unregister() in between. Then we willactually call dsa_tag_8021q_unregister() via old_proto_ops->teardown,which (if it manages to run at all, after walking through corrupted datastructures) will leave the ports inoperational anyway.The bug can be readily reproduced if we force an error while intag_8021q mode; this crashes the kernel.echo ocelot-8021q > /sys/class/net/eno2/dsa/taggingecho edsa > /sys/class/net/eno2/dsa/tagging # -EPROTONOSUPPORTUnable to handle kernel NULL pointer dereference at virtual address 0000000000000014Call trace: vcap_entry_get+0x24/0x124 ocelot_vcap_filter_del+0x198/0x270 felix_tag_8021q_vlan_del+0xd4/0x21c dsa_switch_tag_8021q_vlan_del+0x168/0x2cc dsa_switch_event+0x68/0x1170 dsa_tree_notify+0x14/0x34 dsa_port_tag_8021q_vlan_del+0x84/0x110 dsa_tag_8021q_unregister+0x15c/0x1c0 felix_tag_8021q_teardown+0x16c/0x180 felix_change_tag_protocol+0x1bc/0x230 dsa_switch_event+0x14c/0x1170 dsa_tree_change_tag_proto+0x118/0x1c0The Linux kernel CVE team has assigned CVE-2022-50063 to this issue. openEuler评分: 3.9 Vector:CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L 受影响版本排查(受影响/不受影响): 1.master(6.12.33):不受影响 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响 3.openEuler-22.03-LTS-SP3(5.10.0):不受影响 4.openEuler-22.03-LTS-SP4(5.10.0):不受影响 5.openEuler-24.03-LTS(6.6.0):不受影响 6.openEuler-24.03-LTS-Next(6.6.0):不受影响 7.openEuler-24.03-LTS-SP1(6.6.0):不受影响 8.openEuler-24.03-LTS-SP2(6.6.0):不受影响 修复是否涉及abi变化(是/否): 1.master(6.12.33):否 2.openEuler-20.03-LTS-SP4(4.19.90):否 3.openEuler-22.03-LTS-SP3(5.10.0):否 4.openEuler-22.03-LTS-SP4(5.10.0):否 5.openEuler-24.03-LTS(6.6.0):否 6.openEuler-24.03-LTS-Next(6.6.0):否 7.openEuler-24.03-LTS-SP1(6.6.0):否 8.openEuler-24.03-LTS-SP2(6.6.0):否 原因说明: 1.master(6.12.33):不受影响-漏洞代码不能被攻击者触发 2.openEuler-24.03-LTS(6.6.0):不受影响-漏洞代码不能被攻击者触发 3.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 4.openEuler-24.03-LTS-SP1(6.6.0):不受影响-漏洞代码不能被攻击者触发 5.openEuler-24.03-LTS-SP2(6.6.0):不受影响-漏洞代码不能被攻击者触发 6.openEuler-20.03-LTS-SP4(4.19.90):不受影响-漏洞代码不存在 7.openEuler-22.03-LTS-SP3(5.10.0):不受影响-漏洞代码不存在 8.openEuler-22.03-LTS-SP4(5.10.0):不受影响-漏洞代码不存在
一、漏洞信息 漏洞编号:[CVE-2022-50063](https://nvd.nist.gov/vuln/detail/CVE-2022-50063) 漏洞归属组件:[kernel](https://gitee.com/src-openeuler/kernel) 漏洞归属的版本:4.19.140,4.19.194,4.19.90,5.10.0,6.1.19,6.4.0,6.6.0 CVSS V3.0分值: BaseScore:N/A None Vector:CVSS:3.0/ 漏洞简述: In the Linux kernel, the following vulnerability has been resolved:net: dsa: felix: suppress non-changes to the tagging protocolThe way in which dsa_tree_change_tag_proto() works is that whendsa_tree_notify() fails, it doesn t know whether the operation failedmid way in a multi-switch tree, or it failed for a single-switch tree.So even though drivers need to fail cleanly inds->ops->change_tag_protocol(), DSA will still call dsa_tree_notify()again, to restore the old tag protocol for potential switches in thetree where the change did succeeed (before failing for others).This means for the felix driver that if we report an error infelix_change_tag_protocol(), we ll get another call where proto_ops ==old_proto_ops. If we proceed to act upon that, we may do unexpectedthings. For example, we will call dsa_tag_8021q_register() twice in arow, without any dsa_tag_8021q_unregister() in between. Then we willactually call dsa_tag_8021q_unregister() via old_proto_ops->teardown,which (if it manages to run at all, after walking through corrupted datastructures) will leave the ports inoperational anyway.The bug can be readily reproduced if we force an error while intag_8021q mode; this crashes the kernel.echo ocelot-8021q > /sys/class/net/eno2/dsa/taggingecho edsa > /sys/class/net/eno2/dsa/tagging # -EPROTONOSUPPORTUnable to handle kernel NULL pointer dereference at virtual address 0000000000000014Call trace: vcap_entry_get+0x24/0x124 ocelot_vcap_filter_del+0x198/0x270 felix_tag_8021q_vlan_del+0xd4/0x21c dsa_switch_tag_8021q_vlan_del+0x168/0x2cc dsa_switch_event+0x68/0x1170 dsa_tree_notify+0x14/0x34 dsa_port_tag_8021q_vlan_del+0x84/0x110 dsa_tag_8021q_unregister+0x15c/0x1c0 felix_tag_8021q_teardown+0x16c/0x180 felix_change_tag_protocol+0x1bc/0x230 dsa_switch_event+0x14c/0x1170 dsa_tree_change_tag_proto+0x118/0x1c0 漏洞公开时间:2025-06-18 19:15:35 漏洞创建时间:2025-06-19 11:19:20 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2022-50063 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | | https://git.kernel.org/stable/c/4c46bb49460ee14c69629e813640d8b929e88941 | | | | https://git.kernel.org/stable/c/8e432f157c3edc5a97a7244c666589a438f5e4d4 | | | | https://lore.kernel.org/linux-cve-announce/2025061850-CVE-2022-50063-a233@gregkh/T/#u | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 七彩瞬析开源风险感知平台 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://git.kernel.org/stable/c/4c46bb49460ee14c69629e813640d8b929e88941 | | nvd | | | | https://git.kernel.org/stable/c/8e432f157c3edc5a97a7244c666589a438f5e4d4 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: In the Linux kernel, the following vulnerability has been resolved:net: dsa: felix: suppress non-changes to the tagging protocolThe way in which dsa_tree_change_tag_proto() works is that whendsa_tree_notify() fails, it doesn't know whether the operation failedmid way in a multi-switch tree, or it failed for a single-switch tree.So even though drivers need to fail cleanly inds->ops->change_tag_protocol(), DSA will still call dsa_tree_notify()again, to restore the old tag protocol for potential switches in thetree where the change did succeeed (before failing for others).This means for the felix driver that if we report an error infelix_change_tag_protocol(), we'll get another call where proto_ops ==old_proto_ops. If we proceed to act upon that, we may do unexpectedthings. For example, we will call dsa_tag_8021q_register() twice in arow, without any dsa_tag_8021q_unregister() in between. Then we willactually call dsa_tag_8021q_unregister() via old_proto_ops->teardown,which (if it manages to run at all, after walking through corrupted datastructures) will leave the ports inoperational anyway.The bug can be readily reproduced if we force an error while intag_8021q mode; this crashes the kernel.echo ocelot-8021q > /sys/class/net/eno2/dsa/taggingecho edsa > /sys/class/net/eno2/dsa/tagging # -EPROTONOSUPPORTUnable to handle kernel NULL pointer dereference at virtual address 0000000000000014Call trace: vcap_entry_get+0x24/0x124 ocelot_vcap_filter_del+0x198/0x270 felix_tag_8021q_vlan_del+0xd4/0x21c dsa_switch_tag_8021q_vlan_del+0x168/0x2cc dsa_switch_event+0x68/0x1170 dsa_tree_notify+0x14/0x34 dsa_port_tag_8021q_vlan_del+0x84/0x110 dsa_tag_8021q_unregister+0x15c/0x1c0 felix_tag_8021q_teardown+0x16c/0x180 felix_change_tag_protocol+0x1bc/0x230 dsa_switch_event+0x14c/0x1170 dsa_tree_change_tag_proto+0x118/0x1c0The Linux kernel CVE team has assigned CVE-2022-50063 to this issue. openEuler评分: 3.9 Vector:CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L 受影响版本排查(受影响/不受影响): 1.master(6.12.33):不受影响 2.openEuler-20.03-LTS-SP4(4.19.90):不受影响 3.openEuler-22.03-LTS-SP3(5.10.0):不受影响 4.openEuler-22.03-LTS-SP4(5.10.0):不受影响 5.openEuler-24.03-LTS(6.6.0):不受影响 6.openEuler-24.03-LTS-Next(6.6.0):不受影响 7.openEuler-24.03-LTS-SP1(6.6.0):不受影响 8.openEuler-24.03-LTS-SP2(6.6.0):不受影响 修复是否涉及abi变化(是/否): 1.master(6.12.33):否 2.openEuler-20.03-LTS-SP4(4.19.90):否 3.openEuler-22.03-LTS-SP3(5.10.0):否 4.openEuler-22.03-LTS-SP4(5.10.0):否 5.openEuler-24.03-LTS(6.6.0):否 6.openEuler-24.03-LTS-Next(6.6.0):否 7.openEuler-24.03-LTS-SP1(6.6.0):否 8.openEuler-24.03-LTS-SP2(6.6.0):否 原因说明: 1.master(6.12.33):不受影响-漏洞代码不能被攻击者触发 2.openEuler-24.03-LTS(6.6.0):不受影响-漏洞代码不能被攻击者触发 3.openEuler-24.03-LTS-Next(6.6.0):不受影响-漏洞代码不能被攻击者触发 4.openEuler-24.03-LTS-SP1(6.6.0):不受影响-漏洞代码不能被攻击者触发 5.openEuler-24.03-LTS-SP2(6.6.0):不受影响-漏洞代码不能被攻击者触发 6.openEuler-20.03-LTS-SP4(4.19.90):不受影响-漏洞代码不存在 7.openEuler-22.03-LTS-SP3(5.10.0):不受影响-漏洞代码不存在 8.openEuler-22.03-LTS-SP4(5.10.0):不受影响-漏洞代码不存在
Comments (
5
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
CTC-Xibo.Wang
CTC-XiboWang
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/UNAFFECTED
sig/Kernel
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/src-openeuler/kernel.git
git@gitee.com:src-openeuler/kernel.git
src-openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register