What’s Vulnerable › Vulnerabilities

CVE-2022-49967: bpf: Fix a data-race around bpf_jit_limit.

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.10, 4.15, 5.19.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49967 or the next vulnerability affects your stack