"unable to allocate CUDA0 buffer" after Updating Ubuntu Packages

Hi,

For the regression of CVE, it is fixed in the recent r36.5 release.
Would you mind sharing more details about the issues you encountered after upgrading (please file a new topic for clarity)

Thanks.

Hi, @peamouth_monobasicity

Could you file a topic for your issue with r36.5 as well.
Thanks.

Hello Ashwin,

Since the fix has been released in JetPack 6.2.2 (L4T r36.5), what is the best way to execute the update (Step 8 in your process put on hold every update)? Do you have any recommendations for upgrading the system without performing a full reinstallation?

Thanks for your appreciated help!

1 Like

JetPack 6.2.2 Upgrade Guide (Without Data Wipe)

Yes, it is possible to upgrade to JetPack 6.2.2 without wiping your existing data.
Please follow the steps below carefully to complete the upgrade.


Step 1: Unhold the 34.6 Kernel Fix Packages

First, remove the hold on the kernel-related packages:

sudo apt-mark unhold nvidia-l4t-display-kernel     nvidia-l4t-kernel     nvidia-l4t-kernel-dtbs     nvidia-l4t-kernel-headers     nvidia-l4t-kernel-oot-headers     nvidia-l4t-kernel-oot-modules

Verify that no packages are held:

sudo apt-mark showhold

Ensure the packages are successfully unheld before proceeding.


Step 2: Update Repository Sources

You need to update the repository configuration to point to r36.5 instead of your current version.

  1. Open the NVIDIA L4T source list:

    sudo nano /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
    
  2. Locate all entries containing r36.4 and replace them with r36.5.

  3. Save and exit the file (Ctrl + O, Enter, Ctrl + X).


Step 3: Perform the Upgrade

Refresh the package lists and perform the distribution upgrade:

sudo apt update
sudo apt dist-upgrade

Step 4: Fix Dependencies (Important)

After the upgrade, NVIDIA recommends running the following command to resolve dependency issues and ensure all packages are correctly configured:

sudo apt install --fix-broken -o Dpkg::Options::="--force-overwrite"

If prompted about device configuration, enter y and select the maintainer’s version to apply the latest fixes from r36.5.


Step 5: Reboot and Verify

Reboot the system to apply the new kernel and firmware changes:

sudo reboot

Once the system is back up, verify the upgrade:

Check JetPack Version

sudo apt show nvidia-jetpack

Check L4T Version

head -n 1 /etc/nv_tegra_release

Expected output:

# R36 (release), REVISION: 5.0

Upgrade complete.

2 Likes

Done, Thank you again for your appreciated help. Best Regards JLouis

1 Like