erofs: fix memory leak of LZMA global compressed deduplication
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.1.576.5.76.6In the Linux kernel, the following vulnerability has been resolved:
erofs: fix memory leak of LZMA global compressed deduplication
When stressing microLZMA EROFS images with the new global compressed deduplication feature enabled (`-Ededupe`), I found some short-lived temporary pages weren't properly released, which could slowly cause unexpected OOMs hours later.
Let's fix it now (LZ4 and DEFLATE don't have this issue.)
From the CVE record · Linux
The Linux kernel's EROFS code does not properly release temporary pages when stressing microLZMA images with global compressed deduplication enabled (`-Ededupe`). The resulting memory leak can cause an out-of-memory condition hours later. The input does not specify attacker access or user-interaction requirements.
Anyone running the Linux kernel with EROFS microLZMA images using global compressed deduplication should check their exposure; affected versions are not specified.