afs: Fix callback service message parsers to pass through -EAGAIN
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d001648ec7cf8b21ae9eec8b9ba4a18295adfb14 · < 0acbc09d2aca0432af45cec114f20d55ceafaec4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
afs: Fix callback service message parsers to pass through -EAGAIN
The AFS filesystem client uses an rxrpc server to listen for callback notifications. Each callback call type handler has a delivery function that parses the incoming request stream, and this should return -EAGAIN the last packet hasn't yet been seen, but all currently queued received data is consumed. afs_extract_data() does this, but the -EAGAIN return is switched to 0 inadvertantly
Fix callback service message parsers to pass through -EAGAIN
From the CVE record · Linux
The Linux kernel’s AFS client callback parsers incorrectly turn an -EAGAIN result into success when queued request data is exhausted before the last packet arrives. A sender of callback messages could cause an incomplete request to be treated as complete; the input does not specify authentication or user-interaction requirements.
Engineers running the Linux kernel with the AFS filesystem client should check whether their kernel is affected; affected versions are not specified.