CVE-2025-21755

Description

[REJECTED CVE] A vulnerability was identified in the Linux kernel’s vsock module where the socket was orphaned before releasing the transport, leading to a NULL pointer dereference if SO_LINGER was enabled. This was caused by sock_orphan() nullifying sk->sk_wq, which was later accessed in virtio_transport_wait_close(). An attacker exploiting this flaw could trigger a kernel crash by closing a vsock socket with SO_LINGER set, leading to a denial of service on the host system.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.

Integrity,Confidentiality

Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory

In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.