[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250121175801.GW5556@nvidia.com>
Date: Tue, 21 Jan 2025 13:58:01 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Nicolin Chen <nicolinc@...dia.com>
Cc: kevin.tian@...el.com, baolu.lu@...ux.intel.com, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH rc v3] iommufd: Fix struct iommu_hwpt_pgfault init and
padding
On Mon, Jan 20, 2025 at 11:50:51AM -0800, Nicolin Chen wrote:
> The iommu_hwpt_pgfault is used to report IO page fault data to userspace,
> but iommufd_fault_fops_read was never zeroing its padding. This leaks the
> content of the kernel stack memory to userspace.
> drivers/iommu/iommufd/fault.c | 2 +-
> include/uapi/linux/iommufd.h | 4 +++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
Applied
Thanks,
Jason
Powered by blists - more mailing lists