CVE-2024-38564 Affecting kernel-rt-kvm package, versions <0:4.18.0-553.30.1.rt7.371.el8_10


Severity

Recommended
low

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-KERNELRTKVM-8531518
  • published19 Dec 2024
  • disclosed19 Jun 2024

Introduced: 19 Jun 2024

CVE-2024-38564  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 kernel-rt-kvm to version 0:4.18.0-553.30.1.rt7.371.el8_10 or higher.
This issue was patched in RLSA-2024:10282.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-kvm package and not the kernel-rt-kvm package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE

bpf_prog_attach uses attach_type_to_prog_type to enforce proper attach type for BPF_PROG_TYPE_CGROUP_SKB. link_create uses bpf_prog_get and relies on bpf_prog_attach_check_attach_type to properly verify prog_type <> attach_type association.

Add missing attach_type enforcement for the link_create case. Otherwise, it's currently possible to attach cgroup_skb prog types to other cgroup hooks.

CVSS Scores

version 3.1