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>] [day] [month] [year] [list]
Message-ID: <6735ab3e.050a0220.1324f8.0091.GAE@google.com>
Date: Wed, 13 Nov 2024 23:48:14 -0800
From: syzbot <syzbot+d0bd96b4696c1ef67991@...kaller.appspotmail.com>
To: sudhirdumbhare@...il.com
Cc: sudhirdumbhare@...il.com, linux-kernel@...r.kernel.org, 
	syzkaller-bugs@...glegroups.com
Subject: Re: mm/slub: fix a memory leak in sysfs_slab_add()

> #syz test git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

want either no args or 2 args (repo, branch), got 1

> master
>
> diff --git a/mm/slub.c b/mm/slub.c
> index 4148235ba554..d10c4fbf8c84 100644
> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -5653,7 +5653,7 @@ static int sysfs_slab_add(struct kmem_cache *s)
> s->kobj.kset = kset;
> err = kobject_init_and_add(&s->kobj, &slab_ktype, NULL, "%s",
> name);
> if (err) {
> - kobject_put(&s->kobj);
> + kfree_const(&s->kobj.name);
> goto out;
> }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ