- Accueil
- Vulnérabilités
- CVE-2026-52999
CVE-2026-52999
netfilter: nfnetlink_osf: fix out-of-bounds read on option matching
Résumé
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfnetlink_osf: fix out-of-bounds read on option matching In nf_osf_match(), the nf_osf_hdr_ctx structure is initialized once and passed by reference to nf_osf_match_one() for each fingerprint checked. During TCP option parsing, nf_osf_match_one() advances the shared ctx->optp pointer. If a fingerprint perfectly matches, the function returns early without restoring ctx->optp to its initial state. If the user has configured NF_OSF_LOGLEVEL_ALL, the loop continues to the next fingerprint. However, because ctx->optp was not restored, the next call to nf_osf_match_one() starts parsing from the end of the options buffer. This causes subsequent matches to read garbage data and fail immediately, making it impossible to log more than one match or logging incorrect matches. Instead of using a shared ctx->optp pointer, pass the context as a constant pointer and use a local pointer (optp) for TCP option traversal. This makes nf_osf_match_one() strictly stateless from the caller's perspective, ensuring every fingerprint check starts at the correct option offset.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (13 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 4.19.26 (inclus) à 4.20 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.20.13 (inclus) à 4.21 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 5.0 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 4.19.26 (inclus) à 4.20 (exclu) |
— | NVD |
| Linux kernel | de 4.20.13 (inclus) à 5.0 (exclu) |
— | NVD |
| Linux kernel | de 5.0.1 (inclus) à 5.10.258 (exclu) |
— | NVD |
| Linux kernel | de 5.11 (inclus) à 5.15.209 (exclu) |
— | NVD |
| Linux kernel | de 5.16 (inclus) à 6.1.175 (exclu) |
— | NVD |
| Linux kernel | de 6.2 (inclus) à 6.6.141 (exclu) |
— | NVD |
| Linux kernel | de 6.7 (inclus) à 6.12.91 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.33 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 7.0.10 (exclu) |
— | NVD |
| Linux kernel | 5.0 |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1298)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
Avis CERT-FR
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (16 octobre 2026) 16 oct. 2026
- CERTFR-2026-AVI-1298 — Multiples vulnérabilités dans les produits Siemens (13 octobre 2026) 13 oct. 2026
Références
- https://git.kernel.org/stable/c/0145548346c4a30981a870a8ca00eac46ba27e85Patch
- https://git.kernel.org/stable/c/1c136f2c44a5913646bac85303612fd0825197a0Patch
- https://git.kernel.org/stable/c/1e19a07291bb8682c14c39a64725a3ae54ab8cccPatch
- https://git.kernel.org/stable/c/21883587593d7c8bb519a79460a0b5bc5ffbdabdPatch
- https://git.kernel.org/stable/c/32e50f92c7cf3f4eba29622179a5fcdc2aebab41Patch
- https://git.kernel.org/stable/c/70a3f31d25cf2ec9d4ddfa408120171ead955623Patch
- https://git.kernel.org/stable/c/edb78a142d2e5948e63647c0646aa7e7886935f0Patch
- https://git.kernel.org/stable/c/f5ca450087c3baf3651055e7a6de92600f827af3Patch
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H(CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)- Faiblesse
- CWE-125 · Corruption mémoire