Bug 2242172 (CVE-2023-5345) - CVE-2023-5345 kernel: use-after-free vulnerability in the smb client component
Summary: CVE-2023-5345 kernel: use-after-free vulnerability in the smb client component
Keywords:
Status: NEW
Alias: CVE-2023-5345
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2242280
Blocks: 2242170
TreeView+ depends on / blocked
 
Reported: 2023-10-04 17:59 UTC by Patrick Del Bello
Modified: 2025-09-18 13:47 UTC (History)
42 users (show)

Fixed In Version: kernel 6.6-rc4
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:7734 0 None None None 2023-12-12 10:54:43 UTC
Red Hat Product Errata RHSA-2023:7749 0 None None None 2023-12-12 17:22:25 UTC

Description Patrick Del Bello 2023-10-04 17:59:03 UTC
A use-after-free vulnerability in the Linux kernel's fs/smb/client component can be exploited to achieve local privilege escalation.
In case of an error in smb3_fs_context_parse_param, ctx->password was freed but the field was not set to NULL which could lead to double free.
We recommend upgrading past commit e6e43b8aa7cd3c3af686caf0c2e11819a886d705.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e6e43b8aa7cd3c3af686caf0c2e11819a886d705
https://kernel.dance/e6e43b8aa7cd3c3af686caf0c2e11819a886d705

Comment 5 Mauro Matteo Cascella 2023-10-05 10:17:19 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2242280]

Comment 12 Ricky 2023-11-04 10:16:59 UTC Comment hidden (spam)
Comment 16 errata-xmlrpc 2023-12-12 10:54:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:7734 https://access.redhat.com/errata/RHSA-2023:7734

Comment 17 errata-xmlrpc 2023-12-12 17:22:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:7749 https://access.redhat.com/errata/RHSA-2023:7749

Comment 19 https://bugzilla.redhat.com/token.cgi?t=EHHR24Xeyi&a=request_new_account 2024-04-26 19:22:13 UTC Comment hidden (spam)
Comment 21 Withre 2025-07-15 11:29:36 UTC Comment hidden (spam)
Comment 22 Withre 2025-07-16 06:20:30 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.