CVE-2025-38296

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38296
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38296.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38296
Downstream
Published
2025-07-10T07:42:10Z
Modified
2025-10-22T13:10:05.855816Z
Summary
ACPI: platform_profile: Avoid initializing on non-ACPI platforms
Details

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 platformprofileregister() 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 internalcreategroup+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 : internalcreategroup+0xa22/0xdd8 ra : internalcreategroup+0xa22/0xdd8

Call Trace:

internalcreategroup+0xa22/0xdd8 sysfscreategroup+0x22/0x2e platformprofileinit+0x74/0xb2 dooneinitcall+0x198/0xa9e kernelinitfreeable+0x6d8/0x780 kernelinit+0x28/0x24c retfrom_fork+0xe/0x18

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

[ rjw: Subject and changelog edits ]

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
77be5cacb2c2d8c3ddd069f0b4e9408f553af1d8
Fixed
ccc3d68b92be89c30ba42ac62d2a141bd0c2b457
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
77be5cacb2c2d8c3ddd069f0b4e9408f553af1d8
Fixed
dd133162c9cff5951a692fab9811fadf46a46457

Affected versions

v6.*

v6.13
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.15
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.15.1
v6.15.2

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.15.3