{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31708","published":"2026-05-01T14:16:20.837000Z","last_modified":"2026-11-11T21:10:00.200000Z","status":"Modified","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.1","version_end_excluding":"6.6.136"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.84"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.25"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"7.0.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2026-31708/","html_en":"/en/cve/CVE-2026-31708/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31708","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31708"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path\n\nsmb2_ioctl_query_info() has two response-copy branches: PASSTHRU_FSCTL\nand the default QUERY_INFO path.  The QUERY_INFO branch clamps\nqi.input_buffer_length to the server-reported OutputBufferLength and then\ncopies qi.input_buffer_length bytes from qi_rsp->Buffer to userspace, but\nit never verifies that the flexible-array payload actually fits within\nrsp_iov[1].iov_len.\n\nA malicious server can return OutputBufferLength larger than the actual\nQUERY_INFO response, causing copy_to_user() to walk past the response\nbuffer and expose adjacent kernel heap to userspace.\n\nGuard the QUERY_INFO copy with a bounds check on the actual Buffer\npayload.  Use struct_size(qi_rsp, Buffer, qi.input_buffer_length)\nrather than an open-coded addition so the guard cannot overflow on\n32-bit builds.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/078fae8f50adebb903ccf2252b44391324571e78","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/1dd757379997b71a328a4b591ffaf481acd0ead1","tags":[]},{"url":"https://git.kernel.org/stable/c/85fd46ee26a11841c670449508025965f61ce131","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9e203dbb5402897c43130fb171a2617008a91f45","tags":[]},{"url":"https://git.kernel.org/stable/c/a34d456934fe42e4da5d2cc07787bf418bee99c6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a58c5af19ff0d6f44f6e9fe31e33a2c92223f77e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ac2f14e4705d020f04e806efa0d49ab8dc2b145f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e66bdc0704977ecee667a81d38255b579c2353d0","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:5369-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20265369-1/","published":"2026-11-18T15:46:50+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:5359-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20265359-1/","published":"2026-11-18T10:35:58+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:5358-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20265358-1/","published":"2026-11-18T10:33:40+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"siemens","id":"SSA-784472","url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.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 TM MFP V1.1.1"}}]}