aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2025-06-18 12:17:45 +0000
committerRafael J. Wysocki <[email protected]>2025-06-18 19:12:13 +0000
commit6fcab2791543924d438e7fa49276d0998b0a069f (patch)
tree67f23eeba1db09bad3a80b3c57c5389932e645de /lib/crypto/mpi/mpi-cmp.c
parentLinux 6.16-rc2 (diff)
downloadkernel-6fcab2791543924d438e7fa49276d0998b0a069f.tar.gz
kernel-6fcab2791543924d438e7fa49276d0998b0a069f.zip
ACPICA: Refuse to evaluate a method if arguments are missing
As reported in [1], a platform firmware update that increased the number of method parameters and forgot to update a least one of its callers, caused ACPICA to crash due to use-after-free. Since this a result of a clear AML issue that arguably cannot be fixed up by the interpreter (it cannot produce missing data out of thin air), address it by making ACPICA refuse to evaluate a method if the caller attempts to pass fewer arguments than expected to it. Closes: https://github.com/acpica/acpica/issues/1027 [1] Reported-by: Peter Williams <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Tested-by: Hans de Goede <[email protected]> # Dell XPS 9640 with BIOS 1.12.0 Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions