lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 11 Jan 2022 08:49:34 +0100
From:   Paul Menzel <pmenzel@...gen.mpg.de>
To:     Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
        Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org
Cc:     LKML <linux-kernel@...r.kernel.org>
Subject: kmemleak detects leak in msr_build_context

Dear Linux folks,


Running Linux from commit bf4eebf8cfa2 (Merge tag 
'linux-kselftest-kunit-5.17-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest), 
kmemleak reported the leak below:

```
unreferenced object 0xffff8914823de500 (size 64):
   comm "swapper/0", pid 1, jiffies 4294667581 (age 1253.406s)
   hex dump (first 32 bytes):
     00 00 00 00 00 00 00 00 04 10 01 c0 00 00 00 00  ................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
   backtrace:
     [<000000007f3b05e9>] __kmalloc+0x177/0x330
     [<0000000008104cca>] msr_build_context.constprop.0+0x32/0xbe
     [<00000000012bab4e>] msr_save_cpuid_features+0x28/0x2f
     [<00000000b7a2262e>] pm_check_save_msr+0x2e/0x40
     [<00000000cbe9d92d>] do_one_initcall+0x44/0x200
     [<0000000094deab7b>] kernel_init_freeable+0x1fc/0x273
     [<00000000d3dbaa56>] kernel_init+0x16/0x160
     [<0000000058c4a8b3>] ret_from_fork+0x22/0x30
```


Kind regards,

Paul

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ