CVE-2025-40279
Awaiting Analysis Awaiting Analysis - Queue

BaseFortify

Vulnerability report for CVE-2025-40279, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-06

Last updated on: 2025-12-08

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-06
Last Modified
2025-12-08
Generated
2026-07-06
AI Q&A
2025-12-07
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves the act_connmark module where a structure (tc_ife) was only partially initialized. Because some padding bytes remained uninitialized, when the structure was copied into a netlink message, these uninitialized bytes leaked kernel memory contents to userspace. The fix was to fully initialize the structure with memset before setting its fields to prevent leaking uninitialized data.

Impact Analysis

This vulnerability can lead to unintended leakage of kernel memory contents to userspace, potentially exposing sensitive information or internal kernel data that should remain protected. This could be exploited by an attacker to gain insights into the kernel memory layout or sensitive data, which might aid further attacks.

Mitigation Strategies

Apply the patch or update to the fixed Linux kernel version that initializes the struct tc_ife properly to prevent kernel memory leaks. Until then, avoid exposing vulnerable kernel interfaces to untrusted userspace processes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40279. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart