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-next>] [day] [month] [year] [list]
Message-Id: <20231106233408.51159-1-sj@kernel.org>
Date:   Mon,  6 Nov 2023 23:34:05 +0000
From:   SeongJae Park <sj@...nel.org>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     SeongJae Park <sj@...nel.org>, damon@...ts.linux.dev,
        linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] mm/damon/sysfs: fix unhandled return values

Some of DAMON sysfs interface code is not handling return values from
some functions.  As a result, confusing user input handling or
NULL-dereference is possible.  Check those properly.

Please note that these patches are not cleanly applicable on mm-unstable
since mm-unstable has dropped the mainline-merged patches and rebased on
v6.6, while some DAMON patches that these patches are depend on are
merged in the mainline after v6.6.  I confirmed these patches can
cleanly applied on latest mainline, or mm-stable-2023-11-01-14-33.

SeongJae Park (3):
  mm/damon/sysfs: check error from damon_sysfs_update_target()
  mm/damon/sysfs-schemes: handle tried regions sysfs directory
    allocation failure
  mm/damon/sysfs-schemes: handle tried region directory allocation
    failure

 mm/damon/sysfs-schemes.c | 5 +++++
 mm/damon/sysfs.c         | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)


base-commit: 3496e8e0a1eeabb738105c09e575495fa78914bb
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ