{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40248","published":"2025-12-04T16:16:18.240000Z","last_modified":"2026-10-19T19:10:00.130000Z","status":"Deferred","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":true,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-40248/","html_en":"/en/cve/CVE-2025-40248/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40248","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40248"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: Ignore signal/timeout on connect() if already established\n\nDuring connect(), acting on a signal/timeout by disconnecting an already\nestablished socket leads to several issues:\n\n1. connect() invoking vsock_transport_cancel_pkt() ->\n   virtio_transport_purge_skbs() may race with sendmsg() invoking\n   virtio_transport_get_credit(). This results in a permanently elevated\n   `vvs->bytes_unsent`. Which, in turn, confuses the SOCK_LINGER handling.\n\n2. connect() resetting a connected socket's state may race with socket\n   being placed in a sockmap. A disconnected socket remaining in a sockmap\n   breaks sockmap's assumptions. And gives rise to WARNs.\n\n3. connect() transitioning SS_CONNECTED -> SS_UNCONNECTED allows for a\n   transport change/drop after TCP_ESTABLISHED. Which poses a problem for\n   any simultaneous sendmsg() or connect() and may result in a\n   use-after-free/null-ptr-deref.\n\nDo not disconnect socket on signal/timeout. Keep the logic for unconnected\nsockets: they don't linger, can't be placed in a sockmap, are rejected by\nsendmsg().\n\n[1]: https://lore.kernel.org/netdev/e07fd95c-9a38-4eea-9638-133e38c2ec9b@rbox.co/\n[2]: https://lore.kernel.org/netdev/20250317-vsock-trans-signal-race-v4-0-fc8837f3f1d4@rbox.co/\n[3]: https://lore.kernel.org/netdev/60f1b7db-3099-4f6a-875e-af9f6ef194f6@rbox.co/","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"Siemens","untrusted_product":"RUGGEDCOM RST2428P","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/002541ef650b742a198e4be363881439bb9d86b4","tags":[]},{"url":"https://git.kernel.org/stable/c/3f71753935d648082a8279a97d30efe6b85be680","tags":[]},{"url":"https://git.kernel.org/stable/c/5998da5a8208ae9ad7838ba322bccb2bdcd95e81","tags":[]},{"url":"https://git.kernel.org/stable/c/67432915145848658149683101104e32f9fd6559","tags":[]},{"url":"https://git.kernel.org/stable/c/ab6b19f690d89ae4709fba73a3c4a7911f495b7a","tags":[]},{"url":"https://git.kernel.org/stable/c/da664101fb4a0de5cb70d2bae6a650df954df2af","tags":[]},{"url":"https://git.kernel.org/stable/c/eeca93f06df89be5a36305b7b9dae1ed65550dfc","tags":[]},{"url":"https://git.kernel.org/stable/c/f1c170cae285e4b8f61be043bb17addc3d0a14b5","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[]}]},"bulletins":[{"source":"siemens","id":"SSA-253495","url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","published":"2026-06-02T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Multiple Vulnerabilities in SINEC OS before V4.0"}},{"source":"suse","id":"SUSE-SU-2026:20845-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620845-1/","published":"2026-03-24T16:48:38+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:20876-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620876-1/","published":"2026-03-24T16:48:29+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"redhat","id":"RHSA-2026:3987","url":"https://access.redhat.com/errata/RHSA-2026:3987","published":"2026-03-09T10:08:23+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kpatch-patch-5_14_0-611_9_1 security update"}},{"source":"redhat","id":"RHSA-2026:3886","url":"https://access.redhat.com/errata/RHSA-2026:3886","published":"2026-03-06T10:13:27+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kpatch-patch-5_14_0-284_104_1, kpatch-patch-5_14_0-284_117_1, kpatch-patch-5_14_0-284_134_1, kpatch-patch-5_14_0-284_148_1, and kpatch-patch-5_14_0-284_92_1 security update"}},{"source":"redhat","id":"RHSA-2026:3868","url":"https://access.redhat.com/errata/RHSA-2026:3868","published":"2026-03-06T10:13:25+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kpatch-patch-5_14_0-570_17_1, kpatch-patch-5_14_0-570_39_1, and kpatch-patch-5_14_0-570_66_1 security update"}},{"source":"suse","id":"SUSE-SU-2026:20477-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620477-1/","published":"2026-02-24T10:42:46+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}