CVE-2025-38296

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/07/2025
Last modified:
10/07/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ACPI: platform_profile: Avoid initializing on non-ACPI platforms<br /> <br /> The platform profile driver is loaded even on platforms that do not have<br /> ACPI enabled. The initialization of the sysfs entries was recently moved<br /> from platform_profile_register() to the module init call, and those<br /> entries need acpi_kobj to be initialized which is not the case when ACPI<br /> is disabled.<br /> <br /> This results in the following warning:<br /> <br /> WARNING: CPU: 5 PID: 1 at fs/sysfs/group.c:131 internal_create_group+0xa22/0xdd8<br /> Modules linked in:<br /> CPU: 5 UID: 0 PID: 1 Comm: swapper/0 Tainted: G W 6.15.0-rc7-dirty #6 PREEMPT<br /> Tainted: [W]=WARN<br /> Hardware name: riscv-virtio,qemu (DT)<br /> epc : internal_create_group+0xa22/0xdd8<br /> ra : internal_create_group+0xa22/0xdd8<br /> <br /> Call Trace:<br /> <br /> internal_create_group+0xa22/0xdd8<br /> sysfs_create_group+0x22/0x2e<br /> platform_profile_init+0x74/0xb2<br /> do_one_initcall+0x198/0xa9e<br /> kernel_init_freeable+0x6d8/0x780<br /> kernel_init+0x28/0x24c<br /> ret_from_fork+0xe/0x18<br /> <br /> Fix this by checking if ACPI is enabled before trying to create sysfs<br /> entries.<br /> <br /> [ rjw: Subject and changelog edits ]

Impact