Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2023-53052 — kernel

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

Description

cifs: fix use-after-free bug in refresh_cache_worker()

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

cifs: fix use-after-free bug in refresh_cache_worker()

The UAF bug occurred because we were putting DFS root sessions in

cifs_umount() while DFS cache refresher was being executed.

Make DFS root sessions have same lifetime as DFS tcons so we can avoid

the use-after-free bug is DFS cache refresher and other places that

require IPCs to get new DFS referrals on. Also, get rid of mount

group handling in DFS cache as we no longer need it.

This fixes below use-after-free bug catched by KASAN

[ 379.946955] BUG: KASAN: use-after-free in __refresh_tcon.isra.0+0x10b/0xc10 [cifs]

[ 379.947642] Read of size 8 at addr ffff888018f57030 by task kworker/u4:3/56

[ 379.948096]

[ 379.948208] CPU: 0 PID: 56 Comm: kworker/u4:3 Not tainted 6.2.0-rc7-lku #23

[ 379.948661] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS

rel-1.16.0-0-gd239552-rebuilt.opensuse.org 04/01/2014

[ 379.949368] Workqueue: cifs-dfscache refresh_cache_worker [cifs]

[ 379.949942] Call Trace:

[ 379.950113] <TASK>

[ 379.950260] dump_stack_lvl+0x50/0x67

[ 379.950510] print_report+0x16a/0x48e

[ 379.950759] ? __virt_addr_valid+0xd8/0x160

[ 379.951040] ? __phys_addr+0x41/0x80

[ 379.951285] kasan_report+0xdb/0x110

[ 379.951533] ? __refresh_tcon.isra.0+0x10b/0xc10 [cifs]

[ 379.952056] ? __refresh_tcon.isra.0+0x10b/0xc10 [cifs]

[ 379.952585] __refresh_tcon.isra.0+0x10b/0xc10 [cifs]

[ 379.953096] ? __pfx___refresh_tcon.isra.0+0x10/0x10 [cifs]

[ 379.953637] ? __pfx___mutex_lock+0x10/0x10

[ 379.953915] ? lock_release+0xb6/0x720

[ 379.954167] ? __pfx_lock_acquire+0x10/0x10

[ 379.954443] ? refresh_cache_worker+0x34e/0x6d0 [cifs]

[ 379.954960] ? __pfx_wb_workfn+0x10/0x10

[ 379.955239] refresh_cache_worker+0x4ad/0x6d0 [cifs]

[ 379.955755] ? __pfx_refresh_cache_worker+0x10/0x10 [cifs]

[ 379.956323] ? __pfx_lock_acquired+0x10/0x10

[ 379.956615] ? read_word_at_a_time+0xe/0x20

[ 379.956898] ? lockdep_hardirqs_on_prepare+0x12/0x220

[ 379.957235] process_one_work+0x535/0x990

[ 379.957509] ? __pfx_process_one_work+0x10/0x10

[ 379.957812] ? lock_acquired+0xb7/0x5f0

[ 379.958069] ? __list_add_valid+0x37/0xd0

[ 379.958341] ? __list_add_valid+0x37/0xd0

[ 379.958611] worker_thread+0x8e/0x630

[ 379.958861] ? __pfx_worker_thread+0x10/0x10

[ 379.959148] kthread+0x17d/0x1b0

[ 379.959369] ? __pfx_kthread+0x10/0x10

[ 379.959630] ret_from_fork+0x2c/0x50

[ 379.959879] </TASK>

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 high, 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:H/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: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2023-53052 is recorded against 2 packages.

  • kernel (from 6.2.0 up to 6.2.8)
  • 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)
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:

Details

Severity High
CVSS Score 7.8
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.8
linux-kernel — —

Similar Threats

Site Security Check

Is kernel part of your stack?

CVE-2023-53052 is rated CVSS 7.8 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
✓