netfilter: nft_set_rbtree: fix overlap expiration walk (Linux Linux)

CVE-2023-53304
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 5 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: fix overlap expiration walk The lazy gc on insert that should remove timed-out entries fails to release the other half of the interval, if any. Can be reproduced with tests/shell/testcases/sets/0044interval_overlap_0 in nftables.git and kmemleak enabled kernel. Second bug is the use of rbe_prev vs. prev pointer. If rbe_prev() returns NULL after at least one iteration, rbe_prev points to element that is not an end interval, hence it should not be removed. Lastly, check the genmask of the end interval if this is active in the current generation.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 7ab87a326f20c52ff4d9972052d085be951c704b < 8284a79136c384059e85e278da2210b809730287 ; affected 181859bdfb9734aca449512fccaee4cacce64aed < acaee227cf79c45a5d2d49c3e9a66333a462802c ; affected 4aacf3d78424293e318c616016865380b37b9cc5 < 893cb3c3513cf661a0ff45fe0cfa83fe27131f76 ; affected 2bf1435fa19d2c58054391b3bba40d5510a5758c < 50cbb9d195c197af671869c8cadce3bd483735a0 ; affected 318cb24a4c3fce8140afaf84e4d45fcb76fb280b < 89a4d1a89751a0fbd520e64091873e19cc0979e8 ; affected c9e6978e2725a7d4b6cd23b2facd3f11422c0643 < cd66733932399475fe933cb3ec03e687ed401462
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 5.10.190 ≤ 5.10.* ; unaffected 5.15.124 ≤ 5.15.* ; unaffected 6.1.43 ≤ 6.1.* ; unaffected 6.4.8 ≤ 6.4.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD