CVE-2025-40046
JSON

8.6high

io_uring/zcrx: fix overshooting recv limit

Severity
8.6high CVSS:3.1 by Linux
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/zcrx: fix overshooting recv limit It's reported that sometimes a zcrx request can receive more than was requested. It's caused by io_zcrx_recv_skb() adjusting desc->count for all received buffers including frag lists, but then doing recursive calls to process frag list skbs, which leads to desc->count double accounting and underflow.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 6699ec9a23f85f1764183430209c741847c45f12 before 8bcc9eaf1b19f1a7029cba19f6bd4122b40f6c4f, from 6699ec9a23f85f1764183430209c741847c45f12 before 09cfd3c52ea76f43b3cb15e570aeddf633d65e80, 6.15
Not affected: before 6.15, from 6.17.3 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: io_uring/zcrx: fix overshooting recv limit It's reported that sometimes a zcrx request can receive more than was requested. It's caused by io_zcrx_recv_skb() adjusting desc->count for all received buffers including frag lists, but then doing recursive calls to process frag list skbs, which leads to desc->count double accounting and underflow.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: io_uring/zcrx: corregir el exceso del límite de recepción Se informa que a veces una solicitud zcrx puede recibir más de lo solicitado. Es causado por io_zcrx_recv_skb() ajustando desc->count para todos los búferes recibidos, incluyendo listas de fragmentos, pero luego realizando llamadas recursivas para procesar los skbs de la lista de fragmentos, lo que lleva a una doble contabilidad y desbordamiento negativo de desc->count.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40046 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-40046 changed 2026-10-19Public domain