CVE-2023-52752 json
smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
published 2y ago modified 3mo ago also EUVD-2023-59471
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
Skip SMB sessions that are being teared down (e.g. @ses->ses_status == SES_EXITING) in cifs_debug_data_proc_show() to avoid use-after-free in @ses.
This fixes the following GPF when reading from /proc/fs/cifs/DebugData while mounting and umounting
[ 816.251274] general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6d81: 0000 [#1] PREEMPT SMP NOPTI ... [ 816.260138] Call Trace: [ 816.260329] <TASK> [ 816.260499] ? die_addr+0x36/0x90 [ 816.260762] ? exc_general_protection+0x1b3/0x410 [ 816.261126] ? asm_exc_general_protection+0x26/0x30 [ 816.261502] ? cifs_debug_tcon+0xbd/0x240 [cifs] [ 816.261878] ? cifs_debug_tcon+0xab/0x240 [cifs] [ 816.262249] cifs_debug_data_proc_show+0x516/0xdb0 [cifs] [ 816.262689] ? seq_read_iter+0x379/0x470 [ 816.262995] seq_read_iter+0x118/0x470 [ 816.263291] proc_reg_read_iter+0x53/0x90 [ 816.263596] ? srso_alias_return_thunk+0x5/0x7f [ 816.263945] vfs_read+0x201/0x350 [ 816.264211] ksys_read+0x75/0x100 [ 816.264472] do_syscall_64+0x3f/0x90 [ 816.264750] entry_SYSCALL_64_after_hwframe+0x6e/0xd8 [ 816.265135] RIP: 0033:0x7fd5e669d381
Patch / fix
- Linux Linux 3.13, 5.10.237, 5.15.181, 6.1.64, 6.5.13, 6.6.3, 6.7
- linux Debian 12 6.1.64-1
- linux Debian 14, Debian 13 6.6.8-1
debian advisories DEBIAN-CVE-2023-52752
- linux Ubuntu 20.04 LTS 5.4.0-192.212
- linux Ubuntu 22.04 LTS 5.15.0-117.127
- linux-aws Ubuntu 20.04 LTS 5.4.0-1130.140
- linux-aws Ubuntu 22.04 LTS 5.15.0-1066.72
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1134.143
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1065.73
- linux-gke Ubuntu 22.04 LTS 5.15.0-1063.69
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1077.82
ubuntu advisories UBUNTU-CVE-2023-52752
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.0 6.4.0-11.1
- kernel-source-rt Linux Micro 6.0 6.4.0-11.1
- kernel-livepatch-MICRO-6-0-RT_Update_3 Linux Micro 6.0 1-1.2
- kernel-source Linux Micro 6.0 6.4.0-20.1
- kernel-default Linux Micro 6.0 6.4.0-20.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-20.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-livepatch-MICRO-6-0_Update_3 Linux Micro 6.0 1-1.2
suse advisories SUSE-SU-2025:20077-1SUSE-SU-2025:20073-1SUSE-SU-2025:0269-1SUSE-SU-2025:0266-1SUSE-SU-2025:0265-1SUSE-SU-2025:0264-1
- git.kernel.org/stable/c/2abdf136784b7edaec7ffe0f4b461b63f9c4c4de commit
- git.kernel.org/stable/c/336a066990bb3962c46daf574ace596bda9303ce commit
- git.kernel.org/stable/c/558817597d5fbd7af31f891b67b0fd20f0d047b7 commit
- git.kernel.org/stable/c/89929ea46f9cc11ba66d2c64713aa5d5dc723b09 commit
- git.kernel.org/stable/c/0ab6f842452ce2cae04209d4671ac6289d0aef8a commit
- git.kernel.org/stable/c/d328c09ee9f15ee5a26431f5aad7c9239fa85e62 commit
Is CVE-2023-52752 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52752 updated cvss 5.5
kernel: smb: client: fix use-after-free bug in cifs_debug_data_proc_show()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix available
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-19).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
- linux linux_kernel
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/2abdf136784b7edaec7ffe0f4b461b63f9c4c4de
patch
-
git.kernel.org
/stable/c/336a066990bb3962c46daf574ace596bda9303ce
patch
-
git.kernel.org
/stable/c/558817597d5fbd7af31f891b67b0fd20f0d047b7
patch
-
git.kernel.org
/stable/c/89929ea46f9cc11ba66d2c64713aa5d5dc723b09
patch
-
git.kernel.org
/stable/c/0ab6f842452ce2cae04209d4671ac6289d0aef8a
patch
-
git.kernel.org
/stable/c/d328c09ee9f15ee5a26431f5aad7c9239fa85e62
patch
-
lists.debian.org
/debian-lts-announce/2025/05/msg00030.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2023-52752
- NVD CVE-2023-52752
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.