CVE-2021-47467

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: kunit: fix reference count leak in kfree_at_end The reference counting issue happens in the normal path of kfree_at_end(). When kunit_alloc_and_get_resource() is invoked, the function forgets to handle the returned resource object, whose refcount increased inside, causing a refcount leak. Fix this issue by calling kunit_alloc_resource() instead of kunit_alloc_and_get_resource(). Fixed the following when applying: Shuah Khan <[email protected]> CHECK: Alignment should match open parenthesis + kunit_alloc_resource(test, NULL, kfree_res_free, GFP_KERNEL, (void *)to_free);

SeverityMedium
CVSS5.3
Exploit probability—
ProductLinux Kernel
PublishedMay 22, 2024
First seenMay 22, 2024

How to fix

Update
  • linux linux_kernel5.14.15 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.14 ≤ v < 5.14.15, 5.155.14.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.