{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40078","published":"2025-10-28T12:15:42.360000Z","last_modified":"2026-11-10T13:17:54.293000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2025-40078/","html_en":"/en/cve/CVE-2025-40078/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40078","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40078"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Explicitly check accesses to bpf_sock_addr\n\nSyzkaller found a kernel warning on the following sock_addr program:\n\n    0: r0 = 0\n    1: r2 = *(u32 *)(r1 +60)\n    2: exit\n\nwhich triggers:\n\n    verifier bug: error during ctx access conversion (0)\n\nThis is happening because offset 60 in bpf_sock_addr corresponds to an\nimplicit padding of 4 bytes, right after msg_src_ip4. Access to this\npadding isn't rejected in sock_addr_is_valid_access and it thus later\nfails to convert the access.\n\nThis patch fixes it by explicitly checking the various fields of\nbpf_sock_addr in sock_addr_is_valid_access.\n\nI checked the other ctx structures and is_valid_access functions and\ndidn't find any other similar cases. Other cases of (properly handled)\npadding are covered in new tests in a subsequent patch.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/4f00858cd9bbbdf67159e28b85a8ca9e77c83622","tags":[]},{"url":"https://git.kernel.org/stable/c/6d8b1a21fd5c34622b0c3893c61e4a38d8ba53ec","tags":[]},{"url":"https://git.kernel.org/stable/c/6fabca2fc94d33cdf7ec102058983b086293395f","tags":[]},{"url":"https://git.kernel.org/stable/c/76e04bbb4296fb6eac084dbfc27e02ccc744db3e","tags":[]},{"url":"https://git.kernel.org/stable/c/ad8b4fe5617e3c85fc23267f02500c4f3bf0ff69","tags":[]},{"url":"https://git.kernel.org/stable/c/cdeafacb4f9ff261a96baef519e29480fd7b1019","tags":[]},{"url":"https://git.kernel.org/stable/c/de44cdc50d2dce8718cb57deddf9cf1be9a7759f","tags":[]},{"url":"https://git.kernel.org/stable/c/fe9d33f0470350558cb08cecb54cf2267b3a45d2","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-457936","url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","published":"2026-10-13T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7"}},{"source":"siemens","id":"SSA-019113","url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","published":"2026-07-14T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.6"}},{"source":"suse","id":"openSUSE-SU-2026:10301-1","url":"https://www.suse.com/support/update/","published":"2026-03-07T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-longterm-6.18.16-1.1 on GA media"}}]}