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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2364d6af00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d24245baf80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2364d694c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23be9fc600> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2364d691c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2364d6a780> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d24246e6a00> | Operating System |
| linux | linux_kernel | 2.6.23 | <built-in method update of dict object at 0x7d24247355c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2364d6a3c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2364d6b7c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d242a79c280> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d24245b8a00> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d24246274c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2364d69100> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7d2424509d40> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.23:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |