APPLIED[UC24]: [SRU][canonical-kernel-snaps/main][PATCH 0/1] nvidia-user: replace invalid ICD vendor path in mangler
Stefan Bader
stefan.bader at canonical.com
Fri Sep 4 12:39:27 UTC 2026
On 17/08/2026 06:50, Aaron Jauregui via kernel-team wrote:
> BugLink: https://bugs.launchpad.net/bugs/2163398
>
> [Impact]
>
> The nvidia-user component's mangler is appending the component's
> vendors directory to OCL_ICD_VENDORS as a colon-separated path list.
> This is invalid, and causes there to be no OpenCL platforms discovered
> at all, thus causing workloads to fail. When unset, it still points at a
> directory that isn't staged by the component, which replaces the default
> OpenCL vendor path and hides the host's ICDs.
>
> [Fix]
>
> Set a single path with a guard to prevent overwriting the existing path when
> the variable is unset, or if the directory doesn't exist.
>
> [Test Case]
>
> Tested script behaviour on an existing UC install with pc-kernel and
> nvidia-user component. Confirmed no overwrite occurs on an existing
> variable or a non-existing dir.
>
> [Where problems could occur]
>
> Single-variable change in the mangler script, should not have any effect
> outside of the variable's function.
>
> Aaron Jauregui (1):
> nvidia-user: Replace invalid path list in mangler with guarded single
> path
>
> hooks/nvidia-user/kernel-gpu-2404-provider-mangler | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
Applied to UC24:canonical-kernel-snaps/main. Thanks.
-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20260904/068edb61/attachment.sig>
More information about the kernel-team
mailing list