🛡️ CVE-2024-26901 — kernel

🟡 CVSS 5.5 — Medium ✅ No Known Exploit NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak

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

do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak

syzbot identified a kernel information leak vulnerability in

do_sys_name_to_handle() and issued the following report [1].

[1]

"BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:114 [inline]

BUG: KMSAN: kernel-infoleak in _copy_to_user+0xbc/0x100 lib/usercopy.c:40

instrument_copy_to_user include/linux/instrumented.h:114 [inline]

_copy_to_user+0xbc/0x100 lib/usercopy.c:40

copy_to_user include/linux/uaccess.h:191 [inline]

do_sys_name_to_handle fs/fhandle.c:73 [inline]

__do_sys_name_to_handle_at fs/fhandle.c:112 [inline]

__se_sys_name_to_handle_at+0x949/0xb10 fs/fhandle.c:94

__x64_sys_name_to_handle_at+0xe4/0x140 fs/fhandle.c:94

...

Uninit was created at:

slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768

slab_alloc_node mm/slub.c:3478 [inline]

__kmem_cache_alloc_node+0x5c9/0x970 mm/slub.c:3517

__do_kmalloc_node mm/slab_common.c:1006 [inline]

__kmalloc+0x121/0x3c0 mm/slab_common.c:1020

kmalloc include/linux/slab.h:604 [inline]

do_sys_name_to_handle fs/fhandle.c:39 [inline]

__do_sys_name_to_handle_at fs/fhandle.c:112 [inline]

__se_sys_name_to_handle_at+0x441/0xb10 fs/fhandle.c:94

__x64_sys_name_to_handle_at+0xe4/0x140 fs/fhandle.c:94

...

Bytes 18-19 of 20 are uninitialized

Memory access of size 20 starts at ffff888128a46380

Data copied to user address 0000000020000240"

Per Chuck Lever's suggestion, use kzalloc() instead of kmalloc() to

solve the problem.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Affected software

CVE-2024-26901 is recorded against 2 packages.

  • kernel (from 6.8.0 up to 6.8.2)
  • linux-kernel (from 6.8 up to 6.8.2)

Timeline and source

Published on 17 April 2024 and last revised on 15 July 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

cert-portal.siemens.com (Web)
cert-portal.siemens.com (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
lists.debian.org (Web)
lists.debian.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)

CVE-2024-26901 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Medium
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-04-17
Updated 2026-08-12
Modified 2026-07-15

Affected Packages

Software From version Fixed in
kernel 6.8.0 6.8.2
linux-kernel 6.8 6.8.2

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in kernel

CVE-2024-26901 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.