Linux
rxrpc: Fix untrusted unsigned subtract
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix untrusted unsigned subtract Fix the following Smatch static checker warning: net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket() warn: untrusted unsigned subtract. 'ticket_len - 10 * 4' by prechecking the length of what we're trying to extract in two places in the token and decoding for a response packet. Also use sizeof() on the struct we're extracting rather specifying the size numerically to be consistent with the other related statements.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a, < 71571e187106631a8127f2dde780f35caa358d33
- >= 9d1d2b59341f58126a69b51f9f5f8ccb9f12e54a, < 2429a197648178cd4dc930a9d87c13c547460564
Fixed in 71571e187106631a8127f2dde780f35caa358d33, 2429a197648178cd4dc930a9d87c13c547460564
- 6.16
Fixed in 0, 6.16.9, 6.17
Mitigation
Upgrade Linux to 71571e187106631a8127f2dde780f35caa358d33 or 2429a197648178cd4dc930a9d87c13c547460564 or later.
Upgrade Linux to 0 or 6.16.9 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.