CVE-2026-43071·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: dcache: Limit the minimal number of bucket to two There is an OOB read problem on dentry_hashtable when user sets 'dhash_entries=1': BUG: unable to handle page fault for address: ffff888b30b774b0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page Oops: Oops: 0000 [#1] SMP PTI RIP: 0010:__d_lookup+0x56/0x120 Call Trace: d_lookup.cold+0x16/0x5d lookup_dcache+0x27/0xf0 lookup_one_qstr_excl+0x2a/0x180 start_dirop+0x55/0xa0 simple_start_creating+0x8d/0xa0 debugfs_start_creating+0x8c/0x180 debugfs_create_dir+0x1d/0x1c0 pinctrl_init+0x6d/0x140 do_one_initcall+0x6d/0x3d0 kernel_init_freeable+0x39f/0x460 kernel_init+0x2a/0x260 There will be only one bucket in dentry_hashtable when dhash_entries is set as one, and d_hash_shift is calculated as 32 by dcache_init(). Then, following process will access more than one buckets(which memory region is not allocated) in dentry_hashtable: d_lookup b = d_hash(hash) dentry_hashtable + ((u32)hashlen >> d_hash_shift) // The C standard defines the behavior of right shift amounts // exceeding the bit width of the operand as undefined. The // result of '(u32)hashlen >> d_hash_shift' becomes 'hashlen', // so 'b' will point to an unallocated memory region. hlist_bl_for_each_entry_rcu(b) hlist_bl_first_rcu(head) h->first // read OOB! Fix it by limiting the minimal number of dentry_hashtable bucket to two, so that 'd_hash_shift' won't exceeds the bit width of type u32.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 7.0.1
- Published
- 2026-05-05
Affected versions
From: 7.0
Until: 7.0.1
Fixed in: 7.0.1
How to fix this CVE
Update your Linux kernel to version 7.0.1 or later to resolve a critical out-of-bounds read vulnerability in the dentry hash table initialization. This vulnerability occurs when the kernel parameter 'dhash_entries' is set to 1, causing memory access violations during directory lookups. Apply the kernel update immediately as this is a critical severity issue affecting system stability and security.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r
- Verify if dhash_entries parameter is set: cat /proc/cmdline | grep dhash_entries
- Search kernel logs for OOB faults: sudo journalctl -b | grep -i 'page fault\|oops\|unable to handle'
- Confirm patch application: cat /proc/version | grep -i 'build' and verify kernel release >= 7.0.1
FAQ
What is CVE-2026-43071?
This is a critical out-of-bounds memory read vulnerability in the Linux kernel's dentry hash table implementation. When 'dhash_entries' is explicitly set to 1 via kernel boot parameters, the hash shift calculation becomes invalid, causing the kernel to access unallocated memory regions during directory lookups, triggering page faults and system instability.
Is CVE-2026-43071 being actively exploited?
No, CVE-2026-43071 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are available. However, this is a critical severity issue that should be patched promptly.
What versions of Kernel are affected by CVE-2026-43071?
Linux kernel versions 7.0 and 7.0.1 are affected. The vulnerability is resolved in kernel version 7.0.1 and later releases.
How do I check if my server is vulnerable to CVE-2026-43071?
Run 'uname -r' to check your kernel version. If the output is 7.0 or 7.0.1, verify if dhash_entries=1 is in your kernel parameters with 'cat /proc/cmdline | grep dhash_entries'. If both conditions are true, your system is vulnerable.
Does Defensia detect CVE-2026-43071?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-43071 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/277cedabb0ab86baae83fa58218be13c6d3e5526
- https://git.kernel.org/stable/c/426ef05e82ee52c8d0e95fc0808b7383d8352d73
- https://git.kernel.org/stable/c/45b06bb5ea96f75ad81d7ef446f832ea6b0026fe
- https://git.kernel.org/stable/c/5718df131ab78897a9dd1f2e71c3ba732d4392af
- https://git.kernel.org/stable/c/755b40903eff563768d4d96fd4ef51ec48adde3b
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-43071. Free for 1 server.
Get started free