Subject null_blk: fix init/exit races and memleaks
Author wozizhi@huaweicloud.com
Date 2026-07-08 07:39:12 +0000 UTC
Version
Cc axboe@kernel.dk bvanassche@acm.org chengzhihao1@huawei.com dlemoal@kernel.org johannes.thumshirn@wdc.com kbusch@kernel.org kch@nvidia.com linux-block@vger.kernel.org linux-kernel@vger.kernel.org nilay@linux.ibm.com wozizhi@huawei.com wozizhi@huaweicloud.com yangerkun@huawei.com
Patches (6)
Name Content [All]
[PATCH V3 1/6] null_blk: use DEFINE_MUTEX for the file-scope mutex [Body]
[PATCH V3 2/6] null_blk: register configfs subsystem after creating default devices [Body]
[PATCH V3 3/6] null_blk: move unregister_blkdev() after destroying dev in null_exit() [Body]
[PATCH V3 4/6] null_blk: free global tag_set on init error path [Body]
[PATCH V3 5/6] null_blk: serialize configfs attribute stores with device setup [Body]
[PATCH V3 6/6] null_blk: mark racy configfs attribute accesses with READ_ONCE/WRITE_ONCE [Body]
Session 2026-07-08
ID (for dev) 2fa3ddd5-08cf-467f-bec3-ab796440bf75
Status finished
Triaged OK [Log] [Trajectory]
Execution Log [Link]
Test Base Patched Verdict
[KASAN] Build Base 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53 [Config] passed [Log]
[KASAN] Boot test: Base 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53 [Config] passed [Log]
[KASAN] Build Patched 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53 [Config] [patched] passed [Log]
[KASAN] Boot test: Patched 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53 [Config] [patched] passed [Log]
[KASAN] Fuzz 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53 [Config] 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53 [Config] [patched] passed [Log] [Artifacts]