{"id":"CVE-2022-48939","state":"PUBLISHED","title":"bpf: Add schedule points in batch ops","description":"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.","publishedAt":"2024-08-22T03:31:34.581Z","updatedAt":"2026-05-11T18:50:04.490Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"7ef94bfb08fb9e73defafbd5ddef6b5a0e2ee12b","versionType":"git"},{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"8628f489b749a4f9767991631921dbe3fbcdc784","versionType":"git"},{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"7e8099967d0e3ff9d1ae043e80b27fbe46c08417","versionType":"git"},{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"75134f16e7dd0007aa474b281935c5f42e79f2c8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.103","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.26","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.12","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]}],"references":["https://git.kernel.org/stable/c/7ef94bfb08fb9e73defafbd5ddef6b5a0e2ee12b","https://git.kernel.org/stable/c/8628f489b749a4f9767991631921dbe3fbcdc784","https://git.kernel.org/stable/c/7e8099967d0e3ff9d1ae043e80b27fbe46c08417","https://git.kernel.org/stable/c/75134f16e7dd0007aa474b281935c5f42e79f2c8"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48939.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48939","state":"PUBLISHED","datePublished":"2024-08-22T03:31:34.581Z","dateUpdated":"2026-05-11T18:50:04.490Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-22T01:27:53.623Z"},"containers":{"cna":{"title":"bpf: Add schedule points in batch ops","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"7ef94bfb08fb9e73defafbd5ddef6b5a0e2ee12b","versionType":"git"},{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"8628f489b749a4f9767991631921dbe3fbcdc784","versionType":"git"},{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"7e8099967d0e3ff9d1ae043e80b27fbe46c08417","versionType":"git"},{"version":"cb4d03ab499d4c040f4ab6fd4389d2b49f42b5a5","status":"affected","lessThan":"75134f16e7dd0007aa474b281935c5f42e79f2c8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.103","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.26","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.12","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/bpf/syscall.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7ef94bfb08fb9e73defafbd5ddef6b5a0e2ee12b"},{"url":"https://git.kernel.org/stable/c/8628f489b749a4f9767991631921dbe3fbcdc784"},{"url":"https://git.kernel.org/stable/c/7e8099967d0e3ff9d1ae043e80b27fbe46c08417"},{"url":"https://git.kernel.org/stable/c/75134f16e7dd0007aa474b281935c5f42e79f2c8"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:50:04.490Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.10.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.15.26"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.16.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48939","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:32:24.541192Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:32:59.371Z"}}]}}}