CVE-2025-40279 Details
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 vulnerability in the Linux kernel's connmark action handling has been addressed. The issue arose because a variable in the 'tcf_connmark_dump()' function was only partially initialized, leaving certain padding bytes uninitialized. When the 'nla_put()' function transferred the structure to a netlink message, these uninitialized bytes were inadvertently exposed to userspace. The vulnerability has been fixed by ensuring the structure is fully initialized before being copied, preventing any leakage of uninitialized data.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/218b67c8c8246d47a2a7910eae80abe4861fe2b7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/25837889ec062f2b7618142cd80253dff3da5343 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/31e4aa93e2e5b5647fc235b0f6ee329646878f9e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/51cb05d4fd632596816ba44e882e84db9fb28a7e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/62b656e43eaeae445a39cd8021a4f47065af4389 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/73cc56c608c209d3d666cc571293b090a471da70 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 6, 2025 | New CVE Received | kernel.org |
Volerion