BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-40901 in Linux Kernel and 1 more product

High 7.8 Industrial / OT

In the Linux kernel, the following vulnerability has been resolved: scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory There is a potential out-of-bounds access when using test_bit() on a single word. The test_bit() and set_bit() functions operate on long values, and when testing or setting a single word, they can exceed the word boundary. KASAN detects this issue and produces a dump: BUG: KASAN: slab-out-of-bounds in _scsih_add_device.constprop.0 (./arch/x86/include/asm/bitops.h:60 ./include/asm-generic/bitops/instrumented-atomic.h:29 drivers/scsi/mpt3sas/mpt3sas_scsih.c:7331) mpt3sas Write of size 8 at addr ffff8881d26e3c60 by task kworker/u1536:2/2965 For full log, please look at [1]. Make the allocation at least the size of sizeof(unsigned long) so that set_bit() and test_bit() have sufficient room for read/write operations without overwriting unallocated memory. [1] Link: https://lore.kernel.org/all/[email protected]/

Affects 2 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.17.8
EPSS0.3%
EPSS percentile26th

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linux Linux Kernel 6.10 ≥ 4.10, < 4.19.317 ≥ 4.20, < 5.4.279 ≥ 5.5, < 5.10.221 ≥ 5.11, < 5.15.162 ≥ 5.16, < 6.1.95
+2 more≥ 6.2, < 6.6.35 ≥ 6.7, < 6.9.6
Linux Linux 4.10
Siemens — —
Siemens S7-1500 Cpu Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5

Fix and vendor advisory

  • Update to V3.1.5 or later version

Source: ICSA-23-348-10

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-40901
BreachSpider IDBS-2024-GLOBAL-202127-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-07-12
Last modified2026-10-15
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Ensure that all systems running the affected Linux kernel version are updated to the latest version that includes the fix for CVE-2024-40901. Implement monitoring and logging to detect any unusual behavior that may indicate exploitation attempts.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-15.