CVE-2022-49967 bpf: Fix a data-race around bpf_jit_limit.
A data race in the Linux kernel BPF JIT limit handling could lead to inconsistent state, requiring a patch to ensure atomic reads.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49967?
CVE-2022-49967 is a medium-severity vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-362
Which versions are affected by CVE-2022-49967?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49967?
Apply the vendor's patch.
Is CVE-2022-49967 being exploited?
There is no known exploitation of CVE-2022-49967 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49967, GHSA-f2f7-qfwq-94j2, ROOT-OS-DEBIAN-11-CVE-2022-49967, ROOT-OS-UBUNTU-2204-CVE-2022-49967, UBUNTU-CVE-2022-49967.