Re: [PATCH 0/1] xfs: fix log recovery buffer allocation for the

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

 



On Sat, Aug 10, 2024 at 01:16:45AM +0000, Kevin Berry wrote:
> Hi folks, in order to fix CVE-2024-39472 in kernels 5.15, 6.1, and 6.6,
> I have adapted the mainline patch 45cf976008dd (xfs: fix log recovery
> buffer allocation for the legacy h_size fixup) to resolve conflicts
> with those kernels. Specifically, the mainline patch uses kvfree, but
> the amended patch uses kmem_free since kmem_free was used in xfs until
> patch 49292576136f (xfs: convert kmem_free() for kvmalloc users to
> kvfree()).
> 
> I tested the patch by applying it to the above kernels and recompiling
> them. I also ran xfstests on the 6.6.43 kernel with the patch applied.
> In my initial xfstests run, all xfs and generic tests passed except for
> generic/082, generic/269, generic/627, and xfs/155, but those tests all
> passed on a second run. I'm assuming those initial failures were
> unrelated to this patch, unless someone more familiar with those tests
> thinks otherwise.
> 
> I'd be more than happy to do any more verification or tests if they're
> required. Thanks!

Note, for xfs changes, you do need to actually cc: the xfs developers :(

Please do so in the future...

thanks,

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux