SecurityContext

CVE-2025-22044: Linux Kernel - Undefined Behavior

  • Cve: CVE-2025-22044
  • Name: Linux Kernel - Undefined Behavior
  • Description: In the Linux kernel, the following vulnerability has been resolved: acpi: nfit: fix narrowing conversion in acpi_nfit_ctl Syzkaller has reported a warning in to_nfit_bus_uuid(): "only secondary bus families can be translated". This warning is emited if the argument is equal to NVDIMM_BUS_FAMILY_NFIT == 0. Function acpi_nfit_ctl() first verifies that a user-provided value call_pkg->nd_family of type u64 is not equal to 0. Then the value is converted to int, and only after that is compared to NVDIMM_BUS_FAMILY_MAX. This can lead to passing an invalid argument to acpi_nfit_ctl(), if call_pkg->nd_family is non-zero, while the lower 32 bits are zero. Furthermore, it is best to return EINVAL immediately upon seeing the invalid user input. The WARNING is insufficient to prevent further undefined behavior based on other invalid user input. All checks of the input value should be applied to the original variable call_pkg->nd_family. [iweiny: update commit message]
  • Impact: Potential for undefined behavior or kernel instability due to invalid user input processing.
  • Remediation: Apply the patch to validate call_pkg->nd_family directly and return EINVAL on invalid input, update to latest kernel version with fix.
  • 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.00222
  • Epss percentile: 0.12781
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-04-16T15:15:57Z
  • Age in days: 587
  • Modified at: 2026-10-15T22:18:13Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-22044
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-704Incorrect Type Conversion or Cast

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/2ff0e408db36c21ed3fa5e3c1e0e687c82cf132fPatch
https://git.kernel.org/stable/c/4b65cff06a004ac54f6ea8886060f0d07b1ca055Patch
https://git.kernel.org/stable/c/73851cfceb00cc77d7a0851bc10f2263394c3e87Patch
https://git.kernel.org/stable/c/85f11291658ab907c4294319c8102450cc75bb96Patch
https://git.kernel.org/stable/c/92ba06aef65522483784dcbd6697629ddbd4c4f9Patch
https://git.kernel.org/stable/c/bae5b55e0f327102e78f6a66fb127275e9bc91b6Patch
https://git.kernel.org/stable/c/c90402d2a226ff7afbe1d0650bee8ecc15a91049Patch
https://git.kernel.org/stable/c/e71a57c5aaa389d4c3c82f920761262efdd18d38Patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.14, < 6.14.2; >= 6.13, < 6.13.11; >= 6.7, < 6.12.23; >= 6.2, < 6.6.87; >= 5.16, < 6.1.134; >= 5.11, < 5.15.180; >= 5.9, < 5.10.236nonvd/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