diff options
author | Eric Biggers <[email protected]> | 2020-09-22 09:24:56 -0700 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-10-18 10:36:12 -0400 |
commit | cb8d53d2c97369029cc638c9274ac7be0a316c75 (patch) | |
tree | fd83ce283e3c93aa0c50e719dd584d051cdff51e /tools/perf/scripts/python/syscall-counts.py | |
parent | 5b3dc19dda6691e8ab574e8eede1aef6f02a4f1c (diff) |
ext4: fix leaking sysfs kobject after failed mount
ext4_unregister_sysfs() only deletes the kobject. The reference to it
needs to be put separately, like ext4_put_super() does.
This addresses the syzbot report
"memory leak in kobject_set_name_vargs (3)"
(https://syzkaller.appspot.com/bug?extid=9f864abad79fae7c17e1).
Reported-by: [email protected]
Fixes: 72ba74508b28 ("ext4: release sysfs kobject when failing to enable quotas on mount")
Cc: [email protected]
Signed-off-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions