Lucene search
+L

CVE-2026-31458

🗓️ 22 Apr 2026 13:53:50Reported by LinuxType 
cve
 cve
🔗 web.nvd.nist.gov👁 49 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.18–6.6.131
linuxlinux_kernelRange6.7–6.12.80
linuxlinux_kernelRange6.13–6.18.21
linuxlinux_kernelRange6.19–6.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
update_schemes_statsrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateWriting 'update_schemes_stats' to the state file in the damon sysfs path can cause a NULL pointer dereference if nr_contexts is set to 0.CWE-476
update_schemes_tried_regionsrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateWriting 'update_schemes_tried_regions' to the state file in the damon sysfs path can cause a NULL pointer dereference if nr_contexts is set to 0.CWE-476
update_schemes_tried_bytesrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateWriting 'update_schemes_tried_bytes' to the state file in the damon sysfs path can cause a NULL pointer dereference if nr_contexts is set to 0.CWE-476
update_schemes_effective_quotasrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateWriting 'update_schemes_effective_quotas' to the state file in the damon sysfs path can cause a NULL pointer dereference if nr_contexts is set to 0.CWE-476
update_tuned_intervalsrequest body/sys/kernel/mm/damon/admin/kdamonds/0/stateWriting 'update_tuned_intervals' to the state file in the damon sysfs path can cause a NULL pointer dereference if nr_contexts is set to 0.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.7Medium risk
Vulners AI Score5.7
CVSS 3.15.5
EPSS0.00122
49