漏洞标题
bpf: 在批处理操作中批量添加时间点
漏洞描述信息
在Linux内核中,已解决了以下漏洞:
BPF:在批量操作中添加调度点
syzbot报告了由BPF批量操作引起的各种软锁定。
INFO:任务kworker/1:1:27被阻塞了超过140秒。
INFO:任务在rcu_barrier中被挂起。
批量操作并没有防止处理大量数据的机制,
我们需要在它们中添加调度点。
请注意,可能在遍历过程中从generic_map_delete_batch()调用的maybe_wait_bpf_programs(map)可以被通过将调用移动到循环之后进行因素化。
此更改将在将此修复合并后在-next树中进行,除非有强烈的观点希望在较早的时间进行此优化。
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
漏洞类别
未加控制的资源消耗(资源穷尽)
漏洞标题
bpf: Add schedule points in batch ops
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved:
bpf: Add schedule points in batch ops
syzbot reported various soft lockups caused by bpf batch operations.
INFO: task kworker/1:1:27 blocked for more than 140 seconds.
INFO: task hung in rcu_barrier
Nothing prevents batch ops to process huge amount of data,
we need to add schedule points in them.
Note that maybe_wait_bpf_programs(map) calls from
generic_map_delete_batch() can be factorized by moving
the call after the loop.
This will be done later in -next tree once we get this fix merged,
unless there is strong opinion doing this optimization sooner.
CVSS信息
N/A
漏洞类别
N/A
漏洞标题
Linux kernel 安全漏洞
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在批处理操作中没有添加调度点。
CVSS信息
N/A
漏洞类别
其他