SecurityContext

CVE-2025-40348: Linux Kernel - Race Condition

  • Cve: CVE-2025-40348
  • Name: Linux Kernel - Race Condition
  • Description: In the Linux kernel, the following vulnerability has been resolved: slab: Avoid race on slab->obj_exts in alloc_slab_obj_exts If two competing threads enter alloc_slab_obj_exts() and one of them fails to allocate the object extension vector, it might override the valid slab->obj_exts allocated by the other thread with OBJEXTS_ALLOC_FAIL. This will cause the thread that lost this race and expects a valid pointer to dereference a NULL pointer later on. Update slab->obj_exts atomically using cmpxchg() to avoid slab->obj_exts overrides by racing threads. Thanks for Vlastimil and Suren's help with debugging.
  • Impact: Concurrent threads can cause kernel NULL pointer dereference, leading to system crash or denial of service.
  • Remediation: Update to the latest Linux kernel version with the fix for slab->obj_exts race condition.
  • Vulnerability type: race_condition
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00213
  • Epss percentile: 0.11596
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-12-16T14:15:46Z
  • Age in days: 343
  • Modified at: 2026-10-14T13:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-40348
  • Nvd status: deferred
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/6ed8bfd24ce1cb31742b09a3eb557cd008533eec
https://git.kernel.org/stable/c/7c34feda6a9a203c9744281f1b6671b7dad2012d
https://git.kernel.org/stable/c/c7af5300d78460fc5037ddc77113ba3dbfe77dc0

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.17.4, < 6.17.6; >= 6.12.54, < 6.12.56nocna/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

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