[SRU][canonical-kernel-snaps/main][PATCH 0/1] nvidia-user: replace invalid ICD vendor path in mangler

Aaron Jauregui aaron.jauregui at canonical.com
Mon Aug 17 04:50:33 UTC 2026


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(-)

-- 
2.43.0




More information about the kernel-team mailing list