caif: fix integer underflow in cffrml_receive()
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.1epss 0.3%
exploitation probability
0.3%top 77% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/21fdcc00656a60af3c7aae2dea8dd96abd35519chttps://git.kernel.org/stable/c/4ec29714aa4e0601ea29d2f02b461fc0ac92c2c3https://git.kernel.org/stable/c/785c7be6361630070790f6235b696da156ac71b3https://git.kernel.org/stable/c/8a11ff0948b5ad09b71896b7ccc850625f9878d1https://git.kernel.org/stable/c/c54091eec6fed19e94182aa05dd6846600a642f7https://git.kernel.org/stable/c/f407f1c9f45bbf5c99fd80b3f3f4a94fdbe35691https://git.kernel.org/stable/c/f818cd472565f8b0c2c409b040e0121c5cf8592c