BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-41012 in Linux Kernel and 2 more products

Medium 6.3 Fix available Industrial / OT

In the Linux kernel, the following vulnerability has been resolved: filelock: Remove locks reliably when fcntl/close race is detected When fcntl_setlk() races with close(), it removes the created lock with do_lock_file_wait(). However, LSMs can allow the first do_lock_file_wait() that created the lock while denying the second do_lock_file_wait() that tries to remove the lock. Separately, posix_lock_file() could also fail to remove a lock due to GFP_KERNEL allocation failure (when splitting a range in the middle). After the bug has been triggered, use-after-free reads will occur in lock_get_status() when userspace reads /proc/locks. This can likely be used to read arbitrary kernel memory, but can't corrupt kernel memory. Fix it by calling locks_remove_posix() instead, which is designed to reliably get rid of POSIX locks associated with the given file and files_struct and is also used by filp_flush().

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

CVSS 3.16.3
EPSS0.2%
EPSS percentile15th

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

Affected products and versions

VendorProductAffected versions
Linux Linux Kernel 6.10 ≥ 2.6.13, < 4.19.319 ≥ 4.20, < 5.4.281 ≥ 5.5, < 5.10.223 ≥ 5.11, < 5.15.164 ≥ 5.16, < 6.1.101
+2 more≥ 6.2, < 6.6.42 ≥ 6.7, < 6.9.9
Siemens RUGGEDCOM RST2428P (device and firmware) < 3.1

Fix and vendor advisory

  • RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCM-/XRM-/XCH-/XRH-300 family: Update to V3.1 or later version

Source: ICSA-25-226-15

View Vendor Advisory →

Exploitation

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

Record details

CVE IDCVE-2024-41012
BreachSpider IDBS-2024-GLOBAL-202385-M
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Published2024-07-23
Last modified2025-11-03
Weakness (CWE)
SourceNVD

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 2025-11-03.