Bug 2244712 (CVE-2023-40791) - CVE-2023-40791 kernel: lib/scatterlist.c fails to unpin pages
Summary: CVE-2023-40791 kernel: lib/scatterlist.c fails to unpin pages
Keywords:
Status: NEW
Alias: CVE-2023-40791
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2244713
Blocks: 2244710
TreeView+ depends on / blocked
 
Reported: 2023-10-17 22:30 UTC by Robb Gatica
Modified: 2024-01-10 00:41 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An unreleased memory page flaw (unpinned) was found in extract_user_to_sg in the lib/scatterlist.c function of the Linux kernel. This flaw allows a local user, or potentially remote user, to crash the system.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2023-10-17 22:30:29 UTC
CVE-2023-40791

---

extract_user_to_sg in lib/scatterlist.c in the Linux kernel before 6.4.12 fails to unpin pages in a certain situation, as demonstrated by a WARNING for try_grab_page.

https://lkml.org/lkml/2023/8/3/323
https://lore.kernel.org/linux-crypto/20571.1690369076@warthog.procyon.org.uk/
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.12
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f443fd5af5dbd531f880d3645d5dd36976cf087f

Comment 1 Robb Gatica 2023-10-17 22:30:53 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2244713]

Comment 2 Justin M. Forbes 2023-10-18 13:42:54 UTC
This was fixed for Fedora with the 6.4.12 stable kernel updates.


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