CVE-2023-52581

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
02/03/2024
Last modified:
04/04/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> netfilter: nf_tables: fix memleak when more than 255 elements expired<br /> <br /> When more than 255 elements expired we&amp;#39;re supposed to switch to a new gc<br /> container structure.<br /> <br /> This never happens: u8 type will wrap before reaching the boundary<br /> and nft_trans_gc_space() always returns true.<br /> <br /> This means we recycle the initial gc container structure and<br /> lose track of the elements that came before.<br /> <br /> While at it, don&amp;#39;t deref &amp;#39;gc&amp;#39; after we&amp;#39;ve passed it to call_rcu.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.5 (including) 6.5.6 (excluding)
cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*