Re: Re: [PATCH] ext4: Fix KASAN use-after-free in ext4_find_extent
From: 余昊铖
Date: Thu Dec 18 2025 - 00:43:32 EST
> Oh, my apologies—I mistakenly wrote "enable" instead of "disable" which
> must have been confusing.
>
> Distributions typically enable this config because some userspace tools
> still rely on writing directly to the raw disk. Once all userspace tools
> transition to using ioctls, we will be able to disable it globally or
> specifically for certain filesystems in distributions.
>
> However, during testing, this feature is often disabled to avoid false
> positives by prohibiting raw writes that bypass the filesystem.
>
> You can find more details in the original patchset if you're interested:
> https://lore.kernel.org/all/20231101173542.23597-1-jack@xxxxxxx
Thanks for the clarification! That makes a lot of sense.
I will disable CONFIG_BLK_DEV_WRITE_MOUNTED for future testing.
Best regards,
Haocheng Yu