We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-22044

acpi: nfit: fix narrowing conversion in acpi_nfit_ctl



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]

Reserved 2024-12-29 | Published 2025-04-16 | Updated 2025-05-26 | Assigner Linux

Product status

Default status
unaffected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before 4b65cff06a004ac54f6ea8886060f0d07b1ca055
affected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before 92ba06aef65522483784dcbd6697629ddbd4c4f9
affected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before bae5b55e0f327102e78f6a66fb127275e9bc91b6
affected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before c90402d2a226ff7afbe1d0650bee8ecc15a91049
affected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before e71a57c5aaa389d4c3c82f920761262efdd18d38
affected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before 73851cfceb00cc77d7a0851bc10f2263394c3e87
affected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before 85f11291658ab907c4294319c8102450cc75bb96
affected

6450ddbd5d8e83ea9927c7f9076a21f829699e0f before 2ff0e408db36c21ed3fa5e3c1e0e687c82cf132f
affected

Default status
affected

5.9
affected

Any version before 5.9
unaffected

5.10.236
unaffected

5.15.180
unaffected

6.1.134
unaffected

6.6.87
unaffected

6.12.23
unaffected

6.13.11
unaffected

6.14.2
unaffected

6.15
unaffected

References

git.kernel.org/...c/4b65cff06a004ac54f6ea8886060f0d07b1ca055

git.kernel.org/...c/92ba06aef65522483784dcbd6697629ddbd4c4f9

git.kernel.org/...c/bae5b55e0f327102e78f6a66fb127275e9bc91b6

git.kernel.org/...c/c90402d2a226ff7afbe1d0650bee8ecc15a91049

git.kernel.org/...c/e71a57c5aaa389d4c3c82f920761262efdd18d38

git.kernel.org/...c/73851cfceb00cc77d7a0851bc10f2263394c3e87

git.kernel.org/...c/85f11291658ab907c4294319c8102450cc75bb96

git.kernel.org/...c/2ff0e408db36c21ed3fa5e3c1e0e687c82cf132f

cve.org (CVE-2025-22044)

nvd.nist.gov (CVE-2025-22044)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-22044

Support options

Helpdesk Chat, Email, Knowledgebase