SecurityContext

CVE-2025-22017: Linux Kernel - Use After Free

  • Cve: CVE-2025-22017
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: devlink: fix xa_alloc_cyclic() error handling In case of returning 1 from xa_alloc_cyclic() (wrapping) ERR_PTR(1) will be returned, which will cause IS_ERR() to be false. Which can lead to dereference not allocated pointer (rel). Fix it by checking if err is lower than zero. This wasn't found in real usecase, only noticed. Credit to Pierre.
  • Impact: Potential kernel panic or memory corruption due to dereferencing an unallocated pointer, risking system stability and security.
  • Remediation: Apply the patch to check if err is less than zero in xa_alloc_cyclic() error handling.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00213
  • Epss percentile: 0.11529
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-04-08T09:15:26Z
  • Age in days: 595
  • Modified at: 2026-11-05T21:17:47Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-22017
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/466132f6d28a7e47a82501fe1c46b8f90487412e
https://git.kernel.org/stable/c/f3b97b7d4bf316c3991e5634c9f4847c2df35478
https://git.kernel.org/stable/c/f8aaa38cfaf6f20afa4db36b6529032fb69165dc

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.14 rc7; = 6.14 rc1; = 6.14 rc2; = 6.14 rc3; = 6.14 rc4; = 6.14 rc5; = 6.14 rc6; >= 6.13, < 6.13.9; >= 6.7, < 6.12.21nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports