CVE-2023-40791 Memory corruption in n/a

Medium 6.3 Published Updated

A failure to unpin pages in the Linux kernel scatterlist implementation can lead to a system crash or denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-40791?

CVE-2023-40791 is a medium-severity memory corruption vulnerability in Linux kernel, published on 16 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Which versions are affected by CVE-2023-40791?

It affects 5 products.

Products include Linux kernel, Netapp H300s Firmware, Netapp H410s Firmware, Netapp H500s Firmware, Netapp H700s Firmware.

How do I fix CVE-2023-40791?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-40791 being exploited?

There is no known exploitation of CVE-2023-40791 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-31564, DEBIAN-CVE-2023-40791, GHSA-fmxm-fv27-gg49, UBUNTU-CVE-2023-40791.

Is CVE-2023-40791 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free