Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Baokun Li
On 2024/5/20 17:10, Jingbo Xu wrote: On 5/20/24 4:38 PM, Baokun Li wrote: Hi Jingbo, Thanks for your review! On 2024/5/20 15:24, Jingbo Xu wrote: On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: From: Baokun Li We got the following issue in a fuzz test of randomly issuing the restore

Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Baokun Li
On 2024/5/20 17:10, Jingbo Xu wrote: On 5/20/24 4:38 PM, Baokun Li wrote: Hi Jingbo, Thanks for your review! On 2024/5/20 15:24, Jingbo Xu wrote: On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: From: Baokun Li We got the following issue in a fuzz test of randomly issuing the restore

Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Baokun Li
On 2024/5/20 16:06, Jingbo Xu wrote: On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: From: Baokun Li We got the following issue in a fuzz test of randomly issuing the restore command: == BUG: KASAN: slab-use-after-free in

Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Jingbo Xu
On 5/20/24 4:38 PM, Baokun Li wrote: > Hi Jingbo, > > Thanks for your review! > > On 2024/5/20 15:24, Jingbo Xu wrote: >> >> On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: >>> From: Baokun Li >>> >>> We got the following issue in a fuzz test of randomly issuing the >>> restore >>>

Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Gao Xiang
On 2024/5/20 16:38, Baokun Li wrote: Hi Jingbo, Thanks for your review! On 2024/5/20 15:24, Jingbo Xu wrote: On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: From: Baokun Li We got the following issue in a fuzz test of randomly issuing the restore command:

Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Baokun Li
Hi Jingbo, Thanks for your review! On 2024/5/20 15:24, Jingbo Xu wrote: On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: From: Baokun Li We got the following issue in a fuzz test of randomly issuing the restore command: ==

Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Jingbo Xu
On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: > From: Baokun Li > > We got the following issue in a fuzz test of randomly issuing the restore > command: > > == > BUG: KASAN: slab-use-after-free in

Re: [PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-20 Thread Jingbo Xu
On 5/15/24 4:45 PM, libao...@huaweicloud.com wrote: > From: Baokun Li > > We got the following issue in a fuzz test of randomly issuing the restore > command: > > == > BUG: KASAN: slab-use-after-free in

[PATCH v2 03/12] cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()

2024-05-15 Thread libaokun
From: Baokun Li We got the following issue in a fuzz test of randomly issuing the restore command: == BUG: KASAN: slab-use-after-free in cachefiles_ondemand_daemon_read+0x609/0xab0 Write of size 4 at addr 888109164a80 by task