[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4f6e165f.46d7f.19b2ffb746d.Coremail.3230100410@zju.edu.cn>
Date: Thu, 18 Dec 2025 13:42:47 +0800 (GMT+08:00)
From: 余昊铖 <3230100410@....edu.cn>
To: "Baokun Li" <libaokun1@...wei.com>
Cc: security@...nel.org, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: Re: [PATCH] ext4: Fix KASAN use-after-free in ext4_find_extent
> 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@suse.cz
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
Powered by blists - more mailing lists