Skip to main content
← All vulnerabilities
CVE-2022-49967

bpf: Fix a data-race around bpf_jit_limit.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.10, 4.15, 4.20
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a data-race around bpf_jit_limit. While reading bpf_jit_limit, it can be changed concurrently via sysctl, WRITE_ONCE() in __do_proc_doulongvec_minmax(). The size of bpf_jit_limit is long, so we need to add a paired READ_ONCE() to avoid load-tearing.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4.9.190 · fixed in 4.10; From 4.14.140 · fixed in 4.15; From 4.19.47 · fixed in 4.20

  • Linux Linux

    4.20

References 2

git.kernel.org