Vulnerability in Linux
CVE-2023-52925
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: don't fail inserts if duplicate has expired nftables selftests fail: run-tests.sh testcases/sets/0044interval_overlap_0 Expected: 0-2 . 0-3, got: W: [FAILED] ./testcases/sets/0044interval_overlap_0: got 1 Insertion must ignore duplicate but expired entries. Moreover, there is a strange asymmetry in nft_pipapo_activate: It refetches the current element, whereas the other ->activate callbacks (bitmap, hash, rhash, rbtree) use elem->priv. Same for .remove: other set implementations take elem->priv, nft_pipapo_remove fetches elem->priv, then does a relookup, remove this. I suspect this was the reason for the change that prompted the removal of the expired check in pipapo_get() in the first place, but skipping exired elements there makes no sense to me, this helper is used for normal get requests, insertions (duplicate check) and deactivate callback. In first two cases expired elements must be skipped. For ->deactivate(), this gets called for DELSETELEM, so it seems to me that expired elements should be skipped as well, i.e. delete request should fail with -ENOENT error.
EPSS: 0.002 (10.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 1da4874d05da1526b11b82fc7f3c7ac38749ddf8, 94313a196b44184b5b52c1876da6a537701b425a, 4.19.316
- Linux Linux_kernel — versions 6.4.11, 6.5
References
Frequently asked questions
- What is CVE-2023-52925?
- CVE-2023-52925 is a medium-severity vulnerability in Linux. CVSS score: 5.5/10. Published 2025-02-05.
- How severe is CVE-2023-52925?
- Medium severity. CVSS v3 base score is 5.5 out of 10.