rxrpc: Fix integer overflow in rxgk_verify_response()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.236.19.137.0In the Linux kernel, the following vulnerability has been resolved:
rxrpc: Fix integer overflow in rxgk_verify_response()
In rxgk_verify_response(), there's a potential integer overflow due to rounding up token_len before checking it, thereby allowing the length check to be bypassed.
Fix this by checking the unrounded value against len too (len is limited as the response must fit in a single UDP packet).
From the CVE record · Linux
The Linux kernel’s rxrpc rxgk_verify_response() function can overflow an integer when rounding up a token length before checking it. A crafted response that fits in a single UDP packet could bypass the length check. The input does not specify authentication or user-interaction requirements.
Engineers running the Linux kernel should check their versions for this issue; affected versions are not specified.