CVE-2023-52434

medium
Published 2024-04-30 · Modified 2024-05-29
CVSS v3
CVSS v2
VIR risk
5.5

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential OOBs in smb2_parse_contexts() Validate offsets and lengths before dereferencing create contexts in smb2_parse_contexts(). This fixes following oops when accessing invalid create contexts from server: BUG: unable to handle page fault for address: ffff8881178d8cc3 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 4a01067 P4D 4a01067 PUD 0 Oops: 0000 [#1] PREEMPT SMP NOPTI CPU: 3 PID: 1736 Comm: mount.cifs Not tainted 6.7.0-rc4 #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.2-3-gd478f380-rebuilt.opensuse.org 04/01/2014 RIP: 0010:smb2_parse_contexts+0xa0/0x3a0 [cifs] Code: f8 10 75 13 48 b8 93 ad 25 50 9c b4 11 e7 49 39 06 0f 84 d2 00 00 00 8b 45 00 85 c0 74 61 41 29 c5 48 01 c5 41 83 fd 0f 76 55 <0f> b7 7d 04 0f b7 45 06 4c 8d 74 3d 00 66 83 f8 04 75 bc ba 04 00 RSP: 0018:ffffc900007939e0 EFLAGS: 00010216 RAX: ffffc90000793c78 RBX: ffff8880180cc000 RCX: ffffc90000793c90 RDX: ffffc90000793cc0 RSI: ffff8880178d8cc0 RDI: ffff8880180cc000 RBP: ffff8881178d8cbf R08: ffffc90000793c22 R09: 0000000000000000 R10: ffff8880180cc000 R11: 0000000000000024 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000000 R15: ffffc90000793c22 FS: 00007f873753cbc0(0000) GS:ffff88806bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff8881178d8cc3 CR3: 00000000181ca000 CR4: 0000000000750ef0 PKRU: 55555554 Call Trace: <TASK> ? __die+0x23/0x70 ? page_fault_oops+0x181/0x480 ? search_module_extables+0x19/0x60 ? srso_alias_return_thunk+0x5/0xfbef5 ? exc_page_fault+0x1b6/0x1c0 ? asm_exc_page_fault+0x26/0x30 ? smb2_parse_contexts+0xa0/0x3a0 [cifs] SMB2_open+0x38d/0x5f0 [cifs] ? smb2_is_path_accessible+0x138/0x260 [cifs] smb2_is_path_accessible+0x138/0x260 [cifs] cifs_is_path_remote+0x8d/0x230 [cifs] cifs_mount+0x7e/0x350 [cifs] cifs_smb3_do_mount+0x128/0x780 [cifs] smb3_get_tree+0xd9/0x290 [cifs] vfs_get_tree+0x2c/0x100 ? capable+0x37/0x70 path_mount+0x2d7/0xb80 ? srso_alias_return_thunk+0x5/0xfbef5 ? _raw_spin_unlock_irqrestore+0x44/0x60 __x64_sys_mount+0x11a/0x150 do_syscall_64+0x47/0xf0 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f8737657b1e

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2024-2394.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2270118

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2270080

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267795

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267788

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267758

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267041

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265646

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265645

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265520

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265519

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265518

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265517

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2262127

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2262126

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2260005

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2258518

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2258013

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2255498

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2253034

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2252731

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2246980

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2239848

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2210024

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2188102

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2185519

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2133452

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2049700

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/1918601

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2024-2950.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2024:2950

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2024-3138.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2272811

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2270883

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2270836

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2269217

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2269189

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267761

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267760

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267750

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2267695

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265653

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2265285

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2257979

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2257682

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2256822

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2256490

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2255283

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2254982

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2254961

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2253632

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2250043

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2244720

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2239847

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2239845

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2235306

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2231410

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2230042

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2226788

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2226787

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2226784

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2226777

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2221702

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2221463

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2221039

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2219359

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2218332

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2213132

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2179892

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2177759

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2151959

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2150953

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2044578

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2043520

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2039178

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/1999589

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/1888726

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/1746732

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/1731000

vendor Authored 2026-05-27

Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2024:3138

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-52434

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-52434.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2024:2950

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2024:2394

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed6.1.82-1
debian debianbullseyefixed5.10.216-1
debian debianforkyfixed6.6.8-1
debian debiansidfixed6.6.8-1
debian debiantrixiefixed6.6.8-1
almalinux almalinux8fixedkernel-abi-stablelists-4.18.0-553.el8_10.noarch.rpm
almalinux almalinux9fixedkernel-doc-5.14.0-427.13.1.el9_4.noarch.rpm

References

Verify integrity in audit chain (admin only). AS-IS.