A flaw was found in unrestricted eBPF usage by the BPF_BTF_LOAD, leading to a possible out-of-bounds memory write in the Linux kernel’s BPF subsystem due to the way a user loads BTF. This flaw allows a local user to crash or escalate their privileges on the system.
Hi pulehui, 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: @YangYingliang , @pi3orama , @成坚 (CHENG Jian) , @Qiuuuuu , @zhengzengkai , @gogooo , @Xie XiuQi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
回合社区补丁,https://lore.kernel.org/all/20211217003152.48334-1-haoluo@google.com
测试结果:
#./test_progs -t ksyms_btf
#44/1 basic:OK
#44/2 null_check:OK
#44/3 write_check:OK
#44 ksyms_btf:OK
Summary: 1/3 PASSED, 0 SKIPPED, 0 FAILED
#./test_verifier
...
#1185/p XDP pkt read, pkt_data <= pkt_meta', good access OK
#1186/p XDP pkt read, pkt_data <= pkt_meta', corner case -1, bad access OK
#1187/p XDP pkt read, pkt_data <= pkt_meta', bad access 2 OK
#1188/p XDP pkt read, pkt_data <= pkt_meta', corner case, good access OK
#1189/p XDP pkt read, pkt_data <= pkt_meta', corner case +1, good access OK
Summary: 1732 PASSED, 0 SKIPPED, 0 FAILED
登录 后才可以发表评论