MEDIUM
CVE-2023-40791
NVD-CWE-noinfoPublished: October 16, 2023· Updated: Jun 17, 2026
6.3
CVSS v3.1
Official Description
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.
Technical Analysis
CVE-2023-40791 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 6.3.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorLocal
Attack ComplexityHigh
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (10)
→
→
https://lkml.org/lkml/2023/8/3/323Exploit · Mailing List · Third Party Advisory
→
https://lore.kernel.org/linux-crypto/20571.1690369076%40warthog.procyon.org.uk/Mailing List · Patch
→
https://security.netapp.com/advisory/ntap-20231110-0009/Third Party Advisory
→
→
https://lkml.org/lkml/2023/8/3/323Exploit · Mailing List · Third Party Advisory
→
https://lore.kernel.org/linux-crypto/20571.1690369076%40warthog.procyon.org.uk/Mailing List · Patch
→
https://security.netapp.com/advisory/ntap-20231110-0009/Third Party Advisory
Quick Facts
CVE IDCVE-2023-40791
CVSS Score6.3 / 10
SeverityMEDIUM
WeaknessNVD-CWE-noinfo
CISA KEVNo
Affected2 vendor(s)
PublishedOct 16, 2023
Related CVEs (NVD-CWE-noinfo)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-40791 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.