Re: [PATCH v2] of/address: Fix NULL bus dereference in of_pci_range_parser_one()
From: Carlo Caione
Date: Wed Jul 08 2026 - 05:46:22 EST
On Mon, Jul 6, 2026 at 1:59 PM <sashiko-bot@xxxxxxxxxx> wrote:
>
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
>
> Pre-existing issues:
> - [High] Missing upper bound validation for `#size-cells` (`ns`) allows `np` to overflow to a negative value, bypassing range bounds checks and causing an infinite out-of-bounds read loop.
Since this is a pre-existing issue I'm not going to fix it in this
patch. It will be considered for a follow up but for now this is
out-of-scope.
--
Carlo Caione