bpf: Add schedule points in batch ops (Linux Linux)

CVE-2022-48939
LOW 3.3

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

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.

Weaknesses (CWE)

  • CWE-834 — Excessive Iteration

References

Scores

VersionScoreVectorScored by
CVSS 3.1LOW 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5 < 7ef94bfb08fb9e73defafbd5ddef6b5a0e2ee12b ; affected cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5 < 8628f489b749a4f9767991631921dbe3fbcdc784 ; affected cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5 < 7e8099967d0e3ff9d1ae043e80b27fbe46c08417 ; affected cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5 < 75134f16e7dd0007aa474b281935c5f42e79f2c8
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.10.103 ≤ 5.10.* ; unaffected 5.15.26 ≤ 5.15.* ; unaffected 5.16.12 ≤ 5.16.* ; unaffected 5.17 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD