Re: OVERFLOW_KUNIT_TEST fails with BUG: KASAN: stack-out-of-bounds in string_nocheck+0x168/0x1c8 (kernel 6.11-rc2, PowerMac G4 DP)
On 8/15/24 00:26, Ivan Orlov wrote: As you can see, the device name is defined as a local variable, which means that it doesn't exist out of the 'overflow_allocation_test' function scope. This patch: diff --git a/lib/overflow_kunit.c b/lib/overflow_kunit.c index f314a0c15a6
Re: OVERFLOW_KUNIT_TEST fails with BUG: KASAN: stack-out-of-bounds in string_nocheck+0x168/0x1c8 (kernel 6.11-rc2, PowerMac G4 DP)
ct device *dev; int count = 0; Seems to fix the problem and it is not reproducable anymore. I will send the proper patch tomorrow. Good night! -- Kind regards, Ivan Orlov