smb: client: fix potential OOBs in smb2_parse_contexts()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Partial Red Hat: 23 fixed, 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.7 and later | 5.4.277, 5.10.211, 5.15.150, 6.1.79, 6.6.8, 6.7 | Patch available | CNA |
- Linux VendorLinux Affected 3.7 and later Fixed in 5.4.277, 5.10.211, 5.15.150, 6.1.79, 6.6.8, 6.7 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.3 to before 5.4.277; 5.5 to before 5.10.211; 5.11 to before 5.15.150; 5.16 – 6.1.79; 6.2 to before 6.6.8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.7:rc1:*:*:*:*:*:* | 6.7 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.7:rc2:*:*:*:*:*:* | 6.7 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.7:rc3:*:*:*:*:*:* | 6.7 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.7:rc4:*:*:*:*:*:* | 6.7 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.7:rc5:*:*:*:*:*:* | 6.7 rc5 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.3 to before 5.4.277; 5.5 to before 5.10.211; 5.11 to before 5.15.150; 5.16 – 6.1.79; 6.2 to before 6.6.8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.7:rc1:*:*:*:*:*:* Versions 6.7 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.7:rc2:*:*:*:*:*:* Versions 6.7 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.7:rc3:*:*:*:*:*:* Versions 6.7 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.7:rc4:*:*:*:*:*:* Versions 6.7 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.7:rc5:*:*:*:*:*:* Versions 6.7 rc5 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.4.277, 5.10.211, 5.15.150, 6.1.79, 6.6.8, 6.7
Red Hat 9 advisories
- RHSA-2024:6993 Released 2024-09-24 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-tools-libs-devel-4.18.0-477.74.1.el8_8
- Red Hat Enterprise Linux BaseOS EUS (v.8.8) bpftool-4.18.0-477.74.1.el8_8, kernel-4.18.0-477.74.1.el8_8, kernel-abi-stablelists-4.18.0-477.74.1.el8_8 +19
- RHSA-2024:5692 Released 2024-08-21 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux BaseOS AUS (v.8.6) bpftool-4.18.0-372.119.1.el8_6, kernel-4.18.0-372.119.1.el8_6, kernel-abi-stablelists-4.18.0-372.119.1.el8_6 +13
- Red Hat Enterprise Linux BaseOS E4S (v.8.6) bpftool-4.18.0-372.119.1.el8_6, kernel-4.18.0-372.119.1.el8_6, kernel-abi-stablelists-4.18.0-372.119.1.el8_6 +18
- Red Hat Enterprise Linux BaseOS TUS (v.8.6) bpftool-4.18.0-372.119.1.el8_6, kernel-4.18.0-372.119.1.el8_6, kernel-abi-stablelists-4.18.0-372.119.1.el8_6 +13
- RHSA-2024:4831 Released 2024-07-24 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.75.1.rt14.360.el9_2, kernel-rt-core-5.14.0-284.75.1.rt14.360.el9_2, kernel-rt-debug-5.14.0-284.75.1.rt14.360.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.75.1.rt14.360.el9_2, kernel-rt-core-5.14.0-284.75.1.rt14.360.el9_2, kernel-rt-debug-5.14.0-284.75.1.rt14.360.el9_2 +11
Show 6 more Red Hat advisories
- RHSA-2024:4823 Released 2024-07-24 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.75.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.75.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.75.1.el9_2, kernel-64k-devel-5.14.0-284.75.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.75.1.el9_2, kernel-5.14.0-284.75.1.el9_2, kernel-64k-5.14.0-284.75.1.el9_2 +29
- RHSA-2024:4415 Released 2024-07-09 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) kernel-debug-devel-5.14.0-70.105.1.el9_0, kernel-debug-devel-matched-5.14.0-70.105.1.el9_0, kernel-devel-5.14.0-70.105.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS E4S (v.9.0) bpftool-5.14.0-70.105.1.el9_0, kernel-5.14.0-70.105.1.el9_0, kernel-abi-stablelists-5.14.0-70.105.1.el9_0 +14
- RHSA-2024:4412 Released 2024-07-09 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt-5.14.0-70.105.1.rt21.177.el9_0, kernel-rt-core-5.14.0-70.105.1.rt21.177.el9_0, kernel-rt-debug-5.14.0-70.105.1.rt21.177.el9_0 +9
- Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt-5.14.0-70.105.1.rt21.177.el9_0, kernel-rt-core-5.14.0-70.105.1.rt21.177.el9_0, kernel-rt-debug-5.14.0-70.105.1.rt21.177.el9_0 +7
- RHSA-2024:2950 Released 2024-05-22 · Red Hat rating Moderatekernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.rt7.342.el8_10, kernel-rt-core-4.18.0-553.rt7.342.el8_10, kernel-rt-debug-4.18.0-553.rt7.342.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.rt7.342.el8_10, kernel-rt-core-4.18.0-553.rt7.342.el8_10, kernel-rt-debug-4.18.0-553.rt7.342.el8_10 +7
- RHSA-2024:3138 Released 2024-05-22 · Red Hat rating Moderatekernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.el8_10, kernel-4.18.0-553.el8_10, kernel-abi-stablelists-4.18.0-553.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.el8_10
- RHSA-2024:2394 Released 2024-04-30 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.13.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.13.1.el9_4, kernel-64k-devel-5.14.0-427.13.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.13.1.el9_4, kernel-5.14.0-427.13.1.el9_4, kernel-64k-5.14.0-427.13.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.13.1.el9_4, libperf-5.14.0-427.13.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.13.1.el9_4, kernel-rt-core-5.14.0-427.13.1.el9_4, kernel-rt-debug-5.14.0-427.13.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.13.1.el9_4, kernel-rt-core-5.14.0-427.13.1.el9_4, kernel-rt-debug-5.14.0-427.13.1.el9_4 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.8.8) | Fixed | RHSA-2024:6993 |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:4823 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2024:4415 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:4823 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:3138 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux BaseOS AUS (v.8.6) | Fixed | RHSA-2024:5692 |
| Red Hat Enterprise Linux BaseOS E4S (v.8.6) | Fixed | RHSA-2024:5692 |
| Red Hat Enterprise Linux BaseOS E4S (v.9.0) | Fixed | RHSA-2024:4415 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.8) | Fixed | RHSA-2024:6993 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.2) | Fixed | RHSA-2024:4823 |
| Red Hat Enterprise Linux BaseOS TUS (v.8.6) | Fixed | RHSA-2024:5692 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:3138 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:2950 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux NFV E4S (v.9.0) | Fixed | RHSA-2024:4412 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:2950 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2024:2394 |
| Red Hat Enterprise Linux Real Time E4S (v.9.0) | Fixed | RHSA-2024:4412 |
| Red Hat Enterprise Linux Real Time EUS (v.9.2) | Fixed | RHSA-2024:4831 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) | Fixed | RHSA-2024:4831 |
Not affected: 5 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux AppStream EUS (v.9.2)
- Red Hat Enterprise Linux BaseOS AUS (v.8.6)
- Red Hat Enterprise Linux BaseOS E4S (v.8.6)
- Red Hat Enterprise Linux BaseOS TUS (v.8.6)
Timeline
- 2026-10-02 Threatist record created from CVE-2023-52434
- 2026-10-03 Alias added: GHSA-23gm-fr88-2r8c
References
Patch 6
- https://git.kernel.org/stable/c/6726429c18c62dbf5e96ebbd522f262e016553fb
- https://git.kernel.org/stable/c/13fb0fc4917621f3dfa285a27eaf7151d770b5e5
- https://git.kernel.org/stable/c/890bc4fac3c0973a49cac35f634579bebba7fe48
- https://git.kernel.org/stable/c/1ae3c59355dc9882e09c020afe8ffbd895ad0f29
- https://git.kernel.org/stable/c/17a0f64cc02d4972e21c733d9f21d1c512963afa
- https://git.kernel.org/stable/c/af1689a9b7701d9907dfc84d2a4b57c4bc907144
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-52434 · CVE Program
- CVE-2023-52434 · NVD
- FIRST EPSS
- GHSA-23gm-fr88-2r8c · GitHub Advisory Database · CC BY 4.0
- CVE-2023-52434 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences