All reports
Medium

kernel: Linux kernel: Information disclosure via uninitialized data in tcf_connmark_dump()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40279

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: net: sched: act_connmark: initialize struct tc_ife to fix kernel leak In tcf_connmark_dump(), the variable 'opt' was partially initialized using a designatied initializer. While the padding bytes are reamined uninitialized. nla_put() copies the entire structure into a netlink message, these uninitialized bytes leaked to userspace. Initialize the structure with memset before assigning its fields to ensure all members and padding are cleared prior to beign copied.

A flaw was found in the Linux kernel. A local user could exploit a vulnerability in the tcf_connmark_dump() function, where a partially initialized structure leads to uninitialized padding bytes being copied into a netlink message. This information disclosure could allow an attacker to gain access to sensitive kernel memory contents.