CVE-2025-40279
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae before 218b67c8c8246d47a2a7910eae80abe4861fe2b7, from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae before 73cc56c608c209d3d666cc571293b090a471da70, from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae before 31e4aa93e2e5b5647fc235b0f6ee329646878f9e, from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae before 51cb05d4fd632596816ba44e882e84db9fb28a7e, from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae before 25837889ec062f2b7618142cd80253dff3da5343, from 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae before 62b656e43eaeae445a39cd8021a4f47065af4389, 4.0
Not affected: before 4.0, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.*, from 6.12.59 up to 6.12.*, from 6.17.9 up to 6.17.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: sched: act_connmark: inicializar la estructura tc_ife para corregir una fuga del kernel En tcf_connmark_dump(), la variable 'opt' fue inicializada parcialmente usando un inicializador designado. Mientras que los bytes de relleno permanecieron sin inicializar. nla_put() copia la estructura completa en un mensaje netlink, estos bytes sin inicializar se filtraron al espacio de usuario. Inicializar la estructura con memset antes de asignar sus campos para asegurar que todos los miembros y el relleno se borren antes de ser copiados.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40279 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40279 changed 2026-10-15Public domain