kmemleak shows unreferenced objects in "cryptomgr_test" (kernel 6.15-rc1, x86_64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings!

I gave v6.15-rc1 a test ride on my Ryzen 5950 system with some debugging options turned on and a

kmemleak: 15 new suspected memory leaks (see /sys/kernel/debug/kmemleak)

showed up in dmesg after a while. kmemleak output looks like this:

unreferenced object 0xffff88811e368100 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 22 2a 21 81 88 ff ff 00 9f 36 1e 81 88 ff ff  ."*!......6.....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 8843b793):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a2200 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
[...]


Full kmemleak output and kernel .config attached.

Regards,
Erhard
unreferenced object 0xffff88811e368100 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 22 2a 21 81 88 ff ff 00 9f 36 1e 81 88 ff ff  ."*!......6.....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 8843b793):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a2200 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 19 2a 21 81 88 ff ff 00 81 36 1e 81 88 ff ff  ..*!......6.....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 57d4df3c):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a1900 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 3a 2a 21 81 88 ff ff 00 22 2a 21 81 88 ff ff  .:*!....."*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 8367c394):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a3a00 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 43 2a 21 81 88 ff ff 00 19 2a 21 81 88 ff ff  .C*!......*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 4fe6d928):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a4300 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 58 2a 21 81 88 ff ff 00 3a 2a 21 81 88 ff ff  .X*!.....:*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 3aef9e7d):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a5800 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 2b 2a 21 81 88 ff ff 00 43 2a 21 81 88 ff ff  .+*!.....C*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 70487d6a):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a2b00 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 73 2a 21 81 88 ff ff 00 58 2a 21 81 88 ff ff  .s*!.....X*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc a686672d):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a7300 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 6a 2a 21 81 88 ff ff 00 2b 2a 21 81 88 ff ff  .j*!.....+*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc c70f1e6d):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a6a00 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 25 2a 21 81 88 ff ff 00 73 2a 21 81 88 ff ff  .%*!.....s*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc f3a9025a):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a2500 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 34 2a 21 81 88 ff ff 00 6a 2a 21 81 88 ff ff  .4*!.....j*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 9c2d1e1c):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a3400 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 0a 2a 21 81 88 ff ff 00 25 2a 21 81 88 ff ff  ..*!.....%*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc d68369a9):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a0a00 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 7c 2a 21 81 88 ff ff 00 34 2a 21 81 88 ff ff  .|*!.....4*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 472946d3):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a7c00 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 37 2a 21 81 88 ff ff 00 0a 2a 21 81 88 ff ff  .7*!......*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 151c3960):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a3700 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 5b 2a 21 81 88 ff ff 00 7c 2a 21 81 88 ff ff  .[*!.....|*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc 71d476dc):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20
unreferenced object 0xffff8881212a5b00 (size 256):
  comm "cryptomgr_test", pid 289, jiffies 4294881312
  hex dump (first 32 bytes):
    00 9f 36 1e 81 88 ff ff 00 37 2a 21 81 88 ff ff  ..6......7*!....
    98 3b 07 91 ff ff ff ff 90 7b 3f 02 00 c9 ff ff  .;.......{?.....
  backtrace (crc f4e9fedd):
    __kmalloc_noprof+0x201/0x448
    alg_test_comp+0x453/0x1f18
    alg_test+0x21a/0x478
    cryptomgr_test+0x3d/0x78
    kthread+0x484/0x588
    ret_from_fork+0x4a/0x78
    ret_from_fork_asm+0x11/0x20

Attachment: config_615-rc1_zen3+
Description: Binary data


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux