netfilter: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator
Summary
| CVE | CVE-2026-43085 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-06 10:16:21 UTC |
| Updated | 2026-05-06 13:08:07 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 368c22aea490f6f50df831b4f9e3623787686c5b git |
Not specified |
| CNA |
Linux |
Linux |
affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 d1399632ba255d2e02c757af5d9f5d9279ce168c git |
Not specified |
| CNA |
Linux |
Linux |
affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 d552bcfca323d175664d7444989b04f55666978a git |
Not specified |
| CNA |
Linux |
Linux |
affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 15d209bccf9273b4a8b4e579ba0e92d065b6ec8c git |
Not specified |
| CNA |
Linux |
Linux |
affected 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 1f3083aec8836213da441270cdb1ab612dd82cf4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.23 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 2.6.23 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.136 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.83 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.24 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.19.14 6.19.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/1f3083aec8836213da441270cdb1ab612dd82cf4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d1399632ba255d2e02c757af5d9f5d9279ce168c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/15d209bccf9273b4a8b4e579ba0e92d065b6ec8c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/368c22aea490f6f50df831b4f9e3623787686c5b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d552bcfca323d175664d7444989b04f55666978a |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.