[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RISC-V bugs from scanning


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxx>
  • Date: Fri, 4 Dec 2026 11:50:00 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=irW8R2msjSsWU+O8KoiGqjxwuozKbpQJkXs+JKSpmns=; b=XcbfkbU0khKwaZzLntWutgYqLixS8POKw8ZT4dXFtvdjIHpY+EbuIyEJXgv2Qc4nLVVc3FK1V3SXHcvw82P3ZeY7uVB6MTMOUmllWWrV9kvjBxbT2Y5KaFZtydm7JWdMo3eq0A7aAjWOHYd+yQZXxKPN6b90z4TDFQT2pB0I3tnSm0T+obexCanSZsvLFA20L9cIz2XdYaOzkCBtbi9w7rGDVsKCjiO5wBmWBx7EA1eCxG47XNMcaCPS5ktXI9/SV4/CQxeZJI4iEYBCzTn+ZV1NfHog0rH30G0Pq587OLZs8/sFRcc/VuKJqY1rK63tHSWJpeg3CbNG2fwJ1b0GRQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GL4KXM67GB4n2cXQpNc6CXDGIKb86+5XtHCsk9Yxeca3g2T/uZFy00Clf4/h6rSw68SQwPW6lxGlS8KifL2RtHvv9An3zugl2VSYIiX90N8YA4kAKhDSQAkR7sP0kUcjClvZz4mLYVyrc5huZPNAm926w1B/znIQaz8Zxk1n5/rJ5a4aaXF8+mKXKNFreq723Hy7Zyj2CgYZG68dXtTgkOoExH5mtkpsu6Sd3MKxTuWEHRWoIT7JHyaJhVDc8QcuEk8JvWANi1CGtHaHwV+C7bNdnCZaoFAL/zFWypT2AN8UgRjgB+cYoi3bIQ+vVXGgm5N6H/rruQHyEhmNWgu65g==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 04 Dec 2026 10:50:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Fri, Dec 04, 2026 at 10:21:12AM +0000, Andrew Cooper wrote:
> On 04/12/2026 10:13 am, Baptiste Le Duc wrote:
> > Hi,
> >
> > Thanks for the reports. I created according public issues on our gitlab
> > olkur/xen:
> >
> > 1. cpu_khz becomes 0 for a timebase-frequency below 500Hz (medium)
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/67
> > 2. IMSIC device tree properties allow undefined shifts
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/68
> > 3. IMSIC MMIO regset validation is looser than the former exact-size
> > check
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/69
> > 4. p2m_set_type() swallows a failed metadata page allocation
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/70
> > 5. paging_ret_to_domheap() returns success when the pool is too small
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/71
> > 6. total_pages counts only the free pages of the P2M pool
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/72
> > 7. hartid_to_cpuid() matches pcpu_info[] entries never set
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/73
> > 8. APLIC source number check off by one, source 0 not rejected
> >    https://gitlab.com/xen-project/people/olkur/xen/-/work_items/74
> >
> > They all carry the SECURITY label, so the batch can be found here:
> > https://gitlab.com/xen-project/people/olkur/xen/-/issues/?label_name%5B%5D=%F0%9F%97%82%EF%B8%8FSECURITY
> >
> >
> > Anyone can pick one up: assign yourself, then open the fix MR with a
> > Fixes: trailer and link the issue from the MR sidebar.
> 
> To be clear, these were found by scanning the security team did.  None
> of them are security issues, because RISC-V is still in development,
> which is why they're fine to be out in public.

We have done no analysis of those.  Just from reading the title some
look like they might be security issues if RISC-V was security
supported, others would be plain bugs.

> As they're suspected bugs in staging today, if fixes appear, they should
> be at the top the upstreaming priority list.
> 
> If it were me, I'd use an "UPSTREAM" label or similar.  I think it's a
> better fit in this case.

Yeah, I would avoid using the SECURITY label for anything that's on a
public issue tracker: that gives the wrong impression that Xen handles
security issues in public.

Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.