Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-53035 — kernel

🟠 CVSS 7.1 — High ✅ No Known Exploit NVD
7.1
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()

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

nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()

The ioctl helper function nilfs_ioctl_wrap_copy(), which exchanges a

metadata array to/from user space, may copy uninitialized buffer regions

to user space memory for read-only ioctl commands NILFS_IOCTL_GET_SUINFO

and NILFS_IOCTL_GET_CPINFO.

This can occur when the element size of the user space metadata given by

the v_size member of the argument nilfs_argv structure is larger than the

size of the metadata element (nilfs_suinfo structure or nilfs_cpinfo

structure) on the file system side.

KMSAN-enabled kernels detect this issue as follows:

BUG: KMSAN: kernel-infoleak in instrument_copy_to_user

include/linux/instrumented.h:121 [inline]

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

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

_copy_to_user+0xc0/0x100 lib/usercopy.c:33

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

nilfs_ioctl_wrap_copy+0x6fa/0xc10 fs/nilfs2/ioctl.c:99

nilfs_ioctl_get_info fs/nilfs2/ioctl.c:1173 [inline]

nilfs_ioctl+0x2402/0x4450 fs/nilfs2/ioctl.c:1290

nilfs_compat_ioctl+0x1b8/0x200 fs/nilfs2/ioctl.c:1343

__do_compat_sys_ioctl fs/ioctl.c:968 [inline]

__se_compat_sys_ioctl+0x7dd/0x1000 fs/ioctl.c:910

__ia32_compat_sys_ioctl+0x93/0xd0 fs/ioctl.c:910

do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]

__do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178

do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203

do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246

entry_SYSENTER_compat_after_hwframe+0x70/0x82

Uninit was created at:

__alloc_pages+0x9f6/0xe90 mm/page_alloc.c:5572

alloc_pages+0xab0/0xd80 mm/mempolicy.c:2287

__get_free_pages+0x34/0xc0 mm/page_alloc.c:5599

nilfs_ioctl_wrap_copy+0x223/0xc10 fs/nilfs2/ioctl.c:74

nilfs_ioctl_get_info fs/nilfs2/ioctl.c:1173 [inline]

nilfs_ioctl+0x2402/0x4450 fs/nilfs2/ioctl.c:1290

nilfs_compat_ioctl+0x1b8/0x200 fs/nilfs2/ioctl.c:1343

__do_compat_sys_ioctl fs/ioctl.c:968 [inline]

__se_compat_sys_ioctl+0x7dd/0x1000 fs/ioctl.c:910

__ia32_compat_sys_ioctl+0x93/0xd0 fs/ioctl.c:910

do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]

__do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178

do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203

do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246

entry_SYSENTER_compat_after_hwframe+0x70/0x82

Bytes 16-127 of 3968 are uninitialized

...

This eliminates the leak issue by initializing the page allocated as

buffer using get_zeroed_page().

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 high, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2023-53035 is recorded against 2 packages.

  • kernel (from 6.2.0 up to 6.2.9)
  • linux-kernel

Timeline and source

Published on 2 May 2025 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

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)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2023-53035 on other distributions

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

Details

Severity High
CVSS Score 7.1
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-05-02
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.2.0 6.2.9
linux-kernel — —

References

Similar Threats

Site Security Check

Is kernel part of your stack?

CVE-2023-53035 is rated CVSS 7.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

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.

Browse related advisories

All advisoriesCVECVE 2023
✓