Re: [PATCH AUTOSEL 5.15 13/16] vdpa: clean up get_config_size ret value handling

2022-04-01 Thread Dan Carpenter
The mitre.org page https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-0998 says this is a fix for CVE-2022-0998 but if you apply it by itself it creates a serious security problem. Originally this bug only affected 32 bit systems but this patch will change it to affect everyone. You need to

[PATCH AUTOSEL 5.15 13/16] vdpa: clean up get_config_size ret value handling

2022-01-22 Thread Sasha Levin
From: Laura Abbott [ Upstream commit 870aaff92e959e29d40f9cfdb5ed06ba2fc2dae0 ] The return type of get_config_size is size_t so it makes sense to change the type of the variable holding its result. That said, this already got taken care of (differently, and arguably not as well) by commit