Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53052

published high CVSS 3.1 · 7.8

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

Published
02 May 2025, 15:55:07 UTC
Updated
05 Aug 2026, 09:12:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux6916881f443f67f6893b504fa2171468c8aed915 to < 5a89d81c1a3c152837ea204fd29572228e54ce0b · 6916881f443f67f6893b504fa2171468c8aed915 to < 396935de145589c8bfe552fa03a5e38604071829 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.2.8 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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>

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - This is the SMB client (fs/cifs), not an in-kernel network server; the free side is local umount/automount expiry (cifs_umount → dfs_cache_put_refsrv_sessions) racing the dfscache workqueue, so exploitation requires local system access. AC:L - The attacker drives both sides by triggering DFS automounts (or mount/umount) against a share while refresh_cache_worker runs on attacker-influenced referral TTLs, and can retry the umount-vs-worker race indefinitely. PR:L - cifs lacks FS_USERNS_MOUNT for ordinary mounts, but any unprivileged user who can traverse an existing DFS CIFS mount can trigger cifs_dfs_d_automount → fc_mount (no mount_capable check) and later automount expiry into cifs_umount, reaching the UAF without CAP_SYS_ADMIN. UI:N - The attacker performs the path-walk/automount and races the cache refresher themselves; an already-mounted DFS share is an environmental precondition, not a victim action at exploit time. S:U - The use-after-free is in host kernel heap objects (struct cifs_ses / tcon_ipc) and does not cross a VM, IOMMU, or sandbox security boundary. C:H - __refresh_tcon reads fields from a freed DFS root cifs_ses (ses->tcon_ipc and later session state); per UAF guidance this enables heap reuse and an arbitrary kernel memory disclosure primitive. I:H - The same freed session object can be sprayed/reclaimed before the worker continues, yielding a classic heap UAF write/control-flow hijack primitive against kernel memory. A:H - Even without full exploitation, the KASAN-reported use-after-free in __refresh_tcon causes kernel oops/panic and is repeatedly triggerable via the umount/automount race.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 6916881f443f67f6893b504fa2171468c8aed915 to < 5a89d81c1a3c152837ea204fd29572228e54ce0b (affected · git)6916881f443f67f6893b504fa2171468c8aed915 to < 396935de145589c8bfe552fa03a5e38604071829 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)6.2.8 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
e997d40267f21041cd41c1ad0c04afe509b2ec8dc75adc681bdce61e42d98ef4
Ingested
23 Sep 2026, 08:14:44 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected