PoC Monitor
← All CVEs
CVE-2025-22044published 16 Apr 2025 14:12 UTCData: JSON · API

Linux

acpi: nfit: fix narrowing conversion in acpi_nfit_ctl

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]

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-704
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < 4b65cff06a004ac54f6ea8886060f0d07b1ca055
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < 92ba06aef65522483784dcbd6697629ddbd4c4f9
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < bae5b55e0f327102e78f6a66fb127275e9bc91b6
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < c90402d2a226ff7afbe1d0650bee8ecc15a91049
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < e71a57c5aaa389d4c3c82f920761262efdd18d38
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < 73851cfceb00cc77d7a0851bc10f2263394c3e87
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < 85f11291658ab907c4294319c8102450cc75bb96
  • >= 6450ddbd5d8e83ea9927c7f9076a21f829699e0f, < 2ff0e408db36c21ed3fa5e3c1e0e687c82cf132f

Fixed in 4b65cff06a004ac54f6ea8886060f0d07b1ca055, 92ba06aef65522483784dcbd6697629ddbd4c4f9, bae5b55e0f327102e78f6a66fb127275e9bc91b6, c90402d2a226ff7afbe1d0650bee8ecc15a91049, e71a57c5aaa389d4c3c82f920761262efdd18d38, 73851cfceb00cc77d7a0851bc10f2263394c3e87, 85f11291658ab907c4294319c8102450cc75bb96, 2ff0e408db36c21ed3fa5e3c1e0e687c82cf132f

Linux Linux
  • 5.9

Fixed in 0, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15

Mitigation

Upgrade Linux to 4b65cff06a004ac54f6ea8886060f0d07b1ca055 or 92ba06aef65522483784dcbd6697629ddbd4c4f9 or bae5b55e0f327102e78f6a66fb127275e9bc91b6 or c90402d2a226ff7afbe1d0650bee8ecc15a91049 or e71a57c5aaa389d4c3c82f920761262efdd18d38 or 73851cfceb00cc77d7a0851bc10f2263394c3e87 or 85f11291658ab907c4294319c8102450cc75bb96 or 2ff0e408db36c21ed3fa5e3c1e0e687c82cf132f or later.

Upgrade Linux to 0 or 5.10.236 or 5.15.180 or 6.1.134 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.