CVE-2022-48939

bpf: Add schedule points in batch ops

published August 22, 2024

CVSS
—
EPSS
0%
Percentile
9.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00201 · 9.5th percentile
Published
2024-08-22T03:31Z
EPSS history
Timeline
  • 22 AUG 03:31Z
    bpf: Add schedule points in batch ops
    cvelistv5