In the Linux kernel, the following vulnerability has been resolved: fs: sysfs: Fix reference leak in sysfs_break_active_protection() The sysfs_break_active_protection() routine has an obvious reference leak in its error path. If the call to kernfs_find_and_get() fails then kn will be NULL, so the companion sysfs_unbreak_active_protection() routine won't get called (and would only cause an access violation by trying to dereference kn->parent if it was called). As a result, the reference to kobj acquired at the start of the function will never be released. Fix the leak by adding an explicit kobject_put() call when kn is NULL.
History

Fri, 06 Sep 2024 14:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:rhel_eus:8.8

Tue, 13 Aug 2024 23:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.0

Tue, 13 Aug 2024 06:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.0::nfv

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-01T05:28:02.462Z

Updated: 2024-08-02T00:21:05.900Z

Reserved: 2024-02-19T14:20:24.206Z

Link: CVE-2024-26993

cve-icon Vulnrichment

Updated: 2024-08-02T00:21:05.900Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-01T06:15:17.110

Modified: 2024-06-27T13:15:57.563

Link: CVE-2024-26993

cve-icon Redhat

Severity : Low

Publid Date: 2024-05-01T00:00:00Z

Links: CVE-2024-26993 - Bugzilla