CVE-2023-52581 Affecting kernel-rt-core package, versions <0:4.18.0-553.rt7.342.el8_10


Severity

Recommended
medium

Based on AlmaLinux 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 IDSNYK-ALMALINUX8-KERNELRTCORE-7170261
  • published30 May 2024
  • disclosed30 Apr 2024

Introduced: 30 Apr 2024

CVE-2023-52581  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 kernel-rt-core to version 0:4.18.0-553.rt7.342.el8_10 or higher.
This issue was patched in ALSA-2024:2950.

NVD Description

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

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

netfilter: nf_tables: fix memleak when more than 255 elements expired

When more than 255 elements expired we're supposed to switch to a new gc container structure.

This never happens: u8 type will wrap before reaching the boundary and nft_trans_gc_space() always returns true.

This means we recycle the initial gc container structure and lose track of the elements that came before.

While at it, don't deref 'gc' after we've passed it to call_rcu.

CVSS Scores

version 3.1