# CVE-2025-38296: ACPI: platform_profile: Avoid initializing on non-ACPI platforms

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-07-10T07:42:10.295Z
- Modified: 2026-06-17T09:16:34.247Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ACPI: platform_profile: Avoid initializing on non-ACPI platforms

The platform profile driver is loaded even on platforms that do not have
ACPI enabled. The initialization of the sysfs entries was recently moved
from platform_profile_register() to the module init call, and those
entries need acpi_kobj to be initialized which is not the case when ACPI
is disabled.

This results in the following warning:

 WARNING: CPU: 5 PID: 1 at fs/sysfs/group.c:131 internal_create_group+0xa22/0xdd8
 Modules linked in:
 CPU: 5 UID: 0 PID: 1 Comm: swapper/0 Tainted: G        W           6.15.0-rc7-dirty #6 PREEMPT
 Tainted: [W]=WARN
 Hardware name: riscv-virtio,qemu (DT)
 epc : internal_create_group+0xa22/0xdd8
  ra : internal_create_group+0xa22/0xdd8

 Call Trace:

 internal_create_group+0xa22/0xdd8
 sysfs_create_group+0x22/0x2e
 platform_profile_init+0x74/0xb2
 do_one_initcall+0x198/0xa9e
 kernel_init_freeable+0x6d8/0x780
 kernel_init+0x28/0x24c
 ret_from_fork+0xe/0x18

Fix this by checking if ACPI is enabled before trying to create sysfs
entries.

[ rjw: Subject and changelog edits ]

(As written by CVE List.)

## Affected

- Linux Linux: from 77be5cacb2c2d8c3ddd069f0b4e9408f553af1d8 before ccc3d68b92be89c30ba42ac62d2a141bd0c2b457; from 77be5cacb2c2d8c3ddd069f0b4e9408f553af1d8 before dd133162c9cff5951a692fab9811fadf46a46457; 6.14 (not affected: before 6.14; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.14 before 6.15.3

## References

- <https://git.kernel.org/stable/c/ccc3d68b92be89c30ba42ac62d2a141bd0c2b457> (patch)
- <https://git.kernel.org/stable/c/dd133162c9cff5951a692fab9811fadf46a46457> (patch)

## Sources

- CVE List: [CVE-2025-38296](https://www.cve.org/CVERecord?id=CVE-2025-38296), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38296](https://nvd.nist.gov/vuln/detail/CVE-2025-38296), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38296 · Whole record: https://cve.day/CVE-2025-38296.json · Rebuilt by cve.day 2026-11-25T22:59:01.060Z
