Actions
Bug #7954
closedGendisk is not properly initialized for block_device_operations->release
Start date:
02/06/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
Gendisk ldv_1_block_gendisk which is passed as first parameter to block_device_operations->release is not properly initialized.
It should have the same value as
ldv_1_disk_gendisk = data->arg1;
passed to block_device_operations->open.
See ldv_block_scenario_1 function
and call
ldv_block_scenario_release_1_2(ldv_1_ops_block_device_operations->release, ldv_1_block_gendisk, ldv_1_ldv_param_2_1_default);
Detected on
drivers/mmc/card/mmc_block.ko linux:block:queue
http://ldvstore:8998/reports/unsafe/77288/
Actions