summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2026-06-05 11:44:26 -0700
committerDave Jiang <dave.jiang@intel.com>2026-06-10 11:20:04 -0700
commit60f065dbaf46e65830da62a0041761f0c039e086 (patch)
tree21a26d921e0f2b069f0a470cfb2eef0c4dc86f0a /drivers/phy/eswin/git@git.tavy.me:linux.git
parent81eafcada109b653977c4dfbd2b6a72470025a01 (diff)
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 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions