net: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.247, 5.15.197, 5.4.302, 6.1.159, 6.12.59, 6.17.9, 6.6.117
- CVEs
- CVE-2025-40278
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:48 UTC · Revision 1
Source evidence
net: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak
core-osv · Original sourcePublished 6 Dec 2025, 21:51 UTC
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.
osv:CVE-2025-40278
Kernel
Fixed versions: 5.4.302, 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.59, 6.17.9
Complete source record
{
"id": "ccdaba45aaa3fad0d44593ad70653d15c939c9d5091c87aede552e572c162084",
"url": "https://osv.dev/vulnerability/CVE-2025-40278",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "net: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak",
"summary": "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.",
"evidence": "osv:CVE-2025-40278",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.302",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.247",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.197",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.159",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.117",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.59",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-40278",
"aliases": [
"CVE-2025-40278"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "ef6980b6becb1afd9d82a4f043749a10ae81bf14"
},
{
"fixed": "918e063304f945fb93be9bb70cacea07d0b730ea"
},
{
"fixed": "5e3644ef147bf7140259dfa4cace680c9b26fe8b"
},
{
"fixed": "37f0680887c5aeba9a433fe04b35169010568bb1"
},
{
"fixed": "2191662058443e0bcc28d11694293d8339af6dde"
},
{
"fixed": "a676a296af65d33725bdf7396803180957dbd92e"
},
{
"fixed": "d1dbbbe839647486c9b893e5011fe84a052962df"
},
{
"fixed": "c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e"
},
{
"fixed": "ce50039be49eea9b4cd8873ca6eccded1b4a130a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40278.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.6.0"
},
{
"fixed": "5.4.302"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.247"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.197"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.159"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.117"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.59"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40278.json"
}
}
],
"modified": "2026-10-28T02:30:52.971274791Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-253495.html",
"https://git.kernel.org/stable/c/2191662058443e0bcc28d11694293d8339af6dde",
"https://git.kernel.org/stable/c/37f0680887c5aeba9a433fe04b35169010568bb1",
"https://git.kernel.org/stable/c/5e3644ef147bf7140259dfa4cace680c9b26fe8b",
"https://git.kernel.org/stable/c/918e063304f945fb93be9bb70cacea07d0b730ea",
"https://git.kernel.org/stable/c/a676a296af65d33725bdf7396803180957dbd92e",
"https://git.kernel.org/stable/c/c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e",
"https://git.kernel.org/stable/c/ce50039be49eea9b4cd8873ca6eccded1b4a130a",
"https://git.kernel.org/stable/c/d1dbbbe839647486c9b893e5011fe84a052962df",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40278.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40278",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40278.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40278",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 521500,
"published_at": "2025-12-06T21:51:01.693+00:00"
}