{"id":"CVE-2023-53493","published":"2025-10-01T11:45:44Z","modified":"2026-08-05T09:14:25Z","title":"accel/qaic: tighten bounds checking in decode_message()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/qaic: tighten bounds checking in decode_message()\n\nCopy the bounds checking from encode_message() to decode_message().\n\nThis patch addresses the following concerns.  Ensure that there is\nenough space for at least one header so that we don't have a negative\nsize later.\n\n\tif (msg_hdr_len < sizeof(*trans_hdr))\n\nEnsure that we have enough space to read the next header from the\nmsg->data.\n\n\tif (msg_len > msg_hdr_len - sizeof(*trans_hdr))\n\t\treturn -EINVAL;\n\nCheck that the trans_hdr->len is not below the minimum size:\n\n\tif (hdr_len < sizeof(*trans_hdr))\n\nThis minimum check ensures that we don't corrupt memory in\ndecode_passthrough() when we do.\n\n\tmemcpy(out_trans->data, in_trans->data, len - sizeof(in_trans->hdr));\n\nAnd finally, use size_add() to prevent an integer overflow:\n\n\tif (size_add(msg_len, hdr_len) > msg_hdr_len)","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00226,"percentile":0.07956,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/57d14cb3bae4619ce2fb5235cb318c3d5d8f53fd","tags":[]},{"url":"https://git.kernel.org/stable/c/51b56382ed2a2b03347372272362b3baa623ed1e","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":1.59},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 129776ac2e38231fa9c02ce20e116c99de291666, < 57d14cb3bae4619ce2fb5235cb318c3d5d8f53fd",">= 129776ac2e38231fa9c02ce20e116c99de291666, < 51b56382ed2a2b03347372272362b3baa623ed1e"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"euvd":{"id":"EUVD-2025-32790","exploited":false,"provenance":"source"}}