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
458
Star
1.7K
Fork
1.9K
GVP
openEuler
/
kernel
Closed
Code
Issues
1271
Pull Requests
991
Wiki
Insights
Pipelines
Service
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.
自研补丁net/sched: flower: Fix kabi change,修复kabi变化的时候,引入问题
Done
#I9IQLI
Task
shaozhengchao
Opened this issue
2024-04-22 18:36
<!-- #请根据issue的类型在标题左侧下拉框中选择对应的选项(需求、缺陷或CVE等)--> <!-- #请根据issue相关的版本在里程碑中选择对应的节点,若是与版本无关,请选择“不关联里程碑”--> 自研补丁net/sched: flower: Fix kabi change,修复kabi变化的时候,引入问题 [ 38.391240] BUG: unable to handle page fault for address: ffffffff98715da0 [ 38.391329] #PF: supervisor write access in kernel mode [ 38.391382] #PF: error_code(0x0003) - permissions violation [ 38.391421] PGD ec0d067 P4D ec0d067 PUD ec0e063 PMD 800000000e0001e1 [ 38.391481] Oops: 0003 [#1] SMP PTI [ 38.391535] CPU: 20 PID: 7533 Comm: tc Kdump: loaded Not tainted 5.10.0+ #40 [ 38.391593] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011 [ 38.391648] RIP: 0010:fl_init+0xcf/0x100 [ 38.391686] Code: 48 c7 85 38 01 00 00 00 00 00 00 48 83 05 00 03 d1 02 01 e8 a8 d4 1e 00 48 c7 c6 40 87 71 98 48 89 ef 48 83 05 f1 02 d1 02 01 <48> c7 05 66 78 78 00 30 92 f8 97 e8 61 1f a6 ff 48 83 05 e1 02 d1 [ 38.391767] RSP: 0018:ffffb6e7c0fe7978 EFLAGS: 00010202 [ 38.391813] RAX: 0000000000000049 RBX: ffff99c6b3580480 RCX: 0000000000000027 [ 38.391850] RDX: 0000000000000000 RSI: ffffffff98718740 RDI: ffff99c6a359f800 [ 38.391881] RBP: ffff99c6a359f800 R08: ffff99cfdce1fe50 R09: ffffb6e7c0fe77a0 [ 38.391927] R10: ffffb6e7c0fe7798 R11: ffffffff9967d5a8 R12: ffff99c6b3580480 [ 38.391972] R13: ffffb6e7c0fe7b80 R14: 0000000000000001 R15: ffffb6e7c0fe7ab0 [ 38.392003] FS: 00007fbaef7b1800(0000) GS:ffff99cfdce00000(0000) knlGS:0000000000000000 [ 38.392047] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.392083] CR2: ffffffff98715da0 CR3: 000000011299c000 CR4: 00000000000006e0 [ 38.392122] Call Trace: [ 38.392177] ? show_regs.cold+0x22/0x2f [ 38.392219] ? __die_body+0x23/0xa0 [ 38.392260] ? __die+0x34/0x45 [ 38.392299] ? no_context+0x273/0x310 [ 38.392338] ? __bad_area_nosemaphore+0x5e/0x250 [ 38.392378] ? bad_area_nosemaphore+0x1a/0x30 [ 38.392405] ? do_kern_addr_fault+0x93/0xe0 [ 38.392448] ? exc_page_fault+0x552/0xa60 [ 38.392488] ? asm_exc_page_fault+0x1e/0x30 [ 38.392526] ? fl_init+0xcf/0x100 [ 38.392561] ? fl_init+0xbd/0x100 [ 38.392597] tcf_proto_create.cold+0x66/0x9e [ 38.392638] tc_new_tfilter+0x611/0xa70 [ 38.392679] ? tcf_chain_tp_insert_unique+0x1f0/0x1f0 [ 38.392716] rtnetlink_rcv_msg+0x406/0x560 [ 38.392778] ? get_page_from_freelist+0xe3c/0x1180 [ 38.392828] ? rtnl_calcit.isra.0+0x1b0/0x1b0 [ 38.392915] netlink_rcv_skb+0x64/0x180 [ 38.392982] rtnetlink_rcv+0x19/0x30 [ 38.393039] netlink_unicast_kernel+0x7b/0x180 [ 38.393083] netlink_unicast+0x13d/0x230 [ 38.393141] netlink_sendmsg+0x432/0x610 [ 38.393192] __sock_sendmsg+0xc6/0xd0 [ 38.393716] ____sys_sendmsg+0x1f5/0x380 由于tmplt_reoffload函数指针是个const类型,而在fl_init又对这个常量进行赋值,导致错误。
<!-- #请根据issue的类型在标题左侧下拉框中选择对应的选项(需求、缺陷或CVE等)--> <!-- #请根据issue相关的版本在里程碑中选择对应的节点,若是与版本无关,请选择“不关联里程碑”--> 自研补丁net/sched: flower: Fix kabi change,修复kabi变化的时候,引入问题 [ 38.391240] BUG: unable to handle page fault for address: ffffffff98715da0 [ 38.391329] #PF: supervisor write access in kernel mode [ 38.391382] #PF: error_code(0x0003) - permissions violation [ 38.391421] PGD ec0d067 P4D ec0d067 PUD ec0e063 PMD 800000000e0001e1 [ 38.391481] Oops: 0003 [#1] SMP PTI [ 38.391535] CPU: 20 PID: 7533 Comm: tc Kdump: loaded Not tainted 5.10.0+ #40 [ 38.391593] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011 [ 38.391648] RIP: 0010:fl_init+0xcf/0x100 [ 38.391686] Code: 48 c7 85 38 01 00 00 00 00 00 00 48 83 05 00 03 d1 02 01 e8 a8 d4 1e 00 48 c7 c6 40 87 71 98 48 89 ef 48 83 05 f1 02 d1 02 01 <48> c7 05 66 78 78 00 30 92 f8 97 e8 61 1f a6 ff 48 83 05 e1 02 d1 [ 38.391767] RSP: 0018:ffffb6e7c0fe7978 EFLAGS: 00010202 [ 38.391813] RAX: 0000000000000049 RBX: ffff99c6b3580480 RCX: 0000000000000027 [ 38.391850] RDX: 0000000000000000 RSI: ffffffff98718740 RDI: ffff99c6a359f800 [ 38.391881] RBP: ffff99c6a359f800 R08: ffff99cfdce1fe50 R09: ffffb6e7c0fe77a0 [ 38.391927] R10: ffffb6e7c0fe7798 R11: ffffffff9967d5a8 R12: ffff99c6b3580480 [ 38.391972] R13: ffffb6e7c0fe7b80 R14: 0000000000000001 R15: ffffb6e7c0fe7ab0 [ 38.392003] FS: 00007fbaef7b1800(0000) GS:ffff99cfdce00000(0000) knlGS:0000000000000000 [ 38.392047] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.392083] CR2: ffffffff98715da0 CR3: 000000011299c000 CR4: 00000000000006e0 [ 38.392122] Call Trace: [ 38.392177] ? show_regs.cold+0x22/0x2f [ 38.392219] ? __die_body+0x23/0xa0 [ 38.392260] ? __die+0x34/0x45 [ 38.392299] ? no_context+0x273/0x310 [ 38.392338] ? __bad_area_nosemaphore+0x5e/0x250 [ 38.392378] ? bad_area_nosemaphore+0x1a/0x30 [ 38.392405] ? do_kern_addr_fault+0x93/0xe0 [ 38.392448] ? exc_page_fault+0x552/0xa60 [ 38.392488] ? asm_exc_page_fault+0x1e/0x30 [ 38.392526] ? fl_init+0xcf/0x100 [ 38.392561] ? fl_init+0xbd/0x100 [ 38.392597] tcf_proto_create.cold+0x66/0x9e [ 38.392638] tc_new_tfilter+0x611/0xa70 [ 38.392679] ? tcf_chain_tp_insert_unique+0x1f0/0x1f0 [ 38.392716] rtnetlink_rcv_msg+0x406/0x560 [ 38.392778] ? get_page_from_freelist+0xe3c/0x1180 [ 38.392828] ? rtnl_calcit.isra.0+0x1b0/0x1b0 [ 38.392915] netlink_rcv_skb+0x64/0x180 [ 38.392982] rtnetlink_rcv+0x19/0x30 [ 38.393039] netlink_unicast_kernel+0x7b/0x180 [ 38.393083] netlink_unicast+0x13d/0x230 [ 38.393141] netlink_sendmsg+0x432/0x610 [ 38.393192] __sock_sendmsg+0xc6/0xd0 [ 38.393716] ____sys_sendmsg+0x1f5/0x380 由于tmplt_reoffload函数指针是个const类型,而在fl_init又对这个常量进行赋值,导致错误。
Comments (
1
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
sig/Kernel
Not set
Projects
Unprojected
Unprojected
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)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
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