net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post()
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 8.4epss 0.2%
probabilidad de explotación
0.2%top 93% de las CVE
explotación observada
noninguna fuente lo reporta
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post()
qrtr_endpoint_post() validates an incoming packet with
if (!size || len != ALIGN(size, 4) + hdrlen)
goto err;
where size comes from the wire. On 32-bit, size_t is 32 bits and
ALIGN(size, 4) wraps to 0 for size >= 0xfffffffd, so the check
passes and skb_put_data(skb, data + hdrlen, size) writes past the
hdrlen-sized skb and oopses the kernel. 64-bit is unaffected.
This is the 32-bit residual of ad9d24c9429e2 ("net: qrtr: fix OOB
Read in qrtr_endpoint_post"), which fixed only the 64-bit case.
Reject any size that cannot fit the buffer before the ALIGN.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/20054869770c7df060c5ecee3e8bbf9029c47191https://git.kernel.org/stable/c/22100a8f73d4ae4f17697dae93d4e2e1d283a6echttps://git.kernel.org/stable/c/242408b5b763c01288adf3113cbce84378a76e1ahttps://git.kernel.org/stable/c/3665e644ea081c4624a1637023b0de3b29f4ae04https://git.kernel.org/stable/c/689b7267f8632b4661879dc323e26ebb60978afbhttps://git.kernel.org/stable/c/7f72c285f6d3bf63968a0344beee8ab1b370198bhttps://git.kernel.org/stable/c/b609f7f46916c6b05585ca82455077198a23770fhttps://git.kernel.org/stable/c/d0597074e99731fdad5593e4f6d056a3866f2cab