CVE-2026-43085

netfilter: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
Oct 15, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before 296f18e1c3a87c915a92ed27832d5040a22d1072Affected
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before 9e2182865de781c41ab16b7985e9d26dcefea867Affected
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before 57cc509d82b46150a11dcecc8b25eaa177eda34dAffected
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before 368c22aea490f6f50df831b4f9e3623787686c5bAffected
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before d1399632ba255d2e02c757af5d9f5d9279ce168cAffected
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before d552bcfca323d175664d7444989b04f55666978aAffected
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before 15d209bccf9273b4a8b4e579ba0e92d065b6ec8cAffected
  • 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to before 1f3083aec8836213da441270cdb1ab612dd82cf4Affected
LinuxLinux
  • 2.6.23Affected
  • before 2.6.23Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.136 through 6.6.*Not affected
  • 6.12.83 through 6.12.*Not affected
  • 6.18.24 through 6.18.*Not affected
  • 6.19.14 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.