CVE 7.8 HIGH

cachefiles: fix incorrect dentry refcount in cachefiles_cull()_CVE-2026-43106

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved:

cachefiles: fix incorrect dentry refcount in cachefiles_cull()

The patch mentioned below changed cachefiles_bury_object() to expect 2
references to the 'rep' dentry. Three of the callers were changed to
use start_removing_dentry() which takes an extra reference so in those
cases the call gets the expected references.

However there is another call to cachefiles_bury_object() in
cachefiles_cull() which did not need to be changed to use
start_removing_dentry() and so was not properly considered.
It still passed the dentry with just one reference so the net result is
that a reference is lost.

To meet the expectations of cachefiles_bury_object(), cachefiles_cull()
must take an extra reference before the call. It will be dropped by
cachefiles_bury_object().

Basic Information

ID CVE-2026-43106
Source Linux
Published May 6, 2026 at 07:40
Modified May 8, 2026 at 12:40

Affected Product

Vendor Linux
Product Linux
Version 7bb1eb45e43c4730cbc5a48b9e9295049fccdacb
Affected Versions Linux Linux 7bb1eb45e43c4730cbc5a48b9e9295049fccdacb
Linux Linux 7bb1eb45e43c4730cbc5a48b9e9295049fccdacb
Linux Linux 6.19

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.