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>] [day] [month] [year] [list]
Message-ID: <3772BC47-11E0-420D-A0CA-3F3EF279B26B@gmail.com>
Date:   Thu, 30 Dec 2021 11:50:34 +0800
From:   Ryan Cai <ycaibb@...il.com>
To:     <akpm@...ux-foundation.org>, <shuah@...nel.org>
CC:     <linux-mm@...ck.org>, <linux-kselftest@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>
Subject: [Resource Leak] Missing closing files in tools/bpf/bpf_asm.c

Dear Kernel maintainers,

          1. In ksm_read_sysfs, the file opened at Line 74 may not closed when going to Line 83.
          Location: https://github.com/torvalds/linux/blob/512b7931ad0561ffe14265f9ff554a3c081b476b/tools/testing/selftests/vm/ksm_tests.c#L74-L83

         2. In ksm_write_sysfs, the file opened at Line 56 may not closed when going to Line 64.
         Location: https://github.com/torvalds/linux/blob/512b7931ad0561ffe14265f9ff554a3c081b476b/tools/testing/selftests/vm/ksm_tests.c#L55-L65

           Should they be bugs? I can send a patch for these.

Best,
Ryan


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ