CVE-2023-52581

MEDIUM

Linux Kernel < 6.5.6 - Memory Leak

Title source: rule

Description

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.

Scores

CVSS v3 6.3
EPSS 0.0001
EPSS Percentile 0.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (3)

linux/linux_kernel < 6.5.6
linux/linux_kernel
linux/linux_kernel

Timeline

Published Mar 02, 2024
Tracked Since Feb 18, 2026