RE: [PATCH v2] firmware: dmi: Stop decoding on broken entry

2024-04-18 Thread Michael Kelley
From: Jean Delvare Sent: Thursday, April 18, 2024 5:28 AM > > If a DMI table entry is shorter than 4 bytes, it is invalid. Due to > how DMI table parsing works, it is impossible to safely recover from > such an error, so we have to stop decoding the table. > > Signed-off-by: Jean Delvare > Repo

[PATCH v2] firmware: dmi: Stop decoding on broken entry

2024-04-18 Thread Jean Delvare
If a DMI table entry is shorter than 4 bytes, it is invalid. Due to how DMI table parsing works, it is impossible to safely recover from such an error, so we have to stop decoding the table. Signed-off-by: Jean Delvare Reported-by: Michael Schierl Link: https://lore.kernel.org/linux-kernel/Zh2K