** Description changed:

- memory leak on Spark which is visible right after boot: 
- root@localhost:/sys/kernel/debug# cat kmemleak 
+ memory leak on Spark which is visible right after boot:
+ root@localhost:/sys/kernel/debug# cat kmemleak
  unreferenced object 0xffff40ec0430e760 (size 32):
-   comm "swapper/0", pid 1, jiffies 4294667675
-   hex dump (first 32 bytes):
-     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
-     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
-   backtrace (crc f1da05aa):
-     kmemleak_alloc+0xe4/0x128
-     __kmalloc_noprof+0x2b0/0x4b8
-     acpi_ut_initialize_buffer+0xbc/0x108
-     acpi_evaluate_object+0x31c/0x368
-     acpi_evaluate_dsm+0xc0/0x170
-     pci_acpi_preserve_config+0x88/0xf8
-     pci_register_host_bridge+0x2dc/0x5a8
-     pci_create_root_bus+0x90/0xe8
-     acpi_pci_root_create+0x174/0x2d0
-     pci_acpi_scan_root+0x198/0x2d0
-     acpi_pci_root_add+0x1a0/0x370
-     acpi_bus_attach+0x1f4/0x378
-     acpi_dev_for_one_check+0x54/0x80
-     device_for_each_child+0x70/0xe8
-     acpi_dev_for_each_child+0x4c/0xa0
-     acpi_bus_attach+0x26c/0x378
+   comm "swapper/0", pid 1, jiffies 4294667675
+   hex dump (first 32 bytes):
+     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
+     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
+   backtrace (crc f1da05aa):
+     kmemleak_alloc+0xe4/0x128
+     __kmalloc_noprof+0x2b0/0x4b8
+     acpi_ut_initialize_buffer+0xbc/0x108
+     acpi_evaluate_object+0x31c/0x368
+     acpi_evaluate_dsm+0xc0/0x170
+     pci_acpi_preserve_config+0x88/0xf8
+     pci_register_host_bridge+0x2dc/0x5a8
+     pci_create_root_bus+0x90/0xe8
+     acpi_pci_root_create+0x174/0x2d0
+     pci_acpi_scan_root+0x198/0x2d0
+     acpi_pci_root_add+0x1a0/0x370
+     acpi_bus_attach+0x1f4/0x378
+     acpi_dev_for_one_check+0x54/0x80
+     device_for_each_child+0x70/0xe8
+     acpi_dev_for_each_child+0x4c/0xa0
+     acpi_bus_attach+0x26c/0x378
  
  Upstream fix was introduced with https://lore.kernel.org/linux-
  pci/20250825223731.GA808746@bhelgaas/T/#t
  
- While working on it, I also realized we are missing: 
+ While working on it, I also realized we are missing:
  1f2768b6a3ee7 PCI: Fix reference leak in pci_alloc_child_bus()
  804443c1f2788 PCI: Fix reference leak in pci_register_host_bridge()
- We should have above as well
+ We should have above as well. Let me know what do you think about the last 
two patches and if those can be included separately from this

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-nvidia-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2121451

Title:
  backport: "ACPI/PCI: Fix memory leak fix in pci_acpi_preserve_config"

Status in linux-nvidia-6.11 package in Ubuntu:
  New

Bug description:
  memory leak on Spark which is visible right after boot:
  root@localhost:/sys/kernel/debug# cat kmemleak
  unreferenced object 0xffff40ec0430e760 (size 32):
    comm "swapper/0", pid 1, jiffies 4294667675
    hex dump (first 32 bytes):
      01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    backtrace (crc f1da05aa):
      kmemleak_alloc+0xe4/0x128
      __kmalloc_noprof+0x2b0/0x4b8
      acpi_ut_initialize_buffer+0xbc/0x108
      acpi_evaluate_object+0x31c/0x368
      acpi_evaluate_dsm+0xc0/0x170
      pci_acpi_preserve_config+0x88/0xf8
      pci_register_host_bridge+0x2dc/0x5a8
      pci_create_root_bus+0x90/0xe8
      acpi_pci_root_create+0x174/0x2d0
      pci_acpi_scan_root+0x198/0x2d0
      acpi_pci_root_add+0x1a0/0x370
      acpi_bus_attach+0x1f4/0x378
      acpi_dev_for_one_check+0x54/0x80
      device_for_each_child+0x70/0xe8
      acpi_dev_for_each_child+0x4c/0xa0
      acpi_bus_attach+0x26c/0x378

  Upstream fix was introduced with https://lore.kernel.org/linux-
  pci/20250825223731.GA808746@bhelgaas/T/#t

  While working on it, I also realized we are missing:
  1f2768b6a3ee7 PCI: Fix reference leak in pci_alloc_child_bus()
  804443c1f2788 PCI: Fix reference leak in pci_register_host_bridge()
  We should have above as well. Let me know what do you think about the last 
two patches and if those can be included separately from this

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to