netfilter: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator (Linux Linux)

CVE-2026-43085
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
É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: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator When batching multiple NFLOG messages (inst->qlen > 1), __nfulnl_send() appends an NLMSG_DONE terminator with sizeof(struct nfgenmsg) payload via nlmsg_put(), but never initializes the nfgenmsg bytes. The nlmsg_put() helper only zeroes alignment padding after the payload, not the payload itself, so four bytes of stale kernel heap data are leaked to userspace in the NLMSG_DONE message body. Use nfnl_msg_put() to build the NLMSG_DONE terminator, which initializes the nfgenmsg payload via nfnl_fill_hdr(), consistent with how __build_packet_message() already constructs NFULNL_MSG_PACKET headers.

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:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 < 296f18e1c3a87c915a92ed27832d5040a22d1072 ; affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 < 9e2182865de781c41ab16b7985e9d26dcefea867 ; affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 < 57cc509d82b46150a11dcecc8b25eaa177eda34d ; affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 < 368c22aea490f6f50df831b4f9e3623787686c5b ; affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 < d1399632ba255d2e02c757af5d9f5d9279ce168c ; affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 < d552bcfca323d175664d7444989b04f55666978a
Linux · Linuxaffected 2.6.23 ; unaffected 0 < 2.6.23 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.136 ≤ 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