5.5medium
netfilter: nfnetlink_log: initialize nfgenmsg in NLMSG_DONE terminator
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before 296f18e1c3a87c915a92ed27832d5040a22d1072, from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before 9e2182865de781c41ab16b7985e9d26dcefea867, from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before 57cc509d82b46150a11dcecc8b25eaa177eda34d, from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before 368c22aea490f6f50df831b4f9e3623787686c5b, from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before d1399632ba255d2e02c757af5d9f5d9279ce168c, from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before d552bcfca323d175664d7444989b04f55666978a, from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before 15d209bccf9273b4a8b4e579ba0e92d065b6ec8c, from 29c5d4afba51c71cfeadd3f74f3c42e064483fb0 before 1f3083aec8836213da441270cdb1ab612dd82cf4 and 1 more Not affected: before 2.6.23, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.* | CVE List |
| linux linux_kernel | from 2.6.23.1 before 5.10.258, from 5.11 before 5.15.209, from 5.16 before 6.1.175, from 6.2 before 6.6.136, from 6.7 before 6.12.83, from 6.13 before 6.18.24, from 6.19 before 6.19.14, 2.6.23 and 1 more | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43085 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-43085 changed 2026-11-10 | Public domain |