Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3 to < ba632ad0bacb13197a8f38e7526448974e87f292affected
  • ede95a63b5e84ddeea6b0c473b36ab8bfd8c6ce3 to < 0947ae1121083d363d522ff7518ee72b55bd8d29affected
  • c98446e1bab6253ddce7144cc2a91c400a323839affected
  • a1fe647042affe713a17243cd10e9b25f3d83948affected
  • 43caa29c99db5a41b204e8ced01b00e151335ca8affected
  • 4.9.190 to < 4.10affected
  • 4.14.140 to < 4.15affected
  • 4.19.47 to < 4.20affected

Linux Linux

Default version status: affected

  • 4.20affected
  • 0 to < 4.20unaffected
  • 5.19.8 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References