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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < 296f18e1c3a87c915a92ed27832d5040a22d1072affected29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < 9e2182865de781c41ab16b7985e9d26dcefea867affected29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < 57cc509d82b46150a11dcecc8b25eaa177eda34daffected29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < 368c22aea490f6f50df831b4f9e3623787686c5baffected29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < d1399632ba255d2e02c757af5d9f5d9279ce168caffected29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < d552bcfca323d175664d7444989b04f55666978aaffected29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < 15d209bccf9273b4a8b4e579ba0e92d065b6ec8caffected29c5d4afba51c71cfeadd3f74f3c42e064483fb0 to < 1f3083aec8836213da441270cdb1ab612dd82cf4affected
Linux Linux
Default version status: affected
2.6.23affected0 to < 2.6.23unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.136 to ≤ 6.6.*unaffected6.12.83 to ≤ 6.12.*unaffected6.18.24 to ≤ 6.18.*unaffected6.19.14 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/296f18e1c3a87c915a92ed27832d5040a22d1072 ↗
- https://git.kernel.org/stable/c/9e2182865de781c41ab16b7985e9d26dcefea867 ↗
- https://git.kernel.org/stable/c/57cc509d82b46150a11dcecc8b25eaa177eda34d ↗
- https://git.kernel.org/stable/c/368c22aea490f6f50df831b4f9e3623787686c5b ↗
- https://git.kernel.org/stable/c/d1399632ba255d2e02c757af5d9f5d9279ce168c ↗
- https://git.kernel.org/stable/c/d552bcfca323d175664d7444989b04f55666978a ↗
- https://git.kernel.org/stable/c/15d209bccf9273b4a8b4e579ba0e92d065b6ec8c ↗
- https://git.kernel.org/stable/c/1f3083aec8836213da441270cdb1ab612dd82cf4 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗