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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b482cd2053e3b90a7b33a78c63cdb6badf2ec383 to < f407f1c9f45bbf5c99fd80b3f3f4a94fdbe35691affectedb482cd2053e3b90a7b33a78c63cdb6badf2ec383 to < c54091eec6fed19e94182aa05dd6846600a642f7affectedb482cd2053e3b90a7b33a78c63cdb6badf2ec383 to < 785c7be6361630070790f6235b696da156ac71b3affectedb482cd2053e3b90a7b33a78c63cdb6badf2ec383 to < f818cd472565f8b0c2c409b040e0121c5cf8592caffectedb482cd2053e3b90a7b33a78c63cdb6badf2ec383 to < 4ec29714aa4e0601ea29d2f02b461fc0ac92c2c3affectedb482cd2053e3b90a7b33a78c63cdb6badf2ec383 to < 21fdcc00656a60af3c7aae2dea8dd96abd35519caffectedb482cd2053e3b90a7b33a78c63cdb6badf2ec383 to < 8a11ff0948b5ad09b71896b7ccc850625f9878d1affected
Linux Linux
Default version status: affected
2.6.35affected0 to < 2.6.35unaffected5.10.248 to ≤ 5.10.*unaffected5.15.198 to ≤ 5.15.*unaffected6.1.160 to ≤ 6.1.*unaffected6.6.120 to ≤ 6.6.*unaffected6.12.64 to ≤ 6.12.*unaffected6.18.3 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f407f1c9f45bbf5c99fd80b3f3f4a94fdbe35691 ↗
- https://git.kernel.org/stable/c/c54091eec6fed19e94182aa05dd6846600a642f7 ↗
- https://git.kernel.org/stable/c/785c7be6361630070790f6235b696da156ac71b3 ↗
- https://git.kernel.org/stable/c/f818cd472565f8b0c2c409b040e0121c5cf8592c ↗
- https://git.kernel.org/stable/c/4ec29714aa4e0601ea29d2f02b461fc0ac92c2c3 ↗
- https://git.kernel.org/stable/c/21fdcc00656a60af3c7aae2dea8dd96abd35519c ↗
- https://git.kernel.org/stable/c/8a11ff0948b5ad09b71896b7ccc850625f9878d1 ↗