CVE-2024-40901

Kernel memory corruption via undersized pending bitmap

Published Jul 12, 2024 · Updated Aug 5, 2026

Out-of-bounds access in the Linux kernel mpt3sas SCSI driver allows local users to corrupt adjacent heap memory during device addition. The _scsih_add_device path allocates a one-byte pending bitmap, but test_bit() and set_bit() access an unsigned-long word and write beyond it. Reachability requires the mpt3sas driver to add a device; the documented result is an eight-byte heap overwrite detected by KASAN.

CVSS severity7.8
High
EPSS probability0.31%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Out-of-bounds access in the Linux kernel mpt3sas SCSI driver allows local users to corrupt adjacent heap memory during device addition. The _scsih_add_device path allocates a one-byte pending bitmap, but test_bit() and set_bit() access an unsigned-long word and write beyond it. Reachability requires the mpt3sas driver to add a device; the documented result is an eight-byte heap overwrite detected by KASAN.

The record

CVE
CVE-2024-40901
Published
Jul 12, 2024
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-787
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jul 12, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=4.10
  2. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <0081d2b3ae0a17a86b8cc0fa3c8bdc54e233ba16
  3. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <18abb5db0aa9b2d48f7037a88b41af2eef821674
  4. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <19649e49a6df07cd2e03e0a11396fd3a99485ec2
  5. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <4254dfeda82f20844299dca6c38cbffcfd499f41
  6. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <46bab2bcd771e725ff5ca3a68ba68cfeac45676c
  7. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <521f333e644c4246ca04a4fc4772edc53dd2a801
  8. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <9079338c5a0d1f1fee34fb1c9e99b754efe414c5
  9. Affected versionversion=c696f7b83edeac804e898952058089143f49ca0a <e9bce7c751f6d6c7be88c0bc081a66aaf61a23ee

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=4.10; version=c696f7b83edeac804e898952058089143f49ca0a <0081d2b3ae0a17a86b8cc0fa3c8bdc54e233ba16; version=c696f7b83edeac804e898952058089143f49ca0a <18abb5db0aa9b2d48f7037a88b41af2eef821674; version=c696f7b83edeac804e898952058089143f49ca0a <19649e49a6df07cd2e03e0a11396fd3a99485ec2; version=c696f7b83edeac804e898952058089143f49ca0a <4254dfeda82f20844299dca6c38cbffcfd499f41; version=c696f7b83edeac804e898952058089143f49ca0a <46bab2bcd771e725ff5ca3a68ba68cfeac45676c; version=c696f7b83edeac804e898952058089143f49ca0a <521f333e644c4246ca04a4fc4772edc53dd2a801; version=c696f7b83edeac804e898952058089143f49ca0a <9079338c5a0d1f1fee34fb1c9e99b754efe414c5; version=c696f7b83edeac804e898952058089143f49ca0a <e9bce7c751f6d6c7be88c0bc081a66aaf61a23ee

Published CVSS scores

7.8NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-787Out-of-bounds Write

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo