lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2541195.jE0xQCEvom@rafael.j.wysocki>
Date: Wed, 14 Jan 2026 13:34:43 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Linux ACPI <linux-acpi@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
 "Dumbre, Saket" <saket.dumbre@...el.com>
Subject: [PATCH v1 20/26] ACPICA: Fix Segmentation Fault error related to DTPR

From: Michal Camacho Romero <michal.camacho.romero@...el.com>

Fix Segmentation Fault error, caused by invalid buffer lenght in DTPR
Table Template:

 * Update buffer length for TPR Table, which invalid value caused
   Segmentation Fault, during ASL file production.

 * Refactor invalid values of TPR instances, arrays and serialization
   requests count and TPR Base addresses in the DTPR table template.

 * Fix offset updating in the acpi_dm_dump_dtpr function.

Link: https://github.com/acpica/acpica/commit/f75850bc4717
Signed-off-by: Michal Camacho Romero <michal.camacho.romero@...el.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
---
 include/acpi/actbl1.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index 89541cd0c9b0..59fbd64405be 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi/actbl1.h
@@ -2057,12 +2057,12 @@ struct acpi_tprn_limit_reg {
 *******************************************************************************/
 
 struct acpi_tpr_serialize_request {
-	u64 sts:1;		// status of serialization request (RO)
-	// 0 == register idle, 1 == serialization in progress
-	u64 ctrl:1;		// control field to initiate serialization (RW)
-	// 0 == normal, 1 == initialize serialization
+	u64 sr_register;
+	// BIT 1 - status of serialization request (RO)
+	//         0 == register idle, 1 == serialization in progress
+	// BIT 2 - control field to initiate serialization (RW)
+	//         0 == normal, 1 == initialize serialization
 	// (self-clear to allow multiple serialization requests)
-	u64 unused:62;
 };
 
 /* Reset to default packing */
-- 
2.51.0





Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ