CVE-2025-40248Linux
High 7.8
Follow: this CVE · Linux · Linux We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 4, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
In the Linux kernel, the following vulnerability has been resolved:
vsock: Ignore signal/timeout on connect() if already established
During connect(), acting on a signal/timeout by disconnecting an already
established socket leads to several issues:
1. connect() invoking vsock_transport_cancel_pkt() ->
virtio_transport_purge_skbs() may race with sendmsg() invoking
virtio_transport_get_credit(). This results in a permanently elevated
`vvs->bytes_unsent`. Which, in turn, confuses the SOCK_LINGER handling.
2. connect() resetting a connected socket's state may race with socket
being placed in a sockmap. A disconnected socket remaining in a sockmap
breaks sockmap's assumptions. And gives rise to WARNs.
3. connect() transitioning SS_CONNECTED -> SS_UNCONNECTED allows for a
transport change/drop after TCP_ESTABLISHED. Which poses a problem for
any simultaneous sendmsg() or connect() and may result in a
use-after-free/null-ptr-deref.
Do not disconnect socket on signal/timeout. Keep the logic for unconnected
sockets: they don't linger, can't be placed in a sockmap, are rejected by
sendmsg().
[1]: https://lore.kernel.org/netdev/e07fd95c-9a38-4eea-9638-133e38c2ec9b@rbox.co/
[2]: https://lore.kernel.org/netdev/20250317-vsock-trans-signal-race-v4-0-fc8837f3f1d4@rbox.co/
[3]: https://lore.kernel.org/netdev/60f1b7db-3099-4f6a-875e-af9f6ef194f6@rbox.co/
What to do
- Apply the vendor's security update for Linux.
Affected products
- Linux · Linux
- Siemens · RUGGEDCOM RST2428P
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Multiple Vulnerabilities in SINEC OS before V4.0 · Siemens · SSA-253495 · Jun 2, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20845-1 · Mar 24, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20876-1 · Mar 24, 2026 Critical
- Red Hat Security Advisory: kpatch-patch-5_14_0-611_9_1 security update · Red Hat · RHSA-2026:3987 · Mar 9, 2026 High
- 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 · Red Hat · RHSA-2026:3886 · Mar 6, 2026 High
- 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 · Red Hat · RHSA-2026:3868 · Mar 6, 2026 High
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20477-1 · Feb 24, 2026 Critical
Also: Red Hat (+22), SUSE (+10)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.