Bug 2154176 (CVE-2023-1194) - CVE-2023-1194 kernel: use-after-free in parse_lease_state()
Summary: CVE-2023-1194 kernel: use-after-free in parse_lease_state()
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2023-1194
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2154180
Blocks: 2139758
TreeView+ depends on / blocked
 
Reported: 2022-12-16 06:05 UTC by TEJ RATHI
Modified: 2024-04-17 16:16 UTC (History)
39 users (show)

Fixed In Version: kernel 6.4
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds (OOB) memory read flaw was found in parse_lease_state in the KSMBD implementation of the in-kernel samba server and CIFS in the Linux kernel. When an attacker sends the CREATE command with a malformed payload to KSMBD, due to a missing check of `NameOffset` in the `parse_lease_state()` function, the `create_context` object can access invalid memory.
Clone Of:
Environment:
Last Closed: 2022-12-17 02:48:32 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-12-16 06:05:18 UTC
An out-of-bounds (OOB) memory read flaw was found in parse_lease_state in KSMBD implemetation of in-kernel samba server and CIFS in the Linux kernel. When attacker sends CREATE command with malform payload to KSMBD, because of missing check `NameOffset` in function `parse_lease_state()`, the `create_context` object can access invalid memory.

Refer
https://www.spinics.net/lists/stable-commits/msg303065.html

Comment 4 Rohit Keshri 2022-12-16 06:49:05 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2154180]


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