netfilter: nf_conntrack_sip: fix OOB read in sip_skip_whitespace() (Linux Linux)

CVE-2026-98077
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Undergoing Analysis

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: fix OOB read in sip_skip_whitespace() sip_skip_whitespace() returns dptr unchanged when its own loop exhausts the buffer (dptr == limit), instead of NULL like its sibling sip_follow_continuation() returns on its own "no more data" path. ct_sip_get_header() only checks for NULL after calling it: dptr = sip_skip_whitespace(dptr, limit); if (dptr == NULL) break; if (*dptr != ':' || ++dptr >= limit) break; so a recognized header name followed only by spaces/tabs running to the exact end of the SIP payload, with no colon, makes the very next statement read one byte past the buffer. Make both "no more data" outcomes return NULL, matching the convention sip_follow_continuation() already uses and that both existing callers already check for.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected ea45f12a2766dae54e5426a23e8f4bafdbe2782e < 9ae0a87e6f513293677fe286729fbae34d592215 ; affected ea45f12a2766dae54e5426a23e8f4bafdbe2782e < b6277622b7323000895b674321c9a1f060553188 ; affected ea45f12a2766dae54e5426a23e8f4bafdbe2782e < 0cfb96a118c5c6d46d7a1cfdfa18355ad734ca79 ; affected ea45f12a2766dae54e5426a23e8f4bafdbe2782e < c6beb08b1a9fdb96795816d8329ed75dd785d48e ; affected ea45f12a2766dae54e5426a23e8f4bafdbe2782e < 60c012b2d05e1558b0f30ea3f15a2c3ca2f24d94 ; affected ea45f12a2766dae54e5426a23e8f4bafdbe2782e < 4be8380e3af008f418f97992c06f23be649a430d
Linux · Linuxaffected 2.6.26 ; unaffected 0 < 2.6.26 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

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