# CVE-2025-40278: net: sched: act\_ife: initialize struct tc\_ife to fix KMSAN kernel-infoleak

> 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.32% (percentile 18, 2026-11-26)
- **Published:** 2025-12-06T21:51:01.693Z
- **Modified:** 2026-10-15T19:10:00.173Z

## Who should check

- Anyone running Linux \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 918e063304f945fb93be9bb70cacea07d0b730ea; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 5e3644ef147bf7140259dfa4cace680c9b26fe8b; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 37f0680887c5aeba9a433fe04b35169010568bb1; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 2191662058443e0bcc28d11694293d8339af6dde; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< a676a296af65d33725bdf7396803180957dbd92e; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< d1dbbbe839647486c9b893e5011fe84a052962df; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< ce50039be49eea9b4cd8873ca6eccded1b4a130a
- Anyone running Linux 4.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: sched: act\_ife: initialize struct tc\_ife to fix KMSAN kernel-infoleak

Fix a KMSAN kernel-infoleak detected  by the syzbot .

\[net?\] KMSAN: kernel-infoleak in \_\_skb\_datagram\_iter

In tcf\_ife\_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.

This change silences the KMSAN report and prevents potential information
leaks from the kernel memory.

This fix has been tested and validated by syzbot. This patch closes the
bug reported at the following syzkaller link and ensures no infoleak.

## Affected and fixed versions

- Linux: \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 918e063304f945fb93be9bb70cacea07d0b730ea; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 5e3644ef147bf7140259dfa4cace680c9b26fe8b; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 37f0680887c5aeba9a433fe04b35169010568bb1; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 2191662058443e0bcc28d11694293d8339af6dde; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< a676a296af65d33725bdf7396803180957dbd92e; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< d1dbbbe839647486c9b893e5011fe84a052962df; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< ce50039be49eea9b4cd8873ca6eccded1b4a130a (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-40278.md
Affected: Linux >= ef6980b6becb1afd9d82a4f043749a10ae81bf14, < 918e063304f945fb93be9bb70cacea07d0b730ea; >= ef6980b6becb1afd9d82a4f043749a10ae81bf14, < 5e3644ef147bf7140259dfa4cace680c9b26fe8b; >= ef6980b6becb1afd9d82a4f043749a10ae81bf14, < 37f0680887c5aeba9a433fe04b35169010568bb1; >= ef6980b6becb1afd9d82a4f…
Fixed in: Linux 918e063304f945fb93be9bb70cacea07d0b730ea, Linux 5e3644ef147bf7140259dfa4cace680c9b26fe8b, Linux 37f0680887c5aeba9a433fe04b35169010568bb1, Linux 2191662058443e0bcc28d11694293d8339af6dde

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-40278 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 918e063304f945fb93be9bb70cacea07d0b730ea; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 5e3644ef147bf7140259dfa4cace680c9b26fe8b; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 37f0680887c5aeba9a433fe04b35169010568bb1; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< 2191662058443e0bcc28d11694293d8339af6dde; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< a676a296af65d33725bdf7396803180957dbd92e; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< d1dbbbe839647486c9b893e5011fe84a052962df; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e; \>= ef6980b6becb1afd9d82a4f043749a10ae81bf14, \< ce50039be49eea9b4cd8873ca6eccded1b4a130a; Linux 4.6.

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

Yes. Fixed in Linux 918e063304f945fb93be9bb70cacea07d0b730ea, Linux 5e3644ef147bf7140259dfa4cace680c9b26fe8b, Linux 37f0680887c5aeba9a433fe04b35169010568bb1, Linux 2191662058443e0bcc28d11694293d8339af6dde. No fix listed yet: follow the vendor advisory.

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

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/918e063304f945fb93be9bb70cacea07d0b730ea>
- other: <https://git.kernel.org/stable/c/5e3644ef147bf7140259dfa4cace680c9b26fe8b>
- other: <https://git.kernel.org/stable/c/37f0680887c5aeba9a433fe04b35169010568bb1>
- other: <https://git.kernel.org/stable/c/2191662058443e0bcc28d11694293d8339af6dde>
- other: <https://git.kernel.org/stable/c/a676a296af65d33725bdf7396803180957dbd92e>
- other: <https://git.kernel.org/stable/c/d1dbbbe839647486c9b893e5011fe84a052962df>
- other: <https://git.kernel.org/stable/c/c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e>
- other: <https://git.kernel.org/stable/c/ce50039be49eea9b4cd8873ca6eccded1b4a130a>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## 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-40278>

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