CVE-2023-53578
kernel: net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 4, 2025
Updated · July 22, 2026
Description
An uninitialized memory access flaw was found in the Linux kernel's QRTR (Qualcomm IPC Router) protocol in the transmit resume handling. When processing RESUME_TX messages, if the packet size is smaller than the expected control structure, the qrtr_tx_resume function reads uninitialized memory from the skb buffer. This can lead to unpredictable behavior, kernel warnings from KMSAN (Kernel Memory Sanitizer), and potential crashes, causing denial of service.
Statement
QRTR is a message-based IPC mechanism used in Qualcomm SoCs to communicate between processors and subsystems. The protocol uses control messages for flow control, including QRTR_TYPE_RESUME_TX packets that signal readiness to receive more data. The qrtr_tx_resume function expects these packets to contain at least a full qrtr_ctrl_pkt structure and reads fields from that structure. Meanwhile, qrtr_endpoint_post allocates an skb of size 'size' (from the received message) and sets skb->len to match. When a malformed or crafted message arrives with type QRTR_TYPE_RESUME_TX but size less than sizeof(struct qrtr_ctrl_pkt), the allocated skb doesn't contain enough initialized data. When qrtr_tx_resume tries to access fields of the control packet, it reads beyond the initialized portion into whatever random data happened to be in that memory.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-131 · Incorrect Calculation of Buffer Size