summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2026-06-05 21:44:26 +0300
committerDave Jiang <dave.jiang@intel.com>2026-06-10 21:20:04 +0300
commit60f065dbaf46e65830da62a0041761f0c039e086 (patch)
tree21a26d921e0f2b069f0a470cfb2eef0c4dc86f0a /include/linux/debugobjects.h
parent81eafcada109b653977c4dfbd2b6a72470025a01 (diff)
downloadlinux-60f065dbaf46e65830da62a0041761f0c039e086.tar.xz
cxl/test: Zero out LSA backing memory to avoid leaking to user
Memory through vmalloc() is not zeroed out. When this memory is copied into output payload, it leaks memory content to user. Use vzalloc() instead to zero out the memory. Suggested-by: sashiko-bot Link: https://lore.kernel.org/linux-cxl/20260605173146.2B9A31F00893@smtp.kernel.org/ Fixes: 7d3eb23c4ccf ("tools/testing/cxl: Introduce a mock memory device + driver") Reviewed-by: Alison Schofield <alison.schofield@intel.com> Link: https://patch.msgid.link/20260605184426.4070913-1-dave.jiang@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions