CVE-2026-138897

Source
https://cve.org/CVERecord?id=CVE-2026-138897
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138897.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138897
Downstream
Published
2026-11-30T13:26:00Z
Modified
2026-11-30T15:01:21Z
Summary
mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()
Details

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

mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()

In an extreme and unlikely situation, si_meminfo_node() might let the caller show zero total ram. That could cause a divide by zero in damon_get_node_mem_bp(). It could also show free memory larger than the total memory. This could cause underflow and make DAMOS temporarily make unexpected behavior. Thanks to safety guards in the auto-tuning feedback loop, that should not be a real problem, though. Fix the problems by respectively returning 100% and 0% for used and free memory queries in the corner cases.

The issue was discovered [1] by Sashiko.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138897.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0e1c773b501f33437d87b72c7d26080361e224b1
Fixed
34902f2cbcc8d218f64f0ff827c131f26ba01630
Fixed
dd5f656874190a4d4590cb741fec6f7b14cedf08
Fixed
485a9149ad406e00949327a3231b9084d7073706

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138897.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138897.json"