Linux
powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap
In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap memtrace mmap issue has an out of bounds issue. This patch fixes the by checking that the requested mapping region size should stay within the allocated region size.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 08a022ad3dfafc7e33d4529015e14bb75179cacc, < 81260c41b518b6f32c701425f1427562fa92f293
- >= 08a022ad3dfafc7e33d4529015e14bb75179cacc, < 620b77b23c41a6546e5548ffe2ea3ad71880dde4
- >= 08a022ad3dfafc7e33d4529015e14bb75179cacc, < 8635e325b85dfb9ddebdfaa6b5605d40d16cd147
- >= 08a022ad3dfafc7e33d4529015e14bb75179cacc, < 9c340b56d60545e4a159e41523dd8b23f81d3261
- >= 08a022ad3dfafc7e33d4529015e14bb75179cacc, < bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39
- >= 08a022ad3dfafc7e33d4529015e14bb75179cacc, < cd097df4596f3a1e9d75eb8520162de1eb8485b2
Fixed in 81260c41b518b6f32c701425f1427562fa92f293, 620b77b23c41a6546e5548ffe2ea3ad71880dde4, 8635e325b85dfb9ddebdfaa6b5605d40d16cd147, 9c340b56d60545e4a159e41523dd8b23f81d3261, bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39, cd097df4596f3a1e9d75eb8520162de1eb8485b2
- 5.13
Fixed in 0, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3, 6.16
Mitigation
Upgrade Linux to 81260c41b518b6f32c701425f1427562fa92f293 or 620b77b23c41a6546e5548ffe2ea3ad71880dde4 or 8635e325b85dfb9ddebdfaa6b5605d40d16cd147 or 9c340b56d60545e4a159e41523dd8b23f81d3261 or bbd5a9ddb0f9750783a48a871c9e12c0b68c5f39 or cd097df4596f3a1e9d75eb8520162de1eb8485b2 or later.
Upgrade Linux to 0 or 5.15.186 or 6.1.142 or 6.6.94 or 6.12.34 or 6.15.3 or 6.16 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.