CVE-2025-22044CWE-704

CVE-2025-22044

High · published April 16, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
11.4
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00216 · 11.4th percentile
Weakness
CWE-704 · Incorrect Type Conversion or Cast
Published
2025-04-16T19:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.9, < 5.10.2365.10.236
linux/linux_kernel≥ 5.11, < 5.15.1805.15.180
linux/linux_kernel≥ 5.16, < 6.1.1346.1.134
linux/linux_kernel≥ 6.2, < 6.6.876.6.87
linux/linux_kernel≥ 6.7, < 6.12.236.12.23
linux/linux_kernel≥ 6.13, < 6.13.116.13.11
linux/linux_kernel≥ 6.14, < 6.14.26.14.2
References (10)
EPSS history
Timeline
  • 16 APR 14:12Z
    acpi: nfit: fix narrowing conversion in acpi_nfit_ctl
    cvelistv5