crypto: algif_hash - Remove bogus SGL free on zero-length error path
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.6.186.7.66.8In the Linux kernel, the following vulnerability has been resolved:
crypto: algif_hash - Remove bogus SGL free on zero-length error path
When a zero-length message is hashed by algif_hash, and an error is triggered, it tries to free an SG list that was never allocated in the first place. Fix this by not freeing the SG list on the zero-length error path.
From the CVE record · Linux
In the Linux kernel, algif_hash tries to free an SG list that was never allocated when hashing a zero-length message triggers an error. The input does not specify the resulting impact or whether exploitation requires local access, authentication, or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.