lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFLxGvz-NnCRYXrn59Gh9EYnoBTAQ-5LBN=1=MQN=Yz3iEQsTw@mail.gmail.com>
Date: Mon, 18 Aug 2025 11:01:32 +0200
From: Richard Weinberger <richard.weinberger@...il.com>
To: shao.mingyin@....com.cn
Cc: chengzhihao1@...wei.com, linux-mtd@...ts.infradead.org, 
	linux-kernel@...r.kernel.org, yang.yang29@....com.cn, xu.xin16@....com.cn, 
	yang.tao172@....com.cn, richard@....at
Subject: Re: [PATCH] ubifs: address bit flips in unused free space

On Mon, Aug 18, 2025 at 10:46 AM <shao.mingyin@....com.cn> wrote:
>
> From: Shao Mingyin <shao.mingyin@....com.cn>
>
> When the recovery detects a free space bit flip, the UBIFS mount fails,
> rendering the UBIFS unusable. This issue can be addressed by reclaiming
> the affected erase block, which involves relocating its valid data. So
> attempting to fix free space bit flip during recovery reduces scenarios
> where users cannot access UBIFS normally.

UBIFS should never see bit flips in empty space.
Fixing this situation happens in the NAND layer.
Please see  nand_check_erased_ecc_chunk() and it's users.

Maybe your NAND driver does not call it?

-- 
Thanks,
//richard

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ