In the Linux kernel, the following vulnerability has been resolved:
ACPI: processoridle: Fix memory leak in acpiprocessorpowerexit()
After unregistering the CPU idle device, the memory associated with it is not freed, leading to a memory leak:
unreferenced object 0xffff896282f6c000 (size 1024): comm "swapper/0", pid 1, jiffies 4294893170 hex dump (first 32 bytes): 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 8836a742): [<ffffffff993495ed>] kmalloctrace+0x29d/0x340 [<ffffffff9972f3b3>] acpiprocessorpowerinit+0xf3/0x1c0 [<ffffffff9972d263>] _acpiprocessorstart+0xd3/0xf0 [<ffffffff9972d2bc>] acpiprocessorstart+0x2c/0x50 [<ffffffff99805872>] reallyprobe+0xe2/0x480 [<ffffffff99805c98>] _driverprobedevice+0x78/0x160 [<ffffffff99805daf>] driverprobedevice+0x1f/0x90 [<ffffffff9980601e>] _driverattach+0xce/0x1c0 [<ffffffff99803170>] busforeachdev+0x70/0xc0 [<ffffffff99804822>] busadddriver+0x112/0x210 [<ffffffff99807245>] driverregister+0x55/0x100 [<ffffffff9aee4acb>] acpiprocessordriverinit+0x3b/0xc0 [<ffffffff990012d1>] dooneinitcall+0x41/0x300 [<ffffffff9ae7c4b0>] kernelinitfreeable+0x320/0x470 [<ffffffff99b231f6>] kernelinit+0x16/0x1b0 [<ffffffff99042e6d>] retfrom_fork+0x2d/0x50
Fix this by freeing the CPU idle device after unregistering it.
[
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d351bcadab6caa6d8ce7159ff4b77e2da35c09fa",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-01000acc"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d48e5be107429ff5d824e7f2a00d1b610d36fbc",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-2732bd46"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d14a4d0afb49a5b8535d414c782bb334860e73e",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-2f638dc3"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1cbaf4c793b0808532f4e7b40bc4be7cec2c78f2",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-32381318"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fad9bcd4d754cc689c19dc04d2c44b82c1a5d6c8",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-32732576"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea96bf3f80625cddba1391a87613356b1b45716d",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-36b86bea"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ea96bf3f80625cddba1391a87613356b1b45716d",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-3b11cb50"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e18afcb7b2a12b635ac10081f943fcf84ddacc51",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-417006db"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e18afcb7b2a12b635ac10081f943fcf84ddacc51",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-516f6f20"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d48e5be107429ff5d824e7f2a00d1b610d36fbc",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-7dfec165"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d14a4d0afb49a5b8535d414c782bb334860e73e",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-8974577f"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d351bcadab6caa6d8ce7159ff4b77e2da35c09fa",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-9510028d"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd5c2d0b09d5b6d3f0a7bbabe6761a4997e9dee9",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-a4611596"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1cbaf4c793b0808532f4e7b40bc4be7cec2c78f2",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-b94f52c3"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fad9bcd4d754cc689c19dc04d2c44b82c1a5d6c8",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-e1fc33c3"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2a30c81bf3cb9033fa9f5305baf7c377075e2e5",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-e6eef169"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c",
"function": "acpi_processor_power_exit"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2a30c81bf3cb9033fa9f5305baf7c377075e2e5",
"digest": {
"length": 337.0,
"function_hash": "208589269082542844222134364068977787901"
},
"id": "CVE-2024-26894-e81d7202"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/acpi/processor_idle.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd5c2d0b09d5b6d3f0a7bbabe6761a4997e9dee9",
"digest": {
"line_hashes": [
"203300413989611990793871571455065520825",
"30979497302171933311497842725711069686",
"9063682929934561262676434611388861347",
"91990208839086729478002137862562928583"
],
"threshold": 0.9
},
"id": "CVE-2024-26894-fb912d60"
}
]