CVE-2022-49967

bpf: Fix a data-race around bpf_jit_limit.

MEDIUM
4.7
CVSS Score
Published: June 18, 2025 at 11:00 AM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.14.140v ≥ 4.19.47v ≥ 4.9.1904.14.140 ≤ v < 4.154.19.47 ≤ v < 4.204.19.47 ≤ v < 5.19.84.20 ≤ v < 5.19.84.20 ≤ v < 6.04.9.190 ≤ v < 4.104.14.1404.19.474.204.9.19043caa29c99db5a41b204e8ced01b00e151335ca86.0 rc16.0 rc26.0 rc3a1fe647042affe713a17243cd10e9b25f3d83948c98446e1bab6253ddce7144cc2a91c400a323839ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3
Vendor states this is fixed in 0947ae1121083d363d522ff7518ee72b55bd8d29 (fixed)
Vendor states this is fixed in ba632ad0bacb13197a8f38e7526448974e87f292 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.19.8 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0947ae1121083d363d522ff7518ee72b55bd8d29
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ba632ad0bacb13197a8f38e7526448974e87f292

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card