8.1high
caif: fix integer underflow in cffrml_receive()
- Severity
- 8.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: caif: fix integer underflow in cffrml_receive() The cffrml_receive() function extracts a length field from the packet header and, when FCS is disabled, subtracts 2 from this length without validating that len >= 2. If an attacker sends a malicious packet with a length field of 0 or 1 to an interface with FCS disabled, the subtraction causes an integer underflow. This can lead to memory exhaustion and kernel instability, potential information disclosure if padding contains uninitialized kernel memory. Fix this by validating that len >= 2 before performing the subtraction.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b482cd2053e3b90a7b33a78c63cdb6badf2ec383 before f407f1c9f45bbf5c99fd80b3f3f4a94fdbe35691, from b482cd2053e3b90a7b33a78c63cdb6badf2ec383 before c54091eec6fed19e94182aa05dd6846600a642f7, from b482cd2053e3b90a7b33a78c63cdb6badf2ec383 before 785c7be6361630070790f6235b696da156ac71b3, from b482cd2053e3b90a7b33a78c63cdb6badf2ec383 before f818cd472565f8b0c2c409b040e0121c5cf8592c, from b482cd2053e3b90a7b33a78c63cdb6badf2ec383 before 4ec29714aa4e0601ea29d2f02b461fc0ac92c2c3, from b482cd2053e3b90a7b33a78c63cdb6badf2ec383 before 21fdcc00656a60af3c7aae2dea8dd96abd35519c, from b482cd2053e3b90a7b33a78c63cdb6badf2ec383 before 8a11ff0948b5ad09b71896b7ccc850625f9878d1, 2.6.35 Not affected: before 2.6.35, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.64 up to 6.12.* | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: caif: fix integer underflow in cffrml_receive() The cffrml_receive() function extracts a length field from the packet header and, when FCS is disabled, subtracts 2 from this length without validating that len >= 2. If an attacker sends a malicious packet with a length field of 0 or 1 to an interface with FCS disabled, the subtraction causes an integer underflow. This can lead to memory exhaustion and kernel instability, potential information disclosure if padding contains uninitialized kernel memory. Fix this by validating that len >= 2 before performing the subtraction.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: caif: corrige desbordamiento negativo de enteros en cffrml_receive() La función cffrml_receive() extrae un campo de longitud del encabezado del paquete y, cuando FCS está deshabilitado, resta 2 a esta longitud sin validar que len >= 2. Si un atacante envía un paquete malicioso con un campo de longitud de 0 o 1 a una interfaz con FCS deshabilitado, la resta causa un desbordamiento negativo de enteros. Esto puede llevar a agotamiento de memoria e inestabilidad del kernel, potencial revelación de información si el relleno contiene memoria del kernel no inicializada. Soluciona esto validando que len >= 2 antes de realizar la resta.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68799 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-68799 changed 2026-07-30 | Public domain |