Re: [mm/page_alloc or mm/vmscan or mm/zswap] use-after-free in obj_malloc()

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

 



On 2024/2/23 12:48, Sergey Senozhatsky wrote:
> On (24/02/22 18:27), Yosry Ahmed wrote:
>> I also don't see any recent changes in mm/zsmalloc.c that modify this
>> code, so maybe it wasn't introduce in 6.7. I will defer to Minchan and
>> Sergey, I don't think zswap is an active actor in this bug report.
> 
> Yeah. [1] are the only recent zsmalloc patches I can recall, and those
> patches touch zsmalloc locking (zspages migration/compaction).
> 
> https://lore.kernel.org/lkml/20240219-b4-szmalloc-migrate-v1-0-34cd49c6545b@xxxxxxxxxxxxx/
> 

I think these patches can't go into 6.8.0-rc5, right? So it maybe a bug
with the current code of zsmalloc (maybe zswap? I don't know).

Tetsuo, could you please check if the config has CONFIG_COMPACTION enabled?

Since the first patch of that series did fix a locking bug of migration:
(mm/zsmalloc: fix migrate_write_lock() when !CONFIG_COMPACTION)

Thanks.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux