# CVE-2025-40279: net: sched: act\_connmark: initialize struct tc\_ife to fix kernel leak

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-30)
- **Published:** 2025-12-06T21:51:03.010Z
- **Modified:** 2026-10-15T19:10:00.173Z

## Who should check

- Anyone running Linux \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 218b67c8c8246d47a2a7910eae80abe4861fe2b7; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 73cc56c608c209d3d666cc571293b090a471da70; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 31e4aa93e2e5b5647fc235b0f6ee329646878f9e; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 51cb05d4fd632596816ba44e882e84db9fb28a7e; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 25837889ec062f2b7618142cd80253dff3da5343; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 62b656e43eaeae445a39cd8021a4f47065af4389
- Anyone running Linux 4.0

## 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 and fixed versions

- Linux: \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 218b67c8c8246d47a2a7910eae80abe4861fe2b7; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 73cc56c608c209d3d666cc571293b090a471da70; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 31e4aa93e2e5b5647fc235b0f6ee329646878f9e; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 51cb05d4fd632596816ba44e882e84db9fb28a7e; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 25837889ec062f2b7618142cd80253dff3da5343; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 62b656e43eaeae445a39cd8021a4f47065af4389 (cvelist)
- Linux: 4.0 (cvelist)

## Mitigation

- Upgrade Linux to 62b656e43eaeae445a39cd8021a4f47065af4389 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40279. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40279.md
Affected: Linux >= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, < 218b67c8c8246d47a2a7910eae80abe4861fe2b7; >= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, < 73cc56c608c209d3d666cc571293b090a471da70; >= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, < 31e4aa93e2e5b5647fc235b0f6ee329646878f9e; >= 22a5dc0e5e3e8fef804230c…
Fixed in: Linux 218b67c8c8246d47a2a7910eae80abe4861fe2b7, Linux 73cc56c608c209d3d666cc571293b090a471da70, Linux 31e4aa93e2e5b5647fc235b0f6ee329646878f9e, Linux 51cb05d4fd632596816ba44e882e84db9fb28a7e, Linux 25837889ec062f2b7618142cd80253dff3da5343, Linux 62b656e43eaeae445a39cd8021a4f47065af4389

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40279 being exploited?

There is no confirmed exploitation: CVE-2025-40279 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2025-40279?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40279?

Linux \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 218b67c8c8246d47a2a7910eae80abe4861fe2b7; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 73cc56c608c209d3d666cc571293b090a471da70; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 31e4aa93e2e5b5647fc235b0f6ee329646878f9e; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 51cb05d4fd632596816ba44e882e84db9fb28a7e; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 25837889ec062f2b7618142cd80253dff3da5343; \>= 22a5dc0e5e3e8fef804230cd73ed7b0afd4c7bae, \< 62b656e43eaeae445a39cd8021a4f47065af4389; Linux 4.0.

### Is there a fix for CVE-2025-40279?

Yes. Fixed in Linux 218b67c8c8246d47a2a7910eae80abe4861fe2b7, Linux 73cc56c608c209d3d666cc571293b090a471da70, Linux 31e4aa93e2e5b5647fc235b0f6ee329646878f9e, Linux 51cb05d4fd632596816ba44e882e84db9fb28a7e, Linux 25837889ec062f2b7618142cd80253dff3da5343, Linux 62b656e43eaeae445a39cd8021a4f47065af4389. Upgrade Linux to 62b656e43eaeae445a39cd8021a4f47065af4389 or later.

### How do I check if I'm affected by CVE-2025-40279?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/218b67c8c8246d47a2a7910eae80abe4861fe2b7>
- other: <https://git.kernel.org/stable/c/73cc56c608c209d3d666cc571293b090a471da70>
- other: <https://git.kernel.org/stable/c/31e4aa93e2e5b5647fc235b0f6ee329646878f9e>
- other: <https://git.kernel.org/stable/c/51cb05d4fd632596816ba44e882e84db9fb28a7e>
- other: <https://git.kernel.org/stable/c/25837889ec062f2b7618142cd80253dff3da5343>
- other: <https://git.kernel.org/stable/c/62b656e43eaeae445a39cd8021a4f47065af4389>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40279>

HTML: <https://flawdb.com/CVE-2025-40279> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40279>
