Lucene search
+L

CVE-2026-31458

🗓️ 22 Apr 2026 13:53:50Reported by LinuxType 
cve
 cve
🔗 web.nvd.nist.gov👁 30 Views🌐 WEB

CVE-2026-31458: DAMON sysfs dereferences contexts_arr[0] when nr_contexts is zero, causing NULL pointer dereference.

Related
Detection
Affected
Refs
Paths
NVD
Vulners
CNA
Node
OR
linuxlinux_kernelRange5.186.6.131
linuxlinux_kernelRange6.76.12.80
linuxlinux_kernelRange6.136.18.21
linuxlinux_kernelRange6.196.19.11
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "mm/damon/sysfs.c"
    ],
    "versions": [
      {
        "version": "0ac32b8affb5a384253dbb8339bd2d0e91add0b7",
        "lessThan": "aba546061341b56e9ffb37e1eb661a3628b6ec12",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0ac32b8affb5a384253dbb8339bd2d0e91add0b7",
        "lessThan": "1e8da792672481d603fa7cd0d815577220a3ee27",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0ac32b8affb5a384253dbb8339bd2d0e91add0b7",
        "lessThan": "708033c231bd782858f4ddbb46ee874a5a5fbdab",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0ac32b8affb5a384253dbb8339bd2d0e91add0b7",
        "lessThan": "bbe03ad3fb9e714191757ca7b41582f930be7be2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "0ac32b8affb5a384253dbb8339bd2d0e91add0b7",
        "lessThan": "1bfe9fb5ed2667fb075682408b776b5273162615",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "mm/damon/sysfs.c"
    ],
    "versions": [
      {
        "version": "5.18",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.18",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.6.131",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.12.80",
        "lessThanOrEqual": "6.12.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.18.21",
        "lessThanOrEqual": "6.18.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.19.11",
        "lessThanOrEqual": "6.19.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "7.0",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
0path/sys/kernel/mm/damon/admin/kdamonds/0/contexts/nr_contextsSysfs vulnerability: NULL pointer dereference when kdamond->contexts->nr is 0 leading to dereference contexts_arr[0] during command handling.CWE-476
update_schemes_statsrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateSysfs command handling vulnerability where privileged users writing to state can trigger NULL pointer dereference when nr_contexts is 0; various update_* commands are affected.CWE-476
update_schemes_tried_regionsrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateSysfs command handling vulnerability where privileged users writing to state can trigger NULL pointer dereference when nr_contexts is 0; various update_* commands are affected.CWE-476
update_schemes_tried_bytesrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateSysfs command handling vulnerability where privileged users writing to state can trigger NULL pointer dereference when nr_contexts is 0; various update_* commands are affected.CWE-476
update_schemes_effective_quotasrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateSysfs command handling vulnerability where privileged users writing to state can trigger NULL pointer dereference when nr_contexts is 0; various update_* commands are affected.CWE-476
update_tuned_intervalsrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateSysfs command handling vulnerability where privileged users writing to state can trigger NULL pointer dereference when nr_contexts is 0; various update_* commands are affected.CWE-476

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jun 2026 10:33Current
5.6Medium risk
Vulners AI Score5.6
CVSS 3.15.5
EPSS0.00122
30