Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822162 - x11-drivers/nvidia-drivers-470.63.01 - kmemleak message "unreferenced object"
Summary: x11-drivers/nvidia-drivers-470.63.01 - kmemleak message "unreferenced object"
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-06 20:48 UTC by Bogdan
Modified: 2021-11-13 06:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2021-11-06 20:48:18 UTC
Dmesg message:
> [  772.677117] kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak)

cat /sys/kernel/debug/kmemleak
> unreferenced object 0xffffa0539bf55360 (size 96):
>   comm "modprobe", pid 9525, jiffies 4294688503 (age 5440.509s)
>   hex dump (first 32 bytes):
>     04 00 00 00 01 00 00 00 78 53 f5 9b 53 a0 ff ff  ........xS..S...
>     00 00 00 00 00 00 00 00 14 00 00 00 0b 00 00 00  ................
>   backtrace:
>     [<00000000032bfa14>] acpi_ut_initialize_buffer+0x36/0x6b
>     [<000000006d1894d2>] acpi_evaluate_object+0x1ee/0x25b
>     [<00000000a9f47cef>] nv_acpi_upstreamport_power_resource_method_present+0x63/0x100 [nvidia]
>     [<000000001d28492f>] nv_get_os_type+0x28f/0xf00 [nvidia]
>     [<0000000092f3c233>] nv_get_os_type+0xa5f/0xf00 [nvidia]
>     [<00000000e2dc4e3e>] pci_device_probe+0xdb/0x180
>     [<000000007304851a>] call_driver_probe+0x24/0xc0
>     [<000000004dd35a58>] really_probe+0x1e7/0x340
>     [<0000000069a73d0b>] __driver_probe_device+0x107/0x180
>     [<00000000166b29c5>] driver_probe_device+0x1e/0xc0
>     [<000000006ecf6f36>] __driver_attach+0xab/0x1c0
>     [<00000000e7a93b20>] bus_for_each_dev+0x89/0x100
>     [<00000000a2ede6d2>] bus_add_driver+0x12b/0x200
>     [<00000000eb1bc407>] driver_register+0x8f/0x100
>     [<00000000c18bdf4a>] 0xffffffffc2bcd59a
>     [<0000000038e14d2d>] 0xffffffffc2bcd857
Comment 1 Ionen Wolkens gentoo-dev 2021-11-06 21:27:25 UTC
Most of this is binary-only and there's not much we can do to either debug or fix non-packaging issues.

But the next planned stable (470.82.00) did receive some acpi related changes, so perhaps this got fixed (if it didn't then please take it upstream instead).
Comment 2 Bogdan 2021-11-13 06:31:51 UTC
x11-drivers/nvidia-drivers-470.82.00 - version affected, bug still present
Comment 3 Bogdan 2021-11-13 06:33:52 UTC
>unreferenced object 0xffff9726d8193a80 (size 96):
>  comm "modprobe", pid 9602, jiffies 4294693971 (age 73465.767s)
>  hex dump (first 32 bytes):
>    04 00 00 00 01 00 00 00 98 3a 19 d8 26 97 ff ff  .........:..&...
>    00 00 00 00 00 00 00 00 14 00 00 00 0b 00 00 00  ................
>  backtrace:
>    [<0000000047ba3a5d>] acpi_ut_initialize_buffer+0x36/0x6b
>    [<0000000088df4fe9>] acpi_evaluate_object+0x1ee/0x25b
>    [<000000005d828fe9>] nv_acpi_upstreamport_power_resource_method_present+0x63/0x100 [nvidia]
>    [<00000000700a7aad>] nv_get_os_type+0x28f/0xf00 [nvidia]
>    [<00000000c8f9ff66>] nv_get_os_type+0xa5f/0xf00 [nvidia]
>    [<00000000935aa026>] pci_device_probe+0xdb/0x180
>    [<00000000a4eff1bb>] call_driver_probe+0x24/0xc0
>    [<00000000ccf4455a>] really_probe+0x1e7/0x340
>    [<000000008759bd91>] __driver_probe_device+0x107/0x180
>    [<0000000048aafbe5>] driver_probe_device+0x1e/0xc0
>    [<00000000f43ea68c>] __driver_attach+0xab/0x1c0
>    [<00000000196f5d1a>] bus_for_each_dev+0x89/0x100
>    [<00000000c173e147>] bus_add_driver+0x12b/0x200
>    [<00000000c315320e>] driver_register+0x8f/0x100
>    [<00000000d45f009b>] 0xffffffffc2e55594
>    [<00000000753b1c65>] 0xffffffffc2e55851
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-13 06:39:36 UTC
(In reply to Bogdan from comment #2)
> x11-drivers/nvidia-drivers-470.82.00 - version affected, bug still present

We really can't do anything about this in Gentoo. Please report it upstream.