Re: Several kmemleak reports + "refcount_t: underflow; use-after-free" at boot when OF_UNITTEST + OF_OVERLAY is set (Kernel v6.6-rc6, PowerMac G5 11,2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Oct 2023 11:26:48 -0500
Rob Herring <robh@xxxxxxxxxx> wrote:

> The test tells you to expect a use-after-free...
> 
> > ---[ end trace <<int>> ]--- ### dt-test ### pass of_unittest_lifecycle():3209
> > ------------[ cut here ]------------
> > refcount_t: underflow; use-after-free.  
> 
> Then you get a use-after-free. Looks like it is working as designed.
> 
> I believe it's the same with kmemleak.
> 
> Note that running DT unittests also taints the kernel. That's because
> they are not meant to be run on a production system.
> 
> Rob

My bad, did not realize this is actually intended behaviour... Sorry for the noise!

Regards,
Erhard




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux