All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Baptiste Le Duc <baptiste.le-duc@vates.tech>,
	xen-devel@lists.xenproject.org
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: RISC-V bugs from scanning
Date: Fri, 4 Dec 2026 10:21:12 +0000	[thread overview]
Message-ID: <1deb05d8-0fea-4bc2-b5c4-d4df7c030b73@citrix.com> (raw)
In-Reply-To: <1796379238.8631fc262581453bbf619ec5b2062170.1a2408bdf9b0003875@vates.tech>

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.

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.

~Andrew


  reply	other threads:[~2026-12-04 10:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 21:53 RISC-V bugs from scanning Andrew Cooper
2026-12-04 10:13 ` Baptiste Le Duc
2026-12-04 10:21   ` Andrew Cooper [this message]
2026-12-04 10:50     ` Roger Pau Monné
2026-12-04 10:58       ` Baptiste Le Duc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1deb05d8-0fea-4bc2-b5c4-d4df7c030b73@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=baptiste.le-duc@vates.tech \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.