CVE-2024-39503 Affecting kernel-tools-libs-devel package, versions <0:4.18.0-553.27.1.el8_10


Severity

Recommended
medium

Based on Rocky Linux security rating

    Threat Intelligence

    EPSS
    0.04% (12th 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 ID SNYK-ROCKY8-KERNELTOOLSLIBSDEVEL-8365012
  • published 9 Nov 2024
  • disclosed 12 Jul 2024

How to fix?

Upgrade Rocky-Linux:8 kernel-tools-libs-devel to version 0:4.18.0-553.27.1.el8_10 or higher.
This issue was patched in RLSA-2024:8856.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-tools-libs-devel package and not the kernel-tools-libs-devel 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:

netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type

Lion Ackermann reported that there is a race condition between namespace cleanup in ipset and the garbage collection of the list:set type. The namespace cleanup can destroy the list:set type of sets while the gc of the set type is waiting to run in rcu cleanup. The latter uses data from the destroyed set which thus leads use after free. The patch contains the following parts:

  • When destroying all sets, first remove the garbage collectors, then wait if needed and then destroy the sets.
  • Fix the badly ordered "wait then remove gc" for the destroy a single set case.
  • Fix the missing rcu locking in the list:set type in the userspace test case.
  • Use proper RCU list handlings in the list:set type.

The patch depends on c1193d9bbbd3 (netfilter: ipset: Add list flush to cancel_gc).

CVSS Scores

version 3.1
Expand this section

Red Hat

6.4 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High