Public bug reported:

1) For NVFS I/Os, blk_rq_nr_phys_segments() can undercount GPU physical
segments since CPU-side segment contiguity may differ from GPU physical
contiguity. This can undersize the SGL pool causing a buffer overrun.

2) nvfs_blk_rq_dma_map_iter_next() can create DMA mappings that exceed
the number of entries that can be stored or subsequently unmapped.

Fix both issues.

** Affects: linux-nvidia-6.17 (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: linux (Ubuntu) => linux-nvidia-6.17 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143761

Title:
  [linux-nvidia-6.17]: NVFS SGL pool selection overrun, and DMA iterator
  leak

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-6.17/+bug/2143761/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to