opnsense-src/sys/dev/firmware/arm
Andrew Turner d41a2ba73c scmi: Avoid a use-after-free
Use LIST_FOREACH_SAFE to avoid a use-after-free in scmi_reqs_pool_free.
The next pointer will be invalid after the call to free meaning
LIST_FOREACH will dereference a freed struct to move to the next item.

Reviewed by:	emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D50753
2025-06-09 23:32:11 +01:00
..
scmi.c scmi: Avoid a use-after-free 2025-06-09 23:32:11 +01:00
scmi.h scmi: Add sysctl transport properties 2025-06-04 02:32:40 +01:00
scmi_clk.c scmi: Introduce a new SCMI API and port CLK SCMI driver to it 2024-04-11 09:58:56 +00:00
scmi_clk.h scmi: Introduce a new SCMI API and port CLK SCMI driver to it 2024-04-11 09:58:56 +00:00
scmi_if.m scmi: Introduce a new SCMI API and port CLK SCMI driver to it 2024-04-11 09:58:56 +00:00
scmi_mailbox.c scmi: Make transports report the effective length of the received messages 2025-06-04 02:32:39 +01:00
scmi_protocols.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
scmi_shmem.c scmi: Make transports report the effective length of the received messages 2025-06-04 02:32:39 +01:00
scmi_shmem.h scmi: Make transports report the effective length of the received messages 2025-06-04 02:32:39 +01:00
scmi_smc.c scmi: Make transports report the effective length of the received messages 2025-06-04 02:32:39 +01:00
scmi_virtio.c scmi: Add devicetree transport properties 2025-06-04 02:32:40 +01:00