CVE-2026-43071: dcache: Limit the minimal number of bucket to two

Published May 5, 2026
·
Updated

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 dentryhashtable when user sets 'dhashentries=1': BUG: unable to handle page fault for address: ffff888b30b774b0 #PF: supervisor read access in kernel mode #PF: errorcode(0x0000) - not-present page Oops: Oops: 0000 [#1] SMP PTI RIP: 0010:dlookup+0x56/0x120 Call Trace: dlookup.cold+0x16/0x5d lookupdcache+0x27/0xf0 lookuponeqstrexcl+0x2a/0x180 startdirop+0x55/0xa0 simplestartcreating+0x8d/0xa0 debugfsstartcreating+0x8c/0x180 debugfscreatedir+0x1d/0x1c0 pinctrlinit+0x6d/0x140 dooneinitcall+0x6d/0x3d0 kernelinitfreeable+0x39f/0x460 kernelinit+0x2a/0x260

There will be only one bucket in dentryhashtable when dhashentries is set as one, and dhashshift is calculated as 32 by dcacheinit(). Then, following process will access more than one buckets(which memory region is not allocated) in dentryhashtable: dlookup b = dhash(hash) dentryhashtable + ((u32)hashlen >> dhashshift) // The C standard defines the behavior of right shift amounts // exceeding the bit width of the operand as undefined. The // result of '(u32)hashlen >> dhashshift' becomes 'hashlen', // so 'b' will point to an unallocated memory region. hlistblforeachentryrcu(b) hlistblfirstrcu(head) h->first // read OOB!

Fix it by limiting the minimal number of dentryhashtable bucket to two, so that 'dhashshift' won't exceeds the bit width of type u32.

Affected Software

16 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=3.10.55<3.11
Linux Linux kernel>=3.12.29<3.13
Linux Linux kernel>=3.14.19<3.15
Linux Linux kernel>=3.16.3<3.17
Linux Linux kernel>=3.17.1<6.1.175
Linux Linux kernel>=6.2<6.6.136
Linux Linux kernel>=6.7<6.12.83
Linux Linux kernel>=6.13<6.18.24
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel>=7.0<7.0.1
Linux Linux kernel=3.17
Linux Linux kernel=3.17-rc5
Linux Linux kernel=3.17-rc6
Linux Linux kernel=3.17-rc7
debian/linux
6.1.176-16.1.180-16.12.94-16.12.107-17.1.12-17.1.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.107-1Fixed in 7.1.12-1Fixed in 7.1.13-1
  2. Configuration

    If you set 'dhash_entries=1' (causing only one bucket and d_hash_shift calculated as 32), change it so the minimal number of dentry_hashtable buckets is at least two to avoid the OOB read and resulting page fault in __d_lookup.

    Linux kernel dcache / dentry_hashtable dhash_entries = 2 or greater

Event History

May 5, 2026
CVE Published
via MITRE·03:29 PM
Data Sourced
via MITRE·03:29 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 4, 2026
Data Sourced
via Ubuntu·07:06 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·07:08 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43071?

CVE-2026-43071 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2026-43071?

To mitigate CVE-2026-43071, ensure your Linux kernel is updated to a version that limits the minimal number of dcache buckets to two.

3

What type of vulnerability is CVE-2026-43071?

CVE-2026-43071 is an out-of-bounds (OOB) read vulnerability affecting the dentry_hashtable in the Linux kernel.

4

Can CVE-2026-43071 be exploited remotely?

CVE-2026-43071 requires local access to exploit, making it a local privilege escalation vulnerability.

5

Which software is affected by CVE-2026-43071?

CVE-2026-43071 affects various versions of the Linux kernel, particularly those allowing the setting of 'dhash_entries=1'.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203