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: <176962347638.1138505.3045993165442370929.b4-ty@mit.edu>
Date: Wed, 28 Jan 2026 13:05:10 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Zilin Guan <zilin@....edu.cn>
Cc: "Theodore Ts'o" <tytso@....edu>, adilger.kernel@...ger.ca,
        linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
        jianhao.xu@....edu.cn
Subject: Re: [PATCH] ext4: Fix memory leak in ext4_ext_shift_extents()


On Thu, 25 Dec 2025 08:48:00 +0000, Zilin Guan wrote:
> In ext4_ext_shift_extents(), if the extent is NULL in the while loop, the
> function returns immediately without releasing the path obtained via
> ext4_find_extent(), leading to a memory leak.
> 
> Fix this by jumping to the out label to ensure the path is properly
> released.
> 
> [...]

Applied, thanks!

[1/1] ext4: Fix memory leak in ext4_ext_shift_extents()
      commit: ca81109d4a8f192dc1cbad4a1ee25246363c2833

Best regards,
-- 
Theodore Ts'o <tytso@....edu>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ