crypto: atmel-aes - Fix 3-page memory leak in atmel_aes_buff_cleanup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bbe628ed897d728d38c4035381d12b2f308fac6f · < 61516b4a5b2647dc3f8f67b5dffaf038be997511| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: atmel-aes - Fix 3-page memory leak in atmel_aes_buff_cleanup
atmel_aes_buff_init() allocates 4 pages using __get_free_pages() with ATMEL_AES_BUFFER_ORDER, but atmel_aes_buff_cleanup() frees only the first page using free_page(), leaking the remaining 3 pages. Use free_pages() with ATMEL_AES_BUFFER_ORDER to fix the memory leak.
From the CVE record · Linux
The atmel-aes cleanup function frees only one of four allocated pages, leaking the other three. The input does not specify whether an attacker can trigger the leak or what access or interaction would be required.
Engineers running Linux kernels with atmel-aes should check whether their kernel includes the fix; affected versions are not specified.