Re: [POSSIBLE BUG] Dereferencing of NULL pointer

2022-08-24 Thread Juergen Gross
On 24.08.22 15:59, Jan Beulich wrote: On 20.08.2022 19:30, Rustam Subkhankulov wrote: Version: 6.0-rc1 Description: In function 'privcmd_ioctl_dm_op' (drivers/xen/privcmd.c: 615)return value of 'kcalloc' with GFP_KERNEL flag is assigned to "pages" variable. GFP_KERNEL flag does not guarantee,

Re: [POSSIBLE BUG] Dereferencing of NULL pointer

2022-08-24 Thread Jan Beulich
On 20.08.2022 19:30, Rustam Subkhankulov wrote: > Version: 6.0-rc1 > > Description: > > In function 'privcmd_ioctl_dm_op' (drivers/xen/privcmd.c: 615)return > value of 'kcalloc' with GFP_KERNEL flag is assigned to "pages" > variable. GFP_KERNEL flag does not guarantee, that the return value > wi

[POSSIBLE BUG] Dereferencing of NULL pointer

2022-08-20 Thread Rustam Subkhankulov
Version: 6.0-rc1 Description: In function 'privcmd_ioctl_dm_op' (drivers/xen/privcmd.c: 615)return value of 'kcalloc' with GFP_KERNEL flag is assigned to "pages" variable. GFP_KERNEL flag does not guarantee, that the return value will not be NULL. In that case, there is a jump to the "out" label