{"id":"CVE-2022-48939","summary":"bpf: Add schedule points in batch ops","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Add schedule points in batch ops\n\nsyzbot reported various soft lockups caused by bpf batch operations.\n\n INFO: task kworker/1:1:27 blocked for more than 140 seconds.\n INFO: task hung in rcu_barrier\n\nNothing prevents batch ops to process huge amount of data,\nwe need to add schedule points in them.\n\nNote that maybe_wait_bpf_programs(map) calls from\ngeneric_map_delete_batch() can be factorized by moving\nthe call after the loop.\n\nThis will be done later in -next tree once we get this fix merged,\nunless there is strong opinion doing this optimization sooner.","modified":"2026-03-20T12:22:02.880725Z","published":"2024-08-22T03:31:34.581Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3483-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48939.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/75134f16e7dd0007aa474b281935c5f42e79f2c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e8099967d0e3ff9d1ae043e80b27fbe46c08417"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ef94bfb08fb9e73defafbd5ddef6b5a0e2ee12b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8628f489b749a4f9767991631921dbe3fbcdc784"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48939.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48939"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5"},{"fixed":"7ef94bfb08fb9e73defafbd5ddef6b5a0e2ee12b"},{"fixed":"8628f489b749a4f9767991631921dbe3fbcdc784"},{"fixed":"7e8099967d0e3ff9d1ae043e80b27fbe46c08417"},{"fixed":"75134f16e7dd0007aa474b281935c5f42e79f2c8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48939.json"}}],"schema_version":"1.7.5"}