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: <1743715309-318-1-git-send-email-haiyangz@microsoft.com>
Date: Thu,  3 Apr 2025 14:21:47 -0700
From: Haiyang Zhang <haiyangz@...rosoft.com>
To: linux-hyperv@...r.kernel.org,
	akpm@...ux-foundation.org,
	corbet@....net,
	linux-mm@...ck.org,
	linux-doc@...r.kernel.org
Cc: haiyangz@...rosoft.com,
	decui@...rosoft.com,
	kys@...rosoft.com,
	paulros@...rosoft.com,
	olaf@...fle.de,
	vkuznets@...hat.com,
	davem@...emloft.net,
	wei.liu@...nel.org,
	longli@...rosoft.com,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] mm: Explicitly check & doc fragsz limit

The page frag allocator is not designed for fragsz > PAGE_SIZE.
Explicitly check it in the function & document the fragsz limit.

Haiyang Zhang (2):
  mm: page_frag: Check fragsz at the beginning of __page_frag_alloc_align()
  docs/mm: Specify page frag size is not bigger than PAGE_SIZE

 Documentation/mm/page_frags.rst |  2 +-
 mm/page_frag_cache.c            | 22 +++++++++-------------
 2 files changed, 10 insertions(+), 14 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ