6.3
MEDIUM
CVE-2023-40791
Linux Kernel Scatterlist extract_user_to_sg Unpinning Vulnerability
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.

INFO

Published Date :

Oct. 16, 2023, 3:15 a.m.

Last Modified :

Nov. 21, 2024, 8:20 a.m.

Remotely Exploitable :

No

Impact Score :

5.2

Exploitability Score :

1.0
Public PoC/Exploit Available at Github

CVE-2023-40791 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-40791 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Netapp h300s_firmware
2 Netapp h500s_firmware
3 Netapp h700s_firmware
4 Netapp h410s_firmware
5 Netapp h300s
6 Netapp h410s
7 Netapp h500s
8 Netapp h700s
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Enhancing Linux Kernel Fuzzing via Exploit-Driven Seed Generation

Makefile Go HTML Roff Shell C C++ Assembly JavaScript CSS

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : April 22, 2024, 5:42 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-40791 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-40791 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.12
    Added Reference https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f443fd5af5dbd531f880d3645d5dd36976cf087f
    Added Reference https://lkml.org/lkml/2023/8/3/323
    Added Reference https://lore.kernel.org/linux-crypto/20571.1690369076%40warthog.procyon.org.uk/
    Added Reference https://security.netapp.com/advisory/ntap-20231110-0009/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jan. 04, 2024

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
  • Modified Analysis by [email protected]

    Dec. 28, 2023

    Action Type Old Value New Value
    Changed Reference Type https://lore.kernel.org/linux-crypto/20571.1690369076%40warthog.procyon.org.uk/ No Types Assigned https://lore.kernel.org/linux-crypto/20571.1690369076%40warthog.procyon.org.uk/ Mailing List, Patch
    Changed Reference Type https://security.netapp.com/advisory/ntap-20231110-0009/ No Types Assigned https://security.netapp.com/advisory/ntap-20231110-0009/ Third Party Advisory
    Added CPE Configuration AND OR *cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 10, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://security.netapp.com/advisory/ntap-20231110-0009/ [No types assigned]
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lore.kernel.org/linux-crypto/20571.1690369076%40warthog.procyon.org.uk/ [No types assigned]
    Removed Reference MITRE https://lore.kernel.org/linux-crypto/[email protected]/
  • Initial Analysis by [email protected]

    Oct. 19, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
    Changed Reference Type https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.12 No Types Assigned https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.4.12 Release Notes
    Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f443fd5af5dbd531f880d3645d5dd36976cf087f No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f443fd5af5dbd531f880d3645d5dd36976cf087f Mailing List, Patch
    Changed Reference Type https://lkml.org/lkml/2023/8/3/323 No Types Assigned https://lkml.org/lkml/2023/8/3/323 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://lore.kernel.org/linux-crypto/[email protected]/ No Types Assigned https://lore.kernel.org/linux-crypto/[email protected]/ Mailing List, Vendor Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 6.4.12
  • CVE Modified by [email protected]

    Oct. 16, 2023

    Action Type Old Value New Value
    Changed Description extract_user_to_sg in lib/scatterlist.c in the Linux kernel before 6.4.2 fails to unpin pages in a certain situation, as demonstrated by a WARNING for try_grab_page. 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.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-40791 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-40791 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} -0.01%

score

0.05738

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability