Re: [PATCH v2 0/4] soc: apple: rtkit: harden syslog shared-buffer handling
Sven Peter <[email protected]>
| Newsgroups | dev.linux.lists.asahi,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/24/26 10:26, Laxman Acharya Padhya wrote: > Split the syslog hardening into focused changes as requested. The first > patch fixes the SYSLOG_INIT reinitialization leak. The second prevents > zero-sized messages and out-of-bounds shared-memory copies. The third > corrects the entry-count boundary, and the fourth rate limits validation > warnings controlled by the coprocessor. > > The index-boundary change has not been tested on Apple hardware running > Linux. Asahi m1n1 describes the initialization field as COUNT, consistent > with the kernel's syslog_n_entries name, but patch 3 is kept independent so > it can be reverted without removing the shared-memory bounds protection. > > Testing: > - arm64 GCC build of drivers/soc/apple/rtkit.o with W=1 in Docker > - scripts/checkpatch.pl --strict on each patch How was this found? If it was AI assisted please also add the appropriate Assisted-by: tags. I'd also like a Tested-by from someone before I pick this up then to make sure you didn't break anything. Sven