CVE-2025-40279

net: sched: act_connmark: initialize struct tc_ife to fix kernel leak

No CVSS score yet EPSS 0.21%

Published 6 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-40279

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40279 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.9% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, before 218b67c8c8246d47a2a7910eae80abe4861fe2b7
affected from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, before 73cc56c608c209d3d666cc571293b090a471da70
affected from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, before 31e4aa93e2e5b5647fc235b0f6ee329646878f9e
affected from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, before 51cb05d4fd632596816ba44e882e84db9fb28a7e
affected from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, before 25837889ec062f2b7618142cd80253dff3da5343
affected from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, before 62b656e43eaeae445a39cd8021a4f47065af4389
Other versions: unaffected
Linux
affected 4.0
unaffected before 4.0
unaffected from 5.15.197 up to and including 5.15.*
unaffected from 6.1.159 up to and including 6.1.*
unaffected from 6.6.117 up to and including 6.6.*
unaffected from 6.12.59 up to and including 6.12.*
unaffected from 6.17.9 up to and including 6.17.*
unaffected 6.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40279 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40279

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-40279
trivy image --scanners vuln IMAGE | grep CVE-2025-40279

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-40279 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.