CVE-2024-36019

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36019
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36019.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-36019
Downstream
Related
Published
2024-05-30T15:15:49Z
Modified
2024-11-21T09:21:26Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

regmap: maple: Fix cache corruption in regcachemapledrop()

When keeping the upper end of a cache block entry, the entry[] array must be indexed by the offset from the base register of the block, i.e. max - mas.index.

The code was indexing entry[] by only the register address, leading to an out-of-bounds access that copied some part of the kernel memory over the cache contents.

This bug was not detected by the regmap KUnit test because it only tests with a block of registers starting at 0, so mas.index == 0.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.8.9-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}