Skip to content

Possible memory leak in kernel module #1362

@fdgonthier

Description

@fdgonthier

I have memory leak check enabled in my kernel configuration and it just reported this. I have not investigated yet.

unreferenced object 0xffff8880566bd900 (size 32):
  comm "Timer", pid 8501, jiffies 4295007901 (age 6233.392s)
  hex dump (first 32 bytes):
    00 4c 83 57 80 88 ff ff f8 cd d9 48 80 88 ff ff  .L.W.......H....
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<000000003a3d39ce>] __kmalloc+0x13c/0x330
    [<000000005a73e1f2>] kzalloc+0xf/0x20 [rina_irati_core]
    [<0000000037a1d6d4>] generic_alloc+0x21/0xe0 [rina_irati_core]
    [<00000000dd348f74>] rkzalloc+0x1a/0x20 [rina_irati_core]
    [<00000000bee99591>] __pff_add.isra.3+0x4da/0xa40 [rina_irati_core]
    [<00000000392b9276>] default_modify+0xef/0x160 [rina_irati_core]
    [<000000008c0b99a1>] pff_modify+0x5c/0xa0 [rina_irati_core]
    [<00000000b1520731>] rmt_pff_modify+0x44/0x60 [rina_irati_core]
    [<000000004f54545e>] normal_pff_modify+0x35/0x50 [normal_ipcp]
    [<00000000e2bbae24>] notify_ipcp_modify_pffe+0x1e7/0x790 [rina_irati_core]
    [<0000000098a9ff21>] ctrldev_write+0x2fa/0x640 [rina_irati_core]
    [<0000000008f08fea>] __vfs_write+0x6b/0x100
    [<00000000efe01e23>] vfs_write+0x15d/0x4a0
    [<0000000077d38840>] ksys_write+0x116/0x210
    [<00000000d3401bcd>] __x64_sys_write+0x73/0xb0
    [<00000000da9ced09>] do_syscall_64+0x9f/0x380

A leaked time object is probably not a big deal for now but it'll add up over time so I might have to investigate this soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions