CVE-2022-49967Published Jun 18, 2025 · Jun 18Updated 2d ago
bpf: Fix a data-race around bpf_jit_limit.
Linux
Medium4.7Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel can read bpf_jit_limit while it is being changed through sysctl, causing a data race and potentially a torn read. The input does not specify an attacker action or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.