{"id":"CVE-2025-40278","aliases":["CVE-2025-40278"],"related":[],"kind":"vulnerability","state":"published","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:\n\nnet: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak\n\nFix a KMSAN kernel-infoleak detected  by the syzbot .\n\n[net?] KMSAN: kernel-infoleak in __skb_datagram_iter\n\nIn tcf_ife_dump(), the variable 'opt' was partially initialized using a\ndesignatied initializer. While the padding bytes are reamined\nuninitialized. nla_put() copies the entire structure into a\nnetlink message, these uninitialized bytes leaked to userspace.\n\nInitialize the structure with memset before assigning its fields\nto ensure all members and padding are cleared prior to beign copied.\n\nThis change silences the KMSAN report and prevents potential information\nleaks from the kernel memory.\n\nThis fix has been tested and validated by syzbot. This patch closes the\nbug reported at the following syzkaller link and ensures no infoleak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak\n\nFix a KMSAN kernel-infoleak detected  by the syzbot .\n\n[net?] KMSAN: kernel-infoleak in __skb_datagram_iter\n\nIn tcf_ife_dump(), the variable 'opt' was partially initialized using a\ndesignatied initializer. While the padding bytes are reamined\nuninitialized. nla_put() copies the entire structure into a\nnetlink message, these uninitialized bytes leaked to userspace.\n\nInitialize the structure with memset before assigning its fields\nto ensure all members and padding are cleared prior to beign copied.\n\nThis change silences the KMSAN report and prevents potential information\nleaks from the kernel memory.\n\nThis fix has been tested and validated by syzbot. This patch closes the\nbug reported at the following syzkaller link and ensures no infoleak.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet: sched: act_ife: inicializar la estructura tc_ife para corregir una fuga de información del kernel de KMSAN\n\nCorrige una fuga de información del kernel de KMSAN detectada por syzbot.\n\n[net?] KMSAN: kernel-infoleak en __skb_datagram_iter\n\nEn 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.\n\nInicializar la estructura con memset antes de asignar sus campos para asegurar que todos los miembros y el relleno sean limpiados antes de ser copiados.\n\nEste cambio silencia el informe de KMSAN y previene posibles fugas de información de la memoria del kernel.\n\nEsta 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.","source":"nvd"}],"published":"2025-12-06T21:51:01.693Z","modified":"2026-10-15T19:10:00.173Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"918e063304f945fb93be9bb70cacea07d0b730ea","status":"affected"},{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"5e3644ef147bf7140259dfa4cace680c9b26fe8b","status":"affected"},{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"37f0680887c5aeba9a433fe04b35169010568bb1","status":"affected"},{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"2191662058443e0bcc28d11694293d8339af6dde","status":"affected"},{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"a676a296af65d33725bdf7396803180957dbd92e","status":"affected"},{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"d1dbbbe839647486c9b893e5011fe84a052962df","status":"affected"},{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e","status":"affected"},{"type":"git","introduced":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","fixed":"ce50039be49eea9b4cd8873ca6eccded1b4a130a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.6","status":"unaffected"},{"type":"semver","introduced":"5.4.302","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.247","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.117","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.59","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.9","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/918e063304f945fb93be9bb70cacea07d0b730ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e3644ef147bf7140259dfa4cace680c9b26fe8b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37f0680887c5aeba9a433fe04b35169010568bb1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2191662058443e0bcc28d11694293d8339af6dde","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a676a296af65d33725bdf7396803180957dbd92e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1dbbbe839647486c9b893e5011fe84a052962df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8f51dad94cbb88054e2aacc272b3ce1ed11fb1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce50039be49eea9b4cd8873ca6eccded1b4a130a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40278","url":"https://www.cve.org/CVERecord?id=CVE-2025-40278","licence":"CVE Terms of Use","modified":"2026-06-02T13:00:18.583Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40278","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40278","licence":"Public domain","modified":"2026-10-15T19:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:08.377Z","epss":{"score":0.00233,"percentile":0.15246,"date":"2026-12-01T12:00:22.000Z"}}