Not scored
net: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak
- Severity
- Not scored
- Exploit likelihood
- 0.23% (higher than 15% 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_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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 918e063304f945fb93be9bb70cacea07d0b730ea, from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 5e3644ef147bf7140259dfa4cace680c9b26fe8b, from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 37f0680887c5aeba9a433fe04b35169010568bb1, from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before 2191662058443e0bcc28d11694293d8339af6dde, from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before a676a296af65d33725bdf7396803180957dbd92e, from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before d1dbbbe839647486c9b893e5011fe84a052962df, from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e, from ef6980b6becb1afd9d82a4f043749a10ae81bf14 before ce50039be49eea9b4cd8873ca6eccded1b4a130a and 1 more Not affected: before 4.6, from 5.4.302 up to 5.4.*, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.117 up to 6.6.* | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: sched: act_ife: inicializar la estructura tc_ife para corregir una fuga de información del kernel de KMSAN Corrige una fuga de información del kernel de KMSAN detectada por syzbot. [net?] KMSAN: kernel-infoleak en __skb_datagram_iter En tcf_ife_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 sean limpiados antes de ser copiados. Este cambio silencia el informe de KMSAN y previene posibles fugas de información de la memoria del kernel. Esta corrección ha sido probada y validada por syzbot. Este parche cierra el error reportado en el siguiente enlace de syzkaller y asegura que no haya fuga de información.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40278 changed 2026-06-02 | CVE Terms of Use |
| NVD | CVE-2025-40278 changed 2026-10-15 | Public domain |